|
|
|
@ -46,8 +46,9 @@ public class ColSelectedWithSummaryMethodEditor extends Editor<DSColumnWithSumma
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
private static void refreshComboBoxModel(String[] columnNames) { |
|
|
|
|
columnNameComboBoxModel.removeAllElements(); |
|
|
|
|
summaryMethodComboBoxModel.removeAllElements(); |
|
|
|
|
if (columnNames != null) { |
|
|
|
|
columnNameComboBoxModel.removeAllElements(); |
|
|
|
|
for (String columnName : columnNames) { |
|
|
|
|
columnNameComboBoxModel.addElement(columnName); |
|
|
|
|
} |
|
|
|
@ -56,9 +57,6 @@ public class ColSelectedWithSummaryMethodEditor extends Editor<DSColumnWithSumma
|
|
|
|
|
} |
|
|
|
|
columnNameComboBoxModel.setSelectedItem(null); |
|
|
|
|
summaryMethodComboBoxModel.setSelectedItem(null); |
|
|
|
|
} else { |
|
|
|
|
columnNameComboBoxModel.removeAllElements(); |
|
|
|
|
summaryMethodComboBoxModel.removeAllElements(); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|