oracle.ide.scm
Class SCMOptionsCustomizerAdapter
java.lang.Object
|
+--oracle.ide.scm.SCMOptionsCustomizerAdapter
- All Implemented Interfaces:
- SCMOptionsCustomizer
- Direct Known Subclasses:
- SCMAbstractOptionsCustomizer, SCMCommentsOptionsCustomizer, SCMGenericOptionsCustomizer
- public abstract class SCMOptionsCustomizerAdapter
- extends java.lang.Object
- implements SCMOptionsCustomizer
Adapter class for easier implementation of SCMOptionsCustomizer
.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SCMOptionsCustomizerAdapter
public SCMOptionsCustomizerAdapter()
getComponent
public java.awt.Component getComponent()
- Gets a new swing panel.
- Specified by:
getComponent
in interface SCMOptionsCustomizer
- Returns:
- a newly constructed and empty panel.
getOptions
public SCMOptions getOptions()
- Gets a new options object.
- Specified by:
getOptions
in interface SCMOptionsCustomizer
- Returns:
- a newly constructed and empty options object.
initializeOptions
public void initializeOptions(java.util.List allItems)
- Performs no initialization on options.
- Specified by:
initializeOptions
in interface SCMOptionsCustomizer
selectionChanged
public void selectionChanged(SCMFile[] oldSelection,
SCMFile[] newSelection)
throws SCMSelectionVetoException
- Performs no actions with a change in selection.
- Specified by:
selectionChanged
in interface SCMOptionsCustomizer
- Following copied from interface:
oracle.ide.scm.SCMOptionsCustomizer
- Parameters:
oldSelection
- the old selection. This may be null if the dialog
has just been initialized, and will be a zero-length array if the
selection was clearnewSelection
- the new selection. This will never be null, but may
be a zero-length array if the selection has been cleared.- Throws:
ListSelectionChangeVetoException
- if you
want to veto the selection.
validateOptions
public void validateOptions()
throws SCMException
- Performs no options validation.
- Specified by:
validateOptions
in interface SCMOptionsCustomizer
- Following copied from interface:
oracle.ide.scm.SCMOptionsCustomizer
- Throws:
SCMException
- if validation failed on an option.
commitOptions
public void commitOptions()
- Flushes no values in the UI to the options object.
- Specified by:
commitOptions
in interface SCMOptionsCustomizer