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 Classes Modifier and Type Class Description static interface
RepositoryExplorerDialog.RepositoryExplorerCallback
class
RepositoryExplorerDialog.RepositoryObjectReference
capture a reference to an object in the repository
-
Field Summary
Fields Modifier and Type Field Description static String
STRING_JOBS
static String
STRING_TRANSFORMATIONS
-
Constructor Summary
Constructors Constructor Description 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 Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
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
delSelectedObjects()
void
delSlaveServer(String slaveName)
void
delUser(String login)
void
doDoubleClick()
void
editCluster(String clusterName)
void
editDatabase(String databasename)
void
editPartitionSchema(String partitionSchemaName)
void
editSlaveServer(String slaveName)
void
editUser(String login)
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 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
importAll()
boolean
moveJob(String xml, org.pentaho.di.repository.RepositoryDirectoryInterface repdir)
boolean
moveTransformation(String xml, org.pentaho.di.repository.RepositoryDirectoryInterface repdir)
void
newCluster()
void
newDatabase()
void
newPartitionSchema()
void
newSlaveServer()
void
newUser()
RepositoryExplorerDialog.RepositoryObjectReference
open()
void
openJob(String name, org.pentaho.di.repository.RepositoryDirectoryInterface repdir)
void
openTransformation(String name, org.pentaho.di.repository.RepositoryDirectoryInterface repdir)
void
refreshTree()
boolean
renameDatabase()
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
renameInTree()
boolean
renameJob(String name, String newname, org.pentaho.di.repository.RepositoryDirectoryInterface repdir)
boolean
renameJob(String name, org.pentaho.di.repository.RepositoryDirectoryInterface repdir)
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
renameUser()
boolean
renameUser(String name, String newname)
boolean
restoreSelectedObjects()
boolean
sameCategory(org.eclipse.swt.widgets.TreeItem[] tisel)
protected void
setSort(int i)
void
setTreeMenu()
-
-
-
Constructor Detail
-
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 Detail
-
open
public RepositoryExplorerDialog.RepositoryObjectReference 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
public void openJob(String name, org.pentaho.di.repository.RepositoryDirectoryInterface repdir)
-
delSelectedObjects
public boolean delSelectedObjects()
-
restoreSelectedObjects
public boolean restoreSelectedObjects()
-
renameTransformation
public boolean renameTransformation(String name, org.pentaho.di.repository.RepositoryDirectoryInterface repdir)
-
renameTransformation
public boolean renameTransformation(String name, String newname, org.pentaho.di.repository.RepositoryDirectoryInterface repdir)
-
moveTransformation
public boolean moveTransformation(String xml, org.pentaho.di.repository.RepositoryDirectoryInterface repdir)
-
moveJob
public boolean moveJob(String xml, org.pentaho.di.repository.RepositoryDirectoryInterface repdir)
-
renameJob
public boolean renameJob(String name, org.pentaho.di.repository.RepositoryDirectoryInterface repdir)
-
renameJob
public boolean renameJob(String name, String newname, org.pentaho.di.repository.RepositoryDirectoryInterface repdir)
-
renameJob
public void renameJob(org.eclipse.swt.widgets.TreeItem treeitem, String jobname, org.pentaho.di.repository.RepositoryDirectoryInterface repositorydir)
-
renameJob
public boolean renameJob(String name, org.pentaho.di.repository.RepositoryDirectoryInterface repdir, String newname)
-
editUser
public void editUser(String login)
-
newUser
public void newUser()
-
delUser
public void delUser(String login)
-
renameUser
public boolean renameUser()
-
editDatabase
public void editDatabase(String databasename)
-
newDatabase
public void newDatabase()
-
delDatabase
public void delDatabase(String databasename)
-
renameDatabase
public boolean renameDatabase()
-
renameDirectory
public void renameDirectory(org.eclipse.swt.widgets.TreeItem treeitem, org.pentaho.di.repository.RepositoryDirectoryInterface rd)
-
renameDirectory
public boolean renameDirectory(org.pentaho.di.repository.RepositoryDirectoryInterface repdir, String name, String newname)
-
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
public void editSlaveServer(String slaveName)
-
delSlaveServer
public void delSlaveServer(String slaveName)
-
newPartitionSchema
public void newPartitionSchema()
-
editPartitionSchema
public void editPartitionSchema(String partitionSchemaName)
-
delPartitionSchema
public void delPartitionSchema(String partitionSchemaName)
-
newCluster
public void newCluster()
-
editCluster
public void editCluster(String clusterName)
-
delCluster
public void delCluster(String clusterName)
-
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
-
-