Class UiBehaviorController
java.lang.Object
org.netbeans.spi.options.OptionsPanelController
org.esa.snap.rcp.preferences.DefaultConfigController
org.esa.snap.rcp.preferences.general.UiBehaviorController
Preferences tab for handling the UI behavior preferences. Sub-level panel to the "Miscellaneous"-panel.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.netbeans.spi.options.OptionsPanelController
org.netbeans.spi.options.OptionsPanelController.ContainerRegistration, org.netbeans.spi.options.OptionsPanelController.Keywords, org.netbeans.spi.options.OptionsPanelController.KeywordsRegistration, org.netbeans.spi.options.OptionsPanelController.SubRegistration, org.netbeans.spi.options.OptionsPanelController.TopLevelRegistration
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
Preferences key for automatically showing navigationstatic final String
Preferences key for automatically showing new bandsstatic final String
Preferences key to set the maximum number of file in the list to reopen.Fields inherited from class org.netbeans.spi.options.OptionsPanelController
PROP_CHANGED, PROP_HELP_CTX, PROP_VALID
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
void
cancel()
protected JPanel
createPanel
(com.bc.ceres.swing.binding.BindingContext context) Create a panel that allows the user to set the parameters in the givenBindingContext
.protected PropertySet
Create aPropertySet
object instance that holds all parameters.org.openide.util.HelpCtx
Methods inherited from class org.esa.snap.rcp.preferences.DefaultConfigController
addPropertyChangeListener, configure, createPropertySet, getBindingContext, getComponent, isChanged, isInitialised, isValid, removePropertyChangeListener, setChanged, update
Methods inherited from class org.netbeans.spi.options.OptionsPanelController
createAdvanced, getLookup, handleSuccessfulSearch, setCurrentSubcategory, setSubcategory
-
Field Details
-
PREFERENCE_KEY_AUTO_SHOW_NAVIGATION
Preferences key for automatically showing navigation- See Also:
-
PREFERENCE_KEY_AUTO_SHOW_NEW_BANDS
Preferences key for automatically showing new bands- See Also:
-
PREFERENCE_KEY_LIST_FILES_TO_REOPEN
Preferences key to set the maximum number of file in the list to reopen.- See Also:
-
-
Constructor Details
-
UiBehaviorController
public UiBehaviorController()
-
-
Method Details
-
applyChanges
public void applyChanges()- Overrides:
applyChanges
in classDefaultConfigController
-
cancel
public void cancel()- Overrides:
cancel
in classDefaultConfigController
-
getHelpCtx
public org.openide.util.HelpCtx getHelpCtx()- Specified by:
getHelpCtx
in classorg.netbeans.spi.options.OptionsPanelController
-
createPropertySet
Description copied from class:DefaultConfigController
Create aPropertySet
object instance that holds all parameters. Clients that want to maintain properties need to overwrite this method.- Specified by:
createPropertySet
in classDefaultConfigController
- Returns:
- An instance of
PropertySet
, holding all configuration parameters. - See Also:
-
createPanel
Description copied from class:DefaultConfigController
Create a panel that allows the user to set the parameters in the givenBindingContext
. Clients that want to create their own panel representation on the given properties need to overwrite this method.- Overrides:
createPanel
in classDefaultConfigController
- Parameters:
context
- TheBindingContext
for the panel.- Returns:
- A JPanel instance for the given
BindingContext
, nevernull
.
-