Changeset 11713 in josm for trunk/src/org/openstreetmap/josm/actions/mapmode/AddNoteAction.java
- Timestamp:
- 2017-03-10T02:28:00+01:00 (7 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk
- Property svn:ignore
-
old new 12 12 junit*.properties 13 13 foobar 14 pmd-josm.xml
-
- Property svn:ignore
-
trunk/src/org/openstreetmap/josm/actions/mapmode/AddNoteAction.java
r10433 r11713 13 13 import org.openstreetmap.josm.data.coor.LatLon; 14 14 import org.openstreetmap.josm.data.osm.NoteData; 15 import org.openstreetmap.josm.gui.MapFrame;16 15 import org.openstreetmap.josm.gui.NoteInputDialog; 17 16 import org.openstreetmap.josm.gui.Notification; … … 30 29 /** 31 30 * Construct a new map mode. 32 * @param mapFrame Map frame to pass to the superconstructor33 31 * @param data Note data container. Must not be null 32 * @since 11713 34 33 */ 35 public AddNoteAction(MapFrame mapFrame, NoteData data) { 36 super(tr("Add a new Note"), "addnote", 37 tr("Add note mode"), 38 mapFrame, ImageProvider.getCursor("crosshair", "create_note")); 34 public AddNoteAction(NoteData data) { 35 super(tr("Add a new Note"), "addnote", tr("Add note mode"), 36 ImageProvider.getCursor("crosshair", "create_note")); 39 37 CheckParameterUtil.ensureParameterNotNull(data, "data"); 40 38 noteData = data;
Note:
See TracChangeset
for help on using the changeset viewer.