Changeset 25060 in osm for applications/editors/josm/plugins
- Timestamp:
- 2011-01-16T15:24:56+01:00 (14 years ago)
- Location:
- applications/editors/josm/plugins/CommandLine
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/CommandLine/build.xml
r25059 r25060 3 3 4 4 <!-- enter the SVN commit message --> 5 <property name="commit.message" value=" Small bugfix for correct xml file opening" />5 <property name="commit.message" value="Moar bugfixes" /> 6 6 <!-- enter the *lowest* JOSM version this plugin is currently compatible with --> 7 7 <property name="plugin.main.version" value="3751" /> -
applications/editors/josm/plugins/CommandLine/src/CommandLine/CommandLineAction.java
r25038 r25060 40 40 41 41 public CommandLineAction(CommandLine parentPlugin) { 42 super(tr("Command line"), " simplify", tr("Set input focus to the command line."),42 super(tr("Command line"), "blankmenu", tr("Set input focus to the command line."), 43 43 Shortcut.registerShortcut("edit:simplifyArea", tr("Tool: {0}", tr("Command line")), KeyEvent.VK_ENTER, Shortcut.GROUP_DIRECT, 0), true); 44 44 this.parentPlugin = parentPlugin; -
applications/editors/josm/plugins/CommandLine/src/CommandLine/LengthAction.java
r25052 r25060 60 60 61 61 public LengthAction(MapFrame mapFrame, CommandLine parentPlugin) { 62 super(null, " building", null, mapFrame, ImageProvider.getCursor("crosshair", null));62 super(null, "addsegment.png", null, mapFrame, ImageProvider.getCursor("crosshair", null)); 63 63 this.parentPlugin = parentPlugin; 64 64 selectedColor = Main.pref.getColor(marktr("selected"), Color.red); -
applications/editors/josm/plugins/CommandLine/src/CommandLine/Loader.java
r25059 r25060 57 57 private void loadFile(SAXParser parser, String fileName) { 58 58 try { 59 parser.parse(new File(fileName).toURI().toString(), this); 59 String a = new File(fileName).toURI().toString().replace("file:/", "file:///"); 60 System.out.println(a); 61 parser.parse(a, this); 60 62 } 61 63 catch (Exception e) {
Note:
See TracChangeset
for help on using the changeset viewer.