public class SpoonBrowser extends Object implements TabItemInterface, org.pentaho.ui.xul.impl.XulEventHandler
Modifier and Type | Field and Description |
---|---|
protected org.eclipse.swt.browser.Browser |
browser |
protected org.eclipse.swt.widgets.Composite |
composite |
protected org.eclipse.swt.widgets.Shell |
shell |
protected Spoon |
spoon |
protected org.pentaho.ui.xul.containers.XulToolbar |
toolbar |
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) |
protected void |
addToolBar() |
boolean |
applyChanges() |
void |
browseBack() |
void |
browseForward() |
boolean |
canBeClosed()
Closes the content behind the tab, de-allocates resources.
|
boolean |
canHandleSave() |
protected org.eclipse.swt.browser.Browser |
createBrowser() |
org.eclipse.swt.browser.Browser |
getBrowser() |
ChangedWarningInterface |
getChangedWarning() |
org.eclipse.swt.widgets.Composite |
getComposite() |
Object |
getData() |
Object |
getManagedObject() |
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() |
protected org.eclipse.swt.widgets.Shell shell
protected Spoon spoon
protected org.eclipse.swt.widgets.Composite composite
protected org.pentaho.ui.xul.containers.XulToolbar toolbar
protected org.eclipse.swt.browser.Browser browser
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
protected org.eclipse.swt.browser.Browser createBrowser()
public void addLocationListener(org.eclipse.swt.browser.LocationListener listener)
protected void addToolBar()
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 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
Copyright © 2019 Hitachi Vantara. All rights reserved.