public class VCSOptionsCustomizerAdapter extends java.lang.Object implements VCSOptionsCustomizer
Adapter class for a version client dialog options customizer / provider.
Modifier and Type | Field and Description |
---|---|
protected java.awt.Component |
_component |
Constructor and Description |
---|
VCSOptionsCustomizerAdapter() |
Modifier and Type | Method and Description |
---|---|
java.awt.Component |
getComponent()
Gets the component of the options cusomizer instance.
|
java.awt.Component |
getInitialFocusComponent()
Get the component to focus initially when the customizer is displayed.
|
java.util.Map<?,?> |
getOptions()
Gets options from the customizer, based on internal component states.
|
void |
setOptions(java.util.Map<?,?> options)
Sets options on the customizer, updating internal component states.
|
void |
validateOptions()
Validates internal component states ahead of committing options.
|
public java.awt.Component getComponent()
VCSOptionsCustomizer
getComponent
in interface VCSOptionsCustomizer
public void setOptions(java.util.Map<?,?> options)
VCSOptionsCustomizer
setOptions
in interface VCSOptionsCustomizer
options
- the map of options values.public java.util.Map<?,?> getOptions()
VCSOptionsCustomizer
getOptions
in interface VCSOptionsCustomizer
public void validateOptions() throws VCSException
VCSOptionsCustomizer
validateOptions
in interface VCSOptionsCustomizer
VCSException
- if an option states is invalid.public java.awt.Component getInitialFocusComponent()
VCSOptionsCustomizer
getInitialFocusComponent
in interface VCSOptionsCustomizer