|
JDeveloper SCM API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
An SCMOptionsCustomizer is used to customize the options that are available for a generic source control dialog, as defined by an operation's dialog specification. This can be used to display a user interface in each of the dialogs, allowing the user to configure various specific options for the file selection before the action proceeds.
Method Summary | |
void |
commitOptions()
The customizer should commit any outstanding UI changes that need to be flushed to the Options. |
java.awt.Component |
getComponent()
Get the user interface component for this customizer. |
SCMOptions |
getOptions()
Get the Options object for this customizer. |
void |
initializeOptions(java.util.List allItems)
This method allows you to initialize options for displayed properties in the list dialog. |
void |
selectionChanged(SCMFile[] oldSelection,
SCMFile[] newSelection)
The customizer is notified when the selection changes in the dialog it is customizing. |
void |
validateOptions()
Perform any necessary validation on options held in the UI. |
Method Detail |
public java.awt.Component getComponent()
public SCMOptions getOptions()
public void initializeOptions(java.util.List allItems)
public void selectionChanged(SCMFile[] oldSelection, SCMFile[] newSelection) throws SCMSelectionVetoException
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.ListSelectionChangeVetoException
- if you
want to veto the selection.public void validateOptions() throws SCMException
SCMException
- if validation failed on an option.public void commitOptions()
|
Copyright © 2002 Oracle Corporation | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |