Constructor and Description |
---|
TableViewerFocusCellManager(TableViewer viewer,
FocusCellHighlighter focusDrawingDelegate)
Create a new manager with a default navigation strategy:
SWT.ARROW_UP : navigate to cell above
SWT.ARROW_DOWN : navigate to cell below
SWT.ARROW_RIGHT : navigate to next visible cell on
the right
SWT.ARROW_LEFT : navigate to next visible cell on the
left
|
TableViewerFocusCellManager(TableViewer viewer,
FocusCellHighlighter focusDrawingDelegate,
CellNavigationStrategy navigationStrategy)
Create a new manager
|
public TableViewerFocusCellManager(TableViewer viewer, FocusCellHighlighter focusDrawingDelegate)
SWT.ARROW_UP
: navigate to cell aboveSWT.ARROW_DOWN
: navigate to cell belowSWT.ARROW_RIGHT
: navigate to next visible cell on
the rightSWT.ARROW_LEFT
: navigate to next visible cell on the
leftviewer
- the viewer the manager is bound tofocusDrawingDelegate
- the delegate responsible to highlight selected cellpublic TableViewerFocusCellManager(TableViewer 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 cellspublic ViewerCell getFocusCell()
Copyright (c) 2000, 2014 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.