Interface GUIEditor
-
- All Known Implementing Classes:
ComboGUIEditor,ConfigurationTableEditorFactory.DelegatingGuiVariable,ContainerTextGUIEditor,LabelGUIEditor,MultipleSelectionEditor,TextGUIEditor
public interface GUIEditorDefines a GUI editor representation.- Author:
- Holger Eichelberger
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description org.eclipse.swt.widgets.ControlgetControl()Returns the actual SWT control of the editor.java.lang.ObjectgetValue()Returns the value of the editor.booleanisPseudoEditor()Returns whether this representation actually holds an editable SWT element or whether it is a pseudo editor such as a Label.voidrefreshContents()Refreshes the contents of this editor.voidsetValue(java.lang.Object object)Changes the value of the editor.
-
-
-
Method Detail
-
getControl
org.eclipse.swt.widgets.Control getControl()
Returns the actual SWT control of the editor.- Returns:
- the control
-
getValue
java.lang.Object getValue()
Returns the value of the editor.- Returns:
- the value
-
setValue
void setValue(java.lang.Object object)
Changes the value of the editor.- Parameters:
object- the new value
-
isPseudoEditor
boolean isPseudoEditor()
Returns whether this representation actually holds an editable SWT element or whether it is a pseudo editor such as a Label.- Returns:
trueif it is a pseudo editor,falseelse
-
refreshContents
void refreshContents()
Refreshes the contents of this editor.
-
-