|
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.TreeViewerFocusCellManager
public class TreeViewerFocusCellManager
This class is responsible to provide the concept of cells for Tree.
This concept is needed to provide features like editor activation with the
keyboard
| Constructor Summary | |
|---|---|
TreeViewerFocusCellManager(TreeViewer viewer,
FocusCellHighlighter focusDrawingDelegate)
Create a new manager using a default navigation strategy: SWT.ARROW_UP: navigate to cell above
SWT.ARROW_DOWN: navigate to cell below
SWT.ARROW_RIGHT: on first column (collapses if item
is expanded) else navigate to next visible cell on the right
SWT.ARROW_LEFT: on first column (expands if item is
collapsed) else navigate to next visible cell on the left
|
|
TreeViewerFocusCellManager(TreeViewer viewer,
FocusCellHighlighter focusDrawingDelegate,
CellNavigationStrategy navigationStrategy)
Create a new manager with a custom navigation strategy |
|
| Method Summary | |
|---|---|
ViewerCell |
getFocusCell()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TreeViewerFocusCellManager(TreeViewer viewer,
FocusCellHighlighter focusDrawingDelegate)
SWT.ARROW_UP: navigate to cell aboveSWT.ARROW_DOWN: navigate to cell belowSWT.ARROW_RIGHT: on first column (collapses if item
is expanded) else navigate to next visible cell on the rightSWT.ARROW_LEFT: on first column (expands if item is
collapsed) else navigate to next visible cell on the left
viewer - the viewer the manager is bound tofocusDrawingDelegate - the delegate responsible to highlight selected cell
public TreeViewerFocusCellManager(TreeViewer viewer,
FocusCellHighlighter focusDrawingDelegate,
CellNavigationStrategy navigationStrategy)
viewer - the viewer the manager is bound tofocusDrawingDelegate - the delegate responsible to highlight selected cellnavigationStrategy - the strategy used to navigate the cells| Method Detail |
|---|
public ViewerCell getFocusCell()
|
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.