org.knime.base.node.util.exttool
Class ExtToolStdoutNodeView<T extends ExtToolOutputNodeModel>
java.lang.Object
org.knime.core.node.AbstractNodeView<T>
org.knime.core.node.NodeView<T>
org.knime.base.node.util.exttool.ExtToolOutputNodeView<T>
org.knime.base.node.util.exttool.ExtToolStdoutNodeView<T>
- Type Parameters:
T
- the actual implementation of the abstract node model
- All Implemented Interfaces:
- EventListener, NodeModelWarningListener
public class ExtToolStdoutNodeView<T extends ExtToolOutputNodeModel>
- extends ExtToolOutputNodeView<T>
The view showing the output to standard output. Listens to notifications (see
ViewUpdateNotice
) of type stdout
.
- Author:
- ohl, University of Konstanz
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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ExtToolStdoutNodeView
public ExtToolStdoutNodeView(T nodeModel)
- The constructor.
- Parameters:
nodeModel
- the model associated with this view.
updateModel
protected void updateModel(Object arg)
- This method can be overridden by views that want to receive
events from their assigned models via the
NodeModel.notifyViews(Object)
method. Can be used to
iteratively update the view during execute.
- Overrides:
updateModel
in class AbstractNodeView<T extends ExtToolOutputNodeModel>
- Parameters:
arg
- The argument that is provided in the
notifyViews method.
getFullFailureOutput
protected Collection<String> getFullFailureOutput()
-
- Specified by:
getFullFailureOutput
in class ExtToolOutputNodeView<T extends ExtToolOutputNodeModel>
- Returns:
- the entire list of strings of a previous failed execution.
getFullOutput
protected Collection<String> getFullOutput()
-
- Specified by:
getFullOutput
in class ExtToolOutputNodeView<T extends ExtToolOutputNodeModel>
- Returns:
- the entire list of strings to display in this view.
getNoOutputText
protected Collection<String> getNoOutputText()
-
- Specified by:
getNoOutputText
in class ExtToolOutputNodeView<T extends ExtToolOutputNodeModel>
- Returns:
- the text that should be displayed if none of the above methods
returned any content.
onOpen
protected void onOpen()
- Invoked when the window has been opened. Register property listeners.
This method is called last on view construction - right before the
components are made visible. It is not called on re-opening.
- Overrides:
onOpen
in class ExtToolOutputNodeView<T extends ExtToolOutputNodeModel>
Copyright, 2003 - 2010. All rights reserved.
University of Konstanz, Germany.
Chair for Bioinformatics and Information Mining, Prof. Dr. Michael R. Berthold.
You may not modify, publish, transmit, transfer or sell, reproduce, create derivative works from, distribute, perform, display,
or in any way exploit any of the content, in whole or in part, except as otherwise expressly permitted in writing by the
copyright owner or as specified in the license file distributed with this product.