|
|
@ -98,15 +98,11 @@ public class PresentHighlightPane extends ConditionAttrSingleConditionPane<Highl |
|
|
|
|
|
|
|
|
|
|
|
public void populate(HighlightAction ha) { |
|
|
|
public void populate(HighlightAction ha) { |
|
|
|
int valueIndex = ((PresentHighlightAction)ha).getValueIndex(); |
|
|
|
int valueIndex = ((PresentHighlightAction)ha).getValueIndex(); |
|
|
|
if(0 == valueIndex) |
|
|
|
Object obj = ((PresentHighlightAction)ha).getValue(); |
|
|
|
{ |
|
|
|
presentComboBox.setSelectedIndex(valueIndex); |
|
|
|
presentComboBox.setSelectedIndex(1); |
|
|
|
if(null != obj) { |
|
|
|
|
|
|
|
this.valueEditor.populate(obj); |
|
|
|
} |
|
|
|
} |
|
|
|
else { |
|
|
|
|
|
|
|
presentComboBox.setSelectedIndex(0); |
|
|
|
|
|
|
|
this.valueEditor.populate(((PresentHighlightAction)ha).getValue()); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public HighlightAction update() { |
|
|
|
public HighlightAction update() { |
|
|
|