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
Answertopia.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 TreeViewerColumn


java.lang.Object
  extended by 

org.eclipse.jface.viewers.ViewerColumn
      extended by 
org.eclipse.jface.viewers.TreeViewerColumn

public final class TreeViewerColumn
extends ViewerColumn

ViewerColumn implementation for TreeViewer to enable column-specific label providers and editing support.

Since:
3.3

Constructor Summary
TreeViewerColumn ( TreeViewer viewer, int style)
          Creates a new viewer column for the given TreeViewer on a new TreeColumn with the given style bits.
TreeViewerColumn ( TreeViewer viewer, int style, int index)
          Creates a new viewer column for the given TreeViewer on a new TreeColumn with the given style bits.
TreeViewerColumn ( TreeViewer viewer, TreeColumn column)
          Creates a new viewer column for the given TreeViewer on the given TreeColumn.
 
Method Summary
  TreeColumn getColumn ()
           
 
Methods inherited from class org.eclipse.jface.viewers. ViewerColumn
getViewer, handleDispose, setEditingSupport, setLabelProvider
 
Methods inherited from class java.lang. Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TreeViewerColumn

public TreeViewerColumn(
TreeViewer viewer,
                        int style)
Creates a new viewer column for the given TreeViewer on a new TreeColumn with the given style bits. The column is inserted at the given index into the list of columns.

Parameters:
viewer - the tree viewer to which this column belongs
style - the style bits used to create the column, for applicable style bits see TreeColumn
See Also:
TreeColumn.TreeColumn(Tree, int)

TreeViewerColumn

public TreeViewerColumn(
TreeViewer viewer,
                        int style,
                        int index)
Creates a new viewer column for the given TreeViewer on a new TreeColumn with the given style bits. The column is added at the end of the list of columns.

Parameters:
viewer - the tree viewer to which this column belongs
style - the style bits used to create the column, for applicable style bits see TreeColumn
index - the index at which to place the newly created column
See Also:
TreeColumn.TreeColumn(Tree, int, int)

TreeViewerColumn

public TreeViewerColumn(
TreeViewer viewer,
                        
TreeColumn column)
Creates a new viewer column for the given TreeViewer on the given TreeColumn.

Parameters:
viewer - the tree viewer to which this column belongs
column - the underlying tree column
Method Detail

getColumn

public 
TreeColumn getColumn()
Returns:
the underlying SWT column

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