Class RepositoryExplorerDialog
java.lang.Object
org.eclipse.swt.widgets.Dialog
org.pentaho.di.ui.repository.dialog.RepositoryExplorerDialog
public class RepositoryExplorerDialog
extends org.eclipse.swt.widgets.Dialog
This dialog displays the content of the repository in a Windows explorer like fashion. The user can manipulate the
objects in the repository as well as administer users, profiles, etc.
- Since:
- 18-mei-2003
- Author:
- Matt
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interface
class
capture a reference to an object in the repository -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionRepositoryExplorerDialog
(org.eclipse.swt.widgets.Shell par, int style, org.pentaho.di.repository.Repository rep, RepositoryExplorerDialog.RepositoryExplorerCallback callback, org.pentaho.di.core.variables.VariableSpace variableSpace) -
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
void
createDirectory
(org.eclipse.swt.widgets.TreeItem ti, org.pentaho.di.repository.RepositoryDirectoryInterface repdir) void
delCluster
(String clusterName) void
delDatabase
(String databasename) void
delDirectory
(org.eclipse.swt.widgets.TreeItem ti, org.pentaho.di.repository.RepositoryDirectoryInterface repdir) void
delPartitionSchema
(String partitionSchemaName) boolean
void
delSlaveServer
(String slaveName) void
void
void
editCluster
(String clusterName) void
editDatabase
(String databasename) void
editPartitionSchema
(String partitionSchemaName) void
editSlaveServer
(String slaveName) void
void
exportAll
(org.pentaho.di.repository.RepositoryDirectoryInterface dir) void
exportJobs
(org.pentaho.di.repository.RepositoryDirectoryInterface root) void
exportTransformations
(org.pentaho.di.repository.RepositoryDirectoryInterface root) org.pentaho.di.repository.RepositoryDirectoryInterface
getDirectory
(org.eclipse.swt.widgets.TreeItem ti) static final RepositoryRevisionBrowserDialogInterface
getVersionBrowserDialog
(org.eclipse.swt.widgets.Shell shell, org.pentaho.di.repository.Repository repository, org.pentaho.di.repository.RepositoryElementInterface element) protected RepositoryRevisionBrowserDialogInterface
getVersionBrowserDialog
(org.pentaho.di.repository.RepositoryElementInterface element) void
boolean
boolean
moveTransformation
(String xml, org.pentaho.di.repository.RepositoryDirectoryInterface repdir) void
void
void
void
void
newUser()
open()
void
void
openTransformation
(String name, org.pentaho.di.repository.RepositoryDirectoryInterface repdir) void
boolean
boolean
renameDatabase
(String name, String newname) void
renameDirectory
(org.eclipse.swt.widgets.TreeItem treeitem, org.pentaho.di.repository.RepositoryDirectoryInterface rd) boolean
renameDirectory
(org.pentaho.di.repository.RepositoryDirectoryInterface repdir, String name, String newname) void
boolean
renameJob
(String name, String newname, org.pentaho.di.repository.RepositoryDirectoryInterface repdir) boolean
boolean
renameJob
(String name, org.pentaho.di.repository.RepositoryDirectoryInterface repdir, String newname) void
renameJob
(org.eclipse.swt.widgets.TreeItem treeitem, String jobname, org.pentaho.di.repository.RepositoryDirectoryInterface repositorydir) boolean
renameTransformation
(String name, String newname, org.pentaho.di.repository.RepositoryDirectoryInterface repdir) boolean
renameTransformation
(String name, org.pentaho.di.repository.RepositoryDirectoryInterface repdir) boolean
boolean
renameUser
(String name, String newname) boolean
boolean
sameCategory
(org.eclipse.swt.widgets.TreeItem[] tisel) protected void
setSort
(int i) void
Methods inherited from class org.eclipse.swt.widgets.Dialog
checkSubclass, getParent, getStyle, getText, setText
-
Field Details
-
STRING_TRANSFORMATIONS
-
STRING_JOBS
-
-
Constructor Details
-
RepositoryExplorerDialog
public RepositoryExplorerDialog(org.eclipse.swt.widgets.Shell par, int style, org.pentaho.di.repository.Repository rep, RepositoryExplorerDialog.RepositoryExplorerCallback callback, org.pentaho.di.core.variables.VariableSpace variableSpace)
-
-
Method Details
-
open
-
setSort
protected void setSort(int i) -
getDirectory
public org.pentaho.di.repository.RepositoryDirectoryInterface getDirectory(org.eclipse.swt.widgets.TreeItem ti) -
sameCategory
public boolean sameCategory(org.eclipse.swt.widgets.TreeItem[] tisel) -
doDoubleClick
public void doDoubleClick() -
setTreeMenu
public void setTreeMenu() -
renameInTree
public void renameInTree() -
close
public void close() -
refreshTree
public void refreshTree() -
openTransformation
public void openTransformation(String name, org.pentaho.di.repository.RepositoryDirectoryInterface repdir) -
openJob
-
delSelectedObjects
public boolean delSelectedObjects() -
restoreSelectedObjects
public boolean restoreSelectedObjects() -
renameTransformation
public boolean renameTransformation(String name, org.pentaho.di.repository.RepositoryDirectoryInterface repdir) -
renameTransformation
-
moveTransformation
public boolean moveTransformation(String xml, org.pentaho.di.repository.RepositoryDirectoryInterface repdir) -
moveJob
-
renameJob
public boolean renameJob(String name, org.pentaho.di.repository.RepositoryDirectoryInterface repdir) -
renameJob
-
renameJob
public void renameJob(org.eclipse.swt.widgets.TreeItem treeitem, String jobname, org.pentaho.di.repository.RepositoryDirectoryInterface repositorydir) -
renameJob
-
editUser
-
newUser
public void newUser() -
delUser
-
renameUser
public boolean renameUser() -
renameUser
-
editDatabase
-
newDatabase
public void newDatabase() -
delDatabase
-
renameDatabase
public boolean renameDatabase() -
renameDatabase
-
renameDirectory
public void renameDirectory(org.eclipse.swt.widgets.TreeItem treeitem, org.pentaho.di.repository.RepositoryDirectoryInterface rd) -
renameDirectory
-
createDirectory
public void createDirectory(org.eclipse.swt.widgets.TreeItem ti, org.pentaho.di.repository.RepositoryDirectoryInterface repdir) -
delDirectory
public void delDirectory(org.eclipse.swt.widgets.TreeItem ti, org.pentaho.di.repository.RepositoryDirectoryInterface repdir) -
exportTransformations
public void exportTransformations(org.pentaho.di.repository.RepositoryDirectoryInterface root) -
exportJobs
public void exportJobs(org.pentaho.di.repository.RepositoryDirectoryInterface root) -
exportAll
public void exportAll(org.pentaho.di.repository.RepositoryDirectoryInterface dir) -
importAll
public void importAll() -
newSlaveServer
public void newSlaveServer() -
editSlaveServer
-
delSlaveServer
-
newPartitionSchema
public void newPartitionSchema() -
editPartitionSchema
-
delPartitionSchema
-
newCluster
public void newCluster() -
editCluster
-
delCluster
-
getVersionBrowserDialog
protected RepositoryRevisionBrowserDialogInterface getVersionBrowserDialog(org.pentaho.di.repository.RepositoryElementInterface element) throws Exception - Throws:
Exception
-
getVersionBrowserDialog
public static final RepositoryRevisionBrowserDialogInterface getVersionBrowserDialog(org.eclipse.swt.widgets.Shell shell, org.pentaho.di.repository.Repository repository, org.pentaho.di.repository.RepositoryElementInterface element) throws Exception - Throws:
Exception
-