T
- requires a NodeModel
implementing WizardNode
as wellREP
- the WebViewContent
implementation used as view representationVAL
- the WebViewContent
implementation used as view valuepublic abstract class AbstractWizardNodeView<T extends NodeModel & WizardNode<REP,VAL>,REP extends WebViewContent,VAL extends WebViewContent> extends AbstractNodeView<T> implements InteractiveView<T,REP,VAL>
Modifier and Type | Class and Description |
---|---|
static class |
AbstractWizardNodeView.WizardNodeViewExtension
Implementation of a WizardNodeView from extension point.
|
m_nodeContext
Modifier | Constructor and Description |
---|---|
protected |
AbstractWizardNodeView(T nodeModel) |
Modifier and Type | Method and Description |
---|---|
protected void |
callCloseView()
Called from
AbstractNodeView.closeView() to close the view and release all
allocated resources. |
boolean |
canReExecute() |
protected abstract void |
closeView()
Called on view close.
|
static List<AbstractWizardNodeView.WizardNodeViewExtension> |
getAllWizardNodeViews()
Queries extension point for additional
AbstractWizardNodeView implementations. |
protected WizardViewCreator<REP,VAL> |
getViewCreator() |
protected File |
getViewSource() |
void |
setWorkflowManagerAndNodeID(WorkflowManager wfm,
NodeID id)
Set access to workflowmanager and node so the view can trigger re-execution.
|
void |
triggerReExecution(VAL value,
boolean useAsNewDefault,
ReexecutionCallback callback)
Re-Execute underlying node.
|
callOpenView, callOpenView, getLogger, getNodeModel, modelChanged, updateModel
protected AbstractWizardNodeView(T nodeModel)
nodeModel
- public void setWorkflowManagerAndNodeID(WorkflowManager wfm, NodeID id)
InteractiveView
setWorkflowManagerAndNodeID
in interface InteractiveView<T extends NodeModel & WizardNode<REP,VAL>,REP extends WebViewContent,VAL extends WebViewContent>
wfm
- the parent WorkflowManagerid
- of the nodepublic boolean canReExecute()
canReExecute
in interface InteractiveView<T extends NodeModel & WizardNode<REP,VAL>,REP extends WebViewContent,VAL extends WebViewContent>
public void triggerReExecution(VAL value, boolean useAsNewDefault, ReexecutionCallback callback)
InteractiveView
triggerReExecution
in interface InteractiveView<T extends NodeModel & WizardNode<REP,VAL>,REP extends WebViewContent,VAL extends WebViewContent>
callback
- Callback for confirm messages and progress information.protected File getViewSource()
protected void callCloseView()
AbstractNodeView.closeView()
to close the view and release all
allocated resources. The view will not be opened again.callCloseView
in class AbstractNodeView<T extends NodeModel & WizardNode<REP,VAL>>
protected WizardViewCreator<REP,VAL> getViewCreator()
protected abstract void closeView()
public static List<AbstractWizardNodeView.WizardNodeViewExtension> getAllWizardNodeViews()
AbstractWizardNodeView
implementations.
KNIME GmbH, Konstanz, Germany
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.