public final class TableViewerEditor extends ColumnViewerEditor
TableDEFAULT, KEEP_EDITOR_ON_DOUBLE_CLICK, KEYBOARD_ACTIVATION, TABBING_CYCLE_IN_ROW, TABBING_HORIZONTAL, TABBING_MOVE_TO_ROW_NEIGHBOR, TABBING_VERTICAL| Modifier and Type | Method and Description |
|---|---|
static void |
create(TableViewer viewer,
ColumnViewerEditorActivationStrategy editorActivationStrategy,
int feature)
Create a customized editor whose activation process is customized
|
static void |
create(TableViewer viewer,
org.eclipse.jface.viewers.SWTFocusCellManager focusCellManager,
ColumnViewerEditorActivationStrategy editorActivationStrategy,
int feature)
Create a customized editor with focusable cells
|
ViewerCell |
getFocusCell() |
protected void |
setEditor(Control w,
Item item,
int columnNumber)
Position the editor inside the control
|
protected void |
setLayoutData(CellEditor.LayoutData layoutData)
set the layout data for the editor
|
protected void |
updateFocusCell(ViewerCell focusCell,
ColumnViewerEditorActivationEvent event) |
addEditorActivationListener, getViewer, processTraverseEvent, removeEditorActivationListenerpublic static void create(TableViewer viewer, org.eclipse.jface.viewers.SWTFocusCellManager focusCellManager, ColumnViewerEditorActivationStrategy editorActivationStrategy, int feature)
viewer - the viewer the editor is created forfocusCellManager - the cell focus manager if one needed else nulleditorActivationStrategy - activation strategy to control if an editor activatedfeature - bit mask controlling the editor
create(TableViewer, ColumnViewerEditorActivationStrategy, int)public static void create(TableViewer viewer, ColumnViewerEditorActivationStrategy editorActivationStrategy, int feature)
viewer - the viewer the editor is created foreditorActivationStrategy - activation strategy to control if an editor activatedfeature - bit mask controlling the editor
protected void setEditor(Control w, Item item, int columnNumber)
ColumnViewerEditorsetEditor in class ColumnViewerEditorw - the editor controlitem - the item (row) in which the editor is drawn incolumnNumber - the column number in which the editor is shownprotected void setLayoutData(CellEditor.LayoutData layoutData)
ColumnViewerEditorsetLayoutData in class ColumnViewerEditorlayoutData - the layout data used when editor is displayedpublic ViewerCell getFocusCell()
getFocusCell in class ColumnViewerEditornull is
returnedprotected void updateFocusCell(ViewerCell focusCell, ColumnViewerEditorActivationEvent event)
updateFocusCell in class ColumnViewerEditorfocusCell - updates the cell with the current input focusevent - the event requesting to update the focusCell
Copyright (c) 2000, 2014 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.