Class TextGUIEditor
- java.lang.Object
-
- net.ssehub.easy.producer.ui.confModel.TextGUIEditor
-
-
Field Summary
Fields Modifier and Type Field Description private org.eclipse.swt.widgets.Texttext
-
Constructor Summary
Constructors Constructor Description TextGUIEditor(org.eclipse.swt.widgets.Text text)Creates an editor representation.
-
Method Summary
All Methods Instance Methods Concrete 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
public org.eclipse.swt.widgets.Control getControl()
Description copied from interface:GUIEditorReturns the actual SWT control of the editor.- Specified by:
getControlin interfaceGUIEditor- Returns:
- the control
-
getValue
public java.lang.Object getValue()
Description copied from interface:GUIEditorReturns the value of the editor.
-
setValue
public void setValue(java.lang.Object object)
Description copied from interface:GUIEditorChanges the value of the editor.
-
isPseudoEditor
public boolean isPseudoEditor()
Description copied from interface:GUIEditorReturns whether this representation actually holds an editable SWT element or whether it is a pseudo editor such as a Label.- Specified by:
isPseudoEditorin interfaceGUIEditor- Returns:
trueif it is a pseudo editor,falseelse
-
refreshContents
public void refreshContents()
Description copied from interface:GUIEditorRefreshes the contents of this editor.- Specified by:
refreshContentsin interfaceGUIEditor
-
-