T - any subclass of NodeModelpublic abstract class ContextAwareNodeFactory<T extends NodeModel> extends NodeFactory<T>
NodeFactory is used in order to create a new node
in a certain context. Implementors who wish that their nodes can be used in a
context (e.g. when a file is dropped onto the workflow editor) should extend
this class instead of NodeFactory and register the factory in the
plugin.xml (in addition to the normal registration).NodeFactory.NodeType| Constructor and Description |
|---|
ContextAwareNodeFactory() |
| Modifier and Type | Method and Description |
|---|---|
abstract T |
createNodeModel(NodeCreationContext context)
Creates a new node model.
|
addLoadedFactory, callCreateNodeModel, createAbstractNodeView, createNodeDescription, createNodeDialogPane, createNodeModel, createNodeView, getDefaultIcon, getIcon, getInportDescription, getInportName, getInteractiveViewName, getLoadedNodeFactories, getNodeName, getNodeViewName, getNrNodeViews, getOutportDescription, getOutportName, getPropertiesInputStream, getType, getViewDescription, getXMLDescription, hasDialog, init, isDeprecated, loadAdditionalFactorySettings, saveAdditionalFactorySettings, setIsDeprecatedpublic abstract T createNodeModel(NodeCreationContext context)
createNodeModel in class NodeFactory<T extends NodeModel>context - the context in which the node should be created
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.