Eclipse Platform
Release 3.4

org.eclipse.jface.viewers
Class TableViewerFocusCellManager

java.lang.Object
  extended byorg.eclipse.jface.viewers.SWTFocusCellManager
      extended byorg.eclipse.jface.viewers.TableViewerFocusCellManager

public class TableViewerFocusCellManager
extends org.eclipse.jface.viewers.SWTFocusCellManager

This class is responsible to provide the concept of cells for Table. This concept is needed to provide features like editor activation with the keyboard

Since:
3.3

Constructor Summary
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
 
Method Summary
 ViewerCell getFocusCell()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TableViewerFocusCellManager

public TableViewerFocusCellManager(TableViewer viewer,
                                   FocusCellHighlighter focusDrawingDelegate)
Create a new manager with a default navigation strategy:

Parameters:
viewer - the viewer the manager is bound to
focusDrawingDelegate - the delegate responsible to highlight selected cell

TableViewerFocusCellManager

public TableViewerFocusCellManager(TableViewer viewer,
                                   FocusCellHighlighter focusDrawingDelegate,
                                   CellNavigationStrategy navigationStrategy)
Create a new manager

Parameters:
viewer - the viewer the manager is bound to
focusDrawingDelegate - the delegate responsible to highlight selected cell
navigationStrategy - the strategy used to navigate the cells
Since:
3.4
Method Detail

getFocusCell

public ViewerCell getFocusCell()
Returns:
the cell with the focus

Eclipse Platform
Release 3.4

Guidelines for using Eclipse APIs.

Copyright (c) Eclipse contributors and others 2000, 2008. All rights reserved.