Class 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
    • Field Detail

      • STRING_TRANSFORMATIONS

        public static final String STRING_TRANSFORMATIONS
      • STRING_JOBS

        public static final String STRING_JOBS
    • 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

      • 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()
      • renameUser

        public boolean renameUser​(String name,
                                  String newname)
      • editDatabase

        public void editDatabase​(String databasename)
      • newDatabase

        public void newDatabase()
      • delDatabase

        public void delDatabase​(String databasename)
      • renameDatabase

        public boolean renameDatabase()
      • renameDatabase

        public boolean renameDatabase​(String name,
                                      String newname)
      • 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

        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