Class SpoonTabsDelegate
java.lang.Object
org.pentaho.di.ui.spoon.delegates.SpoonDelegate
org.pentaho.di.ui.spoon.delegates.SpoonTabsDelegate
-
Field Summary
Fields inherited from class org.pentaho.di.ui.spoon.delegates.SpoonDelegate
log, loggingObject, spoon
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
addSpoonBrowser
(String name, String urlString) boolean
addSpoonBrowser
(String name, String urlString, boolean showControls) boolean
addSpoonBrowser
(String name, String urlString, boolean isURL, org.eclipse.swt.browser.LocationListener listener) boolean
addSpoonBrowser
(String name, String urlString, boolean isURL, org.eclipse.swt.browser.LocationListener listener, boolean showControls) boolean
addSpoonBrowser
(String name, String urlString, boolean isURL, org.eclipse.swt.browser.LocationListener listener, Map<String, Runnable> functions, boolean showControls) boolean
addSpoonBrowser
(String name, String urlString, org.eclipse.swt.browser.LocationListener listener) boolean
addSpoonBrowser
(String name, String urlString, org.eclipse.swt.browser.LocationListener listener, boolean showControls) void
addTab
(TabMapEntry entry) findTabForTransformation
(org.pentaho.di.trans.TransMeta trans) Finds the tab for the transformation that matches the metadata provided (either the file must be the same or the repository id).findTabMapEntry
(Object managedObject) findTabMapEntry
(String tabItemText, TabMapEntry.ObjectType objectType) org.pentaho.di.core.EngineMetaInterface
getTabs()
makeSlaveTabName
(org.pentaho.di.cluster.SlaveServer slaveServer) makeTabName
(org.pentaho.di.core.EngineMetaInterface transMeta, boolean showLocation) void
removeTab
(TabMapEntry tabMapEntry) void
Rename the tabsboolean
boolean
void
tabSelected
(TabItem item) Methods inherited from class org.pentaho.di.ui.spoon.delegates.SpoonDelegate
getMaxTabLength
-
Constructor Details
-
SpoonTabsDelegate
-
-
Method Details
-
tabClose
- Throws:
org.pentaho.di.core.exception.KettleException
-
tabClose
public boolean tabClose(TabItem item, boolean force) throws org.pentaho.di.core.exception.KettleException - Throws:
org.pentaho.di.core.exception.KettleException
-
removeTab
-
getTabs
-
getTab
-
getActiveMeta
public org.pentaho.di.core.EngineMetaInterface getActiveMeta() -
makeSlaveTabName
-
addSpoonBrowser
-
addSpoonBrowser
-
addSpoonBrowser
-
addSpoonBrowser
-
addSpoonBrowser
-
addSpoonBrowser
-
addSpoonBrowser
-
findTabMapEntry
-
findTabMapEntry
-
findTabForTransformation
public TabMapEntry findTabForTransformation(org.pentaho.di.trans.TransMeta trans) throws org.pentaho.di.core.exception.KettleFileException Finds the tab for the transformation that matches the metadata provided (either the file must be the same or the repository id).- Parameters:
trans
- Transformation metadata to look for- Returns:
- Tab with transformation open whose metadata matches
trans
ornull
if no tab exists. - Throws:
org.pentaho.di.core.exception.KettleFileException
- If there is a problem loading the file object for an open transformation with an invalid a filename.
-
renameTabs
public void renameTabs()Rename the tabs -
addTab
-
makeTabName
-
tabSelected
-