Class Spoon

  • All Implemented Interfaces:
    org.eclipse.jface.operation.IRunnableContext, org.eclipse.jface.window.IShellProvider, org.pentaho.di.core.AddUndoPositionInterface, org.pentaho.di.core.changed.PDIObserver, org.pentaho.di.core.gui.OverwritePrompter, org.pentaho.di.core.gui.SpoonInterface, org.pentaho.di.core.lifecycle.LifeEventHandler, PartitionSchemasProvider, org.pentaho.ui.xul.impl.XulEventHandler, org.pentaho.ui.xul.XulEventSource, TabListener

    public class Spoon
    extends org.eclipse.jface.window.ApplicationWindow
    implements org.pentaho.di.core.AddUndoPositionInterface, TabListener, org.pentaho.di.core.gui.SpoonInterface, org.pentaho.di.core.gui.OverwritePrompter, org.pentaho.di.core.changed.PDIObserver, org.pentaho.di.core.lifecycle.LifeEventHandler, org.pentaho.ui.xul.XulEventSource, org.pentaho.ui.xul.impl.XulEventHandler, PartitionSchemasProvider
    This class handles the main window of the Spoon graphical transformation editor.
    Since:
    16-may-2003, i18n at 07-Feb-2006, redesign 01-Dec-2006
    Author:
    Matt
    • Field Detail

      • SPOON_DIALOG_PROMPT_OVERWRITE_FILE_TITLE

        public static final String SPOON_DIALOG_PROMPT_OVERWRITE_FILE_TITLE
        See Also:
        Constant Field Values
      • loggingObject

        public static final org.pentaho.di.core.logging.LoggingObjectInterface loggingObject
      • STRING_TRANSFORMATIONS

        public static final String STRING_TRANSFORMATIONS
      • STRING_JOBS

        public static final String STRING_JOBS
      • STRING_BUILDING_BLOCKS

        public static final String STRING_BUILDING_BLOCKS
      • STRING_ELEMENTS

        public static final String STRING_ELEMENTS
      • STRING_CONNECTIONS

        public static final String STRING_CONNECTIONS
      • STRING_STEPS

        public static final String STRING_STEPS
      • STRING_JOB_ENTRIES

        public static final String STRING_JOB_ENTRIES
      • STRING_HOPS

        public static final String STRING_HOPS
      • STRING_PARTITIONS

        public static final String STRING_PARTITIONS
      • STRING_SLAVES

        public static final String STRING_SLAVES
      • STRING_CLUSTERS

        public static final String STRING_CLUSTERS
      • STRING_TRANS_BASE

        public static final String STRING_TRANS_BASE
      • STRING_HISTORY

        public static final String STRING_HISTORY
      • STRING_TRANS_NO_NAME

        public static final String STRING_TRANS_NO_NAME
      • STRING_JOB_NO_NAME

        public static final String STRING_JOB_NO_NAME
      • STRING_TRANSFORMATION

        public static final String STRING_TRANSFORMATION
      • STRING_JOB

        public static final String STRING_JOB
      • APP_NAME

        public static final String APP_NAME
      • MESSAGE_DIALOG_WITH_TOGGLE_YES_BUTTON_ID

        public static final int MESSAGE_DIALOG_WITH_TOGGLE_YES_BUTTON_ID
        See Also:
        Constant Field Values
      • MESSAGE_DIALOG_WITH_TOGGLE_NO_BUTTON_ID

        public static final int MESSAGE_DIALOG_WITH_TOGGLE_NO_BUTTON_ID
        See Also:
        Constant Field Values
      • MESSAGE_DIALOG_WITH_TOGGLE_CUSTOM_DISTRIBUTION_BUTTON_ID

        public static final int MESSAGE_DIALOG_WITH_TOGGLE_CUSTOM_DISTRIBUTION_BUTTON_ID
        See Also:
        Constant Field Values
      • tabfolder

        public TabSet tabfolder
      • variables

        public org.pentaho.di.core.RowMetaAndData variables
      • rep

        public org.pentaho.di.repository.Repository rep
      • capabilities

        public org.pentaho.di.repository.RepositoryCapabilities capabilities
      • DOCUMENTATION_URL

        public static final String DOCUMENTATION_URL
      • sharedObjectsFileMap

        public Map<String,​org.pentaho.di.shared.SharedObjects> sharedObjectsFileMap
      • lastDirOpened

        public String lastDirOpened
        We can use this to set a default filter path in the open and save dialogs
      • startupPerspective

        protected String startupPerspective
      • selectionFilter

        public org.eclipse.swt.widgets.Text selectionFilter
      • showTrans

        public boolean showTrans
      • showJob

        public boolean showJob
    • Constructor Detail

      • Spoon

        public Spoon()
      • Spoon

        public Spoon​(org.pentaho.di.repository.Repository rep)
    • Method Detail

      • main

        public static void main​(String[] a)
                         throws org.pentaho.di.core.exception.KettleException
        This is the main procedure for Spoon.
        Parameters:
        a - Arguments are available in the "Get System Info" step.
        Throws:
        org.pentaho.di.core.exception.KettleException
      • init

        public void init​(org.pentaho.di.trans.TransMeta ti)
      • getMainSpoonContainer

        public org.pentaho.ui.xul.XulDomContainer getMainSpoonContainer()
      • loadPerspective

        public void loadPerspective​(String id)
      • loadPerspective

        public void loadPerspective​(int pos)
      • getInstance

        public static Spoon getInstance()
      • getVfsFileChooserDialog

        public org.pentaho.vfs.ui.VfsFileChooserDialog getVfsFileChooserDialog​(org.apache.commons.vfs2.FileObject rootFile,
                                                                               org.apache.commons.vfs2.FileObject initialFile)
      • closeFile

        public boolean closeFile()
      • closeFile

        public boolean closeFile​(boolean force)
      • closeAllFiles

        public boolean closeAllFiles()
      • closeAllFiles

        public boolean closeAllFiles​(boolean force)
      • closeAllJobsAndTransformations

        public boolean closeAllJobsAndTransformations()
      • closeAllJobsAndTransformations

        public boolean closeAllJobsAndTransformations​(boolean force)
        Prompt user to close all open Jobs & Transformations if they have execute permissions. If they don't have execute permission then warn user if they really want to disconnect from repository. If yes, close all tabs.
        Returns:
        If user agrees with closing of tabs then return true so we can disconnect from the repo.
      • updateTreeForActiveAbstractMetas

        public void updateTreeForActiveAbstractMetas()
      • clearRepositoryDirectory

        public void clearRepositoryDirectory()
        PDI-18997 - clear specific repository directory when connect and or disconnect from server
      • searchMetaData

        public void searchMetaData()
        Search the transformation meta-data.
      • showArguments

        public void showArguments()
      • setVariables

        public void setVariables()
      • applyVariables

        public void applyVariables()
      • applyVariableToAllLoadedObjects

        public void applyVariableToAllLoadedObjects​(String name,
                                                    String value)
      • showVariables

        public void showVariables()
      • openSpoon

        public void openSpoon()
      • readAndDispatch

        public boolean readAndDispatch()
      • isStopped

        public boolean isStopped()
        Returns:
        check whether or not the application was stopped.
      • setStopped

        public void setStopped​(boolean stopped)
        Parameters:
        stopped - True to stop this application.
      • setDestroy

        public void setDestroy​(boolean destroy)
        Parameters:
        destroy - Whether or not to destroy the display.
      • doDestroy

        public boolean doDestroy()
        Returns:
        Returns whether or not we should destroy the display.
      • setArguments

        public void setArguments​(String[] arguments)
        Parameters:
        arguments - The arguments to set.
      • getArguments

        public String[] getArguments()
        Returns:
        Returns the arguments.
      • dispose

        public void dispose()
      • isDisposed

        public boolean isDisposed()
      • sleep

        public void sleep()
      • undoAction

        public void undoAction()
      • redoAction

        public void redoAction()
      • copySteps

        public void copySteps()
        It's called copySteps, but the job entries also arrive at this location
      • copyJobentries

        public void copyJobentries()
      • copy

        public void copy()
      • copyFile

        public void copyFile()
      • cut

        public void cut()
      • removeMenuItem

        public void removeMenuItem​(String itemid,
                                   boolean removeTrailingSeparators)
      • disableMenuItem

        public void disableMenuItem​(String itemId)
      • enableMenuItem

        public void enableMenuItem​(String itemId)
      • createPopupMenus

        public void createPopupMenus()
      • executeTransformation

        public void executeTransformation()
      • previewTransformation

        public void previewTransformation()
      • debugTransformation

        public void debugTransformation()
      • checkTrans

        public void checkTrans()
      • analyseImpact

        public void analyseImpact()
      • showLastImpactAnalyses

        public void showLastImpactAnalyses()
      • showLastTransPreview

        public void showLastTransPreview()
      • showExecutionResults

        public void showExecutionResults()
      • isExecutionResultsPaneVisible

        public boolean isExecutionResultsPaneVisible()
      • copyLogSelectedText

        public void copyLogSelectedText​(org.eclipse.swt.custom.StyledText text)
      • copyTransformation

        public void copyTransformation()
      • copyTransformationImage

        public void copyTransformationImage()
      • editTransformationProperties

        public boolean editTransformationProperties()
      • editProperties

        public boolean editProperties()
      • executeJob

        public void executeJob()
      • copyJob

        public void copyJob()
      • showWelcomePage

        public void showWelcomePage()
      • showDocumentMap

        public void showDocumentMap()
      • addMenuLast

        public void addMenuLast()
      • lastRepoFileSelect

        public void lastRepoFileSelect​(String repo,
                                       String id)
      • lastFileSelect

        public void lastFileSelect​(String id)
      • lastFileSelect

        public void lastFileSelect​(org.pentaho.di.core.LastUsedFile lastUsedFile)
      • clearSearchFilter

        public void clearSearchFilter()
      • addDefaultKeyListeners

        public void addDefaultKeyListeners​(org.eclipse.swt.widgets.Control control)
      • setViewMode

        public boolean setViewMode()
      • setDesignMode

        public boolean setDesignMode()
      • addCoreObjectsTree

        public void addCoreObjectsTree()
      • searchMouseOverTreeItem

        protected org.eclipse.swt.widgets.TreeItem searchMouseOverTreeItem​(org.eclipse.swt.widgets.TreeItem[] treeItems,
                                                                           int x,
                                                                           int y)
      • refreshCoreObjects

        public void refreshCoreObjects()
      • shareObject

        protected void shareObject​(org.pentaho.di.shared.SharedObjectInterface sharedObject)
      • unShareObject

        protected void unShareObject​(org.pentaho.di.shared.SharedObjectInterface sharedObject)
      • getTreeObjects

        public TreeSelection[] getTreeObjects​(org.eclipse.swt.widgets.Tree tree)
        Returns:
        The object that is selected in the tree or null if we couldn't figure it out. (titles etc. == null)
      • hideToolTips

        public void hideToolTips()
      • showSelection

        public void showSelection()
        If you click in the tree, you might want to show the corresponding window.
      • newHop

        public void newHop()
      • sortHops

        public void sortHops()
      • newDatabasePartitioningSchema

        public void newDatabasePartitioningSchema()
      • newClusteringSchema

        public void newClusteringSchema()
      • newSlaveServer

        public void newSlaveServer()
      • editTransformationPropertiesPopup

        public void editTransformationPropertiesPopup()
      • addTransLog

        public void addTransLog()
      • addTransHistory

        public void addTransHistory()
      • editJobProperties

        public boolean editJobProperties​(String id)
      • editJobPropertiesPopup

        public void editJobPropertiesPopup()
      • addJobLog

        public void addJobLog()
      • addJobHistory

        public void addJobHistory()
      • newStep

        public void newStep()
      • editConnection

        public void editConnection()
      • dupeConnection

        public void dupeConnection()
      • clipConnection

        public void clipConnection()
      • delConnection

        public void delConnection()
      • sqlConnection

        public void sqlConnection()
      • clearDBCache

        public void clearDBCache​(String id)
      • exploreDatabase

        public void exploreDatabase()
      • exploreDB

        public void exploreDB()
      • editStep

        public void editStep()
      • dupeStep

        public void dupeStep()
      • delStep

        public void delStep()
      • helpStep

        public void helpStep()
      • shareObject

        public void shareObject​(String id)
      • editJobEntry

        public void editJobEntry()
      • dupeJobEntry

        public void dupeJobEntry()
      • deleteJobEntryCopies

        public void deleteJobEntryCopies()
      • helpJobEntry

        public void helpJobEntry()
      • editHop

        public void editHop()
      • delHop

        public void delHop()
      • editPartitionSchema

        public void editPartitionSchema()
      • delPartitionSchema

        public void delPartitionSchema()
      • editClusterSchema

        public void editClusterSchema()
      • delClusterSchema

        public void delClusterSchema()
      • monitorClusterSchema

        public void monitorClusterSchema()
                                  throws org.pentaho.di.core.exception.KettleException
        Throws:
        org.pentaho.di.core.exception.KettleException
      • editSlaveServer

        public void editSlaveServer()
      • delSlaveServer

        public void delSlaveServer()
      • addSpoonSlave

        public void addSpoonSlave()
      • monitorClusterSchema

        protected void monitorClusterSchema​(org.pentaho.di.cluster.ClusterSchema clusterSchema)
                                     throws org.pentaho.di.core.exception.KettleException
        Throws:
        org.pentaho.di.core.exception.KettleException
      • tabCloseSelected

        public boolean tabCloseSelected()
      • tabCloseSelected

        public boolean tabCloseSelected​(boolean force)
      • tabClose

        public boolean tabClose​(TabItem item,
                                boolean force)
      • getTabSet

        public TabSet getTabSet()
      • getRepositoryName

        public String getRepositoryName()
      • getUsername

        public String getUsername()
      • pasteXML

        public void pasteXML​(org.pentaho.di.trans.TransMeta transMeta,
                             String clipcontent,
                             org.pentaho.di.core.gui.Point loc)
      • copySelected

        public void copySelected​(org.pentaho.di.trans.TransMeta transMeta,
                                 List<org.pentaho.di.trans.step.StepMeta> steps,
                                 List<org.pentaho.di.core.NotePadMeta> notes)
      • editHop

        public void editHop​(org.pentaho.di.trans.TransMeta transMeta,
                            org.pentaho.di.trans.TransHopMeta transHopMeta)
      • delHop

        public void delHop​(org.pentaho.di.trans.TransMeta transMeta,
                           org.pentaho.di.trans.TransHopMeta transHopMeta)
      • newHop

        public void newHop​(org.pentaho.di.trans.TransMeta transMeta,
                           org.pentaho.di.trans.step.StepMeta fr,
                           org.pentaho.di.trans.step.StepMeta to)
      • newHop

        public void newHop​(org.pentaho.di.trans.TransMeta transMeta,
                           org.pentaho.di.trans.TransHopMeta transHopMeta)
      • checkIfHopAlreadyExists

        public boolean checkIfHopAlreadyExists​(org.pentaho.di.trans.TransMeta transMeta,
                                               org.pentaho.di.trans.TransHopMeta newHop)
        Parameters:
        transMeta - transformation's meta
        newHop - hop to be checked
        Returns:
        true when the hop was added, false if there was an error
      • performNewTransHopChecks

        public boolean performNewTransHopChecks​(org.pentaho.di.trans.TransMeta transMeta,
                                                org.pentaho.di.trans.TransHopMeta newHop)
        Parameters:
        transMeta - transformation's meta
        newHop - hop to be checked
        Returns:
        true when the hop was added, false if there was an error
      • verifyCopyDistribute

        public void verifyCopyDistribute​(org.pentaho.di.trans.TransMeta transMeta,
                                         org.pentaho.di.trans.step.StepMeta fr)
      • newHop

        public void newHop​(org.pentaho.di.trans.TransMeta transMeta)
      • openRepository

        public void openRepository()
      • clearSharedObjectCache

        public void clearSharedObjectCache()
                                    throws org.pentaho.di.core.exception.KettleException
        Throws:
        org.pentaho.di.core.exception.KettleException
      • exploreRepository

        public void exploreRepository()
      • loadObjectFromRepository

        public void loadObjectFromRepository​(org.pentaho.di.repository.ObjectId objectId,
                                             org.pentaho.di.repository.RepositoryObjectType objectType,
                                             String revision)
                                      throws Exception
        Throws:
        Exception
      • loadObjectFromRepository

        public void loadObjectFromRepository​(String objName,
                                             org.pentaho.di.repository.RepositoryObjectType objectType,
                                             org.pentaho.di.repository.RepositoryDirectoryInterface repDir,
                                             String versionLabel)
                                      throws Exception
        Throws:
        Exception
      • closeRepository

        public void closeRepository()
      • openFile

        public void openFile()
      • openFile

        public void openFile​(boolean importfile)
      • getLastFileOpened

        public String getLastFileOpened()
      • setLastFileOpened

        public void setLastFileOpened​(String inLastFileOpened)
      • displayCmdLine

        public void displayCmdLine()
      • createCmdLineFile

        public void createCmdLineFile()
      • openFileVFSFile

        public void openFileVFSFile()
      • openFileVFSFileNew

        public void openFileVFSFileNew()
      • importFileFromXML

        public void importFileFromXML()
                               throws Exception
        Used when importing content from an xml file. We only expect to import the content from local or from a vfs store
        Throws:
        Exception
      • saveAsNew

        public boolean saveAsNew()
      • saveAsNew

        public boolean saveAsNew​(org.pentaho.di.core.EngineMetaInterface inputMeta,
                                 boolean export,
                                 String command)
      • saveAsNew

        public boolean saveAsNew​(org.pentaho.di.core.EngineMetaInterface meta,
                                 boolean export,
                                 String providerFilter,
                                 String fileFilterType,
                                 String command)
      • addFileListener

        public void addFileListener​(FileListener listener)
      • getFileType

        protected static String getFileType​(String fineName)
      • openFile

        public void openFile​(String filename,
                             boolean importFile)
      • openFile

        public void openFile​(String filename,
                             org.pentaho.di.core.variables.VariableSpace variableSpace,
                             boolean importFile)
      • setMarketMethod

        public void setMarketMethod​(Method m)
        Set the method which can open the marketplace.
      • openMarketplace

        public void openMarketplace()
        If available, this method will open the marketplace.
      • handleMissingPluginsExceptionWithMarketplace

        public void handleMissingPluginsExceptionWithMarketplace​(org.pentaho.di.core.exception.KettleMissingPluginsException missingPluginsException)
        Shows a dialog listing the missing plugins, asking if you want to go into the marketplace
        Parameters:
        missingPluginsException - The missing plugins exception
      • getProperties

        public PropsUI getProperties()
      • newFileDropDown

        public void newFileDropDown()
      • newTransFile

        public void newTransFile()
      • newJobFile

        public void newJobFile()
      • setTransMetaVariables

        public void setTransMetaVariables​(org.pentaho.di.trans.TransMeta transMeta)
        Set previously defined variables (set variables dialog) on the specified transformation
        Parameters:
        transMeta - transformation's meta
      • setJobMetaVariables

        public void setJobMetaVariables​(org.pentaho.di.job.JobMeta jobMeta)
        Set previously defined variables (set variables dialog) on the specified job
        Parameters:
        jobMeta - job's meta
      • loadRepositoryObjects

        public void loadRepositoryObjects​(org.pentaho.di.trans.TransMeta transMeta)
        Deprecated.
        is this ever used? functionality seems covered in loadSessionInformation
      • promptForSave

        public boolean promptForSave()
                              throws org.pentaho.di.core.exception.KettleException
        Throws:
        org.pentaho.di.core.exception.KettleException
      • quitFile

        public boolean quitFile​(boolean canCancel)
                         throws org.pentaho.di.core.exception.KettleException
        Throws:
        org.pentaho.di.core.exception.KettleException
      • saveFile

        public boolean saveFile()
      • saveFile

        public boolean saveFile​(boolean export)
      • saveToFile

        public boolean saveToFile​(org.pentaho.di.core.EngineMetaInterface meta)
                           throws org.pentaho.di.core.exception.KettleException
        Throws:
        org.pentaho.di.core.exception.KettleException
      • saveToFile

        public boolean saveToFile​(org.pentaho.di.core.EngineMetaInterface meta,
                                  boolean export)
                           throws org.pentaho.di.core.exception.KettleException
        Throws:
        org.pentaho.di.core.exception.KettleException
      • saveToRepository

        public boolean saveToRepository​(org.pentaho.di.core.EngineMetaInterface meta)
                                 throws org.pentaho.di.core.exception.KettleException
        Throws:
        org.pentaho.di.core.exception.KettleException
      • saveToRepository

        public boolean saveToRepository​(org.pentaho.di.core.EngineMetaInterface meta,
                                        boolean ask_name)
                                 throws org.pentaho.di.core.exception.KettleException
        Throws:
        org.pentaho.di.core.exception.KettleException
      • saveToRepositoryCheckSecurity

        public boolean saveToRepositoryCheckSecurity​(org.pentaho.di.core.EngineMetaInterface meta)
      • saveToRepositoryConfirmed

        public boolean saveToRepositoryConfirmed​(org.pentaho.di.core.EngineMetaInterface meta)
                                          throws org.pentaho.di.core.exception.KettleException
        Throws:
        org.pentaho.di.core.exception.KettleException
      • saveJobRepository

        public boolean saveJobRepository​(org.pentaho.di.job.JobMeta jobMeta)
                                  throws org.pentaho.di.core.exception.KettleException
        Throws:
        org.pentaho.di.core.exception.KettleException
      • saveJobRepository

        public boolean saveJobRepository​(org.pentaho.di.job.JobMeta jobMeta,
                                         boolean ask_name)
                                  throws org.pentaho.di.core.exception.KettleException
        Throws:
        org.pentaho.di.core.exception.KettleException
      • saveFileAs

        public boolean saveFileAs()
                           throws org.pentaho.di.core.exception.KettleException
        Throws:
        org.pentaho.di.core.exception.KettleException
      • saveFileAs

        public boolean saveFileAs​(org.pentaho.di.core.EngineMetaInterface meta)
                           throws org.pentaho.di.core.exception.KettleException
        Throws:
        org.pentaho.di.core.exception.KettleException
      • exportXMLFile

        public boolean exportXMLFile()
      • exportAllXMLFile

        public void exportAllXMLFile()
        Export this job or transformation including all depending resources to a single zip file.
      • exportAllFileRepository

        public void exportAllFileRepository()
        Export this job or transformation including all depending resources to a single ZIP file containing a file repository.
      • exportRepositoryAll

        public void exportRepositoryAll()
      • exportRepositoryDirectory

        public boolean exportRepositoryDirectory​(org.pentaho.di.repository.RepositoryDirectory directoryToExport)
        Parameters:
        directoryToExport - set to null to export the complete repository
        Returns:
        false if we want to stop processing. true if we need to continue.
      • getExportFileDialog

        public org.eclipse.swt.widgets.FileDialog getExportFileDialog()
        local method to be able to use Spoon localization messages.
        Returns:
      • importDirectoryToRepository

        public void importDirectoryToRepository()
      • saveXMLFile

        public boolean saveXMLFile​(boolean export,
                                   String fileFilterType,
                                   String command)
      • saveXMLFile

        public boolean saveXMLFile​(org.pentaho.di.core.EngineMetaInterface meta,
                                   boolean export)
      • saveXMLFile

        public boolean saveXMLFile​(org.pentaho.di.core.EngineMetaInterface meta,
                                   String filename,
                                   boolean export)
      • saveXMLFileToVfs

        public boolean saveXMLFileToVfs()
      • saveXMLFileToVfs

        public boolean saveXMLFileToVfs​(org.pentaho.di.core.EngineMetaInterface meta)
      • save

        public boolean save​(org.pentaho.di.core.EngineMetaInterface meta,
                            String filename,
                            boolean export)
      • saveMeta

        public boolean saveMeta​(org.pentaho.di.core.EngineMetaInterface meta,
                                String filename)
      • saveMeta

        public boolean saveMeta​(org.pentaho.di.core.EngineMetaInterface meta,
                                String filename,
                                boolean export)
      • helpAbout

        public void helpAbout()
      • showPluginInfo

        public void showPluginInfo()
        Show a plugin browser
      • editUnselectAll

        public void editUnselectAll()
      • editSelectAll

        public void editSelectAll()
      • editOptions

        public void editOptions()
      • editKettlePropertiesFile

        public void editKettlePropertiesFile()
      • refreshTree

        public void refreshTree​(org.pentaho.di.base.AbstractMeta abstractMeta)
      • refreshTree

        public void refreshTree​(String folderName)
      • refreshTree

        public void refreshTree()
        Refresh the object selection tree (on the left of the screen)
      • handleRepositoryLost

        public void handleRepositoryLost​(org.pentaho.di.repository.KettleRepositoryLostException e)
      • getPartitionSchemasNames

        public List<String> getPartitionSchemasNames​(org.pentaho.di.trans.TransMeta transMeta)
                                              throws org.pentaho.di.core.exception.KettleException
        Specified by:
        getPartitionSchemasNames in interface PartitionSchemasProvider
        Throws:
        org.pentaho.di.core.exception.KettleException
      • getPartitionSchemas

        public List<org.pentaho.di.partition.PartitionSchema> getPartitionSchemas​(org.pentaho.di.trans.TransMeta transMeta)
                                                                           throws org.pentaho.di.core.exception.KettleException
        Specified by:
        getPartitionSchemas in interface PartitionSchemasProvider
        Throws:
        org.pentaho.di.core.exception.KettleException
      • getActiveTabText

        public String getActiveTabText()
      • refreshGraph

        public void refreshGraph()
      • newStep

        public org.pentaho.di.trans.step.StepMeta newStep​(org.pentaho.di.trans.TransMeta transMeta)
      • newStep

        public org.pentaho.di.trans.step.StepMeta newStep​(org.pentaho.di.trans.TransMeta transMeta,
                                                          boolean openit,
                                                          boolean rename)
      • newStep

        public org.pentaho.di.trans.step.StepMeta newStep​(org.pentaho.di.trans.TransMeta transMeta,
                                                          String name,
                                                          String description,
                                                          boolean openit,
                                                          boolean rename)
        Allocate new step, optionally open and rename it.
        Parameters:
        name - Name of the new step
        description - Description of the type of step
        openit - Open the dialog for this step?
        rename - Rename this step?
        Returns:
        The newly created StepMeta object.
      • newStep

        public org.pentaho.di.trans.step.StepMeta newStep​(org.pentaho.di.trans.TransMeta transMeta,
                                                          String id,
                                                          String name,
                                                          String description,
                                                          boolean openit,
                                                          boolean rename)
        Allocate new step, optionally open and rename it.
        Parameters:
        id - Id of the new step
        name - Name of the new step
        description - Description of the type of step
        openit - Open the dialog for this step?
        rename - Rename this step?
        Returns:
        The newly created StepMeta object.
      • setShellText

        public void setShellText()
      • enableMenus

        public void enableMenus()
      • addSpoonMenuController

        public void addSpoonMenuController​(ISpoonMenuController menuController)
      • removeSpoonMenuController

        public boolean removeSpoonMenuController​(ISpoonMenuController menuController)
      • isTabsChanged

        public boolean isTabsChanged()
        Check to see if any jobs or transformations are dirty
        Returns:
        true if any of the open jobs or trans are marked dirty
      • printFile

        public void printFile()
      • getActiveTransGraph

        public TransGraph getActiveTransGraph()
      • getActiveJobGraph

        public JobGraph getActiveJobGraph()
      • getActiveMeta

        public org.pentaho.di.core.EngineMetaInterface getActiveMeta()
      • getActiveTransformation

        public org.pentaho.di.trans.TransMeta getActiveTransformation()
        Returns:
        The active TransMeta object by looking at the selected TransGraph, TransLog, TransHist If nothing valueable is selected, we return null
      • getActiveJob

        public org.pentaho.di.job.JobMeta getActiveJob()
        Returns:
        The active JobMeta object by looking at the selected JobGraph, JobLog, JobHist If nothing valueable is selected, we return null
      • getActiveUndoInterface

        public org.pentaho.di.core.gui.UndoInterface getActiveUndoInterface()
      • findTransformation

        public org.pentaho.di.trans.TransMeta findTransformation​(String tabItemText)
      • findJob

        public org.pentaho.di.job.JobMeta findJob​(String tabItemText)
      • getLoadedTransformations

        public org.pentaho.di.trans.TransMeta[] getLoadedTransformations()
      • getLoadedJobs

        public org.pentaho.di.job.JobMeta[] getLoadedJobs()
      • saveSettings

        public void saveSettings()
      • loadSettings

        public void loadSettings()
      • changeLooks

        public void changeLooks()
      • undoAction

        public void undoAction​(org.pentaho.di.core.gui.UndoInterface undoInterface)
      • redoAction

        public void redoAction​(org.pentaho.di.core.gui.UndoInterface undoInterface)
      • setUndoMenu

        public void setUndoMenu​(org.pentaho.di.core.gui.UndoInterface undoInterface)
        Sets the text and enabled settings for the undo and redo menu items
        Parameters:
        undoInterface - the object which holds the undo/redo information
      • addUndoNew

        public void addUndoNew​(org.pentaho.di.core.gui.UndoInterface undoInterface,
                               Object[] obj,
                               int[] position)
      • addUndoNew

        public void addUndoNew​(org.pentaho.di.core.gui.UndoInterface undoInterface,
                               Object[] obj,
                               int[] position,
                               boolean nextAlso)
      • addUndoDelete

        public void addUndoDelete​(org.pentaho.di.core.gui.UndoInterface undoInterface,
                                  Object[] obj,
                                  int[] position)
      • addUndoDelete

        public void addUndoDelete​(org.pentaho.di.core.gui.UndoInterface undoInterface,
                                  Object[] obj,
                                  int[] position,
                                  boolean nextAlso)
      • addUndoPosition

        public void addUndoPosition​(org.pentaho.di.core.gui.UndoInterface undoInterface,
                                    Object[] obj,
                                    int[] pos,
                                    org.pentaho.di.core.gui.Point[] prev,
                                    org.pentaho.di.core.gui.Point[] curr)
        Specified by:
        addUndoPosition in interface org.pentaho.di.core.AddUndoPositionInterface
      • addUndoChange

        public void addUndoChange​(org.pentaho.di.core.gui.UndoInterface undoInterface,
                                  Object[] from,
                                  Object[] to,
                                  int[] pos)
      • addUndoChange

        public void addUndoChange​(org.pentaho.di.core.gui.UndoInterface undoInterface,
                                  Object[] from,
                                  Object[] to,
                                  int[] pos,
                                  boolean nextAlso)
      • checkTrans

        public void checkTrans​(org.pentaho.di.trans.TransMeta transMeta)
        Checks *all* the steps in the transformation, puts the result in remarks list
      • checkTrans

        public void checkTrans​(org.pentaho.di.trans.TransMeta transMeta,
                               boolean only_selected)
        Check the steps in a transformation
        Parameters:
        only_selected - True: Check only the selected steps...
      • showLastTransCheck

        public void showLastTransCheck()
        Show the remarks of the last transformation check that was run.
        See Also:
        checkTrans()
      • analyseImpact

        public void analyseImpact​(org.pentaho.di.trans.TransMeta transMeta)
      • showLastImpactAnalyses

        public void showLastImpactAnalyses​(org.pentaho.di.trans.TransMeta transMeta)
      • toClipboard

        public void toClipboard​(String clipText)
      • fromClipboard

        public String fromClipboard()
      • pasteTransformation

        public void pasteTransformation()
        Paste transformation from the clipboard...
      • pasteJob

        public void pasteJob()
        Paste job from the clipboard...
      • copyTransformation

        public void copyTransformation​(org.pentaho.di.trans.TransMeta transMeta)
      • copyJob

        public void copyJob​(org.pentaho.di.job.JobMeta jobMeta)
      • copyTransformationImage

        public void copyTransformationImage​(org.pentaho.di.trans.TransMeta transMeta)
      • getActiveHasDatabasesInterface

        public org.pentaho.di.trans.HasDatabasesInterface getActiveHasDatabasesInterface()
        Returns:
        Either a TransMeta or JobMeta object
      • getActiveHasSlaveServersInterface

        public org.pentaho.di.trans.HasSlaveServersInterface getActiveHasSlaveServersInterface()
      • createDatabaseWizard

        public void createDatabaseWizard()
        Shows a wizard that creates a new database connection...
      • getActiveDatabases

        public List<org.pentaho.di.core.database.DatabaseMeta> getActiveDatabases()
      • copyTableWizard

        public void copyTableWizard()
        Create a transformation that extracts tables & data from a database.

        0) Select the database to rip

        1) Select the table in the database to copy

        2) Select the database to dump to

        3) Select the repository directory in which it will end up

        4) Select a name for the new transformation

        6) Create 1 transformation for the selected table

      • handleStartOptions

        public void handleStartOptions​(org.pentaho.di.pan.CommandLineOption[] options)
      • start

        public void start​(org.pentaho.di.pan.CommandLineOption[] options)
                   throws org.pentaho.di.core.exception.KettleException
        Throws:
        org.pentaho.di.core.exception.KettleException
      • getCommandLineOption

        public static org.pentaho.di.pan.CommandLineOption getCommandLineOption​(org.pentaho.di.pan.CommandLineOption[] options,
                                                                                String opt)
      • getCommandLineArgs

        public static org.pentaho.di.pan.CommandLineOption[] getCommandLineArgs​(List<String> args)
      • loadLastUsedFileAtStartup

        public void loadLastUsedFileAtStartup​(org.pentaho.di.core.LastUsedFile lastUsedFile,
                                              String repositoryName)
                                       throws org.pentaho.di.core.exception.KettleException
        Loads the LastUsedFile residing the the Repository with repoName without "tracking it" - meaning that it is not explicitly added to the "recent" file collection, since it is expected to already exist in this collections.
        Parameters:
        lastUsedFile - the LastUsedFile being loaded
        repositoryName - the name of the Repository containing the LastUsedFile
        Throws:
        org.pentaho.di.core.exception.KettleException
      • loadLastUsedFile

        public void loadLastUsedFile​(org.pentaho.di.core.LastUsedFile lastUsedFile,
                                     String repositoryName)
                              throws org.pentaho.di.core.exception.KettleException
        Loads the LastUsedFile residing the the Repository with repoName, and "tracks" it by adding it to the "recent" files collection.
        Parameters:
        lastUsedFile - the LastUsedFile being loaded
        repositoryName - the name of the Repository containing the LastUsedFile
        Throws:
        org.pentaho.di.core.exception.KettleException
      • recentRepoFileExists

        public boolean recentRepoFileExists​(String repo,
                                            String indexStr)
        Returns true if the LastUsedFile at the given index within the PropsUI.getLastUsedRepoFiles() collection exists within the given repo Repository, and false otherwise.
        Parameters:
        repo - the Repository containing the file
        indexStr - the String index of the file within the last used repo file collection
        Returns:
        true if the LastUsedFile at the given index within the PropsUI.getLastUsedRepoFiles() collection exists within the given repo Repository, and false otherwise
        Throws:
        org.pentaho.di.core.exception.KettleException
      • getLastUsedRepoFile

        public org.pentaho.di.core.LastUsedFile getLastUsedRepoFile​(String repo,
                                                                    String indexStr)
      • generateFieldMapping

        public void generateFieldMapping​(org.pentaho.di.trans.TransMeta transMeta,
                                         org.pentaho.di.trans.step.StepMeta stepMeta)
        Create a new SelectValues step in between this step and the previous. If the previous fields are not there, no mapping can be made, same with the required fields.
        Parameters:
        stepMeta - The target step to map against.
      • isDefinedSchemaExist

        public boolean isDefinedSchemaExist​(String[] schemaNames)
      • editPartitioning

        public void editPartitioning​(org.pentaho.di.trans.TransMeta transMeta,
                                     org.pentaho.di.trans.step.StepMeta stepMeta)
      • editClustering

        public void editClustering​(org.pentaho.di.trans.TransMeta transMeta,
                                   org.pentaho.di.trans.step.StepMeta stepMeta)
        Select a clustering schema for this step.
        Parameters:
        stepMeta - The step to set the clustering schema for.
      • editClustering

        public void editClustering​(org.pentaho.di.trans.TransMeta transMeta,
                                   List<org.pentaho.di.trans.step.StepMeta> stepMetas)
        Select a clustering schema for this step.
        Parameters:
        stepMetas - The steps (at least one!) to set the clustering schema for.
      • createKettleArchive

        public void createKettleArchive​(org.pentaho.di.trans.TransMeta transMeta)
      • newPartitioningSchema

        public void newPartitioningSchema​(org.pentaho.di.trans.TransMeta transMeta)
        This creates a new partitioning schema, edits it and adds it to the transformation metadata if its name is not a duplicate of any of existing
      • newClusteringSchema

        public void newClusteringSchema​(org.pentaho.di.trans.TransMeta transMeta)
        This creates a new clustering schema, edits it and adds it to the transformation metadata if its name is not a duplicate of any of existing
      • newSlaveServer

        public void newSlaveServer​(org.pentaho.di.trans.HasSlaveServersInterface hasSlaveServersInterface)
        This creates a slave server, edits it and adds it to the transformation metadata
      • delSlaveServer

        public void delSlaveServer​(org.pentaho.di.trans.HasSlaveServersInterface hasSlaveServersInterface,
                                   org.pentaho.di.cluster.SlaveServer slaveServer)
      • editSlaveServer

        protected void editSlaveServer​(org.pentaho.di.cluster.SlaveServer slaveServer)
      • sendTransformationXMLToSlaveServer

        public void sendTransformationXMLToSlaveServer​(org.pentaho.di.trans.TransMeta transMeta,
                                                       org.pentaho.di.trans.TransExecutionConfiguration executionConfiguration)
        Sends transformation to slave server
        Parameters:
        executionConfiguration -
      • runFile

        public void runFile()
      • runOptionsFile

        public void runOptionsFile()
      • replayTransformation

        public void replayTransformation()
      • previewFile

        public void previewFile()
      • debugFile

        public void debugFile()
      • executeFile

        public void executeFile​(boolean local,
                                boolean remote,
                                boolean cluster,
                                boolean preview,
                                boolean debug,
                                Date replayDate,
                                boolean safe,
                                boolean show)
      • executeTransformation

        public void executeTransformation​(org.pentaho.di.trans.TransMeta transMeta,
                                          boolean local,
                                          boolean remote,
                                          boolean cluster,
                                          boolean preview,
                                          boolean debug,
                                          Date replayDate,
                                          boolean safe,
                                          org.pentaho.di.core.logging.LogLevel logLevel)
      • executeJob

        public void executeJob​(org.pentaho.di.job.JobMeta jobMeta,
                               boolean local,
                               boolean remote,
                               Date replayDate,
                               boolean safe,
                               String startCopyName,
                               int startCopyNr)
      • addSpoonSlave

        public void addSpoonSlave​(org.pentaho.di.cluster.SlaveServer slaveServer)
      • addJobHistory

        public void addJobHistory​(org.pentaho.di.job.JobMeta jobMeta,
                                  boolean select)
      • paste

        public void paste()
      • newJobEntry

        public org.pentaho.di.job.entry.JobEntryCopy newJobEntry​(org.pentaho.di.job.JobMeta jobMeta,
                                                                 String typeDesc,
                                                                 boolean openit)
      • getJobEntryDialog

        public org.pentaho.di.job.entry.JobEntryDialogInterface getJobEntryDialog​(org.pentaho.di.job.entry.JobEntryInterface jei,
                                                                                  org.pentaho.di.job.JobMeta jobMeta)
      • getStepEntryDialog

        public org.pentaho.di.trans.step.StepDialogInterface getStepEntryDialog​(org.pentaho.di.trans.step.StepMetaInterface stepMeta,
                                                                                org.pentaho.di.trans.TransMeta transMeta,
                                                                                String stepName)
      • editJobEntry

        public void editJobEntry​(org.pentaho.di.job.JobMeta jobMeta,
                                 org.pentaho.di.job.entry.JobEntryCopy je)
      • deleteJobEntryCopies

        public void deleteJobEntryCopies​(org.pentaho.di.job.JobMeta jobMeta,
                                         org.pentaho.di.job.entry.JobEntryCopy[] jobEntry)
      • deleteJobEntryCopies

        public void deleteJobEntryCopies​(org.pentaho.di.job.JobMeta jobMeta,
                                         org.pentaho.di.job.entry.JobEntryCopy jobEntry)
      • pasteXML

        public void pasteXML​(org.pentaho.di.job.JobMeta jobMeta,
                             String clipContent,
                             org.pentaho.di.core.gui.Point loc)
      • newJobHop

        public void newJobHop​(org.pentaho.di.job.JobMeta jobMeta,
                              org.pentaho.di.job.entry.JobEntryCopy fr,
                              org.pentaho.di.job.entry.JobEntryCopy to)
      • ripDBWizard

        public void ripDBWizard()
        Create a job that extracts tables & data from a database.

        0) Select the database to rip

        1) Select the tables in the database to rip

        2) Select the database to dump to

        3) Select the repository directory in which it will end up

        4) Select a name for the new job

        5) Create an empty job with the selected name.

        6) Create 1 transformation for every selected table

        7) add every created transformation to the job & evaluate

      • ripDB

        public org.pentaho.di.job.JobMeta ripDB​(List<org.pentaho.di.core.database.DatabaseMeta> databases,
                                                String jobName,
                                                org.pentaho.di.repository.RepositoryDirectory repdir,
                                                String directory,
                                                org.pentaho.di.core.database.DatabaseMeta sourceDbInfo,
                                                org.pentaho.di.core.database.DatabaseMeta targetDbInfo,
                                                String[] tables)
      • setCoreObjectsState

        public void setCoreObjectsState​(int state)
        Set the core object state.
        Parameters:
        state - state to set
      • getCoreObjectsState

        public int getCoreObjectsState()
        Get the core object state.
        Returns:
        state.
      • getLog

        public org.pentaho.di.core.logging.LogChannelInterface getLog()
      • getRepository

        public org.pentaho.di.repository.Repository getRepository()
      • setRepository

        public void setRepository​(org.pentaho.di.repository.Repository rep)
      • setRepositoryName

        public void setRepositoryName​(String repoName)
      • addMenuListener

        public void addMenuListener​(String id,
                                    Object listener,
                                    String methodName)
      • addTransGraph

        public void addTransGraph​(org.pentaho.di.trans.TransMeta transMeta)
        Specified by:
        addTransGraph in interface org.pentaho.di.core.gui.SpoonInterface
      • addJobGraph

        public void addJobGraph​(org.pentaho.di.job.JobMeta jobMeta)
        Specified by:
        addJobGraph in interface org.pentaho.di.core.gui.SpoonInterface
      • addSpoonBrowser

        public boolean addSpoonBrowser​(String name,
                                       String urlString,
                                       boolean isURL,
                                       org.eclipse.swt.browser.LocationListener locationListener,
                                       Map<String,​Runnable> functions,
                                       boolean showControls)
      • addSpoonBrowser

        public boolean addSpoonBrowser​(String name,
                                       String urlString,
                                       org.eclipse.swt.browser.LocationListener locationListener,
                                       boolean showControls)
      • addSpoonBrowser

        public boolean addSpoonBrowser​(String name,
                                       String urlString,
                                       org.eclipse.swt.browser.LocationListener locationListener)
      • addSpoonBrowser

        public boolean addSpoonBrowser​(String name,
                                       String urlString,
                                       boolean showControls)
      • addSpoonBrowser

        public boolean addSpoonBrowser​(String name,
                                       String urlString)
        Specified by:
        addSpoonBrowser in interface org.pentaho.di.core.gui.SpoonInterface
      • getTransExecutionConfiguration

        public org.pentaho.di.trans.TransExecutionConfiguration getTransExecutionConfiguration()
      • editStepErrorHandling

        public void editStepErrorHandling​(org.pentaho.di.trans.TransMeta transMeta,
                                          org.pentaho.di.trans.step.StepMeta stepMeta)
      • editStep

        public String editStep​(org.pentaho.di.trans.TransMeta transMeta,
                               org.pentaho.di.trans.step.StepMeta stepMeta)
      • dupeStep

        public void dupeStep​(org.pentaho.di.trans.TransMeta transMeta,
                             org.pentaho.di.trans.step.StepMeta stepMeta)
      • delSteps

        public void delSteps​(org.pentaho.di.trans.TransMeta transformation,
                             org.pentaho.di.trans.step.StepMeta[] steps)
      • delStep

        public void delStep​(org.pentaho.di.trans.TransMeta transMeta,
                            org.pentaho.di.trans.step.StepMeta stepMeta)
      • makeTabName

        public String makeTabName​(org.pentaho.di.core.EngineMetaInterface transMeta,
                                  boolean showingLocation)
      • newConnection

        public void newConnection()
      • getSQL

        public void getSQL()
      • overwritePrompt

        public boolean overwritePrompt​(String message,
                                       String rememberText,
                                       String rememberPropertyName)
        Specified by:
        overwritePrompt in interface org.pentaho.di.core.gui.OverwritePrompter
      • messageDialogWithToggle

        public Object[] messageDialogWithToggle​(String dialogTitle,
                                                Object image,
                                                String message,
                                                int dialogImageType,
                                                String[] buttonLabels,
                                                int defaultIndex,
                                                String toggleMessage,
                                                boolean toggleState)
        Specified by:
        messageDialogWithToggle in interface org.pentaho.di.core.gui.SpoonInterface
      • messageBox

        public boolean messageBox​(String message,
                                  String text,
                                  boolean allowCancel,
                                  int type)
        Specified by:
        messageBox in interface org.pentaho.di.core.gui.SpoonInterface
      • getTransPreviewExecutionConfiguration

        public org.pentaho.di.trans.TransExecutionConfiguration getTransPreviewExecutionConfiguration()
        Returns:
        the previewExecutionConfiguration
      • setTransPreviewExecutionConfiguration

        public void setTransPreviewExecutionConfiguration​(org.pentaho.di.trans.TransExecutionConfiguration previewExecutionConfiguration)
        Parameters:
        previewExecutionConfiguration - the previewExecutionConfiguration to set
      • getTransDebugExecutionConfiguration

        public org.pentaho.di.trans.TransExecutionConfiguration getTransDebugExecutionConfiguration()
        Returns:
        the debugExecutionConfiguration
      • setTransDebugExecutionConfiguration

        public void setTransDebugExecutionConfiguration​(org.pentaho.di.trans.TransExecutionConfiguration debugExecutionConfiguration)
        Parameters:
        debugExecutionConfiguration - the debugExecutionConfiguration to set
      • setTransExecutionConfiguration

        public void setTransExecutionConfiguration​(org.pentaho.di.trans.TransExecutionConfiguration executionConfiguration)
        Parameters:
        executionConfiguration - the executionConfiguration to set
      • getJobExecutionConfiguration

        public org.pentaho.di.job.JobExecutionConfiguration getJobExecutionConfiguration()
        Returns:
        the jobExecutionConfiguration
      • setJobExecutionConfiguration

        public void setJobExecutionConfiguration​(org.pentaho.di.job.JobExecutionConfiguration jobExecutionConfiguration)
        Parameters:
        jobExecutionConfiguration - the jobExecutionConfiguration to set
      • update

        public void update​(org.pentaho.di.core.changed.ChangedFlagInterface o,
                           Object arg)
        Specified by:
        update in interface org.pentaho.di.core.changed.PDIObserver
      • consume

        public void consume​(org.pentaho.di.core.lifecycle.LifeEventInfo info)
        Specified by:
        consume in interface org.pentaho.di.core.lifecycle.LifeEventHandler
      • setLog

        public void setLog()
      • getDisplay

        public org.eclipse.swt.widgets.Display getDisplay()
        Returns:
        the display
      • zoomIn

        public void zoomIn()
      • zoomOut

        public void zoomOut()
      • zoom100Percent

        public void zoom100Percent()
      • setParametersAsVariablesInUI

        public void setParametersAsVariablesInUI​(org.pentaho.di.core.parameters.NamedParams namedParameters,
                                                 org.pentaho.di.core.variables.VariableSpace space)
      • browseVersionHistory

        public void browseVersionHistory()
      • findActiveTrans

        public org.pentaho.di.trans.Trans findActiveTrans​(org.pentaho.di.job.Job job,
                                                          org.pentaho.di.job.entry.JobEntryCopy jobEntryCopy)
      • findActiveJob

        public org.pentaho.di.job.Job findActiveJob​(org.pentaho.di.job.Job job,
                                                    org.pentaho.di.job.entry.JobEntryCopy jobEntryCopy)
      • getSelectionObject

        public Object getSelectionObject()
      • getDefaultSaveLocation

        public org.pentaho.di.repository.RepositoryDirectoryInterface getDefaultSaveLocation​(org.pentaho.di.repository.RepositoryElementInterface repositoryElement)
      • addPropertyChangeListener

        public void addPropertyChangeListener​(PropertyChangeListener listener)
        Specified by:
        addPropertyChangeListener in interface org.pentaho.ui.xul.XulEventSource
      • removePropertyChangeListener

        public void removePropertyChangeListener​(PropertyChangeListener listener)
        Specified by:
        removePropertyChangeListener in interface org.pentaho.ui.xul.XulEventSource
      • firePropertyChange

        protected void firePropertyChange​(String attr,
                                          Object previousVal,
                                          Object newVal)
      • getData

        public Object getData()
        Specified by:
        getData in interface org.pentaho.ui.xul.impl.XulEventHandler
      • getName

        public String getName()
        Specified by:
        getName in interface org.pentaho.ui.xul.impl.XulEventHandler
      • getXulDomContainer

        public org.pentaho.ui.xul.XulDomContainer getXulDomContainer()
        Specified by:
        getXulDomContainer in interface org.pentaho.ui.xul.impl.XulEventHandler
      • setData

        public void setData​(Object arg0)
        Specified by:
        setData in interface org.pentaho.ui.xul.impl.XulEventHandler
      • setName

        public void setName​(String arg0)
        Specified by:
        setName in interface org.pentaho.ui.xul.impl.XulEventHandler
      • setXulDomContainer

        public void setXulDomContainer​(org.pentaho.ui.xul.XulDomContainer arg0)
        Specified by:
        setXulDomContainer in interface org.pentaho.ui.xul.impl.XulEventHandler
      • getSecurityManager

        public org.pentaho.di.repository.RepositorySecurityManager getSecurityManager()
      • displayDbDependancies

        public void displayDbDependancies()
      • fireMenuControlers

        public void fireMenuControlers()
      • hideSplash

        public void hideSplash()
      • setMainToolbarVisible

        public void setMainToolbarVisible​(boolean visible)
        Hides or shows the main toolbar
        Parameters:
        visible -
      • setMenuBarVisible

        public void setMenuBarVisible​(boolean visible)
      • createContents

        protected org.eclipse.swt.widgets.Control createContents​(org.eclipse.swt.widgets.Composite parent)
        Overrides:
        createContents in class org.eclipse.jface.window.Window
      • start

        public void start()
      • getStartupPerspective

        public String getStartupPerspective()
      • getMetaStore

        public org.pentaho.metastore.api.IMetaStore getMetaStore()
      • getMetaStoreSupplier

        public Supplier<org.pentaho.metastore.api.IMetaStore> getMetaStoreSupplier()
      • setMetaStoreSupplier

        public void setMetaStoreSupplier​(Supplier<org.pentaho.metastore.api.IMetaStore> metaStoreSupplier)
      • handleShellCloseEvent

        protected void handleShellCloseEvent()
        Overrides:
        handleShellCloseEvent in class org.eclipse.jface.window.Window
      • showAuthenticationOptions

        public void showAuthenticationOptions()
      • createExpandedContent

        public void createExpandedContent​(String url)
      • hideExpandedContent

        public void hideExpandedContent()
      • closeExpandedContent

        public void closeExpandedContent()
      • showExpandedContent

        public void showExpandedContent()
      • getDesignParent

        public org.eclipse.swt.widgets.Composite getDesignParent()
      • isUnsupportedBrowserEnvironment

        public static Boolean isUnsupportedBrowserEnvironment()
      • isWebkitUnavailable

        public static Boolean isWebkitUnavailable()
      • getAvailableBrowser

        public static String getAvailableBrowser()
      • disableCutCopyPaste

        public void disableCutCopyPaste()
      • enableCutCopyPaste

        public void enableCutCopyPaste()