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

Last change on this file since 27986 was 27986, checked in by zverik, 12 years ago

imagery_offset_db initial commit

File size: 822 bytes
Line 
1package iodb;
2
3import org.openstreetmap.josm.Main;
4import org.openstreetmap.josm.plugins.Plugin;
5import org.openstreetmap.josm.plugins.PluginInformation;
6
7/**
8 * Add some actions to the imagery menu.
9 *
10 * @author zverik
11 */
12public class ImageryOffsetPlugin extends Plugin {
13 private GetImageryOffsetAction getAction;
14 private StoreImageryOffsetAction storeAction;
15
16 public ImageryOffsetPlugin( PluginInformation info ) {
17 super(info);
18
19 getAction = new GetImageryOffsetAction();
20 storeAction = new StoreImageryOffsetAction();
21
22 Main.main.menu.imageryMenu.addSeparator();
23 Main.main.menu.imageryMenu.add(getAction);
24 Main.main.menu.imageryMenu.add(storeAction);
25
26 // todo: make MapMode for viewing and updating imagery offsets
27 }
28}
Note: See TracBrowser for help on using the repository browser.