public class SpoonTabsDelegate extends SpoonDelegate
log, loggingObject, spoon
Constructor and Description |
---|
SpoonTabsDelegate(Spoon spoon) |
Modifier and Type | Method and Description |
---|---|
boolean |
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) |
TabMapEntry |
findTabForTransformation(TransMeta trans)
Finds the tab for the transformation that matches the metadata provided (either the file must be the same or the
repository id).
|
TabMapEntry |
findTabMapEntry(Object managedObject) |
TabMapEntry |
findTabMapEntry(String tabItemText,
TabMapEntry.ObjectType objectType) |
EngineMetaInterface |
getActiveMeta() |
TabMapEntry |
getTab(TabItem tabItem) |
List<TabMapEntry> |
getTabs() |
String |
makeSlaveTabName(SlaveServer slaveServer) |
String |
makeTabName(EngineMetaInterface transMeta,
boolean showLocation) |
void |
removeTab(TabMapEntry tabMapEntry) |
void |
renameTabs()
Rename the tabs
|
boolean |
tabClose(TabItem item) |
boolean |
tabClose(TabItem item,
boolean force) |
void |
tabSelected(TabItem item) |
getMaxTabLength
public SpoonTabsDelegate(Spoon spoon)
public boolean tabClose(TabItem item) throws KettleException
KettleException
public boolean tabClose(TabItem item, boolean force) throws KettleException
KettleException
public void removeTab(TabMapEntry tabMapEntry)
public List<TabMapEntry> getTabs()
public TabMapEntry getTab(TabItem tabItem)
public EngineMetaInterface getActiveMeta()
public String makeSlaveTabName(SlaveServer slaveServer)
public boolean addSpoonBrowser(String name, String urlString, org.eclipse.swt.browser.LocationListener listener)
public boolean addSpoonBrowser(String name, String urlString, org.eclipse.swt.browser.LocationListener listener, boolean showControls)
public boolean addSpoonBrowser(String name, String urlString, boolean isURL, org.eclipse.swt.browser.LocationListener listener)
public boolean addSpoonBrowser(String name, String urlString, boolean isURL, org.eclipse.swt.browser.LocationListener listener, boolean showControls)
public boolean addSpoonBrowser(String name, String urlString, boolean isURL, org.eclipse.swt.browser.LocationListener listener, Map<String,Runnable> functions, boolean showControls)
public TabMapEntry findTabMapEntry(String tabItemText, TabMapEntry.ObjectType objectType)
public TabMapEntry findTabMapEntry(Object managedObject)
public TabMapEntry findTabForTransformation(TransMeta trans) throws KettleFileException
trans
- Transformation metadata to look fortrans
or null
if no tab exists.KettleFileException
- If there is a problem loading the file object for an open transformation with an invalid a filename.public void renameTabs()
public void addTab(TabMapEntry entry)
public String makeTabName(EngineMetaInterface transMeta, boolean showLocation)
public void tabSelected(TabItem item)
Copyright © 2019 Hitachi Vantara. All rights reserved.