use of org.gephi.ui.utils.ColumnTitleValidator in project gephi by gephi.
the class BooleanLogicOperationsUI 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 JoinWithSeparatorUI 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 ConvertColumnToDynamicTimestampsUI method buildValidationPanel.
private void buildValidationPanel() {
validationPanel = new ValidationPanel();
validationPanel.setInnerComponent(this);
ValidationGroup group = validationPanel.getValidationGroup();
group.add(titleTextField, new ColumnTitleValidator(table));
group.add(timestampText, new IntervalBoundValidator());
validationPanel.addChangeListener(new ChangeListener() {
@Override
public void stateChanged(ChangeEvent e) {
dialogControls.setOkButtonEnabled(!validationPanel.isProblem());
}
});
}
use of org.gephi.ui.utils.ColumnTitleValidator in project gephi by gephi.
the class ConvertColumnToDynamicUI method buildValidationPanel.
private void buildValidationPanel() {
validationPanel = new ValidationPanel();
validationPanel.setInnerComponent(this);
ValidationGroup group = validationPanel.getValidationGroup();
group.add(titleTextField, new ColumnTitleValidator(table));
group.add(intervalStartText, new IntervalBoundValidator());
group.add(intervalEndText, new IntervalBoundValidator(intervalStartText));
validationPanel.addChangeListener(new ChangeListener() {
@Override
public void stateChanged(ChangeEvent e) {
dialogControls.setOkButtonEnabled(!validationPanel.isProblem());
}
});
}
Aggregations