public class VFSOptionsController extends DefaultConfigController
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 and Description |
---|
VFSOptionsController() |
Modifier and Type | Method and Description |
---|---|
void |
applyChanges()
Saves the changes.
|
void |
cancel()
Cancels the changes.
|
protected JPanel |
createPanel(com.bc.ceres.swing.binding.BindingContext context)
Create a panel that allows the user to set the parameters in the given
BindingContext . |
protected PropertySet |
createPropertySet()
Create a
PropertySet object instance that holds all parameters. |
org.openide.util.HelpCtx |
getHelpCtx()
Gets the Help Context for this Options Controller
|
boolean |
isChanged()
Check whether options changes.
|
void |
update()
Updates the UI.
|
addPropertyChangeListener, configure, createPropertySet, getBindingContext, getComponent, isInitialised, isValid, removePropertyChangeListener, setChanged
protected PropertySet createPropertySet()
PropertySet
object instance that holds all parameters.
Clients that want to maintain properties need to overwrite this method.createPropertySet
in class DefaultConfigController
PropertySet
, holding all configuration parameters.DefaultConfigController.createPropertySet(Object)
protected JPanel createPanel(com.bc.ceres.swing.binding.BindingContext context)
BindingContext
. Clients that want to create their own panel representation on the given properties need to overwrite this method.createPanel
in class DefaultConfigController
context
- The BindingContext
for the panel.BindingContext
, never null
.public void update()
update
in class DefaultConfigController
public void applyChanges()
applyChanges
in class DefaultConfigController
public void cancel()
cancel
in class DefaultConfigController
public boolean isChanged()
isChanged
in class DefaultConfigController
true
if options is changedpublic org.openide.util.HelpCtx getHelpCtx()
getHelpCtx
in class org.netbeans.spi.options.OptionsPanelController
Copyright © 2014–2019 European Space Agency (ESA). All rights reserved.