Changeset 29377 in osm for applications/editors/josm/plugins/imagery_offset_db/src/iodb/ImageryOffsetPlugin.java
- Timestamp:
- 2013-03-20T08:05:48+01:00 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/imagery_offset_db/src/iodb/ImageryOffsetPlugin.java
r29371 r29377 1 1 package iodb; 2 2 3 import java.awt.event.KeyEvent; 4 import javax.swing.JMenu; 3 5 import org.openstreetmap.josm.Main; 4 6 import org.openstreetmap.josm.plugins.Plugin; 5 7 import org.openstreetmap.josm.plugins.PluginInformation; 8 import static org.openstreetmap.josm.tools.I18n.marktr; 6 9 7 10 /** … … 20 23 storeAction = new StoreImageryOffsetAction(); 21 24 22 // todo: correct menu 23 Main.main.menu.viewMenu.addSeparator(); 24 Main.main.menu.viewMenu.add(getAction); 25 Main.main.menu.viewMenu.add(storeAction); 25 JMenu offsetMenu = Main.main.menu.addMenu(marktr("Offset"), KeyEvent.VK_O, 6, "help"); 26 offsetMenu.add(getAction); 27 offsetMenu.add(storeAction); 26 28 27 29 // todo: add a button on toolbar
Note:
See TracChangeset
for help on using the changeset viewer.