use of org.knime.core.node.defaultnodesettings.DialogComponentColumnFilter2 in project knime-core by knime.
the class NumericOutliersNodeDialogPane method createOutlierSelectionDialog.
/**
* Creates the outlier selection dialog.
*
* @return the outlier selection dialog
*/
private JPanel createOutlierSelectionDialog() {
final JPanel panel = new JPanel(new GridBagLayout());
final GridBagConstraints gbc = new GridBagConstraints();
gbc.anchor = GridBagConstraints.LINE_START;
gbc.gridx = 0;
gbc.gridy = 0;
gbc.weightx = 1.0;
gbc.weighty = 1.0;
gbc.fill = GridBagConstraints.BOTH;
// add the outlier selection dialog
m_outlierDialog = new DialogComponentColumnFilter2(NumericOutliersNodeModel.createOutlierFilterModel(), 0);
panel.add(m_outlierDialog.getComponentPanel(), gbc);
return panel;
}
use of org.knime.core.node.defaultnodesettings.DialogComponentColumnFilter2 in project knime-core by knime.
the class NumericOutliersNodeDialogPane method getGroupSelectionPanel.
/**
* Creates the groups selection panel.
*
* @return the group selection dialog
*/
private JPanel getGroupSelectionPanel() {
final JPanel panel = new JPanel(new GridBagLayout());
final GridBagConstraints gbc = new GridBagConstraints();
gbc.anchor = GridBagConstraints.LINE_START;
gbc.gridx = 0;
gbc.gridy = 0;
gbc.weightx = 1.0;
// add panel border
panel.setBorder(BorderFactory.createTitledBorder(BorderFactory.createEtchedBorder(), GROUP_SELECTION_BORDER_TITLE));
// add apply to groups selection dialog
m_useGroupsDialog = new DialogComponentBoolean(NumericOutliersNodeModel.createUseGroupsModel(), APPLY_TO_GROUPS);
panel.add(m_useGroupsDialog.getComponentPanel(), gbc);
gbc.insets = INSET;
++gbc.gridy;
gbc.weighty = 1.0;
gbc.fill = GridBagConstraints.BOTH;
m_groupsDialog = new DialogComponentColumnFilter2(NumericOutliersNodeModel.createGroupFilterModel(), 0);
panel.add(m_groupsDialog.getComponentPanel(), gbc);
return panel;
}
Aggregations