Ignore:
Timestamp:
2013-01-06T16:33:30+01:00 (12 years ago)
Author:
malcolmh
Message:

save

File:
1 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/smed2/src/symbols/Buoys.java

    r29110 r29175  
    1414import java.awt.geom.*;
    1515import java.util.ArrayList;
    16 
     16import java.util.EnumMap;
     17
     18import s57.S57val.BoySHP;
    1719import symbols.Symbols.*;
    1820
     
    247249    Super.add(new Instr(Prim.PLIN, p));
    248250        }
     251       
     252        public static final EnumMap<BoySHP, ArrayList<Instr>> Shapes = new EnumMap<BoySHP, ArrayList<Instr>>(BoySHP.class);
     253        static {
     254                Shapes.put(BoySHP.BOY_UNKN, Buoys.Pillar); Shapes.put(BoySHP.BOY_CONE, Buoys.Cone); Shapes.put(BoySHP.BOY_CAN, Buoys.Can);
     255                Shapes.put(BoySHP.BOY_SPHR, Buoys.Sphere); Shapes.put(BoySHP.BOY_PILR, Buoys.Pillar); Shapes.put(BoySHP.BOY_SPAR, Buoys.Spar);
     256                Shapes.put(BoySHP.BOY_BARL, Buoys.Barrel); Shapes.put(BoySHP.BOY_SUPR, Buoys.Super); Shapes.put(BoySHP.BOY_ICE, Buoys.Ice);
     257        }
    249258}
Note: See TracChangeset for help on using the changeset viewer.