Class EnumCellEditor

    • 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
      EnumCellEditor​(org.eclipse.swt.widgets.Composite parent)
      Deprecated.
      Default constructor.
      EnumCellEditor​(org.eclipse.swt.widgets.Composite parent, int style)
      Deprecated.
      Constructor allowing to specify a SWT style.
    • Method Summary

      All Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      void activate​(org.eclipse.jface.viewers.ColumnViewerEditorActivationEvent actEvent)
      Deprecated.
      protected org.eclipse.swt.widgets.Control createControl​(org.eclipse.swt.widgets.Composite parent)
      Deprecated.
      void deactivate()
      Deprecated.
      protected java.lang.Object doGetValue()
      Deprecated.
      protected void doSetFocus()
      Deprecated.
      protected void doSetValue​(java.lang.Object value)
      Deprecated.
      int getColumnWidthWeight()
      Deprecated.
      The returned value is used for layouting the table columns.
      org.eclipse.emf.ecore.EEnum getEEnum()
      Deprecated.
      Returns the EEnum is cell editor responsible for.
      java.lang.String getFormatedString​(java.lang.Object value)
      Deprecated.
      This returns the String which will be shown in the table when no cell editor is open.
      org.eclipse.swt.graphics.Image getImage​(java.lang.Object value)
      Deprecated.
      This returns the Image which will be shown in the table when no cell editor is open.
      org.eclipse.jface.viewers.CellEditor.LayoutData getLayoutData()
      Deprecated.
      int getMinWidth()
      Deprecated.
      Returns the minimum width of the cell editor.
      org.eclipse.core.databinding.UpdateValueStrategy getModelToTargetStrategy​(org.eclipse.core.databinding.DataBindingContext databindingContext)
      Deprecated.
      This UpdateValueStrategy will be used as the model to target strategy during data binding.
      org.eclipse.core.databinding.UpdateValueStrategy getTargetToModelStrategy​(org.eclipse.core.databinding.DataBindingContext databindingContext)
      Deprecated.
      This UpdateValueStrategy will be used as the target to model strategy during data binding.
      org.eclipse.core.databinding.property.value.IValueProperty getValueProperty()
      Deprecated.
      Returns the IValueProperty for this cell editor which is used by the table to create an IObservableValue.
      void instantiate​(org.eclipse.emf.ecore.EStructuralFeature feature, ViewModelContext viewModelContext)
      Deprecated.
      Instantiates this cell editor.
      void setEditable​(boolean editable)
      Deprecated.
      Sets editable state of the cell editor.
      • Methods inherited from class org.eclipse.jface.viewers.CellEditor

        activate, addListener, addPropertyChangeListener, create, deactivate, dependsOnExternalFocusListener, dispose, fireApplyEditorValue, fireCancelEditor, fireEditorValueChanged, fireEnablementChanged, focusLost, getControl, getDoubleClickTimeout, getErrorMessage, getStyle, getValidator, getValue, isActivated, isCopyEnabled, isCorrect, isCutEnabled, isDeleteEnabled, isDirty, isFindEnabled, isPasteEnabled, isRedoEnabled, isSelectAllEnabled, isUndoEnabled, isValueValid, keyReleaseOccured, 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

      • EnumCellEditor

        public EnumCellEditor​(org.eclipse.swt.widgets.Composite parent)
        Deprecated.
        Default constructor.
        Parameters:
        parent - the parent
      • EnumCellEditor

        public EnumCellEditor​(org.eclipse.swt.widgets.Composite parent,
                              int style)
        Deprecated.
        Constructor allowing to specify a SWT style.
        Parameters:
        parent - the parent
        style - the SWT style
    • Method Detail

      • getValueProperty

        public org.eclipse.core.databinding.property.value.IValueProperty getValueProperty()
        Deprecated.
        Returns the IValueProperty for this cell editor which is used by the table to create an IObservableValue.
        Returns:
        the IValueProperty for this cell editor
        See Also:
        ECPCellEditor.getValueProperty()
      • getFormatedString

        public java.lang.String getFormatedString​(java.lang.Object value)
        Deprecated.
        This returns the String which will be shown in the table when no cell editor is open.
        Parameters:
        value - the Object to get the formated String for
        Returns:
        the formated String
        See Also:
        ECPCellEditor.getFormatedString(java.lang.Object)
      • getColumnWidthWeight

        public int getColumnWidthWeight()
        Deprecated.
        The returned value is used for layouting the table columns. The value is a relative column weight. A column containing text has a weight of 100. Please consider this when defining you weight. E.g if you return 200 your column will be twice the width of a text column.
        Returns:
        the relative column width
        See Also:
        ECPCellEditor.getColumnWidthWeight()
      • getMinWidth

        public int getMinWidth()
        Deprecated.
        Returns the minimum width of the cell editor.
        Returns:
        the minimum width
        See Also:
        ECPCellEditor.getMinWidth()
      • getImage

        public org.eclipse.swt.graphics.Image getImage​(java.lang.Object value)
        Deprecated.
        This returns the Image which will be shown in the table when no cell editor is open.
        Parameters:
        value - the Object to get the Image for
        Returns:
        the image
        See Also:
        ECPCellEditor.getImage(java.lang.Object)
      • getTargetToModelStrategy

        public org.eclipse.core.databinding.UpdateValueStrategy getTargetToModelStrategy​(org.eclipse.core.databinding.DataBindingContext databindingContext)
        Deprecated.
        This UpdateValueStrategy will be used as the target to model strategy during data binding.
        Parameters:
        databindingContext - The DataBindingContext used by this strategy
        Returns:
        the strategy
        See Also:
        ECPCellEditor.getTargetToModelStrategy(org.eclipse.core.databinding.DataBindingContext)
      • getModelToTargetStrategy

        public org.eclipse.core.databinding.UpdateValueStrategy getModelToTargetStrategy​(org.eclipse.core.databinding.DataBindingContext databindingContext)
        Deprecated.
        This UpdateValueStrategy will be used as the model to target strategy during data binding.
        Parameters:
        databindingContext - The DataBindingContext used by this strategy
        Returns:
        the strategy
        See Also:
        ECPCellEditor.getModelToTargetStrategy(org.eclipse.core.databinding.DataBindingContext)
      • getLayoutData

        public org.eclipse.jface.viewers.CellEditor.LayoutData getLayoutData()
        Deprecated.
        Overrides:
        getLayoutData in class org.eclipse.jface.viewers.CellEditor
        See Also:
        CellEditor.getLayoutData()
      • setEditable

        public void setEditable​(boolean editable)
        Deprecated.
        Sets editable state of the cell editor.
        Parameters:
        editable - true if editable, false otherwise
        See Also:
        ECPCellEditor.setEditable(boolean)
      • createControl

        protected org.eclipse.swt.widgets.Control createControl​(org.eclipse.swt.widgets.Composite parent)
        Deprecated.
        Specified by:
        createControl in class org.eclipse.jface.viewers.CellEditor
        See Also:
        CellEditor.createControl(org.eclipse.swt.widgets.Composite)
      • doGetValue

        protected java.lang.Object doGetValue()
        Deprecated.
        Specified by:
        doGetValue in class org.eclipse.jface.viewers.CellEditor
        See Also:
        CellEditor.doGetValue()
      • doSetFocus

        protected void doSetFocus()
        Deprecated.
        Specified by:
        doSetFocus in class org.eclipse.jface.viewers.CellEditor
        See Also:
        CellEditor.doSetFocus()
      • activate

        public void activate​(org.eclipse.jface.viewers.ColumnViewerEditorActivationEvent actEvent)
        Deprecated.
        Overrides:
        activate in class org.eclipse.jface.viewers.CellEditor
        See Also:
        CellEditor.activate(org.eclipse.jface.viewers.ColumnViewerEditorActivationEvent)
      • deactivate

        public void deactivate()
        Deprecated.
        Overrides:
        deactivate in class org.eclipse.jface.viewers.CellEditor
        See Also:
        CellEditor.deactivate()
      • doSetValue

        protected void doSetValue​(java.lang.Object value)
        Deprecated.
        Specified by:
        doSetValue in class org.eclipse.jface.viewers.CellEditor
        See Also:
        CellEditor.doSetValue(java.lang.Object)
      • getEEnum

        public org.eclipse.emf.ecore.EEnum getEEnum()
        Deprecated.
        Returns the EEnum is cell editor responsible for.
        Specified by:
        getEEnum in class ECPEnumCellEditor
        Returns:
        the enum