Class GraticuleLayerController
- java.lang.Object
-
- org.netbeans.spi.options.OptionsPanelController
-
- org.esa.snap.rcp.preferences.DefaultConfigController
-
- org.esa.snap.rcp.preferences.layer.GraticuleLayerController
-
public final class GraticuleLayerController extends DefaultConfigController
* Panel handling graticule layer preferences. Sub-panel of the "Layer"-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
-
-
Constructor Summary
Constructors Constructor Description GraticuleLayerController()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
configure(com.bc.ceres.swing.binding.BindingContext context)
Configure the passed binding context.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()
-
Methods inherited from class org.esa.snap.rcp.preferences.DefaultConfigController
addPropertyChangeListener, applyChanges, cancel, createPropertySet, getBindingContext, getComponent, isChanged, isInitialised, isValid, removePropertyChangeListener, setChanged, update
-
-
-
-
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
.
-
configure
protected void configure(com.bc.ceres.swing.binding.BindingContext context)
Description copied from class:DefaultConfigController
Configure the passed binding context. This is intended to be used to createenablements
in order to add dependencies between property states. The default implementation does nothing.- Overrides:
configure
in classDefaultConfigController
- Parameters:
context
- TheBindingContext
to configure.- See Also:
Enablement
,BindingContext.bindEnabledState(String, boolean, com.bc.ceres.swing.binding.Enablement.Condition)
,BindingContext.bindEnabledState(String, boolean, String, Object)
-
getHelpCtx
public org.openide.util.HelpCtx getHelpCtx()
- Specified by:
getHelpCtx
in classorg.netbeans.spi.options.OptionsPanelController
-
-