Class ComboboxGUICellEditor

  • All Implemented Interfaces:
    IRefreshableEditor, IUpdateProvider

    class ComboboxGUICellEditor
    extends org.eclipse.jface.viewers.ComboBoxCellEditor
    implements IUpdateProvider
    Implements an updatable combobox cell editor.
    Author:
    Holger Eichelberger
    • Nested Class Summary

      • Nested classes/interfaces inherited from class org.eclipse.jface.viewers.CellEditor

        org.eclipse.jface.viewers.CellEditor.LayoutData
    • Constructor Summary

      Constructors 
      Constructor Description
      ComboboxGUICellEditor​(org.eclipse.swt.widgets.Composite parent, java.lang.String[] items, ComboboxGUIVariable variable)
      Creates the combobox editor.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void activate​(org.eclipse.jface.viewers.ColumnViewerEditorActivationEvent arg0)  
      void dispose()  
      IDecisionVariable getVariable()
      Returns the underlying decision variable.
      void refresh()
      Refreshes the contents of the editor.
      void setActivationStyle​(int arg0)  
      void setUpdateListener​(IUpdateListener listener)
      Defines the update listener.
      • Methods inherited from class org.eclipse.jface.viewers.ComboBoxCellEditor

        createControl, doGetValue, doSetFocus, doSetValue, focusLost, getItems, getLayoutData, keyReleaseOccured, setItems
      • Methods inherited from class org.eclipse.jface.viewers.CellEditor

        activate, addListener, addPropertyChangeListener, create, deactivate, deactivate, dependsOnExternalFocusListener, fireApplyEditorValue, fireCancelEditor, fireEditorValueChanged, fireEnablementChanged, getControl, getDoubleClickTimeout, getErrorMessage, getStyle, getValidator, getValue, isActivated, isCopyEnabled, isCorrect, isCutEnabled, isDeleteEnabled, isDirty, isFindEnabled, isPasteEnabled, isRedoEnabled, isSelectAllEnabled, isUndoEnabled, isValueValid, markDirty, performCopy, performCut, performDelete, performFind, performPaste, performRedo, performSelectAll, performUndo, removeListener, removePropertyChangeListener, setErrorMessage, setFocus, setStyle, setValidator, setValue, setValueValid, valueChanged
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ComboboxGUICellEditor

        public ComboboxGUICellEditor​(org.eclipse.swt.widgets.Composite parent,
                                     java.lang.String[] items,
                                     ComboboxGUIVariable variable)
        Creates the combobox editor.
        Parameters:
        parent - the parent composite
        items - the combobox items
        variable - the creating variable
    • Method Detail

      • setUpdateListener

        public void setUpdateListener​(IUpdateListener listener)
        Description copied from interface: IUpdateProvider
        Defines the update listener. The update listener will be disposed automatically .
        Specified by:
        setUpdateListener in interface IUpdateProvider
        Parameters:
        listener - the update listener
      • dispose

        public void dispose()
        Overrides:
        dispose in class org.eclipse.jface.viewers.CellEditor
      • activate

        public void activate​(org.eclipse.jface.viewers.ColumnViewerEditorActivationEvent arg0)
        Overrides:
        activate in class org.eclipse.jface.viewers.CellEditor
      • setActivationStyle

        public void setActivationStyle​(int arg0)