|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.knime.core.node.AbstractNodeView<T>
org.knime.core.node.NodeView<T>
org.knime.base.node.util.exttool.ExtToolOutputNodeView<T>
T
- the actual implementation of the abstract node modelpublic abstract class ExtToolOutputNodeView<T extends ExtToolOutputNodeModel>
Base class for both output views. Provides a text field and the ability to add a line to this field, or to update the entire field.
Field Summary |
---|
Fields inherited from class org.knime.core.node.NodeView |
---|
COLOR_BACKGROUND, PROP_CHANGE_CLOSE |
Constructor Summary | |
---|---|
ExtToolOutputNodeView(T nodeModel)
The constructor. |
Method Summary | |
---|---|
protected void |
addLineInSwingThreadLater(String s)
adds the specified line (plus \n) to the end of the Textfield. |
protected void |
clearText()
removes all output from the view. |
protected abstract Collection<String> |
getFullFailureOutput()
|
protected abstract Collection<String> |
getFullOutput()
|
protected abstract Collection<String> |
getNoOutputText()
|
protected void |
modelChanged()
This method is called whenever the entire text has changed (like after a reset, load, execute, etc.). |
protected void |
onClose()
Invoked when the window is about to be closed. |
protected void |
onOpen()
Invoked when the window has been opened. |
Methods inherited from class org.knime.core.node.NodeView |
---|
callCloseView, closeView, createFrame, getComponent, getJMenuBar, getViewTitle, isOpen, openViewComponent, setComponent, setShowNODATALabel, setViewTitleSuffix, warningChanged |
Methods inherited from class org.knime.core.node.AbstractNodeView |
---|
getLogger, getNodeModel, updateModel |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ExtToolOutputNodeView(T nodeModel)
nodeModel
- the model associated with this view.Method Detail |
---|
protected void modelChanged()
NodeModel
has
changed. Also the HiLightHandler have changed. Note, the
NodeModel
content may be not available. Be sure to
modify GUI components in the EventDispatchThread only.
modelChanged
in class AbstractNodeView<T extends ExtToolOutputNodeModel>
protected void addLineInSwingThreadLater(String s)
s
- the line to addprotected void clearText()
protected abstract Collection<String> getFullOutput()
protected abstract Collection<String> getFullFailureOutput()
protected abstract Collection<String> getNoOutputText()
protected void onClose()
HiLiteListeners
. Dispose internal members. NodeModel
onClose
in class NodeView<T extends ExtToolOutputNodeModel>
protected void onOpen()
onOpen
in class NodeView<T extends ExtToolOutputNodeModel>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |