|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.jface.viewers.CellEditor
pl.edu.agh.cast.ui.dialogs.property.PropertyCellEditor
public class PropertyCellEditor
Attribute cell editor allows editing text, color and boolean values in one column. Text cell editor is default editor.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.eclipse.jface.viewers.CellEditor |
---|
org.eclipse.jface.viewers.CellEditor.LayoutData |
Field Summary |
---|
Fields inherited from class org.eclipse.jface.viewers.CellEditor |
---|
COPY, CUT, DELETE, FIND, PASTE, REDO, SELECT_ALL, UNDO |
Constructor Summary | |
---|---|
PropertyCellEditor(org.eclipse.swt.widgets.Composite parent)
Creates new editor. |
Method Summary | |
---|---|
void |
applyEditorValue()
|
void |
cancelEditor()
|
protected org.eclipse.swt.widgets.Control |
createControl(org.eclipse.swt.widgets.Composite parent)
|
protected Object |
doGetValue()
|
protected void |
doSetFocus()
|
protected void |
doSetValue(Object val)
|
void |
editorValueChanged(boolean oldValidState,
boolean newValidState)
|
org.eclipse.swt.widgets.Control |
getControl()
|
protected int |
getDoubleClickTimeout()
|
Methods inherited from class org.eclipse.jface.viewers.CellEditor |
---|
activate, activate, addListener, addPropertyChangeListener, create, deactivate, deactivate, dependsOnExternalFocusListener, dispose, fireApplyEditorValue, fireCancelEditor, fireEditorValueChanged, fireEnablementChanged, focusLost, 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 |
Constructor Detail |
---|
public PropertyCellEditor(org.eclipse.swt.widgets.Composite parent)
parent
- parent controlMethod Detail |
---|
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()
protected void doSetValue(Object val)
doSetValue
in class org.eclipse.jface.viewers.CellEditor
CellEditor.doSetValue(java.lang.Object)
public org.eclipse.swt.widgets.Control getControl()
getControl
in class org.eclipse.jface.viewers.CellEditor
CellEditor.getControl()
public void applyEditorValue()
applyEditorValue
in interface org.eclipse.jface.viewers.ICellEditorListener
ICellEditorListener.applyEditorValue()
public void editorValueChanged(boolean oldValidState, boolean newValidState)
editorValueChanged
in interface org.eclipse.jface.viewers.ICellEditorListener
ICellEditorListener.editorValueChanged(boolean, boolean)
public void cancelEditor()
cancelEditor
in interface org.eclipse.jface.viewers.ICellEditorListener
ICellEditorListener.cancelEditor()
protected int getDoubleClickTimeout()
getDoubleClickTimeout
in class org.eclipse.jface.viewers.CellEditor
CellEditor.getDoubleClickTimeout()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |