T
- the attribute value type/bindingpublic abstract class AbstractEditor<T> extends Object implements Editor<T>
Constructor and Description |
---|
AbstractEditor() |
Modifier and Type | Method and Description |
---|---|
protected void |
fireStateChanged(String property,
boolean oldValue,
boolean newValue)
Informs this editor's listener, if it has one, about a change to one of
this editor's boolean-valued properties.
|
protected void |
fireValueChanged(String property,
Object oldValue,
Object newValue)
Informs this editor's listener, if it has one, about a change to one of
this editor's properties.
|
void |
setPropertyChangeListener(org.eclipse.jface.util.IPropertyChangeListener listener)
Sets or removes the property change listener for this editor.
|
void |
setVariables(Collection<PropertyEntityDefinition> properties)
Sets available variables.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getAsText, getControl, getValue, getValueType, isValid, setAsText, setValue
public void setPropertyChangeListener(org.eclipse.jface.util.IPropertyChangeListener listener)
Editor
Note that editors can support only a single listener.
setPropertyChangeListener
in interface Editor<T>
listener
- a property change listener, or null
to
removeEditor.setPropertyChangeListener(org.eclipse.jface.util.IPropertyChangeListener)
protected void fireStateChanged(String property, boolean oldValue, boolean newValue)
property
- the editor property name, such as VALUE
or
IS_VALID
oldValue
- the old valuenewValue
- the new valueprotected void fireValueChanged(String property, Object oldValue, Object newValue)
property
- the editor property name, such as VALUE
or
IS_VALID
oldValue
- the old value object, or null
newValue
- the new value, or null
public void setVariables(Collection<PropertyEntityDefinition> properties)
Editor
setVariables
in interface Editor<T>
properties
- the property variablesEditor.setVariables(java.util.Collection)
Build 2013-10-07_11-27-38
Revision 99b27713a799a59a21b0b166eaaea8aaefbf125a