Changeset 29884 in osm for applications/editors/josm/plugins/smed2
- Timestamp:
- 2013-08-31T11:15:35+02:00 (11 years ago)
- Location:
- applications/editors/josm/plugins/smed2/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/smed2/src/seamap/Rules.java
r29790 r29884 488 488 Symbol s1 = null, s2 = null; 489 489 MarSYS sys = MarSYS.SYS_CEVN; 490 BnkWTW bnk = BnkWTW.BWW_UNKN; 490 491 AttItem att = feature.atts.get(Att.MARSYS); 491 492 if (att != null) sys = (MarSYS)att.val; … … 500 501 CatNMK cat = CatNMK.NMK_UNKN; 501 502 if (atts.get(Att.CATNMK) != null) cat = (CatNMK)atts.get(Att.CATNMK).val; 502 s2 = Notices.getNotice(cat, sys );503 s2 = Notices.getNotice(cat, sys, bnk); 503 504 } 504 505 } -
applications/editors/josm/plugins/smed2/src/symbols/Notices.java
r29881 r29884 971 971 }; 972 972 973 public static final Symbol NoticeBnank = new Symbol(); 974 public static final Symbol NoticeBlmhr = new Symbol(); 975 public static final Symbol NoticeBwral = new Symbol(); 976 public static final Symbol NoticeBwrar = new Symbol(); 977 public static final Symbol NoticeBktpm = new Symbol(); 978 public static final Symbol NoticeBktsm = new Symbol(); 979 public static final Symbol NoticeBktmr = new Symbol(); 980 public static final Symbol NoticeBcrtp = new Symbol(); 981 public static final Symbol NoticeBcrts = new Symbol(); 982 public static final Symbol NoticeBtrbm = new Symbol(); 983 public static final Symbol NoticeBrspd = new Symbol(); 973 984 public static final EnumMap<CatNMK, Symbol> NmkBniwr = new EnumMap<CatNMK, Symbol>(CatNMK.class); 974 985 static { 975 NmkBniwr.put(CatNMK.NMK_NANK, Notice ); NmkBniwr.put(CatNMK.NMK_LMHR, Notice); NmkBniwr.put(CatNMK.NMK_OPTR, Notice); NmkBniwr.put(CatNMK.NMK_OPTL, Notice);976 NmkBniwr.put(CatNMK.NMK_WRAL, Notice ); NmkBniwr.put(CatNMK.NMK_WLAR, Notice); NmkBniwr.put(CatNMK.NMK_KTPM, Notice); NmkBniwr.put(CatNMK.NMK_KTSM, Notice);977 NmkBniwr.put(CatNMK.NMK_KTMR, Notice ); NmkBniwr.put(CatNMK.NMK_CRTP, Notice); NmkBniwr.put(CatNMK.NMK_CRTS, Notice); NmkBniwr.put(CatNMK.NMK_TRBM, Notice);978 NmkBniwr.put(CatNMK.NMK_RSPD, Notice );986 NmkBniwr.put(CatNMK.NMK_NANK, NoticeBnank); NmkBniwr.put(CatNMK.NMK_LMHR, NoticeBlmhr); NmkBniwr.put(CatNMK.NMK_OPTR, NoticeD2a); NmkBniwr.put(CatNMK.NMK_OPTL, NoticeD2b); 987 NmkBniwr.put(CatNMK.NMK_WRAL, NoticeBwral); NmkBniwr.put(CatNMK.NMK_WLAR, NoticeBwrar); NmkBniwr.put(CatNMK.NMK_KTPM, NoticeBktpm); NmkBniwr.put(CatNMK.NMK_KTSM, NoticeBktsm); 988 NmkBniwr.put(CatNMK.NMK_KTMR, NoticeBktmr); NmkBniwr.put(CatNMK.NMK_CRTP, NoticeBcrtp); NmkBniwr.put(CatNMK.NMK_CRTS, NoticeBcrts); NmkBniwr.put(CatNMK.NMK_TRBM, NoticeBtrbm); 989 NmkBniwr.put(CatNMK.NMK_RSPD, NoticeBrspd); 979 990 } 980 991 … … 985 996 } 986 997 987 public static Symbol getNotice(CatNMK cat, MarSYS sys ) {998 public static Symbol getNotice(CatNMK cat, MarSYS sys, BnkWTW bank) { 988 999 Symbol symbol = null; 989 1000 switch (sys) {
Note:
See TracChangeset
for help on using the changeset viewer.