Package org.pentaho.di.ui.spoon
Class Spoon
- java.lang.Object
-
- org.eclipse.jface.window.Window
-
- org.eclipse.jface.window.ApplicationWindow
-
- org.pentaho.di.ui.spoon.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 Summary
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description voidaddCoreObjectsTree()voidaddDefaultKeyListeners(org.eclipse.swt.widgets.Control control)voidaddFileListener(FileListener listener)voidaddJobGraph(org.pentaho.di.job.JobMeta jobMeta)voidaddJobHistory()voidaddJobHistory(org.pentaho.di.job.JobMeta jobMeta, boolean select)voidaddJobLog()voidaddMenuLast()voidaddMenuListener(String id, Object listener, String methodName)voidaddPropertyChangeListener(PropertyChangeListener listener)voidaddPropertyChangeListener(String propertyName, PropertyChangeListener listener)booleanaddSpoonBrowser(String name, String urlString)booleanaddSpoonBrowser(String name, String urlString, boolean showControls)booleanaddSpoonBrowser(String name, String urlString, boolean isURL, org.eclipse.swt.browser.LocationListener locationListener, Map<String,Runnable> functions, boolean showControls)booleanaddSpoonBrowser(String name, String urlString, org.eclipse.swt.browser.LocationListener locationListener)booleanaddSpoonBrowser(String name, String urlString, org.eclipse.swt.browser.LocationListener locationListener, boolean showControls)voidaddSpoonMenuController(ISpoonMenuController menuController)voidaddSpoonSlave()voidaddSpoonSlave(org.pentaho.di.cluster.SlaveServer slaveServer)voidaddTransGraph(org.pentaho.di.trans.TransMeta transMeta)voidaddTransHistory()voidaddTransLog()voidaddUndoChange(org.pentaho.di.core.gui.UndoInterface undoInterface, Object[] from, Object[] to, int[] pos)voidaddUndoChange(org.pentaho.di.core.gui.UndoInterface undoInterface, Object[] from, Object[] to, int[] pos, boolean nextAlso)voidaddUndoDelete(org.pentaho.di.core.gui.UndoInterface undoInterface, Object[] obj, int[] position)voidaddUndoDelete(org.pentaho.di.core.gui.UndoInterface undoInterface, Object[] obj, int[] position, boolean nextAlso)voidaddUndoNew(org.pentaho.di.core.gui.UndoInterface undoInterface, Object[] obj, int[] position)voidaddUndoNew(org.pentaho.di.core.gui.UndoInterface undoInterface, Object[] obj, int[] position, boolean nextAlso)voidaddUndoPosition(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)voidanalyseImpact()voidanalyseImpact(org.pentaho.di.trans.TransMeta transMeta)voidapplyVariables()voidapplyVariableToAllLoadedObjects(String name, String value)voidbrowseVersionHistory()voidchangeLooks()booleancheckIfHopAlreadyExists(org.pentaho.di.trans.TransMeta transMeta, org.pentaho.di.trans.TransHopMeta newHop)voidcheckTrans()voidcheckTrans(org.pentaho.di.trans.TransMeta transMeta)Checks *all* the steps in the transformation, puts the result in remarks listvoidcheckTrans(org.pentaho.di.trans.TransMeta transMeta, boolean only_selected)Check the steps in a transformationvoidclearDBCache(String id)voidclearRepositoryDirectory()PDI-18997 - clear specific repository directory when connect and or disconnect from servervoidclearSearchFilter()voidclearSharedObjectCache()voidclipConnection()booleancloseAllFiles()booleancloseAllFiles(boolean force)booleancloseAllJobsAndTransformations()booleancloseAllJobsAndTransformations(boolean force)Prompt user to close all open Jobs & Transformations if they have execute permissions.voidcloseExpandedContent()booleancloseFile()booleancloseFile(boolean force)voidcloseRepository()voidconsume(org.pentaho.di.core.lifecycle.LifeEventInfo info)voidcopy()voidcopyFile()voidcopyJob()voidcopyJob(org.pentaho.di.job.JobMeta jobMeta)voidcopyJobentries()voidcopyLogSelectedText(org.eclipse.swt.custom.StyledText text)voidcopySelected(org.pentaho.di.trans.TransMeta transMeta, List<org.pentaho.di.trans.step.StepMeta> steps, List<org.pentaho.di.core.NotePadMeta> notes)voidcopySteps()It's called copySteps, but the job entries also arrive at this locationvoidcopyTableWizard()Create a transformation that extracts tables & data from a database.voidcopyTransformation()voidcopyTransformation(org.pentaho.di.trans.TransMeta transMeta)voidcopyTransformationImage()voidcopyTransformationImage(org.pentaho.di.trans.TransMeta transMeta)voidcreateCmdLineFile()protected org.eclipse.swt.widgets.ControlcreateContents(org.eclipse.swt.widgets.Composite parent)voidcreateDatabaseWizard()Shows a wizard that creates a new database connection...voidcreateExpandedContent(String url)voidcreateKettleArchive(org.pentaho.di.trans.TransMeta transMeta)voidcreatePopupMenus()voidcut()voiddebugFile()voiddebugTransformation()voiddelClusterSchema()voiddelConnection()voiddeleteJobEntryCopies()voiddeleteJobEntryCopies(org.pentaho.di.job.JobMeta jobMeta, org.pentaho.di.job.entry.JobEntryCopy jobEntry)voiddeleteJobEntryCopies(org.pentaho.di.job.JobMeta jobMeta, org.pentaho.di.job.entry.JobEntryCopy[] jobEntry)voiddelHop()voiddelHop(org.pentaho.di.trans.TransMeta transMeta, org.pentaho.di.trans.TransHopMeta transHopMeta)voiddelPartitionSchema()voiddelSlaveServer()voiddelSlaveServer(org.pentaho.di.trans.HasSlaveServersInterface hasSlaveServersInterface, org.pentaho.di.cluster.SlaveServer slaveServer)voiddelStep()voiddelStep(org.pentaho.di.trans.TransMeta transMeta, org.pentaho.di.trans.step.StepMeta stepMeta)voiddelSteps(org.pentaho.di.trans.TransMeta transformation, org.pentaho.di.trans.step.StepMeta[] steps)voiddisableCutCopyPaste()voiddisableMenuItem(String itemId)voiddisplayCmdLine()voiddisplayDbDependancies()voiddispose()booleandoDestroy()voiddupeConnection()voiddupeJobEntry()voiddupeStep()voiddupeStep(org.pentaho.di.trans.TransMeta transMeta, org.pentaho.di.trans.step.StepMeta stepMeta)voideditClustering(org.pentaho.di.trans.TransMeta transMeta, List<org.pentaho.di.trans.step.StepMeta> stepMetas)Select a clustering schema for this step.voideditClustering(org.pentaho.di.trans.TransMeta transMeta, org.pentaho.di.trans.step.StepMeta stepMeta)Select a clustering schema for this step.voideditClusterSchema()voideditConnection()voideditHop()voideditHop(org.pentaho.di.trans.TransMeta transMeta, org.pentaho.di.trans.TransHopMeta transHopMeta)voideditJobEntry()voideditJobEntry(org.pentaho.di.job.JobMeta jobMeta, org.pentaho.di.job.entry.JobEntryCopy je)booleaneditJobProperties(String id)voideditJobPropertiesPopup()voideditKettlePropertiesFile()voideditOptions()voideditPartitioning(org.pentaho.di.trans.TransMeta transMeta, org.pentaho.di.trans.step.StepMeta stepMeta)voideditPartitionSchema()booleaneditProperties()voideditSelectAll()voideditSlaveServer()protected voideditSlaveServer(org.pentaho.di.cluster.SlaveServer slaveServer)voideditStep()StringeditStep(org.pentaho.di.trans.TransMeta transMeta, org.pentaho.di.trans.step.StepMeta stepMeta)voideditStepErrorHandling(org.pentaho.di.trans.TransMeta transMeta, org.pentaho.di.trans.step.StepMeta stepMeta)booleaneditTransformationProperties()voideditTransformationPropertiesPopup()voideditUnselectAll()voidenableCutCopyPaste()voidenableMenuItem(String itemId)voidenableMenus()voidexecuteFile(boolean local, boolean remote, boolean cluster, boolean preview, boolean debug, Date replayDate, boolean safe, boolean show)voidexecuteJob()voidexecuteJob(org.pentaho.di.job.JobMeta jobMeta, boolean local, boolean remote, Date replayDate, boolean safe, String startCopyName, int startCopyNr)voidexecuteTransformation()voidexecuteTransformation(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)voidexploreDatabase()voidexploreDB()voidexploreRepository()voidexportAllFileRepository()Export this job or transformation including all depending resources to a single ZIP file containing a file repository.voidexportAllXMLFile()Export this job or transformation including all depending resources to a single zip file.voidexportRepositoryAll()booleanexportRepositoryDirectory(org.pentaho.di.repository.RepositoryDirectory directoryToExport)booleanexportXMLFile()org.pentaho.di.job.JobfindActiveJob(org.pentaho.di.job.Job job, org.pentaho.di.job.entry.JobEntryCopy jobEntryCopy)org.pentaho.di.trans.TransfindActiveTrans(org.pentaho.di.job.Job job, org.pentaho.di.job.entry.JobEntryCopy jobEntryCopy)org.pentaho.di.job.JobMetafindJob(String tabItemText)org.pentaho.di.trans.TransMetafindTransformation(String tabItemText)voidfireMenuControlers()protected voidfirePropertyChange(String attr, Object previousVal, Object newVal)StringfromClipboard()voidgenerateFieldMapping(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.List<org.pentaho.di.core.database.DatabaseMeta>getActiveDatabases()org.pentaho.di.trans.HasDatabasesInterfacegetActiveHasDatabasesInterface()org.pentaho.di.trans.HasSlaveServersInterfacegetActiveHasSlaveServersInterface()org.pentaho.di.job.JobMetagetActiveJob()JobGraphgetActiveJobGraph()org.pentaho.di.core.EngineMetaInterfacegetActiveMeta()TabItemInterfacegetActiveTabitem()StringgetActiveTabText()org.pentaho.di.trans.TransMetagetActiveTransformation()TransGraphgetActiveTransGraph()org.pentaho.di.core.gui.UndoInterfacegetActiveUndoInterface()String[]getArguments()static StringgetAvailableBrowser()static org.pentaho.di.pan.CommandLineOption[]getCommandLineArgs(List<String> args)static org.pentaho.di.pan.CommandLineOptiongetCommandLineOption(org.pentaho.di.pan.CommandLineOption[] options, String opt)intgetCoreObjectsState()Get the core object state.ObjectgetData()org.pentaho.di.repository.RepositoryDirectoryInterfacegetDefaultSaveLocation(org.pentaho.di.repository.RepositoryElementInterface repositoryElement)org.eclipse.swt.widgets.CompositegetDesignParent()org.eclipse.swt.widgets.DisplaygetDisplay()org.eclipse.swt.widgets.FileDialoggetExportFileDialog()local method to be able to use Spoon localization messages.protected static StringgetFileType(String fineName)static SpoongetInstance()org.pentaho.di.job.entry.JobEntryDialogInterfacegetJobEntryDialog(org.pentaho.di.job.entry.JobEntryInterface jei, org.pentaho.di.job.JobMeta jobMeta)org.pentaho.di.job.JobExecutionConfigurationgetJobExecutionConfiguration()StringgetLastFileOpened()org.pentaho.di.core.LastUsedFilegetLastUsedRepoFile(String repo, String indexStr)org.pentaho.di.job.JobMeta[]getLoadedJobs()org.pentaho.di.trans.TransMeta[]getLoadedTransformations()org.pentaho.di.core.logging.LogChannelInterfacegetLog()org.pentaho.ui.xul.XulDomContainergetMainSpoonContainer()org.pentaho.metastore.stores.delegate.DelegatingMetaStoregetMetaStore()StringgetName()List<org.pentaho.di.partition.PartitionSchema>getPartitionSchemas(org.pentaho.di.trans.TransMeta transMeta)List<String>getPartitionSchemasNames(org.pentaho.di.trans.TransMeta transMeta)PropsUIgetProperties()org.pentaho.di.repository.RepositorygetRepository()StringgetRepositoryName()org.pentaho.di.repository.RepositorySecurityManagergetSecurityManager()ObjectgetSelectionObject()voidgetSQL()StringgetStartupPerspective()org.pentaho.di.trans.step.StepDialogInterfacegetStepEntryDialog(org.pentaho.di.trans.step.StepMetaInterface stepMeta, org.pentaho.di.trans.TransMeta transMeta, String stepName)TabSetgetTabSet()org.pentaho.di.trans.TransExecutionConfigurationgetTransDebugExecutionConfiguration()org.pentaho.di.trans.TransExecutionConfigurationgetTransExecutionConfiguration()org.pentaho.di.trans.TransExecutionConfigurationgetTransPreviewExecutionConfiguration()TreeManagergetTreeManager()TreeSelection[]getTreeObjects(org.eclipse.swt.widgets.Tree tree)StringgetUsername()org.pentaho.vfs.ui.VfsFileChooserDialoggetVfsFileChooserDialog(org.apache.commons.vfs2.FileObject rootFile, org.apache.commons.vfs2.FileObject initialFile)org.pentaho.ui.xul.XulDomContainergetXulDomContainer()voidhandleMissingPluginsExceptionWithMarketplace(org.pentaho.di.core.exception.KettleMissingPluginsException missingPluginsException)Shows a dialog listing the missing plugins, asking if you want to go into the marketplacevoidhandleRepositoryLost(org.pentaho.di.repository.KettleRepositoryLostException e)protected voidhandleShellCloseEvent()voidhandleStartOptions(org.pentaho.di.pan.CommandLineOption[] options)voidhelpAbout()voidhelpJobEntry()voidhelpStep()voidhideExpandedContent()voidhideSplash()voidhideToolTips()voidimportDirectoryToRepository()voidimportFileFromXML()Used when importing content from an xml file.voidinit(org.pentaho.di.trans.TransMeta ti)booleanisDefinedSchemaExist(String[] schemaNames)booleanisDisposed()booleanisExecutionResultsPaneVisible()booleanisStopped()booleanisTabsChanged()Check to see if any jobs or transformations are dirtystatic BooleanisUnsupportedBrowserEnvironment()static BooleanisWebkitUnavailable()voidlastFileSelect(String id)voidlastFileSelect(org.pentaho.di.core.LastUsedFile lastUsedFile)voidlastRepoFileSelect(String repo, String id)voidloadLastUsedFile(org.pentaho.di.core.LastUsedFile lastUsedFile, String repositoryName)Loads theLastUsedFileresiding the theRepositorywithrepoName, and "tracks" it by adding it to the "recent" files collection.voidloadLastUsedFileAtStartup(org.pentaho.di.core.LastUsedFile lastUsedFile, String repositoryName)Loads theLastUsedFileresiding the theRepositorywithrepoNamewithout "tracking it" - meaning that it is not explicitly added to the "recent" file collection, since it is expected to already exist in this collections.voidloadObjectFromRepository(String objName, org.pentaho.di.repository.RepositoryObjectType objectType, org.pentaho.di.repository.RepositoryDirectoryInterface repDir, String versionLabel)voidloadObjectFromRepository(org.pentaho.di.repository.ObjectId objectId, org.pentaho.di.repository.RepositoryObjectType objectType, String revision)voidloadPerspective(int pos)voidloadPerspective(String id)voidloadRepositoryObjects(org.pentaho.di.trans.TransMeta transMeta)Deprecated.is this ever used? functionality seems covered in loadSessionInformationvoidloadSettings()static voidmain(String[] a)This is the main procedure for Spoon.StringmakeTabName(org.pentaho.di.core.EngineMetaInterface transMeta, boolean showingLocation)booleanmessageBox(String message, String text, boolean allowCancel, int type)Object[]messageDialogWithToggle(String dialogTitle, Object image, String message, int dialogImageType, String[] buttonLabels, int defaultIndex, String toggleMessage, boolean toggleState)voidmonitorClusterSchema()protected voidmonitorClusterSchema(org.pentaho.di.cluster.ClusterSchema clusterSchema)voidnewClusteringSchema()voidnewClusteringSchema(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 existingvoidnewConnection()voidnewDatabasePartitioningSchema()voidnewFileDropDown()voidnewHop()voidnewHop(org.pentaho.di.trans.TransMeta transMeta)voidnewHop(org.pentaho.di.trans.TransMeta transMeta, org.pentaho.di.trans.step.StepMeta fr, org.pentaho.di.trans.step.StepMeta to)voidnewHop(org.pentaho.di.trans.TransMeta transMeta, org.pentaho.di.trans.TransHopMeta transHopMeta)org.pentaho.di.job.entry.JobEntryCopynewJobEntry(org.pentaho.di.job.JobMeta jobMeta, String typeDesc, boolean openit)voidnewJobFile()voidnewJobHop(org.pentaho.di.job.JobMeta jobMeta, org.pentaho.di.job.entry.JobEntryCopy fr, org.pentaho.di.job.entry.JobEntryCopy to)voidnewPartitioningSchema(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 existingvoidnewSlaveServer()voidnewSlaveServer(org.pentaho.di.trans.HasSlaveServersInterface hasSlaveServersInterface)This creates a slave server, edits it and adds it to the transformation metadatavoidnewStep()org.pentaho.di.trans.step.StepMetanewStep(org.pentaho.di.trans.TransMeta transMeta)org.pentaho.di.trans.step.StepMetanewStep(org.pentaho.di.trans.TransMeta transMeta, boolean openit, boolean rename)org.pentaho.di.trans.step.StepMetanewStep(org.pentaho.di.trans.TransMeta transMeta, String name, String description, boolean openit, boolean rename)Allocate new step, optionally open and rename it.org.pentaho.di.trans.step.StepMetanewStep(org.pentaho.di.trans.TransMeta transMeta, String id, String name, String description, boolean openit, boolean rename)Allocate new step, optionally open and rename it.voidnewTransFile()voidopenFile()voidopenFile(boolean importfile)voidopenFile(String filename, boolean importFile)voidopenFile(String filename, org.pentaho.di.core.variables.VariableSpace variableSpace, boolean importFile)voidopenFileNew()voidopenFileNew(String providerFilter, String fileFilterType, boolean importFile, String command)voidopenFileVFSFile()voidopenFileVFSFileNew()voidopenMarketplace()If available, this method will open the marketplace.voidopenRepository()voidopenSpoon()booleanoverwritePrompt(String message, String rememberText, String rememberPropertyName)voidpaste()voidpasteJob()Paste job from the clipboard...voidpasteTransformation()Paste transformation from the clipboard...voidpasteXML(org.pentaho.di.job.JobMeta jobMeta, String clipContent, org.pentaho.di.core.gui.Point loc)voidpasteXML(org.pentaho.di.trans.TransMeta transMeta, String clipcontent, org.pentaho.di.core.gui.Point loc)booleanperformNewTransHopChecks(org.pentaho.di.trans.TransMeta transMeta, org.pentaho.di.trans.TransHopMeta newHop)voidpreviewFile()voidpreviewTransformation()voidprintFile()booleanpromptForSave()booleanquitFile(boolean canCancel)booleanreadAndDispatch()booleanrecentRepoFileExists(String repo, String indexStr)Returns true if theLastUsedFileat the givenindexwithin thePropsUI.getLastUsedRepoFiles()collection exists within the givenrepoRepository, and false otherwise.voidredoAction()voidredoAction(org.pentaho.di.core.gui.UndoInterface undoInterface)voidrefreshCoreObjects()voidrefreshGraph()voidrefreshTree()Refresh the object selection tree (on the left of the screen)voidrefreshTree(String folderName)voidrefreshTree(org.pentaho.di.base.AbstractMeta abstractMeta)voidremoveMenuItem(String itemid, boolean removeTrailingSeparators)voidremovePropertyChangeListener(PropertyChangeListener listener)ISpoonMenuControllerremoveSpoonMenuController(String menuControllerName)booleanremoveSpoonMenuController(ISpoonMenuController menuController)voidreplayTransformation()org.pentaho.di.job.JobMetaripDB(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)voidripDBWizard()Create a job that extracts tables & data from a database.voidrunFile()voidrunOptionsFile()booleansave(org.pentaho.di.core.EngineMetaInterface meta, String filename, boolean export)booleansaveAsNew()booleansaveAsNew(org.pentaho.di.core.EngineMetaInterface inputMeta, boolean export, String command)booleansaveAsNew(org.pentaho.di.core.EngineMetaInterface meta, boolean export, String providerFilter, String fileFilterType, String command)booleansaveFile()booleansaveFile(boolean export)booleansaveFileAs()booleansaveFileAs(org.pentaho.di.core.EngineMetaInterface meta)booleansaveJobRepository(org.pentaho.di.job.JobMeta jobMeta)booleansaveJobRepository(org.pentaho.di.job.JobMeta jobMeta, boolean ask_name)booleansaveMeta(org.pentaho.di.core.EngineMetaInterface meta, String filename)booleansaveMeta(org.pentaho.di.core.EngineMetaInterface meta, String filename, boolean export)voidsaveSettings()booleansaveToFile(org.pentaho.di.core.EngineMetaInterface meta)booleansaveToFile(org.pentaho.di.core.EngineMetaInterface meta, boolean export)booleansaveToRepository(org.pentaho.di.core.EngineMetaInterface meta)booleansaveToRepository(org.pentaho.di.core.EngineMetaInterface meta, boolean ask_name)booleansaveToRepositoryCheckSecurity(org.pentaho.di.core.EngineMetaInterface meta)booleansaveToRepositoryConfirmed(org.pentaho.di.core.EngineMetaInterface meta)booleansaveXMLFile(boolean export, String fileFilterType, String command)booleansaveXMLFile(org.pentaho.di.core.EngineMetaInterface meta, boolean export)booleansaveXMLFile(org.pentaho.di.core.EngineMetaInterface meta, String filename, boolean export)booleansaveXMLFileToVfs()booleansaveXMLFileToVfs(org.pentaho.di.core.EngineMetaInterface meta)voidsearchMetaData()Search the transformation meta-data.protected org.eclipse.swt.widgets.TreeItemsearchMouseOverTreeItem(org.eclipse.swt.widgets.TreeItem[] treeItems, int x, int y)voidsendTransformationXMLToSlaveServer(org.pentaho.di.trans.TransMeta transMeta, org.pentaho.di.trans.TransExecutionConfiguration executionConfiguration)Sends transformation to slave servervoidsetArguments(String[] arguments)voidsetCoreObjectsState(int state)Set the core object state.voidsetData(Object arg0)booleansetDesignMode()voidsetDestroy(boolean destroy)voidsetJobExecutionConfiguration(org.pentaho.di.job.JobExecutionConfiguration jobExecutionConfiguration)voidsetJobMetaVariables(org.pentaho.di.job.JobMeta jobMeta)Set previously defined variables (set variables dialog) on the specified jobvoidsetLastFileOpened(String inLastFileOpened)voidsetLog()voidsetMainToolbarVisible(boolean visible)Hides or shows the main toolbarvoidsetMarketMethod(Method m)Set the method which can open the marketplace.voidsetMenuBarVisible(boolean visible)voidsetMetaStore(org.pentaho.metastore.stores.delegate.DelegatingMetaStore metaStore)voidsetName(String arg0)voidsetParametersAsVariablesInUI(org.pentaho.di.core.parameters.NamedParams namedParameters, org.pentaho.di.core.variables.VariableSpace space)voidsetRepository(org.pentaho.di.repository.Repository rep)voidsetRepositoryName(String repoName)voidsetShellText()voidsetStopped(boolean stopped)voidsetTransDebugExecutionConfiguration(org.pentaho.di.trans.TransExecutionConfiguration debugExecutionConfiguration)voidsetTransExecutionConfiguration(org.pentaho.di.trans.TransExecutionConfiguration executionConfiguration)voidsetTransMetaVariables(org.pentaho.di.trans.TransMeta transMeta)Set previously defined variables (set variables dialog) on the specified transformationvoidsetTransPreviewExecutionConfiguration(org.pentaho.di.trans.TransExecutionConfiguration previewExecutionConfiguration)voidsetUndoMenu(org.pentaho.di.core.gui.UndoInterface undoInterface)Sets the text and enabled settings for the undo and redo menu itemsvoidsetVariables()booleansetViewMode()voidsetXulDomContainer(org.pentaho.ui.xul.XulDomContainer arg0)voidshareObject(String id)protected voidshareObject(org.pentaho.di.shared.SharedObjectInterface sharedObject)voidshowArguments()voidshowAuthenticationOptions()voidshowDocumentMap()voidshowExecutionResults()voidshowExpandedContent()voidshowLastImpactAnalyses()voidshowLastImpactAnalyses(org.pentaho.di.trans.TransMeta transMeta)voidshowLastTransCheck()Show the remarks of the last transformation check that was run.voidshowLastTransPreview()voidshowPluginInfo()Show a plugin browservoidshowSelection()If you click in the tree, you might want to show the corresponding window.voidshowVariables()voidshowWelcomePage()voidsleep()voidsortHops()voidsqlConnection()voidstart()voidstart(org.pentaho.di.pan.CommandLineOption[] options)booleantabClose(TabItem item)booleantabClose(TabItem item, boolean force)booleantabCloseSelected()booleantabCloseSelected(boolean force)voidtabDeselected(TabItem item)voidtabSelected(TabItem item)voidtoClipboard(String clipText)StringtoString()voidundoAction()voidundoAction(org.pentaho.di.core.gui.UndoInterface undoInterface)protected voidunShareObject(org.pentaho.di.shared.SharedObjectInterface sharedObject)voidupdate(org.pentaho.di.core.changed.ChangedFlagInterface o, Object arg)voidupdateTreeForActiveAbstractMetas()voidverifyCopyDistribute(org.pentaho.di.trans.TransMeta transMeta, org.pentaho.di.trans.step.StepMeta fr)voidzoom100Percent()voidzoomIn()voidzoomOut()-
Methods inherited from class org.eclipse.jface.window.ApplicationWindow
addCoolBar, addMenuBar, addStatusLine, addToolBar, canHandleShellCloseEvent, close, configureShell, coolBarChildrenExist, createCoolBarControl, createCoolBarManager, createCoolBarManager2, createMenuManager, createStatusLine, createStatusLineManager, createToolBarControl, createToolBarManager, createToolBarManager2, createTrimWidgets, getCoolBarControl, getCoolBarManager, getCoolBarManager2, getFont, getLayout, getMenuBarManager, getSeperator1, getStatusLineManager, getSymbolicFontName, getToolBarControl, getToolBarManager, getToolBarManager2, run, setStatus, showTopSeperator, toolBarChildrenExist
-
Methods inherited from class org.eclipse.jface.window.Window
constrainShellSize, create, createShell, getConstrainedShellBounds, getContents, getDefaultImage, getDefaultImages, getDefaultOrientation, getInitialLocation, getInitialSize, getParentShell, getReturnCode, getShell, getShellListener, getShellStyle, getWindowManager, handleFontChange, initializeBounds, open, setBlockOnOpen, setDefaultImage, setDefaultImages, setDefaultModalParent, setDefaultOrientation, setExceptionHandler, setParentShell, setReturnCode, setShellStyle, setWindowManager
-
-
-
-
Field Detail
-
CONNECTION
public static final String CONNECTION
- See Also:
- Constant Field Values
-
SPOON_DIALOG_PROMPT_OVERWRITE_FILE
public static final String SPOON_DIALOG_PROMPT_OVERWRITE_FILE
- See Also:
- Constant Field Values
-
MESSAGE
public static final String MESSAGE
- See Also:
- Constant Field Values
-
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
-
XML_TAG_TRANSFORMATION_STEPS
public static final String XML_TAG_TRANSFORMATION_STEPS
- See Also:
- Constant Field Values
-
XML_TAG_JOB_JOB_ENTRIES
public static final String XML_TAG_JOB_JOB_ENTRIES
- See Also:
- Constant Field Values
-
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
-
delegates
public SpoonDelegates delegates
-
variables
public org.pentaho.di.core.RowMetaAndData variables
-
props
public PropsUI props
-
rep
public org.pentaho.di.repository.Repository rep
-
capabilities
public org.pentaho.di.repository.RepositoryCapabilities capabilities
-
DOCUMENTATION_URL
public static final String DOCUMENTATION_URL
-
REFRESH_SELECTION_EXTENSION
public static final String REFRESH_SELECTION_EXTENSION
- See Also:
- Constant Field Values
-
EDIT_SELECTION_EXTENSION
public static final String EDIT_SELECTION_EXTENSION
- See Also:
- Constant Field Values
-
fileExtensionMap
protected Map<String,FileListener> fileExtensionMap
-
lastDirOpened
public String lastDirOpened
We can use this to set a default filter path in the open and save dialogs
-
XUL_FILE_MAIN
public static final String XUL_FILE_MAIN
- See Also:
- Constant Field Values
-
startupPerspective
protected String startupPerspective
-
metaStore
public org.pentaho.metastore.stores.delegate.DelegatingMetaStore metaStore
-
selectionFilter
public org.eclipse.swt.widgets.Text selectionFilter
-
showTrans
public boolean showTrans
-
showJob
public boolean showJob
-
changeSupport
protected PropertyChangeSupport changeSupport
-
-
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()
-
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
-
tabDeselected
public void tabDeselected(TabItem item)
- Specified by:
tabDeselectedin interfaceTabListener
-
tabCloseSelected
public boolean tabCloseSelected()
-
tabCloseSelected
public boolean tabCloseSelected(boolean force)
-
tabClose
public boolean tabClose(TabItem item)
- Specified by:
tabClosein interfaceTabListener
-
tabClose
public boolean tabClose(TabItem item, boolean force)
-
getTabSet
public TabSet getTabSet()
-
tabSelected
public void tabSelected(TabItem item)
- Specified by:
tabSelectedin interfaceTabListener
-
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 metanewHop- 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 metanewHop- 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 ExceptionUsed when importing content from an xml file. We only expect to import the content from local or from a vfs store- Throws:
Exception
-
openFileNew
public void openFileNew(String providerFilter, String fileFilterType, boolean importFile, String command) throws Exception
- 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)
-
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(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()
-
getTreeManager
public TreeManager getTreeManager()
-
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:
getPartitionSchemasNamesin interfacePartitionSchemasProvider- 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:
getPartitionSchemasin interfacePartitionSchemasProvider- 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 stepdescription- Description of the type of stepopenit- 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 stepname- Name of the new stepdescription- Description of the type of stepopenit- 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)
-
removeSpoonMenuController
public ISpoonMenuController removeSpoonMenuController(String menuControllerName)
-
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()
-
getActiveTabitem
public TabItemInterface getActiveTabitem()
-
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:
addUndoPositionin interfaceorg.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.KettleExceptionLoads theLastUsedFileresiding the theRepositorywithrepoNamewithout "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- theLastUsedFilebeing loadedrepositoryName- the name of theRepositorycontaining theLastUsedFile- 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.KettleExceptionLoads theLastUsedFileresiding the theRepositorywithrepoName, and "tracks" it by adding it to the "recent" files collection.- Parameters:
lastUsedFile- theLastUsedFilebeing loadedrepositoryName- the name of theRepositorycontaining theLastUsedFile- Throws:
org.pentaho.di.core.exception.KettleException
-
recentRepoFileExists
public boolean recentRepoFileExists(String repo, String indexStr)
Returns true if theLastUsedFileat the givenindexwithin thePropsUI.getLastUsedRepoFiles()collection exists within the givenrepoRepository, and false otherwise.- Parameters:
repo- theRepositorycontaining the fileindexStr- the String index of the file within the last used repo file collection- Returns:
- true if the
LastUsedFileat the givenindexwithin thePropsUI.getLastUsedRepoFiles()collection exists within the givenrepoRepository, 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)
-
addTransGraph
public void addTransGraph(org.pentaho.di.trans.TransMeta transMeta)
- Specified by:
addTransGraphin interfaceorg.pentaho.di.core.gui.SpoonInterface
-
addJobGraph
public void addJobGraph(org.pentaho.di.job.JobMeta jobMeta)
- Specified by:
addJobGraphin interfaceorg.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:
addSpoonBrowserin interfaceorg.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:
overwritePromptin interfaceorg.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:
messageDialogWithTogglein interfaceorg.pentaho.di.core.gui.SpoonInterface
-
messageBox
public boolean messageBox(String message, String text, boolean allowCancel, int type)
- Specified by:
messageBoxin interfaceorg.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:
updatein interfaceorg.pentaho.di.core.changed.PDIObserver
-
consume
public void consume(org.pentaho.di.core.lifecycle.LifeEventInfo info)
- Specified by:
consumein interfaceorg.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:
addPropertyChangeListenerin interfaceorg.pentaho.ui.xul.XulEventSource
-
addPropertyChangeListener
public void addPropertyChangeListener(String propertyName, PropertyChangeListener listener)
-
removePropertyChangeListener
public void removePropertyChangeListener(PropertyChangeListener listener)
- Specified by:
removePropertyChangeListenerin interfaceorg.pentaho.ui.xul.XulEventSource
-
firePropertyChange
protected void firePropertyChange(String attr, Object previousVal, Object newVal)
-
getData
public Object getData()
- Specified by:
getDatain interfaceorg.pentaho.ui.xul.impl.XulEventHandler
-
getName
public String getName()
- Specified by:
getNamein interfaceorg.pentaho.ui.xul.impl.XulEventHandler
-
getXulDomContainer
public org.pentaho.ui.xul.XulDomContainer getXulDomContainer()
- Specified by:
getXulDomContainerin interfaceorg.pentaho.ui.xul.impl.XulEventHandler
-
setData
public void setData(Object arg0)
- Specified by:
setDatain interfaceorg.pentaho.ui.xul.impl.XulEventHandler
-
setName
public void setName(String arg0)
- Specified by:
setNamein interfaceorg.pentaho.ui.xul.impl.XulEventHandler
-
setXulDomContainer
public void setXulDomContainer(org.pentaho.ui.xul.XulDomContainer arg0)
- Specified by:
setXulDomContainerin interfaceorg.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:
createContentsin classorg.eclipse.jface.window.Window
-
start
public void start()
-
getStartupPerspective
public String getStartupPerspective()
-
getMetaStore
public org.pentaho.metastore.stores.delegate.DelegatingMetaStore getMetaStore()
-
setMetaStore
public void setMetaStore(org.pentaho.metastore.stores.delegate.DelegatingMetaStore metaStore)
-
handleShellCloseEvent
protected void handleShellCloseEvent()
- Overrides:
handleShellCloseEventin classorg.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()
-
-