@Override public void setup( AttributeColumnsManipulator m, GraphModel graphModel, Table table, Column column, DialogControls dialogControls) { this.table = table; this.dialogControls = dialogControls; this.manipulator = (ConvertColumnToDynamic) m; buildValidationPanel(); descriptionLabel.setText( NbBundle.getMessage( ConvertColumnToDynamicTimestampsUI.class, "ConvertColumnToDynamicUI.descriptionLabel.text", column.getTitle())); titleTextField.setText( NbBundle.getMessage( ConvertColumnToDynamicTimestampsUI.class, "ConvertColumnToDynamicUI.new.title", column.getTitle())); refreshTitleEnabledState(); }
public ColumnEstimator(Column column) { this.column = column; this.comboBox = new JComboBox(); this.label = new JLabel(column.getTitle()); initAvailableEstimators(); Estimator currentEstimator = column.getEstimator(); comboBox.setSelectedItem(new EstimatorWrapper(currentEstimator)); }