public class ROCNodeFactory extends NodeFactory
NodeFactory.NodeType
Constructor and Description |
---|
ROCNodeFactory() |
Modifier and Type | Method and Description |
---|---|
protected NodeDialogPane |
createNodeDialogPane()
Creates and returns a new node dialog pane, if
NodeFactory.hasDialog()
returns true . |
NodeModel |
createNodeModel()
Creates and returns a new instance of the node's corresponding model.
|
NodeView |
createNodeView(int viewIndex,
NodeModel nodeModel)
Creates and returns a new node view for the given index.
|
protected int |
getNrNodeViews()
Returns the number of views or 0 if no view is available.
|
protected boolean |
hasDialog()
Returns
true if this node provides a dialog to adjust
node specific settings. |
addLoadedFactory, createAbstractNodeView, createNodeDescription, createNodeModel, getDefaultIcon, getIcon, getInportDescription, getInportName, getInteractiveViewName, getLoadedNodeFactories, getNodeName, getNodeViewName, getOutportDescription, getOutportName, getPropertiesInputStream, getType, getViewDescription, getXMLDescription, init, isDeprecated, loadAdditionalFactorySettings, saveAdditionalFactorySettings
protected NodeDialogPane createNodeDialogPane()
NodeFactory.hasDialog()
returns true
.createNodeDialogPane
in class NodeFactory
NodeFactory.hasDialog()
public NodeModel createNodeModel()
createNodeModel
in class NodeFactory
NodeModel
for this node. Never null
!public NodeView createNodeView(int viewIndex, NodeModel nodeModel)
createNodeView
in class NodeFactory
viewIndex
- The index for the view to create.nodeModel
- the underlying modelNodeFactory.getNrNodeViews()
protected int getNrNodeViews()
getNrNodeViews
in class NodeFactory
NodeFactory.createNodeView(int,NodeModel)
protected boolean hasDialog()
true
if this node provides a dialog to adjust
node specific settings.hasDialog
in class NodeFactory
true
if a NodeDialogPane
is
availableNodeFactory.createNodeDialogPane()
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.