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 booleanDEFAULT_VALUE_DIMAP_WRITE_CACHEdefault value for preference for dimap cachingstatic booleanDEFAULT_VALUE_SAVE_INCREMENTALdefault value for preference incremental mode at savestatic booleanDEFAULT_VALUE_SAVE_PRODUCT_ANNOTATIONSdefault value for preference save product annotations (ADS) or notstatic booleanDEFAULT_VALUE_SAVE_PRODUCT_HEADERSdefault value for preference save product headers (MPH, SPH) or notstatic booleanDEFAULT_VALUE_SAVE_PRODUCT_HISTORYdefault value for preference save product history (History) or notstatic StringPREFERENCE_KEY_DIMAP_WRITE_CACHEPreferences key to switch dimap product writer cachingstatic StringPREFERENCE_KEY_SAVE_INCREMENTALPreferences key for incremental mode at savestatic StringPREFERENCE_KEY_SAVE_PRODUCT_ANNOTATIONSPreferences key for save product annotations (ADS) or notstatic StringPREFERENCE_KEY_SAVE_PRODUCT_HEADERSPreferences key for save product headers (MPH, SPH) or notstatic StringPREFERENCE_KEY_SAVE_PRODUCT_HISTORYPreferences 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 voidconfigure(com.bc.ceres.swing.binding.BindingContext context)Configure the passed binding context.protected PropertySetcreatePropertySet()Create aPropertySetobject instance that holds all parameters.org.openide.util.HelpCtxgetHelpCtx()-
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:DefaultConfigControllerCreate aPropertySetobject instance that holds all parameters. Clients that want to maintain properties need to overwrite this method.- Specified by:
createPropertySetin 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:DefaultConfigControllerConfigure the passed binding context. This is intended to be used to createenablementsin order to add dependencies between property states. The default implementation does nothing.- Overrides:
configurein classDefaultConfigController- Parameters:
context- TheBindingContextto 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:
getHelpCtxin classorg.netbeans.spi.options.OptionsPanelController
-
-