source: osm/applications/editors/josm/plugins/imagery_offset_db/src/iodb/ImageryOffsetPlugin.java@ 29382

Last change on this file since 29382 was 29382, checked in by zverik, 11 years ago

iodb updates

File size: 868 bytes
Line 
1package iodb;
2
3import java.awt.event.KeyEvent;
4import javax.swing.JMenu;
5import org.openstreetmap.josm.Main;
6import org.openstreetmap.josm.plugins.Plugin;
7import org.openstreetmap.josm.plugins.PluginInformation;
8import static org.openstreetmap.josm.tools.I18n.marktr;
9
10/**
11 * Add some actions to the imagery menu.
12 *
13 * @author zverik
14 */
15public class ImageryOffsetPlugin extends Plugin {
16 private GetImageryOffsetAction getAction;
17 private StoreImageryOffsetAction storeAction;
18
19 public ImageryOffsetPlugin( PluginInformation info ) {
20 super(info);
21
22 getAction = new GetImageryOffsetAction();
23 storeAction = new StoreImageryOffsetAction();
24
25 JMenu offsetMenu = Main.main.menu.addMenu(marktr("Offset"), KeyEvent.VK_O, 6, "help");
26 offsetMenu.add(getAction);
27 offsetMenu.add(storeAction);
28 }
29}
Note: See TracBrowser for help on using the repository browser.