ItemProviderEnumCellEditor
instead@Deprecated public class EnumCellEditor extends ECPEnumCellEditor
COPY, CUT, DELETE, FIND, PASTE, REDO, SELECT_ALL, UNDO
COPY_STRING_ALTERNATIVE, CUSTOM_VARIANT
Constructor and 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.
|
Modifier and Type | Method and 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 Object |
doGetValue()
Deprecated.
|
protected void |
doSetFocus()
Deprecated.
|
protected void |
doSetValue(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. |
String |
getFormatedString(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(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.
|
getELiterals
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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getStyle
public EnumCellEditor(org.eclipse.swt.widgets.Composite parent)
parent
- the parentpublic EnumCellEditor(org.eclipse.swt.widgets.Composite parent, int style)
parent
- the parentstyle
- the SWT stylepublic org.eclipse.core.databinding.property.value.IValueProperty getValueProperty()
IValueProperty
for this cell editor which is used by the table to create an
IObservableValue
.IValueProperty
for this cell editorECPCellEditor.getValueProperty()
public void instantiate(org.eclipse.emf.ecore.EStructuralFeature feature, ViewModelContext viewModelContext)
ViewModelServices
.feature
- the EStructuralFeature
displayed in this cell editorviewModelContext
- the ViewModelContext
used for the current viewECPCellEditor.instantiate(org.eclipse.emf.ecore.EStructuralFeature,
org.eclipse.emf.ecp.view.spi.context.ViewModelContext)
public String getFormatedString(Object value)
value
- the Object to get the formated String forECPCellEditor.getFormatedString(java.lang.Object)
public int getColumnWidthWeight()
ECPCellEditor.getColumnWidthWeight()
public int getMinWidth()
ECPCellEditor.getMinWidth()
public org.eclipse.swt.graphics.Image getImage(Object value)
value
- the Object to get the Image forECPCellEditor.getImage(java.lang.Object)
public org.eclipse.core.databinding.UpdateValueStrategy getTargetToModelStrategy(org.eclipse.core.databinding.DataBindingContext databindingContext)
UpdateValueStrategy
will be used as the target to model strategy during data binding.databindingContext
- The DataBindingContext
used by this strategyECPCellEditor.getTargetToModelStrategy(org.eclipse.core.databinding.DataBindingContext)
public org.eclipse.core.databinding.UpdateValueStrategy getModelToTargetStrategy(org.eclipse.core.databinding.DataBindingContext databindingContext)
UpdateValueStrategy
will be used as the model to target strategy during data binding.databindingContext
- The DataBindingContext
used by this strategyECPCellEditor.getModelToTargetStrategy(org.eclipse.core.databinding.DataBindingContext)
public org.eclipse.jface.viewers.CellEditor.LayoutData getLayoutData()
getLayoutData
in class org.eclipse.jface.viewers.CellEditor
CellEditor.getLayoutData()
public void setEditable(boolean editable)
editable
- true
if editable, false
otherwiseECPCellEditor.setEditable(boolean)
protected org.eclipse.swt.widgets.Control createControl(org.eclipse.swt.widgets.Composite parent)
createControl
in class org.eclipse.jface.viewers.CellEditor
CellEditor.createControl(org.eclipse.swt.widgets.Composite)
protected Object doGetValue()
doGetValue
in class org.eclipse.jface.viewers.CellEditor
CellEditor.doGetValue()
protected void doSetFocus()
doSetFocus
in class org.eclipse.jface.viewers.CellEditor
CellEditor.doSetFocus()
public void activate(org.eclipse.jface.viewers.ColumnViewerEditorActivationEvent actEvent)
activate
in class org.eclipse.jface.viewers.CellEditor
CellEditor.activate(org.eclipse.jface.viewers.ColumnViewerEditorActivationEvent)
public void deactivate()
deactivate
in class org.eclipse.jface.viewers.CellEditor
CellEditor.deactivate()
protected void doSetValue(Object value)
doSetValue
in class org.eclipse.jface.viewers.CellEditor
CellEditor.doSetValue(java.lang.Object)
public org.eclipse.emf.ecore.EEnum getEEnum()
EEnum
is cell editor responsible for.getEEnum
in class ECPEnumCellEditor
Copyright © 2019. All rights reserved.