Revision 42001 trunk/org.gvsig.desktop/org.gvsig.desktop.framework/org.gvsig.andami/src/main/java/org/gvsig/andami/ui/mdiFrame/DropDownButton.java
DropDownButton.java | ||
---|---|---|
34 | 34 |
|
35 | 35 |
this.dropDownButton = new BasicArrowButton(SwingConstants.SOUTH); |
36 | 36 |
dropDownButton.addActionListener(new ActionListener() { |
37 |
@Override |
|
38 | 37 |
public void actionPerformed(ActionEvent ae) { |
39 | 38 |
doToggleDropDownMenu(); |
40 | 39 |
} |
... | ... | |
89 | 88 |
return true; |
90 | 89 |
} |
91 | 90 |
|
92 |
|
|
91 |
|
|
93 | 92 |
public boolean isAllDisabled() { |
94 | 93 |
this.mainButton.setEnabled(this.currentAction.isEnabled()); |
95 | 94 |
for (Action action : actions) { |
... | ... | |
98 | 97 |
} |
99 | 98 |
} |
100 | 99 |
return true; |
101 |
}
|
|
100 |
} |
|
102 | 101 |
|
103 | 102 |
private void createDropDownMenu() { |
104 | 103 |
this.dropDownMenu = null; |
Also available in: Unified diff