|
Eclipse Platform Release 3.3 |
|||||||||||
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.TreeViewerEditor
This is an editor implementation for Tree
Field Summary |
---|
Fields inherited from class org.eclipse.jface.viewers.ColumnViewerEditor |
---|
DEFAULT, KEYBOARD_ACTIVATION, TABBING_CYCLE_IN_ROW, TABBING_HORIZONTAL, TABBING_MOVE_TO_ROW_NEIGHBOR, TABBING_VERTICAL |
Method Summary | |
---|---|
static void |
create(TreeViewer viewer,
ColumnViewerEditorActivationStrategy editorActivationStrategy,
int feature)
Create a customized editor whose activation process is customized |
static void |
create(TreeViewer 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 fColumnNumber)
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(TreeViewer 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 null
editorActivationStrategy
- activation strategy to control if an editor activatedfeature
- bit mask controlling the editor
create(TreeViewer, ColumnViewerEditorActivationStrategy, int)
public static void create(TreeViewer 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 fColumnNumber)
ColumnViewerEditor
setEditor
in class ColumnViewerEditor
w
- the editor controlitem
- the item (row) in which the editor is drawn infColumnNumber
- the column number in which the editor is shownprotected void setLayoutData(CellEditor.LayoutData layoutData)
ColumnViewerEditor
setLayoutData
in class ColumnViewerEditor
layoutData
- the layout data used when editor is displayedpublic ViewerCell getFocusCell()
getFocusCell
in class ColumnViewerEditor
null
is
returnedprotected void updateFocusCell(ViewerCell focusCell, ColumnViewerEditorActivationEvent event)
updateFocusCell
in class ColumnViewerEditor
focusCell
- updates the cell with the current input focusevent
- the event requesting to update the focusCell
|
Eclipse Platform Release 3.3 |
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Guidelines for using Eclipse APIs.
Copyright (c) IBM Corp. and others 2000, 2007. All rights reserved.