Line | |
---|
1 | package iodb;
|
---|
2 |
|
---|
3 | import org.openstreetmap.josm.Main;
|
---|
4 | import org.openstreetmap.josm.plugins.Plugin;
|
---|
5 | import org.openstreetmap.josm.plugins.PluginInformation;
|
---|
6 |
|
---|
7 | /**
|
---|
8 | * Add some actions to the imagery menu.
|
---|
9 | *
|
---|
10 | * @author zverik
|
---|
11 | */
|
---|
12 | public 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.