Last change
on this file since 297 was 297, checked in by imi, 17 years ago |
- fixed bug that selection listener were informed twice on selection changes
|
File size:
529 bytes
|
Line | |
---|
1 | package org.openstreetmap.josm.actions;
|
---|
2 |
|
---|
3 | import static org.openstreetmap.josm.tools.I18n.tr;
|
---|
4 |
|
---|
5 | import java.awt.event.ActionEvent;
|
---|
6 | import java.awt.event.KeyEvent;
|
---|
7 |
|
---|
8 | import org.openstreetmap.josm.Main;
|
---|
9 |
|
---|
10 | public class UnselectAllAction extends JosmAction {
|
---|
11 |
|
---|
12 | public UnselectAllAction() {
|
---|
13 | super(tr("Unselect All"),"unselectall", tr("Unselect all objects."), KeyEvent.VK_A, KeyEvent.CTRL_DOWN_MASK | KeyEvent.SHIFT_DOWN_MASK, true);
|
---|
14 | }
|
---|
15 |
|
---|
16 | public void actionPerformed(ActionEvent e) {
|
---|
17 | Main.ds.setSelected();
|
---|
18 | }
|
---|
19 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.