lime.uga.edu.wsworkflow.swtInterface
Class FileTreeContentProvider1

java.lang.Object
  extended by lime.uga.edu.wsworkflow.swtInterface.FileTreeContentProvider1
All Implemented Interfaces:
org.eclipse.jface.viewers.IContentProvider, org.eclipse.jface.viewers.IStructuredContentProvider, org.eclipse.jface.viewers.ITreeContentProvider

 class FileTreeContentProvider1
extends java.lang.Object
implements org.eclipse.jface.viewers.ITreeContentProvider

This class provides the content for the tree in FileTree


Constructor Summary
FileTreeContentProvider1()
           
 
Method Summary
 void dispose()
          Disposes any created resources
 java.lang.Object[] getChildren(java.lang.Object arg0)
          Gets the children of the specified object
 java.lang.Object[] getElements(java.lang.Object arg0)
          Gets the root element(s) of the tree
 java.lang.Object getParent(java.lang.Object arg0)
          Gets the parent of the specified object
 boolean hasChildren(java.lang.Object arg0)
          Returns whether the passed object has children
 void inputChanged(org.eclipse.jface.viewers.Viewer arg0, java.lang.Object arg1, java.lang.Object arg2)
          Called when the input changes
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FileTreeContentProvider1

FileTreeContentProvider1()
Method Detail

getChildren

public java.lang.Object[] getChildren(java.lang.Object arg0)
Gets the children of the specified object

Specified by:
getChildren in interface org.eclipse.jface.viewers.ITreeContentProvider
Parameters:
arg0 - the parent object
Returns:
Object[]

getParent

public java.lang.Object getParent(java.lang.Object arg0)
Gets the parent of the specified object

Specified by:
getParent in interface org.eclipse.jface.viewers.ITreeContentProvider
Parameters:
arg0 - the object
Returns:
Object

hasChildren

public boolean hasChildren(java.lang.Object arg0)
Returns whether the passed object has children

Specified by:
hasChildren in interface org.eclipse.jface.viewers.ITreeContentProvider
Parameters:
arg0 - the parent object
Returns:
boolean

getElements

public java.lang.Object[] getElements(java.lang.Object arg0)
Gets the root element(s) of the tree

Specified by:
getElements in interface org.eclipse.jface.viewers.IStructuredContentProvider
Parameters:
arg0 - the input data
Returns:
Object[]

dispose

public void dispose()
Disposes any created resources

Specified by:
dispose in interface org.eclipse.jface.viewers.IContentProvider

inputChanged

public void inputChanged(org.eclipse.jface.viewers.Viewer arg0,
                         java.lang.Object arg1,
                         java.lang.Object arg2)
Called when the input changes

Specified by:
inputChanged in interface org.eclipse.jface.viewers.IContentProvider
Parameters:
arg0 - the viewer
arg1 - the old input
arg2 - the new input