Changeset 27202 in osm for applications/editors
- Timestamp:
- 2011-12-10T15:13:47+01:00 (13 years ago)
- Location:
- applications/editors/josm/plugins/smed/plugs/oseam/src/oseam
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/smed/plugs/oseam/src/oseam/dialogs/OSeaMAction.java
r27201 r27202 28 28 Node nextNode = null; 29 29 Selection = newSelection; 30 30 node = null; 31 panelMain.mark.clearSign(); 31 32 for (OsmPrimitive osm : Selection) { 32 33 if (osm instanceof Node) { … … 37 38 panelMain.mark.parseMark(node); 38 39 } 39 } else {40 node = null;41 panelMain.mark.clearSign();42 manager.showVisualMessage(Messages.getString("OneNode"));43 40 } 44 41 } 45 42 } 46 43 if (nextNode == null) { 47 node = null;48 panelMain.mark.clearSign();49 44 manager.showVisualMessage(Messages.getString("SelectNode")); 50 45 } -
applications/editors/josm/plugins/smed/plugs/oseam/src/oseam/seamarks/SeaMark.java
r27201 r27202 1695 1695 imgStr += "Stake"; 1696 1696 break; 1697 case PERCH: 1698 if (getCategory() == Cat.LAM_PORT) { 1699 imgStr += "Perch_Port"; 1700 } else { 1701 imgStr += "Perch_Starboard"; 1702 } 1703 break; 1697 1704 } 1698 1705 colStr = imgStr; … … 1752 1759 lblStr += "Pk"; 1753 1760 break; 1754 }1755 }1756 if (getShape() == Shp.PERCH) {1757 if (getCategory() == Cat.LAM_PORT) {1758 colStr = "/images/Perch_Port";1759 } else {1760 colStr = "/images/Perch_Starboard";1761 1761 } 1762 1762 }
Note:
See TracChangeset
for help on using the changeset viewer.