Changeset 32393 in osm for applications/editors/josm/plugins/seachart/src/symbols
- Timestamp:
- 2016-06-24T02:19:11+02:00 (9 years ago)
- Location:
- applications/editors/josm/plugins/seachart/src/symbols
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/seachart/src/symbols/Beacons.java
r30894 r32393 182 182 } 183 183 184 public static final EnumMap<BcnSHP, Symbol> Shapes = new EnumMap< BcnSHP, Symbol>(BcnSHP.class);184 public static final EnumMap<BcnSHP, Symbol> Shapes = new EnumMap<>(BcnSHP.class); 185 185 static { 186 186 Shapes.put(BcnSHP.BCN_UNKN, Beacons.Beacon); Shapes.put(BcnSHP.BCN_STAK, Beacons.Stake); Shapes.put(BcnSHP.BCN_TOWR, Beacons.Tower); -
applications/editors/josm/plugins/seachart/src/symbols/Buoys.java
r30894 r32393 249 249 } 250 250 251 public static final EnumMap<BoySHP, Symbol> Shapes = new EnumMap< BoySHP, Symbol>(BoySHP.class);251 public static final EnumMap<BoySHP, Symbol> Shapes = new EnumMap<>(BoySHP.class); 252 252 static { 253 253 Shapes.put(BoySHP.BOY_UNKN, Buoys.Pillar); Shapes.put(BoySHP.BOY_CONE, Buoys.Cone); Shapes.put(BoySHP.BOY_CAN, Buoys.Can); -
applications/editors/josm/plugins/seachart/src/symbols/Facilities.java
r30894 r32393 191 191 } 192 192 193 public static final EnumMap<CatSCF, Symbol> Cats = new EnumMap< CatSCF, Symbol>(CatSCF.class);193 public static final EnumMap<CatSCF, Symbol> Cats = new EnumMap<>(CatSCF.class); 194 194 static { 195 195 Cats.put(CatSCF.SCF_BHST, Boatlift); Cats.put(CatSCF.SCF_BTYD, Boatyard); Cats.put(CatSCF.SCF_CHDR, Chandler); Cats.put(CatSCF.SCF_FUEL, Fuel); Cats.put(CatSCF.SCF_LAUN, Laundrette); -
applications/editors/josm/plugins/seachart/src/symbols/Landmarks.java
r32095 r32393 187 187 } 188 188 189 public static final EnumMap<CatLMK, Symbol> Shapes = new EnumMap< CatLMK, Symbol>(CatLMK.class);189 public static final EnumMap<CatLMK, Symbol> Shapes = new EnumMap<>(CatLMK.class); 190 190 static { 191 191 Shapes.put(CatLMK.LMK_CARN, Beacons.Cairn); Shapes.put(CatLMK.LMK_CHMY, Landmarks.Chimney); … … 198 198 } 199 199 200 public static final EnumMap<FncFNC, Symbol> Funcs = new EnumMap< FncFNC, Symbol>(FncFNC.class);200 public static final EnumMap<FncFNC, Symbol> Funcs = new EnumMap<>(FncFNC.class); 201 201 static { 202 202 Funcs.put(FncFNC.FNC_CHCH, Landmarks.Church); Funcs.put(FncFNC.FNC_CHPL, Landmarks.Church); Funcs.put(FncFNC.FNC_TMPL, Landmarks.Temple); -
applications/editors/josm/plugins/seachart/src/symbols/Notices.java
r32380 r32393 1060 1060 } 1061 1061 1062 public static final EnumMap<CatNMK, Symbol> NmkCevni = new EnumMap< CatNMK, Symbol>(CatNMK.class);1062 public static final EnumMap<CatNMK, Symbol> NmkCevni = new EnumMap<>(CatNMK.class); 1063 1063 static { 1064 1064 NmkCevni.put(CatNMK.NMK_UNKN, Notice); NmkCevni.put(CatNMK.NMK_NENT, NoticeA1); NmkCevni.put(CatNMK.NMK_CLSA, NoticeA1a); NmkCevni.put(CatNMK.NMK_NOVK, NoticeA2); … … 1310 1310 NoticeBoptl.add(new Instr(Form.PGON, p)); 1311 1311 } 1312 public static final EnumMap<CatNMK, Symbol> NmkBniwr = new EnumMap< CatNMK, Symbol>(CatNMK.class);1312 public static final EnumMap<CatNMK, Symbol> NmkBniwr = new EnumMap<>(CatNMK.class); 1313 1313 static { 1314 1314 NmkBniwr.put(CatNMK.NMK_NANK, NoticeBnank); NmkBniwr.put(CatNMK.NMK_LMHR, NoticeBlmhr); NmkBniwr.put(CatNMK.NMK_OPTR, NoticeBoptr); NmkBniwr.put(CatNMK.NMK_OPTL, NoticeBoptl); … … 1502 1502 } 1503 1503 1504 public static final EnumMap<CatNMK, Symbol> NmkPpwbcl = new EnumMap< CatNMK, Symbol>(CatNMK.class);1504 public static final EnumMap<CatNMK, Symbol> NmkPpwbcl = new EnumMap<>(CatNMK.class); 1505 1505 static { 1506 1506 NmkPpwbcl.put(CatNMK.NMK_WRAL, NoticePwralL); NmkPpwbcl.put(CatNMK.NMK_WLAR, NoticePwlarL); NmkPpwbcl.put(CatNMK.NMK_KTPM, NoticePktmL); NmkPpwbcl.put(CatNMK.NMK_KTSM, NoticePktmL); … … 1508 1508 } 1509 1509 1510 public static final EnumMap<CatNMK, Symbol> NmkPpwbcr = new EnumMap< CatNMK, Symbol>(CatNMK.class);1510 public static final EnumMap<CatNMK, Symbol> NmkPpwbcr = new EnumMap<>(CatNMK.class); 1511 1511 static { 1512 1512 NmkPpwbcr.put(CatNMK.NMK_WRAL, NoticePwralR); NmkPpwbcr.put(CatNMK.NMK_WLAR, NoticePwlarR); NmkPpwbcr.put(CatNMK.NMK_KTPM, NoticePktmR); NmkPpwbcr.put(CatNMK.NMK_KTSM, NoticePktmR); … … 1514 1514 } 1515 1515 1516 public static final EnumMap<CatNMK, Symbol> NmkRiwr = new EnumMap< CatNMK, Symbol>(CatNMK.class);1516 public static final EnumMap<CatNMK, Symbol> NmkRiwr = new EnumMap<>(CatNMK.class); 1517 1517 static { 1518 1518 NmkRiwr.put(CatNMK.NMK_NPAS, NoticeRnpas); NmkRiwr.put(CatNMK.NMK_NANK, NoticeRnank); NmkRiwr.put(CatNMK.NMK_NWSH, NoticeRnwsh); NmkRiwr.put(CatNMK.NMK_LMHR, NoticeRlmhr); NmkRiwr.put(CatNMK.NMK_TRNA, NoticeRtrna); … … 1521 1521 1522 1522 public static Scheme getScheme(MarSYS sys, BnkWTW bank) { 1523 ArrayList<Color> colours = new ArrayList< Color>();1523 ArrayList<Color> colours = new ArrayList<>(); 1524 1524 Scheme scheme = new Scheme(colours); 1525 1525 switch (sys) { -
applications/editors/josm/plugins/seachart/src/symbols/Symbols.java
r32380 r32393 69 69 70 70 public Scheme(ArrayList<Color> icol) { 71 pat = new ArrayList< Patt>();71 pat = new ArrayList<>(); 72 72 col = icol; 73 73 } … … 77 77 } 78 78 public Scheme(Color icol) { 79 pat = new ArrayList< Patt>();80 col = new ArrayList< Color>();79 pat = new ArrayList<>(); 80 col = new ArrayList<>(); 81 81 col.add(icol); 82 82 } 83 83 public Scheme() { 84 pat = new ArrayList< Patt>();85 col = new ArrayList< Color>();84 pat = new ArrayList<>(); 85 col = new ArrayList<>(); 86 86 } 87 87 } -
applications/editors/josm/plugins/seachart/src/symbols/Topmarks.java
r32380 r32393 475 475 } 476 476 477 public static final EnumMap<TopSHP, Symbol> Shapes = new EnumMap< TopSHP, Symbol>(TopSHP.class);477 public static final EnumMap<TopSHP, Symbol> Shapes = new EnumMap<>(TopSHP.class); 478 478 static { 479 479 Shapes.put(TopSHP.TOP_BESM, TopBesom); Shapes.put(TopSHP.TOP_IBESM, TopIBesom); Shapes.put(TopSHP.TOP_BORD, TopBoard); Shapes.put(TopSHP.TOP_CAN, TopCan); … … 489 489 } 490 490 491 public static final EnumMap<BoySHP, Delta> BuoyDeltas = new EnumMap< BoySHP, Delta>(BoySHP.class);491 public static final EnumMap<BoySHP, Delta> BuoyDeltas = new EnumMap<>(BoySHP.class); 492 492 static { 493 493 BuoyDeltas.put(BoySHP.BOY_PILR, new Delta(Handle.BC, new AffineTransform(0.948324, 0.317305, -0.3173047, 0.948324, 31.5, -95.0)));
Note:
See TracChangeset
for help on using the changeset viewer.