Class WriteOptionsController
- java.lang.Object
-
- org.netbeans.spi.options.OptionsPanelController
-
- org.esa.snap.rcp.preferences.DefaultConfigController
-
- org.esa.snap.rcp.preferences.general.WriteOptionsController
-
public final class WriteOptionsController extends DefaultConfigController
Panel for write options. 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
Fields Modifier and Type Field Description static boolean
DEFAULT_VALUE_DIMAP_WRITE_CACHE
default value for preference for dimap cachingstatic boolean
DEFAULT_VALUE_SAVE_INCREMENTAL
default value for preference incremental mode at savestatic boolean
DEFAULT_VALUE_SAVE_PRODUCT_ANNOTATIONS
default value for preference save product annotations (ADS) or notstatic boolean
DEFAULT_VALUE_SAVE_PRODUCT_HEADERS
default value for preference save product headers (MPH, SPH) or notstatic boolean
DEFAULT_VALUE_SAVE_PRODUCT_HISTORY
default value for preference save product history (History) or notstatic String
PREFERENCE_KEY_DIMAP_WRITE_CACHE
Preferences key to switch dimap product writer cachingstatic String
PREFERENCE_KEY_SAVE_INCREMENTAL
Preferences key for incremental mode at savestatic String
PREFERENCE_KEY_SAVE_PRODUCT_ANNOTATIONS
Preferences key for save product annotations (ADS) or notstatic String
PREFERENCE_KEY_SAVE_PRODUCT_HEADERS
Preferences key for save product headers (MPH, SPH) or notstatic String
PREFERENCE_KEY_SAVE_PRODUCT_HISTORY
Preferences key for save product history or not
-
Constructor Summary
Constructors Constructor Description WriteOptionsController()
-
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 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, createPanel, createPropertySet, getBindingContext, getComponent, isChanged, isInitialised, isValid, removePropertyChangeListener, setChanged, update
-
-
-
-
Field Detail
-
PREFERENCE_KEY_SAVE_PRODUCT_HEADERS
public static final String PREFERENCE_KEY_SAVE_PRODUCT_HEADERS
Preferences key for save product headers (MPH, SPH) or not- See Also:
- Constant Field Values
-
PREFERENCE_KEY_SAVE_PRODUCT_HISTORY
public static final String PREFERENCE_KEY_SAVE_PRODUCT_HISTORY
Preferences key for save product history or not- See Also:
- Constant Field Values
-
PREFERENCE_KEY_SAVE_PRODUCT_ANNOTATIONS
public static final String PREFERENCE_KEY_SAVE_PRODUCT_ANNOTATIONS
Preferences key for save product annotations (ADS) or not- See Also:
- Constant Field Values
-
PREFERENCE_KEY_SAVE_INCREMENTAL
public static final String PREFERENCE_KEY_SAVE_INCREMENTAL
Preferences key for incremental mode at save- See Also:
- Constant Field Values
-
PREFERENCE_KEY_DIMAP_WRITE_CACHE
public static final String PREFERENCE_KEY_DIMAP_WRITE_CACHE
Preferences key to switch dimap product writer caching- See Also:
- Constant Field Values
-
DEFAULT_VALUE_SAVE_PRODUCT_HEADERS
public static final boolean DEFAULT_VALUE_SAVE_PRODUCT_HEADERS
default value for preference save product headers (MPH, SPH) or not- See Also:
- Constant Field Values
-
DEFAULT_VALUE_SAVE_PRODUCT_HISTORY
public static final boolean DEFAULT_VALUE_SAVE_PRODUCT_HISTORY
default value for preference save product history (History) or not- See Also:
- Constant Field Values
-
DEFAULT_VALUE_SAVE_PRODUCT_ANNOTATIONS
public static final boolean DEFAULT_VALUE_SAVE_PRODUCT_ANNOTATIONS
default value for preference save product annotations (ADS) or not- See Also:
- Constant Field Values
-
DEFAULT_VALUE_SAVE_INCREMENTAL
public static final boolean DEFAULT_VALUE_SAVE_INCREMENTAL
default value for preference incremental mode at save- See Also:
- Constant Field Values
-
DEFAULT_VALUE_DIMAP_WRITE_CACHE
public static final boolean DEFAULT_VALUE_DIMAP_WRITE_CACHE
default value for preference for dimap caching- 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)
-
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
-
-