org.pentaho.di.ui.spoon
Class SpoonSlave
java.lang.Object
Composite
org.pentaho.di.ui.spoon.SpoonSlave
- All Implemented Interfaces:
- TabItemInterface
public class SpoonSlave
- extends Composite
- implements TabItemInterface
SpoonSlave handles the display of the slave server information in a Spoon tab.
- Since:
- 12 nov 2006
- Author:
- Matt
- See Also:
org.pentaho.di.spoon.Spoon
UPDATE_TIME_VIEW
public static final long UPDATE_TIME_VIEW
- See Also:
- Constant Field Values
STRING_SLAVE_LOG_TREE_NAME
public static final String STRING_SLAVE_LOG_TREE_NAME
- See Also:
- Constant Field Values
SpoonSlave
public SpoonSlave(Composite parent,
int style,
Spoon spoon,
SlaveServer slaveServer)
treeItemSelected
public void treeItemSelected(TreeItem item)
canBeClosed
public boolean canBeClosed()
- Description copied from interface:
TabItemInterface
- Closes the content behind the tab, de-allocates resources.
- Specified by:
canBeClosed
in interface TabItemInterface
- Returns:
- true if the tab was closed, false if it was prevented by the user. (are you sure dialog)
showLog
public void showLog()
- Someone clicks on a line: show the log or error message associated with that in the text-box
showErrors
public void showErrors()
toString
public String toString()
getManagedObject
public Object getManagedObject()
- Specified by:
getManagedObject
in interface TabItemInterface
hasContentChanged
public boolean hasContentChanged()
- Specified by:
hasContentChanged
in interface TabItemInterface
applyChanges
public boolean applyChanges()
- Specified by:
applyChanges
in interface TabItemInterface
showChangedWarning
public int showChangedWarning()
- Specified by:
showChangedWarning
in interface TabItemInterface
getMeta
public EngineMetaInterface getMeta()
- Specified by:
getMeta
in interface TabItemInterface
setControlStates
public void setControlStates()
- Specified by:
setControlStates
in interface TabItemInterface
canHandleSave
public boolean canHandleSave()
- Specified by:
canHandleSave
in interface TabItemInterface
getChangedWarning
public ChangedWarningInterface getChangedWarning()
- Specified by:
getChangedWarning
in interface TabItemInterface