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, saveAdditionalFactorySettingsprotected NodeDialogPane createNodeDialogPane()
NodeFactory.hasDialog()
returns true.createNodeDialogPane in class NodeFactoryNodeFactory.hasDialog()public NodeModel createNodeModel()
createNodeModel in class NodeFactoryNodeModel for this node. Never null!public NodeView createNodeView(int viewIndex, NodeModel nodeModel)
createNodeView in class NodeFactoryviewIndex - The index for the view to create.nodeModel - the underlying modelNodeFactory.getNrNodeViews()protected int getNrNodeViews()
getNrNodeViews in class NodeFactoryNodeFactory.createNodeView(int,NodeModel)protected boolean hasDialog()
true if this node provides a dialog to adjust
node specific settings.hasDialog in class NodeFactorytrue 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.