|
|
@ -82,6 +82,10 @@ public abstract class AbstractCustomFieldComboBoxPane<T> extends BasicBeanPane<T |
|
|
|
return false; |
|
|
|
return false; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
protected boolean seriesComboBoxHasNone() { |
|
|
|
|
|
|
|
return false; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public void checkBoxUse(boolean hasUse) { |
|
|
|
public void checkBoxUse(boolean hasUse) { |
|
|
|
nameOrValue.setEnabled(hasUse); |
|
|
|
nameOrValue.setEnabled(hasUse); |
|
|
|
useFieldValuePane.checkBoxUse(hasUse); |
|
|
|
useFieldValuePane.checkBoxUse(hasUse); |
|
|
@ -147,8 +151,7 @@ public abstract class AbstractCustomFieldComboBoxPane<T> extends BasicBeanPane<T |
|
|
|
|
|
|
|
|
|
|
|
private void initComponents() { |
|
|
|
private void initComponents() { |
|
|
|
|
|
|
|
|
|
|
|
series = new UIComboBox(); |
|
|
|
series = seriesComboBoxHasNone() ? new UIComboBoxWithNone() : new UIComboBox(); |
|
|
|
|
|
|
|
|
|
|
|
value = valueComboBoxHasNone() ? new UIComboBoxWithNone() : new UIComboBox(); |
|
|
|
value = valueComboBoxHasNone() ? new UIComboBoxWithNone() : new UIComboBox(); |
|
|
|
value.addItemListener(new ItemListener() { |
|
|
|
value.addItemListener(new ItemListener() { |
|
|
|
@Override |
|
|
|
@Override |
|
|
|