org.pentaho.di.ui.repository
Class RepositoryDirectoryUI

java.lang.Object
  extended by org.pentaho.di.ui.repository.RepositoryDirectoryUI

public class RepositoryDirectoryUI
extends Object


Constructor Summary
RepositoryDirectoryUI()
           
 
Method Summary
static void getDirectoryTree(TreeItem ti, Color dircolor, RepositoryDirectoryInterface dir)
          Gets a directory tree on a TreeItem to work with.
static void getTreeWithNames(TreeItem ti, Repository rep, Color dircolor, int sortPosition, boolean includeDeleted, boolean ascending, boolean getTransformations, boolean getJobs, RepositoryDirectoryInterface dir, String filterString, Pattern pattern)
          Set the name of this directory on a TreeItem.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RepositoryDirectoryUI

public RepositoryDirectoryUI()
Method Detail

getTreeWithNames

public static void getTreeWithNames(TreeItem ti,
                                    Repository rep,
                                    Color dircolor,
                                    int sortPosition,
                                    boolean includeDeleted,
                                    boolean ascending,
                                    boolean getTransformations,
                                    boolean getJobs,
                                    RepositoryDirectoryInterface dir,
                                    String filterString,
                                    Pattern pattern)
                             throws KettleDatabaseException
Set the name of this directory on a TreeItem. Also, create children on this TreeItem to reflect the subdirectories. In these sub-directories, fill in the available transformations from the repository.

Parameters:
ti - The TreeItem to set the name on and to create the subdirectories
rep - The repository
objectMap - The tree path to repository object mapping to populate.
dircolor - The color in which the directories will be drawn.
sortPosition - The sort position
ascending - The ascending flag
getTransformations - Include transformations in the tree or not
getJobs - Include jobs in the tree or not
Throws:
KettleDatabaseException

getDirectoryTree

public static void getDirectoryTree(TreeItem ti,
                                    Color dircolor,
                                    RepositoryDirectoryInterface dir)
Gets a directory tree on a TreeItem to work with.

Parameters:
ti - The TreeItem to set the directory tree on
dircolor - The color of the directory tree item.