Class ToolAdapterOptionsController
- java.lang.Object
-
- org.netbeans.spi.options.OptionsPanelController
-
- org.esa.snap.rcp.preferences.DefaultConfigController
-
- org.esa.snap.ui.tooladapter.preferences.ToolAdapterOptionsController
-
public class ToolAdapterOptionsController extends DefaultConfigController
Options controller for Standalone Tool Adapter.
-
-
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
Fields Modifier and Type Field Description static boolean
DEFAULT_VALUE_AUTOCOMPLETE
static boolean
DEFAULT_VALUE_SHOW_EMPTY_PRODUCT_WARINING
static boolean
DEFAULT_VALUE_SHOW_EXECUTION_OUTPUT
static boolean
DEFAULT_VALUE_VALIDATE_PATHS
static String
PREFERENCE_KEY_AUTOCOMPLETE
static String
PREFERENCE_KEY_SHOW_EMPTY_PRODUCT_WARNING
static String
PREFERENCE_KEY_SHOW_EXECUTION_OUTPUT
static String
PREFERENCE_KEY_VALIDATE_ON_SAVE
-
Constructor Summary
Constructors Constructor Description ToolAdapterOptionsController()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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
createPropertySet()
Create aPropertySet
object instance that holds all parameters.org.openide.util.HelpCtx
getHelpCtx()
void
update()
-
Methods inherited from class org.esa.snap.rcp.preferences.DefaultConfigController
addPropertyChangeListener, applyChanges, cancel, configure, createPropertySet, getBindingContext, getComponent, isChanged, isInitialised, isValid, removePropertyChangeListener, setChanged
-
-
-
-
Field Detail
-
PREFERENCE_KEY_VALIDATE_ON_SAVE
public static final String PREFERENCE_KEY_VALIDATE_ON_SAVE
- See Also:
- Constant Field Values
-
PREFERENCE_KEY_SHOW_EMPTY_PRODUCT_WARNING
public static final String PREFERENCE_KEY_SHOW_EMPTY_PRODUCT_WARNING
- See Also:
- Constant Field Values
-
PREFERENCE_KEY_AUTOCOMPLETE
public static final String PREFERENCE_KEY_AUTOCOMPLETE
- See Also:
- Constant Field Values
-
PREFERENCE_KEY_SHOW_EXECUTION_OUTPUT
public static final String PREFERENCE_KEY_SHOW_EXECUTION_OUTPUT
- See Also:
- Constant Field Values
-
DEFAULT_VALUE_VALIDATE_PATHS
public static final boolean DEFAULT_VALUE_VALIDATE_PATHS
- See Also:
- Constant Field Values
-
DEFAULT_VALUE_SHOW_EMPTY_PRODUCT_WARINING
public static final boolean DEFAULT_VALUE_SHOW_EMPTY_PRODUCT_WARINING
- See Also:
- Constant Field Values
-
DEFAULT_VALUE_SHOW_EXECUTION_OUTPUT
public static final boolean DEFAULT_VALUE_SHOW_EXECUTION_OUTPUT
- See Also:
- Constant Field Values
-
DEFAULT_VALUE_AUTOCOMPLETE
public static final boolean DEFAULT_VALUE_AUTOCOMPLETE
- See Also:
- Constant Field Values
-
-
Method Detail
-
createPropertySet
protected PropertySet 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:
DefaultConfigController.createPropertySet(Object)
-
createPanel
protected JPanel createPanel(com.bc.ceres.swing.binding.BindingContext context)
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
.
-
update
public void update()
- Overrides:
update
in classDefaultConfigController
-
getHelpCtx
public org.openide.util.HelpCtx getHelpCtx()
- Specified by:
getHelpCtx
in classorg.netbeans.spi.options.OptionsPanelController
-
-