use of org.gephi.ui.utils.ColumnTitleValidator in project gephi by gephi.
the class AddColumnUI method createValidationPanel.
public static ValidationPanel createValidationPanel(AddColumnUI innerPanel) {
ValidationPanel validationPanel = new ValidationPanel();
if (innerPanel == null) {
innerPanel = new AddColumnUI();
}
validationPanel.setInnerComponent(innerPanel);
ValidationGroup group = validationPanel.getValidationGroup();
group.add(innerPanel.titleTextField, new ColumnTitleValidator(innerPanel.table));
return validationPanel;
}
use of org.gephi.ui.utils.ColumnTitleValidator in project gephi-plugins-bootcamp by gephi.
the class EqualValuesMergeStrategyUI method getSettingsPanel.
@Override
public JPanel getSettingsPanel() {
//Create a validation panel:
ValidationPanel validationPanel = new ValidationPanel();
validationPanel.setInnerComponent(this);
ValidationGroup group = validationPanel.getValidationGroup();
//ColumnTitleValidator is in UI utils module
group.add(titleTextField, new ColumnTitleValidator(table));
return validationPanel;
}
use of org.gephi.ui.utils.ColumnTitleValidator in project gephi by gephi.
the class GeneralColumnTitleChooserUI method getSettingsPanel.
@Override
public JPanel getSettingsPanel() {
ValidationPanel validationPanel = new ValidationPanel();
validationPanel.setInnerComponent(this);
ValidationGroup group = validationPanel.getValidationGroup();
group.add(titleTextField, new ColumnTitleValidator(table));
return validationPanel;
}
use of org.gephi.ui.utils.ColumnTitleValidator in project gephi by gephi.
the class DuplicateColumnUI method getSettingsPanel.
@Override
public JPanel getSettingsPanel() {
ValidationPanel validationPanel = new ValidationPanel();
validationPanel.setInnerComponent(this);
ValidationGroup group = validationPanel.getValidationGroup();
group.add(titleTextField, new ColumnTitleValidator(table));
return validationPanel;
}
use of org.gephi.ui.utils.ColumnTitleValidator in project gephi by gephi.
the class GeneralCreateColumnFromRegexUI method getSettingsPanel.
@Override
public JPanel getSettingsPanel() {
ValidationPanel validationPanel = new ValidationPanel();
validationPanel.setInnerComponent(this);
ValidationGroup group = validationPanel.getValidationGroup();
group.add(titleTextField, new ColumnTitleValidator(table));
return validationPanel;
}
Aggregations