|
@@ -49,12 +49,10 @@ import net.miginfocom.swing.MigLayout;
|
49
|
49
|
public class ActionConditionsTreePanel extends JPanel implements ActionListener,
|
50
|
50
|
PropertyChangeListener, DocumentListener {
|
51
|
51
|
|
52
|
|
- /**
|
53
|
|
- * A version number for this class. It should be changed whenever the class structure is changed
|
54
|
|
- * (or anything else that would prevent serialized objects being unserialized with the new
|
55
|
|
- * class).
|
56
|
|
- */
|
|
52
|
+ /** A version number for this class. */
|
57
|
53
|
private static final long serialVersionUID = 1;
|
|
54
|
+ /** Icon manager. */
|
|
55
|
+ private final IconManager iconManager;
|
58
|
56
|
/** Button group. */
|
59
|
57
|
private ButtonGroup group;
|
60
|
58
|
/** All triggers button. */
|
|
@@ -73,8 +71,6 @@ public class ActionConditionsTreePanel extends JPanel implements ActionListener,
|
73
|
71
|
private ConditionRuleValidator treeValidator;
|
74
|
72
|
/** validates. */
|
75
|
73
|
private boolean validates = true;
|
76
|
|
- /** Icon manager. */
|
77
|
|
- private IconManager iconManager;
|
78
|
74
|
|
79
|
75
|
/**
|
80
|
76
|
* Instantiates the panel.
|
|
@@ -139,6 +135,11 @@ public class ActionConditionsTreePanel extends JPanel implements ActionListener,
|
139
|
135
|
}
|
140
|
136
|
|
141
|
137
|
switch (type) {
|
|
138
|
+ case CONJUNCTION:
|
|
139
|
+ allButton.setSelected(true);
|
|
140
|
+ rule.setText("");
|
|
141
|
+ rule.setEnabled(false);
|
|
142
|
+ break;
|
142
|
143
|
case DISJUNCTION:
|
143
|
144
|
oneButton.setSelected(true);
|
144
|
145
|
rule.setText("");
|