public class SpoonSlave extends org.eclipse.swt.widgets.Composite implements TabItemInterface
Spoon
Modifier and Type | Field and Description |
---|---|
static String |
STRING_SLAVE_LOG_TREE_NAME |
static long |
UPDATE_TIME_VIEW |
Constructor and Description |
---|
SpoonSlave(org.eclipse.swt.widgets.Composite parent,
int style,
Spoon spoon,
SlaveServer slaveServer) |
Modifier and Type | Method and Description |
---|---|
boolean |
applyChanges() |
boolean |
canBeClosed()
Closes the content behind the tab, de-allocates resources.
|
boolean |
canHandleSave() |
protected void |
enableButtons() |
ChangedWarningInterface |
getChangedWarning() |
Object |
getManagedObject() |
EngineMetaInterface |
getMeta() |
boolean |
hasContentChanged() |
protected void |
pause() |
protected void |
refreshViewAndLog() |
protected void |
remove() |
void |
setControlStates() |
protected String |
setExceptionMessage(Exception e) |
int |
showChangedWarning() |
void |
showErrors() |
void |
showLog()
Someone clicks on a line: show the log or error message associated with that in the text-box
|
protected void |
sniff() |
protected void |
start() |
protected void |
stop() |
String |
toString() |
void |
treeItemSelected(org.eclipse.swt.widgets.TreeItem item) |
changed, checkSubclass, drawBackground, getBackgroundMode, getChildren, getLayout, getLayoutDeferred, getTabList, isLayoutDeferred, layout, layout, layout, layout, layout, setBackgroundMode, setFocus, setLayout, setLayoutDeferred, setTabList
computeTrim, getClientArea, getHorizontalBar, getScrollbarsMode, getVerticalBar
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, update
addDisposeListener, addListener, checkWidget, dispose, getData, getData, getDisplay, getListeners, getStyle, isAutoDirection, isDisposed, isListening, notifyListeners, removeDisposeListener, removeListener, removeListener, reskin, setData, setData
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
setFocus
public static final long UPDATE_TIME_VIEW
public static final String STRING_SLAVE_LOG_TREE_NAME
public SpoonSlave(org.eclipse.swt.widgets.Composite parent, int style, Spoon spoon, SlaveServer slaveServer)
public void treeItemSelected(org.eclipse.swt.widgets.TreeItem item)
protected void enableButtons()
protected void refreshViewAndLog()
public boolean canBeClosed()
TabItemInterface
canBeClosed
in interface TabItemInterface
public void showLog()
protected void start()
protected void stop()
protected void remove()
protected void pause()
public void showErrors()
public String toString()
toString
in class org.eclipse.swt.widgets.Widget
public Object getManagedObject()
getManagedObject
in interface TabItemInterface
public boolean hasContentChanged()
hasContentChanged
in interface TabItemInterface
public boolean applyChanges()
applyChanges
in interface TabItemInterface
public int showChangedWarning()
showChangedWarning
in interface TabItemInterface
public EngineMetaInterface getMeta()
getMeta
in interface TabItemInterface
public void setControlStates()
setControlStates
in interface TabItemInterface
public boolean canHandleSave()
canHandleSave
in interface TabItemInterface
protected void sniff()
public ChangedWarningInterface getChangedWarning()
getChangedWarning
in interface TabItemInterface
Copyright © 2019 Hitachi Vantara. All rights reserved.