Changeset 26299 in osm for applications/editors/josm/plugins
- Timestamp:
- 2011-07-10T23:22:15+02:00 (13 years ago)
- Location:
- applications/editors/josm/plugins
- Files:
-
- 85 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/FixAddresses/build.xml
r26174 r26299 94 94 <attribute name="de_Plugin-Description" value="Findet ungültige Addressen und bietet Unterstützung zur deren Korrektur."/> 95 95 <attribute name="Plugin-Link" value="http://wiki.openstreetmap.org/wiki/JOSM/Plugins/FixAddresses"/> 96 <attribute name="Plugin-Mainversion" value=" 3835"/>96 <attribute name="Plugin-Mainversion" value="4223"/> 97 97 <attribute name="Plugin-Version" value="${version.entry.commit.revision}"/> 98 98 <attribute name="Plugin-Icon" value="images/fixaddresses.png"/> -
applications/editors/josm/plugins/FixAddresses/src/org/openstreetmap/josm/plugins/fixAddresses/AddressEditContainer.java
r25373 r26299 644 644 645 645 /* (non-Javadoc) 646 * @see org.openstreetmap.josm.data.osm.event.DataSetListener#prim tivesAdded(org.openstreetmap.josm.data.osm.event.PrimitivesAddedEvent)647 */ 648 @Override 649 public void prim tivesAdded(PrimitivesAddedEvent event) {646 * @see org.openstreetmap.josm.data.osm.event.DataSetListener#primitivesAdded(org.openstreetmap.josm.data.osm.event.PrimitivesAddedEvent) 647 */ 648 @Override 649 public void primitivesAdded(PrimitivesAddedEvent event) { 650 650 invalidate(); 651 651 } 652 652 653 653 /* (non-Javadoc) 654 * @see org.openstreetmap.josm.data.osm.event.DataSetListener#prim tivesRemoved(org.openstreetmap.josm.data.osm.event.PrimitivesRemovedEvent)655 */ 656 @Override 657 public void prim tivesRemoved(PrimitivesRemovedEvent event) {654 * @see org.openstreetmap.josm.data.osm.event.DataSetListener#primitivesRemoved(org.openstreetmap.josm.data.osm.event.PrimitivesRemovedEvent) 655 */ 656 @Override 657 public void primitivesRemoved(PrimitivesRemovedEvent event) { 658 658 invalidate(); 659 659 } -
applications/editors/josm/plugins/FixAddresses/src/org/openstreetmap/josm/plugins/fixAddresses/gui/IncompleteAddressesDialog.java
r25373 r26299 155 155 156 156 /* (non-Javadoc) 157 * @see org.openstreetmap.josm.data.osm.event.DataSetListener#prim tivesAdded(org.openstreetmap.josm.data.osm.event.PrimitivesAddedEvent)158 */ 159 @Override 160 public void prim tivesAdded(PrimitivesAddedEvent event) {161 container.invalidate(); 162 163 } 164 165 /* (non-Javadoc) 166 * @see org.openstreetmap.josm.data.osm.event.DataSetListener#prim tivesRemoved(org.openstreetmap.josm.data.osm.event.PrimitivesRemovedEvent)167 */ 168 @Override 169 public void prim tivesRemoved(PrimitivesRemovedEvent event) {157 * @see org.openstreetmap.josm.data.osm.event.DataSetListener#primitivesAdded(org.openstreetmap.josm.data.osm.event.PrimitivesAddedEvent) 158 */ 159 @Override 160 public void primitivesAdded(PrimitivesAddedEvent event) { 161 container.invalidate(); 162 163 } 164 165 /* (non-Javadoc) 166 * @see org.openstreetmap.josm.data.osm.event.DataSetListener#primitivesRemoved(org.openstreetmap.josm.data.osm.event.PrimitivesRemovedEvent) 167 */ 168 @Override 169 public void primitivesRemoved(PrimitivesRemovedEvent event) { 170 170 container.invalidate(); 171 171 } -
applications/editors/josm/plugins/czechaddress/build.xml
r26174 r26299 32 32 <attribute name="Plugin-Description" value="Creating and handling address nodes and buildings within Czech Republic."/> 33 33 <attribute name="Plugin-Link" value="http://wiki.openstreetmap.org/index.php/Cz:JOSM/Plugins/CzechAddress"/> 34 <attribute name="Plugin-Mainversion" value=" 3835"/>34 <attribute name="Plugin-Mainversion" value="4126"/> 35 35 <attribute name="Plugin-Version" value="${version.entry.commit.revision}"/> 36 36 </manifest> -
applications/editors/josm/plugins/czechaddress/src/org/openstreetmap/josm/plugins/czechaddress/actions/SplitAreaByEmptyWayAction.java
r24784 r26299 55 55 56 56 Collection<Way> selectedWays = Main.main.getCurrentDataSet().getSelectedWays(); 57 Collection<Way> newSelection = new LinkedList (Main.main.getCurrentDataSet().getSelectedWays());57 Collection<Way> newSelection = new LinkedList<Way>(Main.main.getCurrentDataSet().getSelectedWays()); 58 58 59 59 for (Way area : selectedWays) { -
applications/editors/josm/plugins/czechaddress/src/org/openstreetmap/josm/plugins/czechaddress/gui/FactoryDialog.java
r23190 r26299 91 91 92 92 if (message == MESSAGE_LOCATION_CHANGED) { 93 DataSet. selListeners.add(this);93 DataSet.addSelectionListener(this); 94 94 95 95 streetModel.setParent(CzechAddressPlugin.getLocation()); -
applications/editors/josm/plugins/czechaddress/src/org/openstreetmap/josm/plugins/czechaddress/gui/LocationSelector.java
r23190 r26299 101 101 102 102 try { 103 center = Main. proj.eastNorth2latlon(Main.map.mapView.getCenter());103 center = Main.getProjection().eastNorth2latlon(Main.map.mapView.getCenter()); 104 104 } catch (Exception e) { 105 105 System.err.println("AUTO: No bounds to determine autolocation."); -
applications/editors/josm/plugins/czechaddress/src/org/openstreetmap/josm/plugins/czechaddress/intelligence/SelectionMonitor.java
r15585 r26299 27 27 if (singleton == null) { 28 28 singleton = new SelectionMonitor(); 29 DataSet. selListeners.add(singleton);29 DataSet.addSelectionListener(singleton); 30 30 } 31 31 return singleton; -
applications/editors/josm/plugins/openstreetbugs/build.xml
r26174 r26299 27 27 <project name="openstreetbugs" default="dist" basedir="."> 28 28 <property name="commit.message" value="Changed the constructor signature of the plugin main class"/> 29 <property name="plugin.main.version" value=" 3835"/>29 <property name="plugin.main.version" value="4223"/> 30 30 <property name="josm" location="../../core/dist/josm-custom.jar"/> 31 31 <property name="plugin.dist.dir" value="../../dist"/> -
applications/editors/josm/plugins/openstreetbugs/src/org/openstreetmap/josm/plugins/osb/OsbLayer.java
r22548 r26299 79 79 this.data = dataSet; 80 80 this.dialog = dialog; 81 DataSet. selListeners.add(new SelectionChangedListener() {81 DataSet.addSelectionListener(new SelectionChangedListener() { 82 82 public void selectionChanged(Collection<? extends OsmPrimitive> newSelection) { 83 83 selection = newSelection; -
applications/editors/josm/plugins/openstreetbugs/src/org/openstreetmap/josm/plugins/osb/gui/OsbDialog.java
r25520 r26299 451 451 public void otherDatasetChange(AbstractDatasetChangedEvent event) {} 452 452 453 public void prim tivesAdded(PrimitivesAddedEvent event) {}454 455 public void prim tivesRemoved(PrimitivesRemovedEvent event) {}453 public void primitivesAdded(PrimitivesAddedEvent event) {} 454 455 public void primitivesRemoved(PrimitivesRemovedEvent event) {} 456 456 457 457 public void relationMembersChanged(RelationMembersChangedEvent event) {} -
applications/editors/josm/plugins/reltoolbox/build.xml
r26174 r26299 32 32 <property name="commit.message" value="RelToolbox"/> 33 33 <!-- enter the *lowest* JOSM version this plugin is currently compatible with --> 34 <property name="plugin.main.version" value=" 3835"/>34 <property name="plugin.main.version" value="4223"/> 35 35 <!-- 36 36 ************************************************ -
applications/editors/josm/plugins/reltoolbox/src/relcontext/ChosenRelation.java
r26293 r26299 165 165 } 166 166 167 public void prim tivesRemoved( PrimitivesRemovedEvent event ) {167 public void primitivesRemoved( PrimitivesRemovedEvent event ) { 168 168 if( chosenRelation != null && event.getPrimitives().contains(chosenRelation) ) 169 169 clear(); … … 175 175 } 176 176 177 public void prim tivesAdded( PrimitivesAddedEvent event ) {}177 public void primitivesAdded( PrimitivesAddedEvent event ) {} 178 178 public void nodeMoved( NodeMovedEvent event ) {} 179 179 public void otherDatasetChange( AbstractDatasetChangedEvent event ) {} -
applications/editors/josm/plugins/tageditor/src/org/openstreetmap/josm/plugins/tageditor/LaunchAction.java
r23189 r26299 34 34 ); 35 35 36 DataSet. selListeners.add(this);36 DataSet.addSelectionListener(this); 37 37 setEnabled(false); 38 38 } -
applications/editors/josm/plugins/turnlanes/build.xml
r26175 r26299 32 32 <property name="commit.message" value="Commit message"/> 33 33 <!-- enter the *lowest* JOSM version this plugin is currently compatible with --> 34 <property name="plugin.main.version" value="4 126"/>34 <property name="plugin.main.version" value="4223"/> 35 35 <!-- 36 36 ************************************************ -
applications/editors/josm/plugins/turnlanes/src/org/openstreetmap/josm/plugins/turnlanes/gui/TurnLanesDialog.java
r26192 r26299 98 98 99 99 @Override 100 public void prim tivesRemoved(PrimitivesRemovedEvent event) {101 refresh(); 102 } 103 104 @Override 105 public void prim tivesAdded(PrimitivesAddedEvent event) {100 public void primitivesRemoved(PrimitivesRemovedEvent event) { 101 refresh(); 102 } 103 104 @Override 105 public void primitivesAdded(PrimitivesAddedEvent event) { 106 106 refresh(); 107 107 } -
applications/editors/josm/plugins/turnrestrictions/build.xml
r26174 r26299 32 32 <property name="commit.message" value="Adapt to JOSM core change (DefaultNameFormatter)"/> 33 33 <!-- enter the *lowest* JOSM version this plugin is currently compatible with --> 34 <property name="plugin.main.version" value="4 100"/>34 <property name="plugin.main.version" value="4223"/> 35 35 <!-- 36 36 ************************************************ -
applications/editors/josm/plugins/turnrestrictions/src/org/openstreetmap/josm/plugins/turnrestrictions/editor/JosmSelectionListModel.java
r23571 r26299 213 213 } 214 214 215 public void prim tivesAdded(PrimitivesAddedEvent event) {/* ignored - handled by SelectionChangeListener */}216 public void prim tivesRemoved(PrimitivesRemovedEvent event) {/* ignored - handled by SelectionChangeListener*/}215 public void primitivesAdded(PrimitivesAddedEvent event) {/* ignored - handled by SelectionChangeListener */} 216 public void primitivesRemoved(PrimitivesRemovedEvent event) {/* ignored - handled by SelectionChangeListener*/} 217 217 218 218 /* ------------------------------------------------------------------------ */ -
applications/editors/josm/plugins/turnrestrictions/src/org/openstreetmap/josm/plugins/turnrestrictions/editor/TurnRestrictionEditorModel.java
r24125 r26299 410 410 public void otherDatasetChange(AbstractDatasetChangedEvent event) {/* irrelevant in this context */} 411 411 412 public void prim tivesAdded(PrimitivesAddedEvent event) {/* irrelevant in this context */}413 public void prim tivesRemoved(PrimitivesRemovedEvent event) {412 public void primitivesAdded(PrimitivesAddedEvent event) {/* irrelevant in this context */} 413 public void primitivesRemoved(PrimitivesRemovedEvent event) { 414 414 // relevant for the state of this model but not handled here. When the 415 415 // state of this model is applied to the dataset we check whether the -
applications/editors/josm/plugins/turnrestrictions/src/org/openstreetmap/josm/plugins/turnrestrictions/list/TurnRestrictionsInDatasetListModel.java
r23510 r26299 87 87 } 88 88 89 public void prim tivesAdded(PrimitivesAddedEvent event) {89 public void primitivesAdded(PrimitivesAddedEvent event) { 90 90 List<Relation> turnRestrictions = filterTurnRestrictions(event.getPrimitives()); 91 91 if (!turnRestrictions.isEmpty()) { … … 94 94 } 95 95 96 public void prim tivesRemoved(PrimitivesRemovedEvent event) {96 public void primitivesRemoved(PrimitivesRemovedEvent event) { 97 97 List<Relation> turnRestrictions = filterTurnRestrictions(event.getPrimitives()); 98 98 if (!turnRestrictions.isEmpty()) { -
applications/editors/josm/plugins/walkingpapers/build.xml
r26174 r26299 26 26 --> 27 27 <property name="commit.message" value="Changed the constructor signature of the plugin main class"/> 28 <property name="plugin.main.version" value=" 3835"/>28 <property name="plugin.main.version" value="4126"/> 29 29 <property name="josm" location="../../core/dist/josm-custom.jar"/> 30 30 <property name="plugin.dist.dir" value="../../dist"/> -
applications/editors/josm/plugins/walkingpapers/src/org/openstreetmap/josm/plugins/walkingpapers/WalkingPapersLayer.java
r23190 r26299 238 238 for (int y = viewportMinY - 1; y <= viewportMaxY + 1; y++) { 239 239 LatLon tmpLL = new LatLon(tileYToLat(y), lon); 240 pixelpos[x - viewportMinX + 1][y - viewportMinY + 1] = mv.getPoint(Main. proj240 pixelpos[x - viewportMinX + 1][y - viewportMinY + 1] = mv.getPoint(Main.getProjection() 241 241 .latlon2eastNorth(tmpLL)); 242 242 } -
applications/editors/josm/plugins/wms-turbo-challenge2/build.xml
r26174 r26299 67 67 <attribute name="Plugin-Icon" value="images/wmsracer.png"/> 68 68 <attribute name="Plugin-Link" value="http://wiki.openstreetmap.org/wiki/JOSM/Plugins/WMS_Racer"/> 69 <attribute name="Plugin-Mainversion" value="4 065"/>69 <attribute name="Plugin-Mainversion" value="4126"/> 70 70 <attribute name="Plugin-Version" value="${version.entry.commit.revision}"/> 71 71 </manifest> -
applications/editors/josm/plugins/wms-turbo-challenge2/src/wmsturbochallenge/GameWindow.java
r26174 r26299 104 104 * have a fix and add any distortions. */ 105 105 106 segment.add(new WayPoint(Main. proj.eastNorth2latlon(106 segment.add(new WayPoint(Main.getProjection().eastNorth2latlon( 107 107 new EastNorth(lon, lat)))); 108 108 }
Note:
See TracChangeset
for help on using the changeset viewer.