jfb.tools.activitymgr.ui.dialogs
Class TaskChooserTree

java.lang.Object
  extended by jfb.tools.activitymgr.ui.util.AbstractTableMgr
      extended by jfb.tools.activitymgr.ui.dialogs.TaskChooserTree
All Implemented Interfaces:
org.eclipse.jface.viewers.IBaseLabelProvider, org.eclipse.jface.viewers.IContentProvider, org.eclipse.jface.viewers.IStructuredContentProvider, org.eclipse.jface.viewers.ITableLabelProvider, org.eclipse.jface.viewers.ITreeContentProvider

public class TaskChooserTree
extends AbstractTableMgr
implements org.eclipse.jface.viewers.ITreeContentProvider


Field Summary
static int CODE_COLUMN_IDX
           
static int NAME_COLUMN_IDX
          Constantes associées aux colonnes
 
Fields inherited from class jfb.tools.activitymgr.ui.util.AbstractTableMgr
ROOT_NODE
 
Constructor Summary
TaskChooserTree(org.eclipse.swt.widgets.Composite parentComposite, java.lang.Object layoutData)
          Constructeur par défaut.
 
Method Summary
 java.lang.Object[] getChildren(java.lang.Object parentElement)
           
 java.lang.String getColumnText(java.lang.Object element, int columnIndex)
           
 java.lang.Object[] getElements(java.lang.Object inputElement)
           
 java.lang.Object getParent(java.lang.Object element)
           
 org.eclipse.jface.viewers.TreeViewer getTreeViewer()
          Retourne le viewer associé à l'arbre.
 java.lang.Object getValue(java.lang.Object element, java.lang.String property)
           
 boolean hasChildren(java.lang.Object element)
           
 
Methods inherited from class jfb.tools.activitymgr.ui.util.AbstractTableMgr
addListener, dispose, getColumnImage, inputChanged, isLabelProperty, notifyLabelProviderListener, removeListener
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.eclipse.jface.viewers.IContentProvider
dispose, inputChanged
 

Field Detail

CODE_COLUMN_IDX

public static final int CODE_COLUMN_IDX
See Also:
Constant Field Values

NAME_COLUMN_IDX

public static final int NAME_COLUMN_IDX
Constantes associées aux colonnes

See Also:
Constant Field Values
Constructor Detail

TaskChooserTree

public TaskChooserTree(org.eclipse.swt.widgets.Composite parentComposite,
                       java.lang.Object layoutData)
Constructeur par défaut.

Parameters:
parentComposite - composant parent.
layoutData - données du layout.
Method Detail

getChildren

public java.lang.Object[] getChildren(java.lang.Object parentElement)
Specified by:
getChildren in interface org.eclipse.jface.viewers.ITreeContentProvider

getColumnText

public java.lang.String getColumnText(java.lang.Object element,
                                      int columnIndex)
Specified by:
getColumnText in interface org.eclipse.jface.viewers.ITableLabelProvider

getElements

public java.lang.Object[] getElements(java.lang.Object inputElement)
Specified by:
getElements in interface org.eclipse.jface.viewers.IStructuredContentProvider

getParent

public java.lang.Object getParent(java.lang.Object element)
Specified by:
getParent in interface org.eclipse.jface.viewers.ITreeContentProvider

getTreeViewer

public org.eclipse.jface.viewers.TreeViewer getTreeViewer()
Retourne le viewer associé à l'arbre.

Returns:
le viewer associé à l'arbre.

getValue

public java.lang.Object getValue(java.lang.Object element,
                                 java.lang.String property)

hasChildren

public boolean hasChildren(java.lang.Object element)
Specified by:
hasChildren in interface org.eclipse.jface.viewers.ITreeContentProvider