NodeModel Intro

A NodeModel is created with the following constructor, which defines the number of in- and out-ports:

	public MyNodeModel() {
    // creates a node with 2 inports and 1 outport
    super(2, 1);
}

The functionality of a specific node implementation is defined by the following methods:

  1. configure(DataTableSpec[])
  2. execute(BufferedDataTable[], ExecutionContext
  3. loadInternals(File, ExecutionMonitor)
  4. loadValidatedSettingsFrom(NodeSettingsRO)
  5. notifyViews(Object)
  6. reset()
  7. saveInternals(File, ExecutionMonitor)
  8. saveSettingsTo(NodeSettingsWO)
  9. setWarningMessage(String)
  10. validateSettings(NodeSettingsRO)