Changeset 33238 in osm for applications/editors/josm/plugins/CommandLine/src/CommandLine/LengthAction.java
- Timestamp:
- 2017-04-14T23:33:58+02:00 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/CommandLine/src/CommandLine/LengthAction.java
r32779 r33238 24 24 import org.openstreetmap.josm.data.osm.Node; 25 25 import org.openstreetmap.josm.data.osm.OsmPrimitive; 26 import org.openstreetmap.josm. gui.MapFrame;26 import org.openstreetmap.josm.data.preferences.ColorProperty; 27 27 import org.openstreetmap.josm.gui.MapView; 28 28 import org.openstreetmap.josm.gui.layer.Layer; … … 45 45 private boolean drawing; 46 46 47 public LengthAction( MapFrame mapFrame,CommandLine parentPlugin) {48 super(null, "addsegment.png", null, mapFrame,ImageProvider.getCursor("crosshair", null));47 public LengthAction(CommandLine parentPlugin) { 48 super(null, "addsegment.png", null, ImageProvider.getCursor("crosshair", null)); 49 49 this.parentPlugin = parentPlugin; 50 selectedColor = Main.pref.getColor(marktr("selected"), Color.red);50 selectedColor = new ColorProperty(marktr("selected"), Color.red).get(); 51 51 cursorCrosshair = ImageProvider.getCursor("crosshair", null); 52 52 cursorJoinNode = ImageProvider.getCursor("crosshair", "joinnode");
Note:
See TracChangeset
for help on using the changeset viewer.
