Changeset 32287 in osm
- Timestamp:
- 2016-06-16T23:05:20+02:00 (9 years ago)
- Location:
- applications/editors/josm/plugins
- Files:
-
- 16 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/ImportImagePlugin/build.xml
r31923 r32287 5 5 <property name="commit.message" value="use consistent plugin name (don't mix up the words)" /> 6 6 <!-- enter the *lowest* JOSM version this plugin is currently compatible with --> 7 <property name="plugin.main.version" value=" 7817" />7 <property name="plugin.main.version" value="10407" /> 8 8 9 9 <property name="plugin.author" value="Christoph Beekmans, Fabian Kowitz, Anna Robaszkiewicz, Oliver Kuhn, Martin Ulitzny"/> -
applications/editors/josm/plugins/ImportImagePlugin/src/org/openstreetmap/josm/plugins/ImportImagePlugin/ImportImagePlugin.java
r31751 r32287 56 56 * 57 57 * @param info 58 */ 59 public ImportImagePlugin(PluginInformation info){ 58 * @throws IOException if any I/O error occurs 59 */ 60 public ImportImagePlugin(PluginInformation info) throws IOException{ 60 61 super(info); 61 62 … … 86 87 if (Main.main != null) { 87 88 MainMenu.add(Main.main.menu.imagerySubMenu, loadFileAction); 88 89 // add menu entries 90 //Main.main.menu.fileMenu.insert(loadFileAction, 8); 91 //Main.main.menu.fileMenu.insertSeparator(9); 92 } 93 94 ExtensionFileFilter.importers.add(new ImportImageFileImporter()); 95 96 } catch (Exception e) { 89 } 90 91 ExtensionFileFilter.addImporter(new ImportImageFileImporter()); 92 93 } catch (IOException e) { 97 94 logger.fatal("Error while loading plugin", e); 98 try { 99 throw e; 100 } catch (Exception e1) { 101 e1.printStackTrace(); 102 } 95 throw e; 103 96 } 104 97 -
applications/editors/josm/plugins/dataimport/build.xml
r31926 r32287 4 4 <property name="commit.message" value="Changed constructor signature, updated build.xml"/> 5 5 <!-- enter the *lowest* JOSM version this plugin is currently compatible with --> 6 <property name="plugin.main.version" value=" 7001"/>6 <property name="plugin.main.version" value="10407"/> 7 7 <!-- 8 8 ************************************************ -
applications/editors/josm/plugins/dataimport/src/org/openstreetmap/josm/plugins/dataimport/DataImportPlugin.java
r19430 r32287 7 7 8 8 import org.openstreetmap.josm.actions.ExtensionFileFilter; 9 import org.openstreetmap.josm.plugins.Plugin; 10 import org.openstreetmap.josm.plugins.PluginInformation; 9 11 import org.openstreetmap.josm.plugins.dataimport.io.TangoGPS; 10 12 import org.openstreetmap.josm.plugins.dataimport.io.Tcx; 11 import org.openstreetmap.josm.plugins.Plugin;12 import org.openstreetmap.josm.plugins.PluginInformation;13 13 14 /** 15 * Data import plugin. 16 */ 14 17 public class DataImportPlugin extends Plugin { 15 18 16 19 /** 17 20 * Add new File import filter into open dialog 21 * @param info plugin information 18 22 */ 19 23 public DataImportPlugin(PluginInformation info) throws IOException{ 20 24 super(info); 21 25 22 ExtensionFileFilter. importers.add(new TangoGPS());23 ExtensionFileFilter. importers.add(new Tcx());26 ExtensionFileFilter.addImporter(new TangoGPS()); 27 ExtensionFileFilter.addImporter(new Tcx()); 24 28 } 25 29 } -
applications/editors/josm/plugins/imagery-xml-bounds/build.xml
r31926 r32287 4 4 <property name="commit.message" value="Commit message"/> 5 5 <!-- enter the *lowest* JOSM version this plugin is currently compatible with --> 6 <property name="plugin.main.version" value=" 8526"/>6 <property name="plugin.main.version" value="10407"/> 7 7 8 8 <!-- Configure these properties (replace "..." accordingly). -
applications/editors/josm/plugins/imagery-xml-bounds/src/org/openstreetmap/josm/plugins/imageryxmlbounds/ImageryXmlBoundsPlugin.java
r30735 r32287 28 28 29 29 /** 30 * Action showing bounds of the selected closed ways in Selection dialog 30 * Action showing bounds of the selected closed ways in Selection dialog 31 31 */ 32 32 private final ShowBoundsAction selectionListAction = new ShowBoundsAction(); 33 33 34 34 /** 35 * Action showing bounds of the selected multipolygons in Properties dialog 35 * Action showing bounds of the selected multipolygons in Properties dialog 36 36 */ 37 37 private final ShowBoundsAction propertiesListAction = new ShowBoundsAction(); 38 38 39 39 /** 40 40 * Action showing bounds of the selected multipolygons in Relations dialog … … 46 46 */ 47 47 private final ShowBoundsSelectionAction selectionAction = new ShowBoundsSelectionAction(); 48 48 49 49 /** 50 50 * Class modifying the Imagery preferences panel 51 51 */ 52 52 private final XmlBoundsPreferenceSetting preferenceSetting = new XmlBoundsPreferenceSetting(); 53 53 54 54 /** 55 55 * Initializes the plugin. … … 59 59 super(info); 60 60 // Allow JOSM to import *.imagery.xml files 61 ExtensionFileFilter. importers.add(0,new XmlBoundsImporter());61 ExtensionFileFilter.addImporterFirst(new XmlBoundsImporter()); 62 62 // Allow JOSM to export *.imagery.xml files 63 ExtensionFileFilter. exporters.add(0,new XmlBoundsExporter());63 ExtensionFileFilter.addExporterFirst(new XmlBoundsExporter()); 64 64 // Initialize the selection action 65 65 DataSet.addSelectionListener(selectionAction); … … 68 68 Main.main.menu.openLocation.addDownloadTaskClass(DownloadXmlBoundsTask.class); 69 69 } 70 70 71 71 @Override 72 72 public PreferenceSetting getPreferenceSetting() { … … 77 77 public void mapFrameInitialized(MapFrame oldFrame, MapFrame newFrame) { 78 78 if (newFrame != null) { 79 // Initialize dialogs actions only after the main frame is created 79 // Initialize dialogs actions only after the main frame is created 80 80 newFrame.selectionListDialog.getPopupMenuHandler().addSeparator(); 81 81 newFrame.selectionListDialog.getPopupMenuHandler().addAction(selectionListAction); -
applications/editors/josm/plugins/imagewaypoint/build.xml
r31926 r32287 4 4 <property name="commit.message" value="[josm/ImageWayPoint] move opening to File/Open"/> 5 5 <!-- enter the *lowest* JOSM version this plugin is currently compatible with --> 6 <property name="plugin.main.version" value=" 7001"/>6 <property name="plugin.main.version" value="10407"/> 7 7 8 8 <!-- Configure these properties (replace "..." accordingly). -
applications/editors/josm/plugins/imagewaypoint/src/org/insignificant/josm/plugins/imagewaypoint/ImageWayPointPlugin.java
r30737 r32287 95 95 public ImageWayPointPlugin(PluginInformation info) { 96 96 super(info); 97 ExtensionFileFilter. importers.add(new ImageWaypointImporter());97 ExtensionFileFilter.addImporter(new ImageWaypointImporter()); 98 98 } 99 99 -
applications/editors/josm/plugins/importvec/build.xml
r31923 r32287 4 4 <property name="commit.message" value="Remove the action, add importing SVG to File/Open"/> 5 5 <!-- enter the *lowest* JOSM version this plugin is currently compatible with --> 6 <property name="plugin.main.version" value=" 7001"/>6 <property name="plugin.main.version" value="10407"/> 7 7 8 8 <property name="plugin.author" value="Upliner"/> -
applications/editors/josm/plugins/importvec/src/org/openstreetmap/josm/plugins/importvec/ImportVecPlugin.java
r29854 r32287 9 9 public ImportVecPlugin(PluginInformation info) { 10 10 super(info); 11 ExtensionFileFilter. importers.add(new SvgImporter());11 ExtensionFileFilter.addImporter(new SvgImporter()); 12 12 } 13 14 13 } -
applications/editors/josm/plugins/opendata/build.xml
r32071 r32287 1 1 <?xml version="1.0" encoding="utf-8"?> 2 2 <project name="opendata" default="dist" basedir="."> 3 <property name="plugin.main.version" value=" 9705"/>3 <property name="plugin.main.version" value="10407"/> 4 4 <property name="plugin.author" value="Don-vip"/> 5 5 <property name="plugin.class" value="org.openstreetmap.josm.plugins.opendata.OdPlugin"/> -
applications/editors/josm/plugins/opendata/src/org/openstreetmap/josm/plugins/opendata/OdPlugin.java
r31048 r32287 72 72 xmlImporter // Generic importer for XML files (currently used for Neptune files) 73 73 })) { 74 ExtensionFileFilter. importers.add(0,importer);74 ExtensionFileFilter.addImporterFirst(importer); 75 75 } 76 76 -
applications/editors/josm/plugins/poly/build.xml
r31926 r32287 5 5 <property name="commit.message" value="Commit message"/> 6 6 <!-- enter the *lowest* JOSM version this plugin is currently compatible with --> 7 <property name="plugin.main.version" value=" 7248"/>7 <property name="plugin.main.version" value="10407"/> 8 8 9 9 <!-- Configure these properties (replace "..." accordingly). -
applications/editors/josm/plugins/poly/src/poly/PolyPlugin.java
r28570 r32287 13 13 public class PolyPlugin extends Plugin { 14 14 15 /** 16 * Constructs a new {@code PolyPlugin}. 17 * @param info plugin information 18 */ 15 19 public PolyPlugin(PluginInformation info) { 16 20 super(info); 17 ExtensionFileFilter. importers.add(new PolyImporter());18 ExtensionFileFilter. exporters.add(new PolyExporter());21 ExtensionFileFilter.addImporter(new PolyImporter()); 22 ExtensionFileFilter.addExporter(new PolyExporter()); 19 23 Main.main.menu.openLocation.addDownloadTaskClass(DownloadPolyTask.class); 20 24 } -
applications/editors/josm/plugins/trustosm/build.xml
r31898 r32287 5 5 <property name="commit.message" value="New plugin for digital signing osm data"/> 6 6 <!-- enter the *lowest* JOSM version this plugin is currently compatible with --> 7 <property name="plugin.main.version" value=" 9241" />7 <property name="plugin.main.version" value="10407" /> 8 8 <property name="plugin.author" value="Christoph Wagner" /> 9 9 <property name="plugin.class" value="org.openstreetmap.josm.plugins.trustosm.TrustOSMplugin" /> -
applications/editors/josm/plugins/trustosm/src/org/openstreetmap/josm/plugins/trustosm/TrustOSMplugin.java
r31646 r32287 72 72 checkForUnrestrictedPolicyFiles(); 73 73 // register new SigImporter and SigExporter 74 ExtensionFileFilter. importers.add(new SigImporter());75 ExtensionFileFilter. exporters.add(new SigExporter());74 ExtensionFileFilter.addImporter(new SigImporter()); 75 ExtensionFileFilter.addExporter(new SigExporter()); 76 76 77 77 gpg = new TrustGPG();
Note:
See TracChangeset
for help on using the changeset viewer.