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:
- configure(DataTableSpec[])
- execute(BufferedDataTable[], ExecutionContext
- loadInternals(File, ExecutionMonitor)
- loadValidatedSettingsFrom(NodeSettingsRO)
- notifyViews(Object)
- reset()
- saveInternals(File, ExecutionMonitor)
- saveSettingsTo(NodeSettingsWO)
- setWarningMessage(String)
- validateSettings(NodeSettingsRO)