Package org.eclipse.jface.viewers
Class TreeViewerEditor
java.lang.Object
org.eclipse.jface.viewers.ColumnViewerEditor
org.eclipse.jface.viewers.TreeViewerEditor
This is an editor implementation for 
Tree- Since:
- 3.3
- 
Field SummaryFields inherited from class org.eclipse.jface.viewers.ColumnViewerEditorDEFAULT, KEEP_EDITOR_ON_DOUBLE_CLICK, KEYBOARD_ACTIVATION, TABBING_CYCLE_IN_ROW, TABBING_CYCLE_IN_VIEWER, TABBING_HORIZONTAL, TABBING_MOVE_TO_ROW_NEIGHBOR, TABBING_VERTICAL
- 
Method SummaryModifier and TypeMethodDescriptionstatic voidcreate(TreeViewer viewer, ColumnViewerEditorActivationStrategy editorActivationStrategy, int feature) Create a customized editor whose activation process is customizedstatic voidcreate(TreeViewer viewer, org.eclipse.jface.viewers.SWTFocusCellManager focusCellManager, ColumnViewerEditorActivationStrategy editorActivationStrategy, int feature) Create a customized editor with focusable cellsprotected voidPosition the editor inside the controlprotected voidsetLayoutData(CellEditor.LayoutData layoutData) set the layout data for the editorprotected voidupdateFocusCell(ViewerCell focusCell, ColumnViewerEditorActivationEvent event) Methods inherited from class org.eclipse.jface.viewers.ColumnViewerEditoraddEditorActivationListener, getViewer, processTraverseEvent, removeEditorActivationListener
- 
Method Details- 
createpublic static void create(TreeViewer viewer, org.eclipse.jface.viewers.SWTFocusCellManager focusCellManager, ColumnViewerEditorActivationStrategy editorActivationStrategy, int feature) Create a customized editor with focusable cells- Parameters:
- viewer- the viewer the editor is created for
- focusCellManager- the cell focus manager if one needed else- null
- editorActivationStrategy- activation strategy to control if an editor activated
- feature- bit mask controlling the editor
- See Also:
 
- 
createpublic static void create(TreeViewer viewer, ColumnViewerEditorActivationStrategy editorActivationStrategy, int feature) Create a customized editor whose activation process is customized- Parameters:
- viewer- the viewer the editor is created for
- editorActivationStrategy- activation strategy to control if an editor activated
- feature- bit mask controlling the editor
 
- 
setEditorDescription copied from class:ColumnViewerEditorPosition the editor inside the control- Specified by:
- setEditorin class- ColumnViewerEditor
- Parameters:
- w- the editor control
- item- the item (row) in which the editor is drawn in
- fColumnNumber- the column number in which the editor is shown
 
- 
setLayoutDataDescription copied from class:ColumnViewerEditorset the layout data for the editor- Specified by:
- setLayoutDatain class- ColumnViewerEditor
- Parameters:
- layoutData- the layout data used when editor is displayed
 
- 
getFocusCell- Overrides:
- getFocusCellin class- ColumnViewerEditor
- Returns:
- the cell currently holding the focus if no cell has the focus or
         the viewer implementation doesn't support nullis returned
 
- 
updateFocusCell- Specified by:
- updateFocusCellin class- ColumnViewerEditor
- Parameters:
- focusCell- updates the cell with the current input focus
- event- the event requesting to update the focusCell
 
 
-