public class RepositoryDirectoryUI extends Object
Constructor and Description |
---|
RepositoryDirectoryUI() |
Modifier and Type | Method and Description |
---|---|
static RepositoryDirectoryInterface |
chooseDirectory(org.eclipse.swt.widgets.Shell shell,
Repository rep,
RepositoryDirectoryInterface directoryFrom) |
static void |
getDirectoryTree(org.eclipse.swt.widgets.TreeItem ti,
org.eclipse.swt.graphics.Color dircolor,
RepositoryDirectoryInterface dir)
Gets a directory tree on a TreeItem to work with.
|
static void |
getTreeWithNames(org.eclipse.swt.widgets.TreeItem ti,
Repository rep,
org.eclipse.swt.graphics.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.
|
protected static List<RepositoryElementMetaInterface> |
loadRepositoryObjects(RepositoryDirectoryInterface dir,
boolean getTransformations,
boolean getJobs,
Repository rep) |
public static void getTreeWithNames(org.eclipse.swt.widgets.TreeItem ti, Repository rep, org.eclipse.swt.graphics.Color dircolor, int sortPosition, boolean includeDeleted, boolean ascending, boolean getTransformations, boolean getJobs, RepositoryDirectoryInterface dir, String filterString, Pattern pattern) throws KettleDatabaseException
ti
- The TreeItem to set the name on and to create the subdirectoriesrep
- The repositoryobjectMap
- The tree path to repository object mapping to populate.dircolor
- The color in which the directories will be drawn.sortPosition
- The sort positionascending
- The ascending flaggetTransformations
- Include transformations in the tree or notgetJobs
- Include jobs in the tree or notKettleDatabaseException
protected static List<RepositoryElementMetaInterface> loadRepositoryObjects(RepositoryDirectoryInterface dir, boolean getTransformations, boolean getJobs, Repository rep) throws KettleDatabaseException
KettleDatabaseException
public static void getDirectoryTree(org.eclipse.swt.widgets.TreeItem ti, org.eclipse.swt.graphics.Color dircolor, RepositoryDirectoryInterface dir)
ti
- The TreeItem to set the directory tree ondircolor
- The color of the directory tree item.public static RepositoryDirectoryInterface chooseDirectory(org.eclipse.swt.widgets.Shell shell, Repository rep, RepositoryDirectoryInterface directoryFrom)
Copyright © 2019 Hitachi Vantara. All rights reserved.