Class VFSOptionsController

java.lang.Object
org.netbeans.spi.options.OptionsPanelController
org.esa.snap.rcp.preferences.DefaultConfigController
org.esa.snap.ui.vfs.preferences.VFSOptionsController

public class VFSOptionsController extends DefaultConfigController
A controller for VFS Remote File Repositories. Used for provide a UI to the strategy with storing VFS connection data.
  • 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 inherited from class org.netbeans.spi.options.OptionsPanelController

    PROP_CHANGED, PROP_HELP_CTX, PROP_VALID
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Saves the changes.
    void
    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
    Create a PropertySet object instance that holds all parameters.
    org.openide.util.HelpCtx
    Gets the Help Context for this Options Controller
    boolean
    Check whether options changes.
    void
    Updates the UI.

    Methods inherited from class org.netbeans.spi.options.OptionsPanelController

    createAdvanced, getLookup, handleSuccessfulSearch, setCurrentSubcategory, setSubcategory

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • VFSOptionsController

      public VFSOptionsController()
  • Method Details

    • createPropertySet

      protected PropertySet createPropertySet()
      Create a PropertySet object instance that holds all parameters. Clients that want to maintain properties need to overwrite this method.
      Specified by:
      createPropertySet in class DefaultConfigController
      Returns:
      An instance of PropertySet, holding all configuration parameters.
      See Also:
    • createPanel

      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. Clients that want to create their own panel representation on the given properties need to overwrite this method.
      Overrides:
      createPanel in class DefaultConfigController
      Parameters:
      context - The BindingContext for the panel.
      Returns:
      A JPanel instance for the given BindingContext, never null.
    • update

      public void update()
      Updates the UI.
      Overrides:
      update in class DefaultConfigController
    • applyChanges

      public void applyChanges()
      Saves the changes.
      Overrides:
      applyChanges in class DefaultConfigController
    • cancel

      public void cancel()
      Cancels the changes.
      Overrides:
      cancel in class DefaultConfigController
    • isChanged

      public boolean isChanged()
      Check whether options changes.
      Overrides:
      isChanged in class DefaultConfigController
      Returns:
      true if options is changed
    • getHelpCtx

      public org.openide.util.HelpCtx getHelpCtx()
      Gets the Help Context for this Options Controller
      Specified by:
      getHelpCtx in class org.netbeans.spi.options.OptionsPanelController
      Returns:
      The Help Context