use of org.knime.core.node.defaultnodesettings.DefaultNodeSettingsPane in project knime-core by knime.
the class DecTreePredictorNodeFactory method createNodeDialogPane.
/**
* {@inheritDoc}
*/
@Override
public NodeDialogPane createNodeDialogPane() {
return new DefaultNodeSettingsPane() {
{
addDialogComponent(new DialogComponentNumber(DecTreePredictorNodeModel.createMaxNumPatternSettings(), /* label: */
"Maximum number of stored patterns " + "for HiLite-ing: ", 100));
addDialogComponent(new DialogComponentBoolean(new SettingsModelBoolean(DecTreePredictorNodeModel.SHOW_DISTRIBUTION, false), "Append columns with normalized class distribution"));
}
};
}
Aggregations