Changeset 27243 in osm for applications/editors/josm/plugins
- Timestamp:
- 2011-12-15T18:35:55+01:00 (13 years ago)
- Location:
- applications/editors/josm/plugins
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/build.xml
r27119 r27243 31 31 <ant antfile="build.xml" target="dist" dir="globalsat"/> 32 32 <ant antfile="build.xml" target="dist" dir="gpxfilter"/> 33 <ant antfile="build.xml" target="dist" dir="gpxpoints"/>34 33 <ant antfile="build.xml" target="dist" dir="graphview"/> 35 34 <ant antfile="build.xml" target="dist" dir="imageryadjust"/> … … 120 119 <ant antfile="build.xml" target="clean" dir="globalsat"/> 121 120 <ant antfile="build.xml" target="clean" dir="gpxfilter"/> 122 <ant antfile="build.xml" target="clean" dir="gpxpoints"/>123 121 <ant antfile="build.xml" target="clean" dir="graphview"/> 124 122 <ant antfile="build.xml" target="clean" dir="imageryadjust"/> -
applications/editors/josm/plugins/osmarender/build.xml
r27019 r27243 34 34 <property name="xslt" location="./xslt"/> 35 35 <property name="commit.message" value="Fixed #4360 - osmarender plugin does not load"/> 36 <property name="plugin.main.version" value="4 549"/>36 <property name="plugin.main.version" value="4645"/> 37 37 <target name="init"> 38 38 <mkdir dir="${plugin.build.dir}"/> -
applications/editors/josm/plugins/osmarender/src/org/openstreetmap/josm/plugins/osmarender/OsmarenderPlugin.java
r23192 r27243 35 35 import org.openstreetmap.josm.gui.preferences.PreferenceTabbedPane; 36 36 import org.openstreetmap.josm.io.OsmWriter; 37 import org.openstreetmap.josm.io.OsmWriterFactory; 37 38 import org.openstreetmap.josm.plugins.Plugin; 38 39 import org.openstreetmap.josm.plugins.PluginInformation; … … 63 64 try { 64 65 // write to plugin dir 65 OsmWriter w = newOsmWriter(new PrintWriter(new FileOutputStream(getPluginDir()+File.separator+"data.osm")), false, "0.6");66 OsmWriter w = OsmWriterFactory.createOsmWriter(new PrintWriter(new FileOutputStream(getPluginDir()+File.separator+"data.osm")), false, "0.6"); 66 67 w.header(); 67 68 -
applications/editors/josm/plugins/surveyor/build.xml
r26991 r27243 32 32 <property name="commit.message" value="Changed the constructor signature of the plugin main class"/> 33 33 <!-- enter the *lowest* JOSM version this plugin is currently compatible with --> 34 <property name="plugin.main.version" value="4 549"/>34 <property name="plugin.main.version" value="4645"/> 35 35 <property name="josm" location="../../core/dist/josm-custom.jar"/> 36 36 <property name="plugin.dist.dir" value="../../dist"/> -
applications/editors/josm/plugins/surveyor/src/at/dallermassl/josm/plugin/surveyor/AutoSaveEditLayerTimerTask.java
r19681 r27243 19 19 import org.openstreetmap.josm.gui.layer.OsmDataLayer; 20 20 import org.openstreetmap.josm.io.OsmWriter; 21 import org.openstreetmap.josm.io.OsmWriterFactory; 21 22 22 23 /** … … 52 53 System.out.println("AutoSaving osm data to file " + file.getAbsolutePath()); 53 54 synchronized(SurveyorLock.class) { 54 OsmWriter w = newOsmWriter(new PrintWriter(new FileOutputStream(tmpFile)), false, dataset.getVersion());55 OsmWriter w = OsmWriterFactory.createOsmWriter(new PrintWriter(new FileOutputStream(tmpFile)), false, dataset.getVersion()); 55 56 w.header(); 56 57 w.writeDataSources(dataset); -
applications/editors/josm/plugins/undelete/build.xml
r27019 r27243 32 32 <property name="commit.message" value="adapt to core changes (backwards compatible)"/> 33 33 <!-- enter the *lowest* JOSM version this plugin is currently compatible with --> 34 <property name="plugin.main.version" value="4 549"/>34 <property name="plugin.main.version" value="4602"/> 35 35 <!-- 36 36 ************************************************ -
applications/editors/josm/plugins/undelete/src/org/openstreetmap/josm/plugins/undelete/Undelete.java
r26196 r27243 219 219 hPrimitive1=h.getLatest(); 220 220 hPrimitive2=h.getByVersion(h.getNumVersions()-1); 221 221 222 222 Relation rel = new Relation(id, (int) hPrimitive1.getVersion()); 223 223 224 224 HistoryRelation hRel = (HistoryRelation) hPrimitive2; 225 225 226 226 List<RelationMember> members = new ArrayList<RelationMember>(hRel.getNumMembers()); 227 227 for (org.openstreetmap.josm.data.osm.history.RelationMember m : hRel.getMembers()) { … … 237 237 members.add(new RelationMember(m.getRole(), p)); 238 238 } 239 239 240 240 rel.setMembers(members); 241 241 242 242 primitive=rel; 243 243 } 244 244 245 User user = User.createOsmUser(hPrimitive1.getUid(), hPrimitive1.getUser());245 User user = hPrimitive1.getUser(); 246 246 247 247 primitive.setUser(user);
Note:
See TracChangeset
for help on using the changeset viewer.