| java.lang.Object org.eclipse.jface.viewers.ColumnViewerEditor
All known Subclasses: org.eclipse.jface.viewers.TreeViewerEditor, org.eclipse.jface.viewers.TableViewerEditor,
ColumnViewerEditor | abstract public class ColumnViewerEditor (Code) | | This is the base for all editor implementations of Viewers. ColumnViewer
implementators have to subclass this class and implement the missing methods
since: 3.3 See Also: TableViewerEditor See Also: TreeViewerEditor |
DEFAULT | final public static int DEFAULT(Code) | | Tabbing from cell to cell is turned off
|
KEYBOARD_ACTIVATION | final public static int KEYBOARD_ACTIVATION(Code) | | Style mask used to enable keyboard activation
|
TABBING_CYCLE_IN_ROW | final public static int TABBING_CYCLE_IN_ROW(Code) | | Should if the end of the row is reach started from the beginning in the
same row
|
TABBING_HORIZONTAL | final public static int TABBING_HORIZONTAL(Code) | | Should tabbing from column to column with in one row be supported
|
TABBING_MOVE_TO_ROW_NEIGHBOR | final public static int TABBING_MOVE_TO_ROW_NEIGHBOR(Code) | | Should if the end of the row is reach started from the start/end of the
row below/above
|
TABBING_VERTICAL | final public static int TABBING_VERTICAL(Code) | | Support tabbing to Cell above/below the current cell
|
ColumnViewerEditor | protected ColumnViewerEditor(ColumnViewer viewer, ColumnViewerEditorActivationStrategy editorActivationStrategy, int feature)(Code) | | Parameters: viewer - the viewer this editor is attached to Parameters: editorActivationStrategy - the strategy used to decide about editor activation Parameters: feature - bit mask controlling the editor |
activateCellEditor | void activateCellEditor()(Code) | | |
addEditorActivationListener | public void addEditorActivationListener(ColumnViewerEditorActivationListener listener)(Code) | | Adds the given listener, it is to be notified when the cell editor is
activated or deactivated.
Parameters: listener - the listener to add |
applyEditorValue | void applyEditorValue()(Code) | | Applies the current value and deactivates the currently active cell
editor.
|
cancelEditing | void cancelEditing()(Code) | | Cancel editing
|
getFocusCell | public ViewerCell getFocusCell()(Code) | | the cell currently holding the focus if no cell has the focus orthe viewer implementation doesn't support null isreturned |
handleDoubleClickEvent | void handleDoubleClickEvent()(Code) | | |
isCellEditorActive | boolean isCellEditorActive()(Code) | | Return whether there is an active cell editor.
true if there is an active cell editor; otherwisefalse is returned. |
processTraverseEvent | protected void processTraverseEvent(int columnIndex, ViewerRow row, TraverseEvent event)(Code) | | Process the traverse event and opens the next available editor depending
of the implemented strategy. The default implementation uses the style
constants
Subclasses may overwrite to implement their custom logic to edit the next
cell
Parameters: columnIndex - the index of the current column Parameters: row - the current row - may only be used for the duration of thismethod call Parameters: event - the traverse event |
setEditor | abstract protected void setEditor(Control w, Item item, int fColumnNumber)(Code) | | Position the editor inside the control
Parameters: w - the editor control Parameters: item - the item (row) in which the editor is drawn in Parameters: fColumnNumber - the column number in which the editor is shown |
setLayoutData | abstract protected void setLayoutData(CellEditor.LayoutData layoutData)(Code) | | set the layout data for the editor
Parameters: layoutData - the layout data used when editor is displayed |
updateFocusCell | abstract protected void updateFocusCell(ViewerCell focusCell, ColumnViewerEditorActivationEvent event)(Code) | | Parameters: focusCell - updates the cell with the current input focus Parameters: event - the event requesting to update the focusCell |
|
|