org.knime.base.node.util.sampledata
Class SampleDataNodeFactory

java.lang.Object
  extended by org.knime.core.node.NodeFactory
      extended by org.knime.base.node.util.sampledata.SampleDataNodeFactory

public class SampleDataNodeFactory
extends NodeFactory

Factory to instantiate new model.

Author:
Bernd Wiswedel, University of Konstanz

Nested Class Summary
 
Nested classes/interfaces inherited from class org.knime.core.node.NodeFactory
NodeFactory.NodeType
 
Constructor Summary
SampleDataNodeFactory()
           
 
Method Summary
 NodeDialogPane createNodeDialogPane()
          Throws exception so far.
 NodeModel createNodeModel()
          Creates and returns a new instance of the node's corresponding model.
 NodeView createNodeView(int viewIndex, NodeModel nodeModel)
          Throws exception as there is no view to create.
 int getNrNodeViews()
          This node has no view.
 boolean hasDialog()
          No Dialog available.
 
Methods inherited from class org.knime.core.node.NodeFactory
addLoadedFactory, createAbstractNodeView, getDefaultIcon, getIcon, getInportDescription, getInportName, getLoadedNodeFactories, getNodeName, getNodeViewName, getOutportDescription, getOutportName, getType, getViewDescription, getXMLDescription
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SampleDataNodeFactory

public SampleDataNodeFactory()
Method Detail

createNodeModel

public NodeModel createNodeModel()
Creates and returns a new instance of the node's corresponding model.

Specified by:
createNodeModel in class NodeFactory
Returns:
A new NodeModel for this node. Never null!

getNrNodeViews

public int getNrNodeViews()
This node has no view.

Specified by:
getNrNodeViews in class NodeFactory
Returns:
number of views available for this node
See Also:
NodeFactory.getNrNodeViews()

createNodeView

public NodeView createNodeView(int viewIndex,
                               NodeModel nodeModel)
Throws exception as there is no view to create.

Specified by:
createNodeView in class NodeFactory
Parameters:
viewIndex - The index for the view to create.
nodeModel - the underlying model
Returns:
a new node view for the given index
See Also:
NodeFactory.createNodeView(int, NodeModel)

createNodeDialogPane

public NodeDialogPane createNodeDialogPane()
Throws exception so far.

Specified by:
createNodeDialogPane in class NodeFactory
Returns:
node dialog pane
See Also:
NodeFactory.createNodeDialogPane()

hasDialog

public boolean hasDialog()
No Dialog available.

Specified by:
hasDialog in class NodeFactory
Returns:
false
See Also:
NodeFactory.createNodeDialogPane()


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.