Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 


Eclipse Platform
Release 3.5

org.eclipse.jface.viewers
Class TreeViewerFocusCellManager

java.lang.Object
  extended by 
org.eclipse.jface.viewers.TreeViewerFocusCellManager

public class TreeViewerFocusCellManager
extends Object

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

Since:
3.3

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

TreeViewerFocusCellManager

public 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

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

TreeViewerFocusCellManager

public TreeViewerFocusCellManager(
TreeViewer viewer,
                                  
FocusCellHighlighter focusDrawingDelegate,
                                  
CellNavigationStrategy navigationStrategy)
Create a new manager with a custom navigation strategy

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.5

Guidelines for using Eclipse APIs.

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


 
 
  Published under the terms of the Eclipse Public License Version 1.0 ("EPL") Design by Interspire