Package org.pentaho.di.ui.spoon
Class SpoonSlave
java.lang.Object
org.eclipse.swt.widgets.Widget
org.eclipse.swt.widgets.Control
org.eclipse.swt.widgets.Scrollable
org.eclipse.swt.widgets.Composite
org.pentaho.di.ui.spoon.SpoonSlave
- All Implemented Interfaces:
org.eclipse.swt.graphics.Drawable,TabItemInterface
SpoonSlave handles the display of the slave server information in a Spoon tab.
- Since:
- 12 nov 2006
- Author:
- Matt
- See Also:
-
Field Summary
FieldsFields inherited from class org.eclipse.swt.widgets.Composite
embeddedHandleFields inherited from class org.eclipse.swt.widgets.Widget
handle -
Constructor Summary
ConstructorsConstructorDescriptionSpoonSlave(org.eclipse.swt.widgets.Composite parent, int style, Spoon spoon, org.pentaho.di.cluster.SlaveServer slaveServer) -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanCloses the content behind the tab, de-allocates resources.booleanprotected voidorg.pentaho.di.core.EngineMetaInterfacegetMeta()booleanprotected voidpause()protected voidprotected voidremove()voidprotected StringintvoidvoidshowLog()Someone clicks on a line: show the log or error message associated with that in the text-boxprotected voidsniff()protected voidstart()protected voidstop()toString()voidtreeItemSelected(org.eclipse.swt.widgets.TreeItem item) Methods inherited from class org.eclipse.swt.widgets.Composite
changed, checkSubclass, drawBackground, getBackgroundMode, getChildren, getLayout, getLayoutDeferred, getTabList, isLayoutDeferred, layout, layout, layout, layout, layout, setBackgroundMode, setFocus, setLayout, setLayoutDeferred, setTabListMethods inherited from class org.eclipse.swt.widgets.Scrollable
computeTrim, getClientArea, getHorizontalBar, getScrollbarsMode, getVerticalBarMethods inherited from class org.eclipse.swt.widgets.Control
addControlListener, addDragDetectListener, addFocusListener, addGestureListener, addHelpListener, addKeyListener, addMenuDetectListener, addMouseListener, addMouseMoveListener, addMouseTrackListener, addMouseWheelListener, addPaintListener, addTouchListener, addTraverseListener, computeSize, computeSize, dragDetect, dragDetect, forceFocus, getAccessible, getBackground, getBackgroundImage, getBorderWidth, getBounds, getCursor, getDragDetect, getEnabled, getFont, getForeground, getLayoutData, getLocation, getMenu, getMonitor, getOrientation, getParent, getRegion, getShell, getSize, getTextDirection, getToolTipText, getTouchEnabled, getVisible, internal_dispose_GC, internal_new_GC, isEnabled, isFocusControl, isReparentable, isVisible, moveAbove, moveBelow, pack, pack, print, redraw, redraw, removeControlListener, removeDragDetectListener, removeFocusListener, removeGestureListener, removeHelpListener, removeKeyListener, removeMenuDetectListener, removeMouseListener, removeMouseMoveListener, removeMouseTrackListener, removeMouseWheelListener, removePaintListener, removeTouchListener, removeTraverseListener, requestLayout, setBackground, setBackgroundImage, setBounds, setBounds, setCapture, setCursor, setDragDetect, setEnabled, setFont, setForeground, setLayoutData, setLocation, setLocation, setMenu, setOrientation, setParent, setRedraw, setRegion, setSize, setSize, setTextDirection, setToolTipText, setTouchEnabled, setVisible, toControl, toControl, toDisplay, toDisplay, traverse, traverse, traverse, updateMethods inherited from class org.eclipse.swt.widgets.Widget
addDisposeListener, addListener, checkWidget, dispose, getData, getData, getDisplay, getListeners, getStyle, isAutoDirection, isDisposed, isListening, notifyListeners, removeDisposeListener, removeListener, removeListener, reskin, setData, setDataMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.pentaho.di.ui.spoon.TabItemInterface
setFocus
-
Field Details
-
UPDATE_TIME_VIEW
public static final long UPDATE_TIME_VIEW -
STRING_SLAVE_LOG_TREE_NAME
- See Also:
-
-
Constructor Details
-
SpoonSlave
public SpoonSlave(org.eclipse.swt.widgets.Composite parent, int style, Spoon spoon, org.pentaho.di.cluster.SlaveServer slaveServer)
-
-
Method Details
-
treeItemSelected
public void treeItemSelected(org.eclipse.swt.widgets.TreeItem item) -
enableButtons
protected void enableButtons() -
refreshViewAndLog
protected void refreshViewAndLog() -
canBeClosed
public boolean canBeClosed()Description copied from interface:TabItemInterfaceCloses the content behind the tab, de-allocates resources.- Specified by:
canBeClosedin interfaceTabItemInterface- 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 -
start
protected void start() -
stop
protected void stop() -
remove
protected void remove() -
pause
protected void pause() -
setExceptionMessage
-
showErrors
public void showErrors() -
toString
- Overrides:
toStringin classorg.eclipse.swt.widgets.Widget
-
getManagedObject
- Specified by:
getManagedObjectin interfaceTabItemInterface
-
hasContentChanged
public boolean hasContentChanged()- Specified by:
hasContentChangedin interfaceTabItemInterface
-
applyChanges
public boolean applyChanges()- Specified by:
applyChangesin interfaceTabItemInterface
-
showChangedWarning
public int showChangedWarning()- Specified by:
showChangedWarningin interfaceTabItemInterface
-
getMeta
public org.pentaho.di.core.EngineMetaInterface getMeta()- Specified by:
getMetain interfaceTabItemInterface
-
setControlStates
public void setControlStates()- Specified by:
setControlStatesin interfaceTabItemInterface
-
canHandleSave
public boolean canHandleSave()- Specified by:
canHandleSavein interfaceTabItemInterface
-
sniff
protected void sniff() -
getChangedWarning
- Specified by:
getChangedWarningin interfaceTabItemInterface
-