Changeset 28881 in osm for applications/editors/josm/plugins/smed
- Timestamp:
- 2012-10-31T10:23:32+01:00 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/smed/plugs/oseam/src/oseam/seamarks/SeaMark.java
r28772 r28881 58 58 } 59 59 60 private String longName = "";61 62 60 public enum Obj { 63 61 UNKOBJ, BCNCAR, BCNISD, BCNLAT, BCNSAW, BCNSPP, … … 1440 1438 } 1441 1439 1442 if (keys.containsKey("seamark:longname"))1443 longName = keys.get("seamark:longname");1444 else1445 longName = "";1446 1447 1440 for (Obj obj : ObjSTR.keySet()) { 1448 1441 if (keys.containsKey("seamark:" + ObjSTR.get(obj) + ":category")) { … … 2556 2549 if (!getName().isEmpty()) 2557 2550 Main.main.undoRedo.add(new ChangePropertyCommand(node, "seamark:name", getName())); 2558 2559 if (!longName.isEmpty())2560 Main.main.undoRedo.add(new ChangePropertyCommand(node, "seamark:longname", longName));2561 2551 2562 2552 String objStr = ObjSTR.get(object);
Note:
See TracChangeset
for help on using the changeset viewer.