public class SpoonBrowser extends Object implements TabItemInterface, org.pentaho.ui.xul.impl.XulEventHandler
Constructor and Description |
---|
SpoonBrowser(org.eclipse.swt.widgets.Composite parent,
Spoon spoon,
String stringUrl,
boolean isURL) |
SpoonBrowser(org.eclipse.swt.widgets.Composite parent,
Spoon spoon,
String stringUrl,
boolean isURL,
boolean showControls,
org.eclipse.swt.browser.LocationListener listener) |
SpoonBrowser(org.eclipse.swt.widgets.Composite parent,
Spoon spoon,
String stringUrl,
boolean isURL,
org.eclipse.swt.browser.LocationListener listener) |
Modifier and Type | Method and Description |
---|---|
void |
addLocationListener(org.eclipse.swt.browser.LocationListener listener) |
boolean |
applyChanges() |
void |
browseBack() |
void |
browseForward() |
boolean |
canBeClosed()
Closes the content behind the tab, de-allocates resources.
|
boolean |
canHandleSave() |
org.eclipse.swt.browser.Browser |
getBrowser() |
ChangedWarningInterface |
getChangedWarning() |
org.eclipse.swt.widgets.Composite |
getComposite() |
Object |
getData() |
Object |
getManagedObject() |
org.pentaho.di.core.EngineMetaInterface |
getMeta() |
String |
getName() |
org.eclipse.swt.widgets.Shell |
getShell() |
Spoon |
getSpoon() |
org.pentaho.ui.xul.XulDomContainer |
getXulDomContainer() |
boolean |
hasContentChanged() |
void |
openFile() |
void |
setComposite(org.eclipse.swt.widgets.Composite composite) |
void |
setControlStates() |
void |
setData(Object data) |
boolean |
setFocus() |
void |
setName(String name) |
void |
setSpoon(Spoon spoon) |
void |
setXulDomContainer(org.pentaho.ui.xul.XulDomContainer xulDomContainer) |
int |
showChangedWarning() |
public SpoonBrowser(org.eclipse.swt.widgets.Composite parent, Spoon spoon, String stringUrl, boolean isURL) throws org.eclipse.swt.SWTError
org.eclipse.swt.SWTError
public SpoonBrowser(org.eclipse.swt.widgets.Composite parent, Spoon spoon, String stringUrl, boolean isURL, org.eclipse.swt.browser.LocationListener listener) throws org.eclipse.swt.SWTError
org.eclipse.swt.SWTError
public void addLocationListener(org.eclipse.swt.browser.LocationListener listener)
public void openFile()
public void browseBack()
public void browseForward()
public org.eclipse.swt.browser.Browser getBrowser()
public org.eclipse.swt.widgets.Shell getShell()
public Spoon getSpoon()
public void setSpoon(Spoon spoon)
spoon
- the spoon to setpublic boolean applyChanges()
applyChanges
in interface TabItemInterface
public boolean canBeClosed()
TabItemInterface
canBeClosed
in interface TabItemInterface
public Object getManagedObject()
getManagedObject
in interface TabItemInterface
public boolean hasContentChanged()
hasContentChanged
in interface TabItemInterface
public int showChangedWarning()
showChangedWarning
in interface TabItemInterface
public org.eclipse.swt.widgets.Composite getComposite()
public void setComposite(org.eclipse.swt.widgets.Composite composite)
composite
- the composite to setpublic org.pentaho.di.core.EngineMetaInterface getMeta()
getMeta
in interface TabItemInterface
public boolean canHandleSave()
canHandleSave
in interface TabItemInterface
public boolean setFocus()
setFocus
in interface TabItemInterface
public Object getData()
getData
in interface org.pentaho.ui.xul.impl.XulEventHandler
public String getName()
getName
in interface org.pentaho.ui.xul.impl.XulEventHandler
public org.pentaho.ui.xul.XulDomContainer getXulDomContainer()
getXulDomContainer
in interface org.pentaho.ui.xul.impl.XulEventHandler
public void setData(Object data)
setData
in interface org.pentaho.ui.xul.impl.XulEventHandler
public void setName(String name)
setName
in interface org.pentaho.ui.xul.impl.XulEventHandler
public void setXulDomContainer(org.pentaho.ui.xul.XulDomContainer xulDomContainer)
setXulDomContainer
in interface org.pentaho.ui.xul.impl.XulEventHandler
public void setControlStates()
setControlStates
in interface TabItemInterface
public ChangedWarningInterface getChangedWarning()
getChangedWarning
in interface TabItemInterface