Class ECPEnumCellEditor
- java.lang.Object
-
- org.eclipse.jface.viewers.CellEditor
-
- org.eclipse.emf.ecp.edit.spi.swt.table.ECPEnumCellEditor
-
- All Implemented Interfaces:
ECPCellEditor
- Direct Known Subclasses:
EnumCellEditor
,ItemProviderEnumCellEditor
public abstract class ECPEnumCellEditor extends org.eclipse.jface.viewers.CellEditor implements ECPCellEditor
Common base class for combo-based enum cell editors.- Since:
- 1.13
-
-
Field Summary
-
Fields inherited from class org.eclipse.jface.viewers.CellEditor
COPY, CUT, DELETE, FIND, PASTE, REDO, SELECT_ALL, UNDO
-
Fields inherited from interface org.eclipse.emf.ecp.edit.spi.swt.table.ECPCellEditor
COPY_STRING_ALTERNATIVE, CUSTOM_VARIANT
-
-
Constructor Summary
Constructors Constructor Description ECPEnumCellEditor(org.eclipse.swt.widgets.Composite parent)
Constructor.ECPEnumCellEditor(org.eclipse.swt.widgets.Composite parent, int style)
Constructor.
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract org.eclipse.emf.ecore.EEnum
getEEnum()
Returns theEEnum
is cell editor responsible for.java.util.List<org.eclipse.emf.ecore.EEnumLiteral>
getELiterals()
Returns the list of literals of the enum.-
Methods inherited from class org.eclipse.jface.viewers.CellEditor
activate, activate, addListener, addPropertyChangeListener, create, createControl, deactivate, deactivate, dependsOnExternalFocusListener, dispose, doGetValue, doSetFocus, doSetValue, fireApplyEditorValue, fireCancelEditor, fireEditorValueChanged, fireEnablementChanged, focusLost, getControl, getDoubleClickTimeout, getErrorMessage, getLayoutData, 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
-
Methods inherited from interface org.eclipse.emf.ecp.edit.spi.swt.table.ECPCellEditor
getColumnWidthWeight, getFormatedString, getImage, getMinWidth, getModelToTargetStrategy, getStyle, getTargetToModelStrategy, getValueProperty, instantiate, setEditable
-
-
-
-
Constructor Detail
-
ECPEnumCellEditor
public ECPEnumCellEditor(org.eclipse.swt.widgets.Composite parent)
Constructor.- Parameters:
parent
- the parentComposite
-
ECPEnumCellEditor
public ECPEnumCellEditor(org.eclipse.swt.widgets.Composite parent, int style)
Constructor.- Parameters:
parent
- the parentComposite
style
- SWT style bits
-
-
Method Detail
-
getEEnum
public abstract org.eclipse.emf.ecore.EEnum getEEnum()
Returns theEEnum
is cell editor responsible for.- Returns:
- the enum
-
getELiterals
public java.util.List<org.eclipse.emf.ecore.EEnumLiteral> getELiterals()
Returns the list of literals of the enum.- Returns:
- a list of literals
- See Also:
getEEnum()
-
-