source: josm/trunk/src/org/openstreetmap/josm/plugins/imagery/ImageryPlugin.java@ 3719

Last change on this file since 3719 was 3719, checked in by bastiK, 14 years ago

added missing license information

File size: 842 bytes
Line 
1// License: GPL. For details, see LICENSE file.
2package org.openstreetmap.josm.plugins.imagery;
3
4import java.io.File;
5
6import org.openstreetmap.josm.Main;
7import org.openstreetmap.josm.data.imagery.ImageryLayerInfo;
8import org.openstreetmap.josm.data.imagery.OffsetBookmark;
9import org.openstreetmap.josm.plugins.Plugin;
10import org.openstreetmap.josm.plugins.PluginInformation;
11
12public class ImageryPlugin extends Plugin {
13
14
15 public ImageryLayerInfo info = new ImageryLayerInfo();
16 // remember state of menu item to restore on changed preferences
17
18 public ImageryPlugin(PluginInformation info) {
19 super(info);
20 this.info.load();
21 OffsetBookmark.loadBookmarks();
22
23 }
24
25 @Override
26 public String getPluginDir()
27 {
28 return new File(Main.pref.getPluginsDirectory(), "imagery").getPath();
29 }
30
31}
Note: See TracBrowser for help on using the repository browser.