|
Eclipse Platform Release 3.7 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.jface.viewers.ColumnViewerEditor
org.eclipse.jface.viewers.TableViewerEditor
public final class TableViewerEditor
This is an editor-implementation for Table
| Field Summary |
|---|
| Fields inherited from class org.eclipse.jface.viewers.ColumnViewerEditor |
|---|
DEFAULT, KEEP_EDITOR_ON_DOUBLE_CLICK, KEYBOARD_ACTIVATION, TABBING_CYCLE_IN_ROW, TABBING_HORIZONTAL, TABBING_MOVE_TO_ROW_NEIGHBOR, TABBING_VERTICAL |
| Method Summary | |
|---|---|
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)
|
| Methods inherited from class org.eclipse.jface.viewers.ColumnViewerEditor |
|---|
addEditorActivationListener, getViewer, processTraverseEvent, removeEditorActivationListener |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public 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)
ColumnViewerEditor
setEditor 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)
ColumnViewerEditor
setLayoutData in class ColumnViewerEditorlayoutData - the layout data used when editor is displayedpublic ViewerCell getFocusCell()
getFocusCell in class ColumnViewerEditornull is
returned
protected 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
|
Eclipse Platform Release 3.7 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Guidelines for using Eclipse APIs.
Copyright (c) Eclipse contributors and others 2000, 2011. All rights reserved.