Changeset 27292 in osm for applications
- Timestamp:
- 2011-12-21T15:43:17+01:00 (13 years ago)
- Location:
- applications/editors/josm/plugins/alignways
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/alignways/build.xml
r26692 r27292 30 30 <project name="alignways" default="dist" basedir="."> 31 31 <!-- enter the SVN commit message --> 32 <property name="commit.message" value=" fix shortcut conflict with UtilsPlugin2"/>32 <property name="commit.message" value="added layerIsSupported to main mapmode"/> 33 33 <!-- 34 34 enter the *lowest* JOSM version this plugin is currently compatible -
applications/editors/josm/plugins/alignways/src/org/openstreetmap/josm/plugins/alignways/AlignWaysMode.java
r23192 r27292 19 19 import org.openstreetmap.josm.actions.mapmode.MapMode; 20 20 import org.openstreetmap.josm.gui.MapFrame; 21 import org.openstreetmap.josm.gui.layer.Layer; 22 import org.openstreetmap.josm.gui.layer.OsmDataLayer; 21 23 import org.openstreetmap.josm.tools.Shortcut; 22 24 … … 28 30 public class AlignWaysMode extends MapMode /* implements MapViewPaintable */{ 29 31 30 32 private static final long serialVersionUID = -1090955708412011141L; 31 33 private final AlignWaysState noneSelected; 32 34 private final AlignWaysState referenceSelected; … … 183 185 184 186 } 187 188 @Override 189 public boolean layerIsSupported(Layer l) { 190 return l instanceof OsmDataLayer; 191 } 185 192 }
Note:
See TracChangeset
for help on using the changeset viewer.