public abstract class BasePatternPropertyEditor extends java.lang.Object implements PatternPropertyEditor
copyright
Constructor and Description |
---|
BasePatternPropertyEditor() |
Modifier and Type | Method and Description |
---|---|
void |
configureEditor(PatternPropertyEditorSite site,
boolean required,
java.lang.String configurationValues)
Configures the editor after it has been created.
|
abstract void |
createControls(java.lang.Object parent)
Creates the controls for this user-defined editor.
|
PatternPropertyEditorSite |
getSite() |
java.lang.String |
getValue() |
java.lang.String |
isValid() |
void |
notifyChanged(java.lang.String parameterId,
java.lang.String value)
Notification that a dependent parameter has changed.
|
void |
setEnabled(boolean enabled)
Called when the enabled state of this editor changes.
|
void |
setValue(java.lang.String value)
Sets the initial value of the property editor.
|
void |
setVisible(boolean visible)
Called when the visibility of this editor changes.
|
public abstract void createControls(java.lang.Object parent)
createControls
in interface PatternPropertyEditor
public void configureEditor(PatternPropertyEditorSite site, boolean required, java.lang.String configurationValues)
configureEditor
in interface PatternPropertyEditor
public PatternPropertyEditorSite getSite()
PatternPropertyEditorSite
.public void setEnabled(boolean enabled)
setEnabled
in interface PatternPropertyEditor
public void setVisible(boolean visible)
setVisible
in interface PatternPropertyEditor
public java.lang.String getValue()
getValue
in interface PatternPropertyEditor
public java.lang.String isValid()
isValid
in interface PatternPropertyEditor
null
or a validation error message.public void notifyChanged(java.lang.String parameterId, java.lang.String value)
notifyChanged
in interface PatternPropertyEditor
public void setValue(java.lang.String value)
setValue
in interface PatternPropertyEditor