Class ComboGUIEditor
- java.lang.Object
-
- net.ssehub.easy.producer.ui.confModel.ComboGUIEditor
-
-
Field Summary
Fields Modifier and Type Field Description private org.eclipse.swt.widgets.Comboeditorprivate ComboboxGUIVariableparent
-
Constructor Summary
Constructors Constructor Description ComboGUIEditor(org.eclipse.swt.widgets.Combo editor, ComboboxGUIVariable parent)Creates a combo GUI 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.
-
-
-
Field Detail
-
editor
private org.eclipse.swt.widgets.Combo editor
-
parent
private ComboboxGUIVariable parent
-
-
Constructor Detail
-
ComboGUIEditor
public ComboGUIEditor(org.eclipse.swt.widgets.Combo editor, ComboboxGUIVariable parent)Creates a combo GUI editor representation.- Parameters:
editor- the editorparent- the creating GUI variable
-
-
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
-
-