Changeset 28368 in osm for applications/editors
- Timestamp:
- 2012-04-29T20:08:59+02:00 (13 years ago)
- Location:
- applications/editors/josm/plugins/tageditor
- Files:
-
- 2 added
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/tageditor/src/org/openstreetmap/josm/plugins/tageditor/LaunchAction.java
r27869 r28368 7 7 import java.util.Collection; 8 8 9 import javax.swing.JMenu;10 import javax.swing.JMenuBar;11 import javax.swing.JMenuItem;12 import javax.swing.KeyStroke;13 14 import org.openstreetmap.josm.Main;15 9 import org.openstreetmap.josm.actions.JosmAction; 16 10 import org.openstreetmap.josm.data.SelectionChangedListener; … … 24 18 super( 25 19 tr("Edit tags"), 26 null, //TODO: set "tag-editor" and add /images/tag-editor.png to distrib 20 (String)null, //TODO: set "tag-editor" and add /images/tag-editor.png to distrib 27 21 tr("Launches the tag editor dialog"), 28 22 Shortcut.registerShortcut("edit:launchtageditor", tr("Launches the tag editor dialog"), … … 45 39 } 46 40 47 public void actionPerformed(ActionEvent e) { 41 @Override 42 public void actionPerformed(ActionEvent e) { 48 43 launchEditor(); 49 44 } 50 45 51 public void selectionChanged(Collection<? extends OsmPrimitive> newSelection) { 46 @Override 47 public void selectionChanged(Collection<? extends OsmPrimitive> newSelection) { 52 48 setEnabled(newSelection != null && newSelection.size() >0); 53 49 }
Note:
See TracChangeset
for help on using the changeset viewer.