Changeset 26096 in osm for applications/editors/josm/plugins/smed
- Timestamp:
- 2011-06-04T21:17:49+02:00 (14 years ago)
- Location:
- applications/editors/josm/plugins/smed/plugs/oseam/src/oseam
- Files:
-
- 15 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/smed/plugs/oseam/src/oseam/msg/messages.properties
r24830 r26096 1 1 TabInfo=Seamark editor 2 2 TabName=Seamarks 3 ChanTip=Lateral & Safe Water marks 4 HazTip=Cardinal & Isolated Danger marks 5 SpecTip=Special Purpose marks 6 LightsTip=Lights marks 7 PortTip=Port hand marks 8 StbdTip=Starboard hand marks 9 PrefPortTip=Preferred Port hand marks 10 PrefStbdTip=Preferred Starboard hand marks 11 SafeWaterTip=Safe Water marks 12 NorthTip=North cardinal marks 13 SouthTip=South cardinal marks 14 EastTip=East cardinal marks 15 WestTip=West cardinal marks 16 IsolTip=Isolated danger marks 17 LighthouseTip=Lighthouse 18 MajorLightTip=Major light 19 MinorLightTip=Minor light 20 LightVesselTip=Light vessel 21 LightFloatTip=Light float 22 TopmarksTip=Topmarks 23 FogSignalsTip=Fog signals 24 RadarTip=Radar 25 LitTip=Lights 26 PillarTip=Pillar buoy 27 SparTip=Spar buoy 28 CanTip=Can buoy 29 ConeTip=Cone buoy 30 SphereTip=Sphere buoy 31 BarrelTip=Barrel buoy 32 FloatTip=Light float 33 SuperTip=Super-buoy 34 BeaconTip=Beacon 35 TowerTip=Beacon tower 36 StakeTip=Stake beacon 37 PerchTip=Perch beacon 38 RegionATip=IALA Region A 39 RegionBTip=IALA Region B 40 NoTopTip=No topmark 41 CanTopTip=Can topmark 42 ConeTopTip=Conical topmark 43 SphereTopTip=Spherical topmark 44 XTopTip=X-shape topmark 45 NorthTopTip=North cardinal topmark 46 SouthTopTip=South cardinal topmark 47 EastTopTip=East cardinal topmark 48 WestTopTip=West cardinal topmark 49 Spheres2TopTip=2 spheres topmark 50 BoardDayTip=Board daymark 51 DiamondDayTip=Diamond daymark 52 TriangleDayTip=Triangular daymark 53 TriangleInvDayTip=Inverted triangular daymark 54 SquareDayTip=Square daymark 55 MooringTopTip=Mooring 3 Chan=Lateral & Safe Water marks 4 Haz=Cardinal & Isolated Danger marks 5 Spec=Special Purpose marks 6 Lights=Lights marks 7 Port=Port hand marks 8 Stbd=Starboard hand marks 9 PrefPort=Preferred Port hand marks 10 PrefStbd=Preferred Starboard hand marks 11 SafeWater=Safe Water marks 12 North=North cardinal marks 13 South=South cardinal marks 14 East=East cardinal marks 15 West=West cardinal marks 16 Isol=Isolated danger marks 17 Lighthouse=Lighthouse 18 MajorLight=Major light 19 MinorLight=Minor light 20 LightVessel=Light vessel 21 LightFloat=Light float 22 Topmarks=Topmarks 23 FogSignals=Fog signals 24 Radar=Radar 25 Lit=Lights 26 27 Pillar=Pillar buoy 28 Spar=Spar buoy 29 Can=Can buoy 30 Cone=Cone buoy 31 Sphere=Sphere buoy 32 Barrel=Barrel buoy 33 Float=Light float 34 Super=Super-buoy 35 Beacon=Beacon 36 Tower=Beacon tower 37 Stake=Stake beacon 38 Perch=Perch beacon 39 40 RegionA=IALA Region A 41 RegionB=IALA Region B 42 43 NoTop=No topmark 44 CanTop=Can topmark 45 ConeTop=Conical topmark 46 SphereTop=Spherical topmark 47 XTop=X-shape topmark 48 NorthTop=North cardinal topmark 49 SouthTop=South cardinal topmark 50 EastTop=East cardinal topmark 51 WestTop=West cardinal topmark 52 Spheres2Top=2 spheres topmark 53 BoardDay=Board daymark 54 DiamondDay=Diamond daymark 55 TriangleDay=Triangular daymark 56 TriangleInvDay=Inverted triangular daymark 57 SquareDay=Square daymark 58 CircleDay=Circular daymark 59 MooringTop=Mooring 60 56 61 SelectNode=Please select a node 57 62 OneNode=Please select only one node 58 63 NoMark=No seamark recognised at this node 64 65 NoChar=No character 66 FChar=F: Fixed 67 FlChar=Fl: Flashing 68 LFlChar=LFl: Long flash 69 QChar=Q: Quick flashing 70 VQChar=VQ: Very quick flashing 71 UQChar=UQ: Ultra quick flashing 72 AlChar=Al: Alternating 73 IsoChar=Iso: Isophased flashing 74 OcChar=Oc: Occulting flash 75 MoChar=Mo: Morse 76 IQChar=IQ: Interrupted quick flashing 77 IVQChar=IVQ: Interrupted very quick flashing 78 IUQChar=IUQ: Interrupted ultra quick flashing 79 Character=Character 80 81 NoColour=No colour 82 White=White 83 Red=Red 84 Orange=Orange 85 Amber=Amber 86 Yellow=Yellow 87 Green=Green 88 Blue=Blue 89 Violet=Violet 90 Black=Black -
applications/editors/josm/plugins/smed/plugs/oseam/src/oseam/msg/messages_de.properties
r24830 r26096 1 1 TabInfo=Seamark editor 2 2 TabName=Seezeichen 3 ChanTip=Lateral & Safe Water marks 4 HazTip=Cardinal & Isolated Danger marks 5 SpecTip=Special Purpose marks 6 LightsTip=Lights marks 7 PortTip=Backbord 8 StbdTip=Steuerbord 9 PrefPortTip=Abzweigung Backboard 10 PrefStbdTip=Abzweigung Steuerbord 11 SafeWaterTip=Safe water marks 12 NorthTip=North cardinal marks 13 SouthTip=South cardinal marks 14 EastTip=East cardinal marks 15 WestTip=West cardinal marks 16 IsolTip=Isolated danger marks 17 LighthouseTip=Leuchtturm 18 MajorLightTip=primäres Feuer 19 MinorLightTip=sekundäres Feuer 20 LightVesselTip=Feuerschiff 21 LightFloatTip=Leuchtfloß 22 TopmarksTip=Topmarks 23 FogSignalsTip=Fog signals 24 RadarTip=Radar 25 LitTip=Lights 26 PillarTip=Bakentonne 27 SparTip=Spierentonne 28 CanTip=Stumpftonne 29 ConeTip=Spitztonne 30 SphereTip=Kugeltonne 31 BarrelTip=Fasstonne 32 FloatTip=Leuchtfloß 33 SuperTip=Super-buoy 34 BeaconTip=Spiere 35 TowerTip=Beacon tower 36 StakeTip=Stake beacon 37 PerchTip=Pricke 38 RegionATip=IALA Region A 39 RegionBTip=IALA Region B 40 NoTopTip=No topmark 41 CanTopTip=Can topmark 42 ConeTopTip=Conical topmark 43 SphereTopTip=Spherical topmark 44 XTopTip=X-shape topmark 45 NorthTopTip=North cardinal topmark 46 SouthTopTip=South cardinal topmark 47 EastTopTip=East cardinal topmark 48 WestTopTip=West cardinal topmark 49 Spheres2TopTip=2 spheres topmark 50 BoardDayTip=Board daymark 51 DiamondDayTip=Diamond daymark 52 TriangleDayTip=Triangular daymark 53 TriangleInvDayTip=Inverted triangular daymark 54 SquareDayTip=Square daymark 55 MooringTopTip=Mooring 3 Chan=Lateral & Safe Water marks 4 Haz=Cardinal & Isolated Danger marks 5 Spec=Special Purpose marks 6 Lights=Lights marks 7 Port=Backbord 8 Stbd=Steuerbord 9 PrefPort=Abzweigung Backboard 10 PrefStbd=Abzweigung Steuerbord 11 SafeWater=Safe water marks 12 North=North cardinal marks 13 South=South cardinal marks 14 East=East cardinal marks 15 West=West cardinal marks 16 Isol=Isolated danger marks 17 Lighthouse=Leuchtturm 18 MajorLight=primäres Feuer 19 MinorLight=sekundäres Feuer 20 LightVessel=Feuerschiff 21 LightFloat=Leuchtfloß 22 Topmarks=Topmarks 23 FogSignals=Fog signals 24 Radar=Radar 25 Lit=Lights 26 27 Pillar=Bakentonne 28 Spar=Spierentonne 29 Can=Stumpftonne 30 Cone=Spitztonne 31 Sphere=Kugeltonne 32 Barrel=Fasstonne 33 Float=Leuchtfloß 34 Super=Super-buoy 35 Beacon=Spiere 36 Tower=Beacon tower 37 Stake=Stake beacon 38 Perch=Pricke 39 40 RegionA=IALA Region A 41 RegionB=IALA Region B 42 43 NoTop=No topmark 44 CanTop=Can topmark 45 ConeTop=Conical topmark 46 SphereTop=Spherical topmark 47 XTop=X-shape topmark 48 NorthTop=North cardinal topmark 49 SouthTop=South cardinal topmark 50 EastTop=East cardinal topmark 51 WestTop=West cardinal topmark 52 Spheres2Top=2 spheres topmark 53 BoardDay=Board daymark 54 DiamondDay=Diamond daymark 55 TriangleDay=Triangular daymark 56 TriangleInvDay=Inverted triangular daymark 57 SquareDay=Square daymark 58 CircleDay=Circular daymark 59 MooringTop=Mooring 60 56 61 SelectNode=Please select a node 57 62 OneNode=Please select only one node 58 63 NoMark=No seamark recognised at this node 64 65 NoChar=No character 66 FChar=F: Fixed 67 FlChar=Fl: Flashing 68 LFlChar=LFl: Long flash 69 QChar=Q: Quick flashing 70 VQChar=VQ: Very quick flashing 71 UQChar=UQ: Ultra quick flashing 72 AlChar=Al: Alternating 73 IsoChar=Iso: Isophased flashing 74 OcChar=Oc: Occulting flash 75 MoChar=Mo: Morse 76 IQChar=IQ: Interrupted quick flashing 77 IVQChar=IVQ: Interrupted very quick flashing 78 IUQChar=IUQ: Interrupted ultra quick flashing 79 Character=Character 80 81 NoColour=No colour 82 White=White 83 Red=Red 84 Orange=Orange 85 Amber=Amber 86 Yellow=Yellow 87 Green=Green 88 Blue=Blue 89 Violet=Violet 90 Black=Black -
applications/editors/josm/plugins/smed/plugs/oseam/src/oseam/msg/messages_en.properties
r24830 r26096 1 1 TabInfo=Seamark editor 2 2 TabName=Seamarks 3 ChanTip=Lateral & Safe Water marks 4 HazTip=Cardinal & Isolated Danger marks 5 SpecTip=Special Purpose marks 6 LightsTip=Lights marks 7 PortTip=Port hand marks 8 StbdTip=Starboard hand marks 9 PrefPortTip=Preferred Port hand marks 10 PrefStbdTip=Preferred Starboard hand marks 11 SafeWaterTip=Safe Water marks 12 NorthTip=North cardinal marks 13 SouthTip=South cardinal marks 14 EastTip=East cardinal marks 15 WestTip=West cardinal marks 16 IsolTip=Isolated danger marks 17 LighthouseTip=Lighthouse 18 MajorLightTip=Major light 19 MinorLightTip=Minor light 20 LightVesselTip=Light vessel 21 LightFloatTip=Light float 22 TopmarksTip=Topmarks 23 FogSignalsTip=Fog signals 24 RadarTip=Radar 25 LitTip=Lights 26 PillarTip=Pillar buoy 27 SparTip=Spar buoy 28 CanTip=Can buoy 29 ConeTip=Cone buoy 30 SphereTip=Sphere buoy 31 BarrelTip=Barrel buoy 32 FloatTip=Light float 33 SuperTip=Super-buoy 34 BeaconTip=Beacon 35 TowerTip=Beacon tower 36 StakeTip=Stake beacon 37 PerchTip=Perch beacon 38 RegionATip=IALA Region A 39 RegionBTip=IALA Region B 40 NoTopTip=No topmark 41 CanTopTip=Can topmark 42 ConeTopTip=Conical topmark 43 SphereTopTip=Spherical topmark 44 XTopTip=X-shape topmark 45 NorthTopTip=North cardinal topmark 46 SouthTopTip=South cardinal topmark 47 EastTopTip=East cardinal topmark 48 WestTopTip=West cardinal topmark 49 Spheres2TopTip=2 spheres topmark 50 BoardDayTip=Board daymark 51 DiamondDayTip=Diamond daymark 52 TriangleDayTip=Triangular daymark 53 TriangleInvDayTip=Inverted triangular daymark 54 SquareDayTip=Square daymark 55 MooringTopTip=Mooring 3 Chan=Lateral & Safe Water marks 4 Haz=Cardinal & Isolated Danger marks 5 Spec=Special Purpose marks 6 Lights=Lights marks 7 Port=Port hand marks 8 Stbd=Starboard hand marks 9 PrefPort=Preferred Port hand marks 10 PrefStbd=Preferred Starboard hand marks 11 SafeWater=Safe Water marks 12 North=North cardinal marks 13 South=South cardinal marks 14 East=East cardinal marks 15 West=West cardinal marks 16 Isol=Isolated danger marks 17 Lighthouse=Lighthouse 18 MajorLight=Major light 19 MinorLight=Minor light 20 LightVessel=Light vessel 21 LightFloat=Light float 22 Topmarks=Topmarks 23 FogSignals=Fog signals 24 Radar=Radar 25 Lit=Lights 26 27 Pillar=Pillar buoy 28 Spar=Spar buoy 29 Can=Can buoy 30 Cone=Cone buoy 31 Sphere=Sphere buoy 32 Barrel=Barrel buoy 33 Float=Light float 34 Super=Super-buoy 35 Beacon=Beacon 36 Tower=Beacon tower 37 Stake=Stake beacon 38 Perch=Perch beacon 39 40 RegionA=IALA Region A 41 RegionB=IALA Region B 42 43 NoTop=No topmark 44 CanTop=Can topmark 45 ConeTop=Conical topmark 46 SphereTop=Spherical topmark 47 XTop=X-shape topmark 48 NorthTop=North cardinal topmark 49 SouthTop=South cardinal topmark 50 EastTop=East cardinal topmark 51 WestTop=West cardinal topmark 52 Spheres2Top=2 spheres topmark 53 BoardDay=Board daymark 54 DiamondDay=Diamond daymark 55 TriangleDay=Triangular daymark 56 TriangleInvDay=Inverted triangular daymark 57 SquareDay=Square daymark 58 CircleDay=Circular daymark 59 MooringTop=Mooring 60 56 61 SelectNode=Please select a node 57 62 OneNode=Please select only one node 58 63 NoMark=No seamark recognised at this node 64 65 NoChar=No character 66 FChar=F: Fixed 67 FlChar=Fl: Flashing 68 LFlChar=LFl: Long flash 69 QChar=Q: Quick flashing 70 VQChar=VQ: Very quick flashing 71 UQChar=UQ: Ultra quick flashing 72 AlChar=Al: Alternating 73 IsoChar=Iso: Isophased flashing 74 OcChar=Oc: Occulting flash 75 MoChar=Mo: Morse 76 IQChar=IQ: Interrupted quick flashing 77 IVQChar=IVQ: Interrupted very quick flashing 78 IUQChar=IUQ: Interrupted ultra quick flashing 79 Character=Character 80 81 NoColour=No colour 82 White=White 83 Red=Red 84 Orange=Orange 85 Amber=Amber 86 Yellow=Yellow 87 Green=Green 88 Blue=Blue 89 Violet=Violet 90 Black=Black -
applications/editors/josm/plugins/smed/plugs/oseam/src/oseam/panels/PanelChan.java
r24931 r26096 205 205 this.add(panelStbd, null); 206 206 this.add(panelSaw, null); 207 this.add(getCatButton(portButton, 0, 0, 52, 32, "Port Tip"), null);208 this.add(getCatButton(stbdButton, 0, 32, 52, 32, "Stbd Tip"), null);209 this.add(getCatButton(prefPortButton, 0, 64, 52, 32, "PrefPort Tip"), null);210 this.add(getCatButton(prefStbdButton, 0, 96, 52, 32, "PrefStbd Tip"), null);211 this.add(getCatButton(safeWaterButton, 0, 128, 52, 32, "SafeWater Tip"), null);207 this.add(getCatButton(portButton, 0, 0, 52, 32, "Port"), null); 208 this.add(getCatButton(stbdButton, 0, 32, 52, 32, "Stbd"), null); 209 this.add(getCatButton(prefPortButton, 0, 64, 52, 32, "PrefPort"), null); 210 this.add(getCatButton(prefStbdButton, 0, 96, 52, 32, "PrefStbd"), null); 211 this.add(getCatButton(safeWaterButton, 0, 128, 52, 32, "SafeWater"), null); 212 212 } 213 213 -
applications/editors/josm/plugins/smed/plugs/oseam/src/oseam/panels/PanelChr.java
r26087 r26096 17 17 import java.util.EnumMap; 18 18 import java.util.EnumSet; 19 import java.util.HashMap;20 import java.util.Map;21 19 20 import oseam.Messages; 22 21 import oseam.dialogs.OSeaMAction; 23 22 import oseam.seamarks.SeaMark.Chr; … … 59 58 } 60 59 } 61 charBox.setText(""); 62 for (EnumSet<Chr> map : SeaMark.ChrMAP.keySet()) { 63 if (map.equals(combo)) { 64 charBox.setText(SeaMark.ChrMAP.get(map)); 65 } 66 } 67 if (charBox.getText().isEmpty()) { 60 if (SeaMark.ChrMAP.containsKey(combo)) { 61 charBox.setText(SeaMark.ChrMAP.get(combo)); 62 } else { 68 63 for (Chr chr : buttons.keySet()) { 69 64 JToggleButton button = buttons.get(chr); … … 106 101 dlg = dia; 107 102 this.setLayout(null); 108 this.add(getChrButton(noneButton, 0, 0, 44, 16, "No character", Chr.UNKNOWN), null);109 this.add(getChrButton(fixedButton, 0, 16, 44, 16, "F: Fixed", Chr.FIXED), null);110 this.add(getChrButton(flashButton, 0, 32, 44, 16, "Fl: Flashing", Chr.FLASH), null);111 this.add(getChrButton(longFlashButton, 0, 48, 44, 16, "LFl: Long flash", Chr.LONGFLASH), null);112 this.add(getChrButton(quickButton, 0, 64, 44, 16, "Q: Quick flashing", Chr.QUICK), null);113 this.add(getChrButton(veryQuickButton, 0, 80, 44, 16, "VQ: Very quick flashing", Chr.VERYQUICK), null);114 this.add(getChrButton(ultraQuickButton, 0, 96, 44, 16, "UQ: Ultra quick flashing", Chr.ULTRAQUICK), null);115 this.add(getChrButton(alternatingButton, 44, 0, 44, 16, "Al: Alternating", Chr.ALTERNATING), null);116 this.add(getChrButton(isophasedButton, 44, 16, 44, 16, "Iso: Isophased flashing", Chr.ISOPHASED), null);117 this.add(getChrButton(occultingButton, 44, 32, 44, 16, "Oc: Occulting flash", Chr.OCCULTING), null);118 this.add(getChrButton(morseButton, 44, 48, 44, 16, "Mo: Morse", Chr.MORSE), null);119 this.add(getChrButton(interruptedQuickButton, 44, 64, 44, 16, "IQ: Interrupted quick flashing", Chr.INTERRUPTEDQUICK), null);120 this.add(getChrButton(interruptedVeryQuickButton, 44, 80, 44, 16, "IVQ: Interrupted very quick flashing", Chr.INTERRUPTEDVERYQUICK), null);121 this.add(getChrButton(interruptedUltraQuickButton, 44, 96, 44, 16, "IUQ: Interrupted ultra quick flashing", Chr.INTERRUPTEDULTRAQUICK), null);103 this.add(getChrButton(noneButton, 0, 0, 44, 16, Messages.getString("NoChar"), Chr.UNKNOWN), null); 104 this.add(getChrButton(fixedButton, 0, 16, 44, 16, Messages.getString("FChar"), Chr.FIXED), null); 105 this.add(getChrButton(flashButton, 0, 32, 44, 16, Messages.getString("FlChar"), Chr.FLASH), null); 106 this.add(getChrButton(longFlashButton, 0, 48, 44, 16, Messages.getString("LFlChar"), Chr.LONGFLASH), null); 107 this.add(getChrButton(quickButton, 0, 64, 44, 16, Messages.getString("QChar"), Chr.QUICK), null); 108 this.add(getChrButton(veryQuickButton, 0, 80, 44, 16, Messages.getString("VQChar"), Chr.VERYQUICK), null); 109 this.add(getChrButton(ultraQuickButton, 0, 96, 44, 16, Messages.getString("UQChar"), Chr.ULTRAQUICK), null); 110 this.add(getChrButton(alternatingButton, 44, 0, 44, 16, Messages.getString("AlChar"), Chr.ALTERNATING), null); 111 this.add(getChrButton(isophasedButton, 44, 16, 44, 16, Messages.getString("IsoChar"), Chr.ISOPHASED), null); 112 this.add(getChrButton(occultingButton, 44, 32, 44, 16, Messages.getString("OcChar"), Chr.OCCULTING), null); 113 this.add(getChrButton(morseButton, 44, 48, 44, 16, Messages.getString("MoChar"), Chr.MORSE), null); 114 this.add(getChrButton(interruptedQuickButton, 44, 64, 44, 16, Messages.getString("IQChar"), Chr.INTERRUPTEDQUICK), null); 115 this.add(getChrButton(interruptedVeryQuickButton, 44, 80, 44, 16, Messages.getString("IVQChar"), Chr.INTERRUPTEDVERYQUICK), null); 116 this.add(getChrButton(interruptedUltraQuickButton, 44, 96, 44, 16, Messages.getString("IUQChar"), Chr.INTERRUPTEDULTRAQUICK), null); 122 117 charLabel.setBounds(new Rectangle(0, 113, 88, 20)); 123 118 charLabel.setHorizontalAlignment(SwingConstants.CENTER); 124 charLabel.setText("Character"); 119 charLabel.setText(Messages.getString("Character")); 125 120 this.add(charLabel, null); 126 121 charBox.setBounds(new Rectangle(20, 135, 50, 20)); -
applications/editors/josm/plugins/smed/plugs/oseam/src/oseam/panels/PanelCol.java
r24931 r26096 15 15 import java.util.EnumMap; 16 16 17 import oseam.Messages; 17 18 import oseam.dialogs.OSeaMAction; 18 19 import oseam.seamarks.SeaMark.Col; … … 52 53 ent = entity; 53 54 this.setLayout(null); 54 this.add(getColButton(offButton, 0, 0, 34, 16, "No colour", Col.UNKNOWN), null);55 this.add(getColButton(whiteButton, 0, 16, 34, 16, "White", Col.WHITE), null);56 this.add(getColButton(redButton, 0, 32, 34, 16, "Red", Col.RED), null);57 this.add(getColButton(orangeButton, 0, 48, 34, 16, "Orange", Col.ORANGE), null);58 this.add(getColButton(amberButton, 0, 64, 34, 16, "Amber", Col.AMBER), null);59 this.add(getColButton(yellowButton, 0, 80, 34, 16, "Yellow", Col.YELLOW), null);60 this.add(getColButton(greenButton, 0, 96, 34, 16, "Green", Col.GREEN), null);61 this.add(getColButton(blueButton, 0, 112, 34, 16, "Blue", Col.BLUE), null);62 this.add(getColButton(violetButton, 0, 128, 34, 16, "Violet", Col.VIOLET), null);63 this.add(getColButton(blackButton, 0, 144, 34, 16, "Black", Col.BLACK), null);55 this.add(getColButton(offButton, 0, 0, 34, 16, Messages.getString("NoColour"), Col.UNKNOWN), null); 56 this.add(getColButton(whiteButton, 0, 16, 34, 16, Messages.getString("White"), Col.WHITE), null); 57 this.add(getColButton(redButton, 0, 32, 34, 16, Messages.getString("Red"), Col.RED), null); 58 this.add(getColButton(orangeButton, 0, 48, 34, 16, Messages.getString("Orange"), Col.ORANGE), null); 59 this.add(getColButton(amberButton, 0, 64, 34, 16, Messages.getString("Amber"), Col.AMBER), null); 60 this.add(getColButton(yellowButton, 0, 80, 34, 16, Messages.getString("Yellow"), Col.YELLOW), null); 61 this.add(getColButton(greenButton, 0, 96, 34, 16, Messages.getString("Green"), Col.GREEN), null); 62 this.add(getColButton(blueButton, 0, 112, 34, 16, Messages.getString("Blue"), Col.BLUE), null); 63 this.add(getColButton(violetButton, 0, 128, 34, 16, Messages.getString("Violet"), Col.VIOLET), null); 64 this.add(getColButton(blackButton, 0, 144, 34, 16, Messages.getString("Black"), Col.BLACK), null); 64 65 } 65 66 -
applications/editors/josm/plugins/smed/plugs/oseam/src/oseam/panels/PanelHaz.java
r24963 r26096 122 122 dlg = dia; 123 123 this.setLayout(null); 124 this.add(getCatButton(northButton, 0, 0, 52, 32, "North Tip"), null);125 this.add(getCatButton(southButton, 0, 32, 52, 32, "South Tip"), null);126 this.add(getCatButton(eastButton, 0, 64, 52, 32, "East Tip"), null);127 this.add(getCatButton(westButton, 0, 96, 52, 32, "West Tip"), null);128 this.add(getCatButton(isolButton, 0, 128, 52, 32, "Isol Tip"), null);124 this.add(getCatButton(northButton, 0, 0, 52, 32, "North"), null); 125 this.add(getCatButton(southButton, 0, 32, 52, 32, "South"), null); 126 this.add(getCatButton(eastButton, 0, 64, 52, 32, "East"), null); 127 this.add(getCatButton(westButton, 0, 96, 52, 32, "West"), null); 128 this.add(getCatButton(isolButton, 0, 128, 52, 32, "Isol"), null); 129 129 130 this.add(getShapeButton(pillarButton, 55, 0, 34, 32, "Pillar Tip", Shp.PILLAR, Obj.BOYCAR, Obj.BOYISD), null);131 this.add(getShapeButton(sparButton, 55, 32, 34, 32, "Spar Tip", Shp.SPAR, Obj.BOYCAR, Obj.BOYISD), null);132 this.add(getShapeButton(floatButton, 55, 64, 34, 32, "Float Tip", Shp.FLOAT, Obj.LITFLT, Obj.LITFLT), null);133 this.add(getShapeButton(beaconButton, 55, 96, 34, 32, "Beacon Tip", Shp.BEACON, Obj.BCNCAR, Obj.BCNISD), null);134 this.add(getShapeButton(towerButton, 55, 128, 34, 32, "Tower Tip", Shp.TOWER, Obj.BCNCAR, Obj.BCNISD), null);130 this.add(getShapeButton(pillarButton, 55, 0, 34, 32, "Pillar", Shp.PILLAR, Obj.BOYCAR, Obj.BOYISD), null); 131 this.add(getShapeButton(sparButton, 55, 32, 34, 32, "Spar", Shp.SPAR, Obj.BOYCAR, Obj.BOYISD), null); 132 this.add(getShapeButton(floatButton, 55, 64, 34, 32, "Float", Shp.FLOAT, Obj.LITFLT, Obj.LITFLT), null); 133 this.add(getShapeButton(beaconButton, 55, 96, 34, 32, "Beacon", Shp.BEACON, Obj.BCNCAR, Obj.BCNISD), null); 134 this.add(getShapeButton(towerButton, 55, 128, 34, 32, "Tower", Shp.TOWER, Obj.BCNCAR, Obj.BCNISD), null); 135 135 } 136 136 -
applications/editors/josm/plugins/smed/plugs/oseam/src/oseam/panels/PanelLights.java
r24963 r26096 48 48 dlg = dia; 49 49 this.setLayout(null); 50 this.add(getCatButton(houseButton, 0, 0, 34, 32, "Lighthouse Tip", Cat.LIGHT_HOUSE, Obj.LNDMRK), null);51 this.add(getCatButton(majorButton, 0, 32, 34, 32, "MajorLight Tip", Cat.LIGHT_MAJOR, Obj.LITMAJ), null);52 this.add(getCatButton(minorButton, 0, 64, 34, 32, "MinorLight Tip", Cat.LIGHT_MINOR, Obj.LITMIN), null);53 this.add(getCatButton(vesselButton, 0, 96, 34, 32, "LightVessel Tip", Cat.LIGHT_VESSEL, Obj.LITVES), null);54 this.add(getCatButton(stationButton, 0, 128, 34, 32, "SignalStation Tip", Cat.SIGNAL_STATION, Obj.SIGSTA), null);50 this.add(getCatButton(houseButton, 0, 0, 34, 32, "Lighthouse", Cat.LIGHT_HOUSE, Obj.LNDMRK), null); 51 this.add(getCatButton(majorButton, 0, 32, 34, 32, "MajorLight", Cat.LIGHT_MAJOR, Obj.LITMAJ), null); 52 this.add(getCatButton(minorButton, 0, 64, 34, 32, "MinorLight", Cat.LIGHT_MINOR, Obj.LITMIN), null); 53 this.add(getCatButton(vesselButton, 0, 96, 34, 32, "LightVessel", Cat.LIGHT_VESSEL, Obj.LITVES), null); 54 this.add(getCatButton(stationButton, 0, 128, 34, 32, "SignalStation", Cat.SIGNAL_STATION, Obj.SIGSTA), null); 55 55 } 56 56 -
applications/editors/josm/plugins/smed/plugs/oseam/src/oseam/panels/PanelMain.java
r26076 r26096 96 96 this.add(fogIcon, null); 97 97 98 this.add(getButton(chanButton, 0, 0, 62, 40, "Chan Tip"), null);99 this.add(getButton(hazButton, 0, 40, 62, 40, "Haz Tip"), null);100 this.add(getButton(specButton, 0, 80, 62, 40, "Spec Tip"), null);101 this.add(getButton(lightsButton, 0, 120, 62, 40, "Lights Tip"), null);98 this.add(getButton(chanButton, 0, 0, 62, 40, "Chan"), null); 99 this.add(getButton(hazButton, 0, 40, 62, 40, "Haz"), null); 100 this.add(getButton(specButton, 0, 80, 62, 40, "Spec"), null); 101 this.add(getButton(lightsButton, 0, 120, 62, 40, "Lights"), null); 102 102 this.add(panelChan, null); 103 103 this.add(panelHaz, null); … … 170 170 lightsButton.addActionListener(alType); 171 171 172 this.add(getButton(topButton, 0, 165, 34, 32, "Topmarks Tip"), null);173 this.add(getButton(fogButton, 0, 205, 34, 32, "FogSignals Tip"), null);174 this.add(getButton(radButton, 0, 245, 34, 32, "Radar Tip"), null);175 this.add(getButton(litButton, 0, 285, 34, 32, "Lit Tip"), null);172 this.add(getButton(topButton, 0, 165, 34, 32, "Topmarks"), null); 173 this.add(getButton(fogButton, 0, 205, 34, 32, "FogSignals"), null); 174 this.add(getButton(radButton, 0, 245, 34, 32, "Radar"), null); 175 this.add(getButton(litButton, 0, 285, 34, 32, "Lit"), null); 176 176 miscButtons = new ButtonGroup(); 177 177 miscButtons.add(topButton); -
applications/editors/josm/plugins/smed/plugs/oseam/src/oseam/panels/PanelPort.java
r24931 r26096 60 60 dlg = dia; 61 61 this.setLayout(null); 62 this.add(getRegionButton(regionAButton, 0, 2, 34, 30, "RegionA Tip"), null);63 this.add(getRegionButton(regionBButton, 0, 32, 34, 30, "RegionB Tip"), null);64 this.add(getShapeButton(pillarButton, 0, 64, 34, 32, "Pillar Tip", Shp.PILLAR, Obj.BOYLAT), null);65 this.add(getShapeButton(sparButton, 0, 96, 34, 32, "Spar Tip", Shp.SPAR, Obj.BOYLAT), null);66 this.add(getShapeButton(canButton, 0, 128, 34, 32, "Can Tip", Shp.CAN, Obj.BOYLAT), null);67 this.add(getShapeButton(floatButton, 35, 0, 34, 32, "Float Tip", Shp.FLOAT, Obj.LITFLT), null);68 this.add(getShapeButton(beaconButton, 35, 32, 34, 32, "Beacon Tip", Shp.BEACON, Obj.BCNLAT), null);69 this.add(getShapeButton(towerButton, 35, 64, 34, 32, "Tower Tip", Shp.TOWER, Obj.BCNLAT), null);70 this.add(getShapeButton(perchButton, 35, 96, 34, 32, "Perch Tip", Shp.PERCH, Obj.BCNLAT), null);62 this.add(getRegionButton(regionAButton, 0, 2, 34, 30, "RegionA"), null); 63 this.add(getRegionButton(regionBButton, 0, 32, 34, 30, "RegionB"), null); 64 this.add(getShapeButton(pillarButton, 0, 64, 34, 32, "Pillar", Shp.PILLAR, Obj.BOYLAT), null); 65 this.add(getShapeButton(sparButton, 0, 96, 34, 32, "Spar", Shp.SPAR, Obj.BOYLAT), null); 66 this.add(getShapeButton(canButton, 0, 128, 34, 32, "Can", Shp.CAN, Obj.BOYLAT), null); 67 this.add(getShapeButton(floatButton, 35, 0, 34, 32, "Float", Shp.FLOAT, Obj.LITFLT), null); 68 this.add(getShapeButton(beaconButton, 35, 32, 34, 32, "Beacon", Shp.BEACON, Obj.BCNLAT), null); 69 this.add(getShapeButton(towerButton, 35, 64, 34, 32, "Tower", Shp.TOWER, Obj.BCNLAT), null); 70 this.add(getShapeButton(perchButton, 35, 96, 34, 32, "Perch", Shp.PERCH, Obj.BCNLAT), null); 71 71 } 72 72 -
applications/editors/josm/plugins/smed/plugs/oseam/src/oseam/panels/PanelSaw.java
r24931 r26096 48 48 dlg = dia; 49 49 this.setLayout(null); 50 this.add(getShapeButton(pillarButton, 0, 0, 34, 32, "Pillar Tip", Shp.PILLAR, Obj.BOYSAW), null);51 this.add(getShapeButton(sparButton, 0, 32, 34, 32, "Spar Tip", Shp.SPAR, Obj.BOYSAW), null);52 this.add(getShapeButton(sphereButton, 0, 64, 34, 32, "Sphere Tip", Shp.SPHERE, Obj.BOYSAW), null);53 this.add(getShapeButton(barrelButton, 0, 96, 34, 32, "Barrel Tip", Shp.BARREL, Obj.BOYSAW), null);54 this.add(getShapeButton(floatButton, 0, 128, 34, 32, "Float Tip", Shp.FLOAT, Obj.LITFLT), null);50 this.add(getShapeButton(pillarButton, 0, 0, 34, 32, "Pillar", Shp.PILLAR, Obj.BOYSAW), null); 51 this.add(getShapeButton(sparButton, 0, 32, 34, 32, "Spar", Shp.SPAR, Obj.BOYSAW), null); 52 this.add(getShapeButton(sphereButton, 0, 64, 34, 32, "Sphere", Shp.SPHERE, Obj.BOYSAW), null); 53 this.add(getShapeButton(barrelButton, 0, 96, 34, 32, "Barrel", Shp.BARREL, Obj.BOYSAW), null); 54 this.add(getShapeButton(floatButton, 0, 128, 34, 32, "Float", Shp.FLOAT, Obj.LITFLT), null); 55 55 } 56 56 -
applications/editors/josm/plugins/smed/plugs/oseam/src/oseam/panels/PanelSpec.java
r24931 r26096 59 59 this.setLayout(null); 60 60 this.add(panelCol, null); 61 this.add(getShapeButton(pillarButton, 55, 0, 34, 32, "Pillar Tip", Shp.PILLAR, Obj.BOYSPP), null);62 this.add(getShapeButton(sparButton, 55, 32, 34, 32, "Spar Tip", Shp.SPAR, Obj.BOYSPP), null);63 this.add(getShapeButton(canButton, 55, 64, 34, 32, "Can Tip", Shp.CAN, Obj.BOYSPP), null);64 this.add(getShapeButton(coneButton, 55, 96, 34, 32, "Cone Tip", Shp.CONE, Obj.BOYSPP), null);65 this.add(getShapeButton(sphereButton, 55, 128, 34, 32, "Sphere Tip", Shp.SPHERE, Obj.BOYSPP), null);66 this.add(getShapeButton(barrelButton, 90, 0, 34, 32, "Barrel Tip", Shp.BARREL, Obj.BOYSPP), null);67 this.add(getShapeButton(superButton, 90, 32, 34, 32, "Super Tip", Shp.SUPER, Obj.BOYSPP), null);68 this.add(getShapeButton(floatButton, 90, 64, 34, 32, "Float Tip", Shp.FLOAT, Obj.LITFLT), null);69 this.add(getShapeButton(beaconButton, 90, 96, 34, 32, "Beacon Tip", Shp.BEACON, Obj.BCNSPP), null);70 this.add(getShapeButton(towerButton, 90, 128, 34, 32, "Tower Tip", Shp.TOWER, Obj.BCNSPP), null);61 this.add(getShapeButton(pillarButton, 55, 0, 34, 32, "Pillar", Shp.PILLAR, Obj.BOYSPP), null); 62 this.add(getShapeButton(sparButton, 55, 32, 34, 32, "Spar", Shp.SPAR, Obj.BOYSPP), null); 63 this.add(getShapeButton(canButton, 55, 64, 34, 32, "Can", Shp.CAN, Obj.BOYSPP), null); 64 this.add(getShapeButton(coneButton, 55, 96, 34, 32, "Cone", Shp.CONE, Obj.BOYSPP), null); 65 this.add(getShapeButton(sphereButton, 55, 128, 34, 32, "Sphere", Shp.SPHERE, Obj.BOYSPP), null); 66 this.add(getShapeButton(barrelButton, 90, 0, 34, 32, "Barrel", Shp.BARREL, Obj.BOYSPP), null); 67 this.add(getShapeButton(superButton, 90, 32, 34, 32, "Super", Shp.SUPER, Obj.BOYSPP), null); 68 this.add(getShapeButton(floatButton, 90, 64, 34, 32, "Float", Shp.FLOAT, Obj.LITFLT), null); 69 this.add(getShapeButton(beaconButton, 90, 96, 34, 32, "Beacon", Shp.BEACON, Obj.BCNSPP), null); 70 this.add(getShapeButton(towerButton, 90, 128, 34, 32, "Tower", Shp.TOWER, Obj.BCNSPP), null); 71 71 } 72 72 -
applications/editors/josm/plugins/smed/plugs/oseam/src/oseam/panels/PanelStbd.java
r24931 r26096 60 60 dlg = dia; 61 61 this.setLayout(null); 62 this.add(getRegionButton(regionAButton, 0, 2, 34, 30, "RegionA Tip"), null);63 this.add(getRegionButton(regionBButton, 0, 32, 34, 30, "RegionB Tip"), null);64 this.add(getShapeButton(pillarButton, 0, 64, 34, 32, "Pillar Tip", Shp.PILLAR, Obj.BOYLAT), null);65 this.add(getShapeButton(sparButton, 0, 96, 34, 32, "Spar Tip", Shp.SPAR, Obj.BOYLAT), null);66 this.add(getShapeButton(coneButton, 0, 128, 34, 32, "Cone Tip", Shp.CONE, Obj.BOYLAT), null);67 this.add(getShapeButton(floatButton, 35, 0, 34, 32, "Float Tip", Shp.FLOAT, Obj.LITFLT), null);68 this.add(getShapeButton(beaconButton, 35, 32, 34, 32, "Beacon Tip", Shp.BEACON, Obj.BCNLAT), null);69 this.add(getShapeButton(towerButton, 35, 64, 34, 32, "Tower Tip", Shp.TOWER, Obj.BCNLAT), null);70 this.add(getShapeButton(perchButton, 35, 96, 34, 32, "Perch Tip", Shp.PERCH, Obj.BCNLAT), null);62 this.add(getRegionButton(regionAButton, 0, 2, 34, 30, "RegionA"), null); 63 this.add(getRegionButton(regionBButton, 0, 32, 34, 30, "RegionB"), null); 64 this.add(getShapeButton(pillarButton, 0, 64, 34, 32, "Pillar", Shp.PILLAR, Obj.BOYLAT), null); 65 this.add(getShapeButton(sparButton, 0, 96, 34, 32, "Spar", Shp.SPAR, Obj.BOYLAT), null); 66 this.add(getShapeButton(coneButton, 0, 128, 34, 32, "Cone", Shp.CONE, Obj.BOYLAT), null); 67 this.add(getShapeButton(floatButton, 35, 0, 34, 32, "Float", Shp.FLOAT, Obj.LITFLT), null); 68 this.add(getShapeButton(beaconButton, 35, 32, 34, 32, "Beacon", Shp.BEACON, Obj.BCNLAT), null); 69 this.add(getShapeButton(towerButton, 35, 64, 34, 32, "Tower", Shp.TOWER, Obj.BCNLAT), null); 70 this.add(getShapeButton(perchButton, 35, 96, 34, 32, "Perch", Shp.PERCH, Obj.BCNLAT), null); 71 71 } 72 72 -
applications/editors/josm/plugins/smed/plugs/oseam/src/oseam/panels/PanelTop.java
r24931 r26096 72 72 this.setLayout(null); 73 73 this.add(panelCol, null); 74 this.add(getTopButton(noTopButton, 40, 5, 27, 27, "NoTop Tip", Top.NONE), null);75 this.add(getTopButton(canTopButton, 70, 5, 27, 27, "CanTop Tip", Top.CAN), null);76 this.add(getTopButton(coneTopButton, 100, 5, 27, 27, "ConeTop Tip", Top.CONE), null);77 this.add(getTopButton(sphereTopButton, 130, 5, 27, 27, "SphereTop Tip", Top.SPHERE), null);78 this.add(getTopButton(XTopButton, 160, 5, 27, 27, "XTop Tip", Top.X_SHAPE), null);79 this.add(getTopButton(northTopButton, 40, 35, 27, 27, "NorthTop Tip", Top.NORTH), null);80 this.add(getTopButton(southTopButton, 70, 35, 27, 27, "SouthTop Tip", Top.SOUTH), null);81 this.add(getTopButton(eastTopButton, 100, 35, 27, 27, "EastTop Tip", Top.EAST), null);82 this.add(getTopButton(westTopButton, 130, 35, 27, 27, "WestTop Tip", Top.WEST), null);83 this.add(getTopButton(spheres2TopButton, 160, 35, 27, 27, "Spheres2Top Tip", Top.SPHERES2), null);84 this.add(getDayButton(boardDayButton, 40, 65, 27, 27, "BoardDay Tip", Day.BOARD), null);85 this.add(getDayButton(diamondDayButton, 70, 65, 27, 27, "DiamondDay Tip", Day.DIAMOND), null);86 this.add(getDayButton(triangleDayButton, 100, 65, 27, 27, "TriangleDay Tip", Day.TRIANGLE), null);87 this.add(getDayButton(triangleInvDayButton, 130, 65, 27, 27, "TriangleInvDay Tip", Day.TRIANGLE_INV), null);88 this.add(getDayButton(squareDayButton, 160, 65, 27, 27, "SquareDay Tip", Day.SQUARE), null);89 this.add(getDayButton(circleDayButton, 160, 95, 27, 27, "CircleDay Tip", Day.CIRCLE), null);90 this.add(getMoorButton(mooringTopButton, 40, 95, 27, 27, "MooringTop Tip"), null);74 this.add(getTopButton(noTopButton, 40, 5, 27, 27, "NoTop", Top.NONE), null); 75 this.add(getTopButton(canTopButton, 70, 5, 27, 27, "CanTop", Top.CAN), null); 76 this.add(getTopButton(coneTopButton, 100, 5, 27, 27, "ConeTop", Top.CONE), null); 77 this.add(getTopButton(sphereTopButton, 130, 5, 27, 27, "SphereTop", Top.SPHERE), null); 78 this.add(getTopButton(XTopButton, 160, 5, 27, 27, "XTop", Top.X_SHAPE), null); 79 this.add(getTopButton(northTopButton, 40, 35, 27, 27, "NorthTop", Top.NORTH), null); 80 this.add(getTopButton(southTopButton, 70, 35, 27, 27, "SouthTop", Top.SOUTH), null); 81 this.add(getTopButton(eastTopButton, 100, 35, 27, 27, "EastTop", Top.EAST), null); 82 this.add(getTopButton(westTopButton, 130, 35, 27, 27, "WestTop", Top.WEST), null); 83 this.add(getTopButton(spheres2TopButton, 160, 35, 27, 27, "Spheres2Top", Top.SPHERES2), null); 84 this.add(getDayButton(boardDayButton, 40, 65, 27, 27, "BoardDay", Day.BOARD), null); 85 this.add(getDayButton(diamondDayButton, 70, 65, 27, 27, "DiamondDay", Day.DIAMOND), null); 86 this.add(getDayButton(triangleDayButton, 100, 65, 27, 27, "TriangleDay", Day.TRIANGLE), null); 87 this.add(getDayButton(triangleInvDayButton, 130, 65, 27, 27, "TriangleInvDay", Day.TRIANGLE_INV), null); 88 this.add(getDayButton(squareDayButton, 160, 65, 27, 27, "SquareDay", Day.SQUARE), null); 89 this.add(getDayButton(circleDayButton, 160, 95, 27, 27, "CircleDay", Day.CIRCLE), null); 90 this.add(getMoorButton(mooringTopButton, 40, 95, 27, 27, "MooringTop"), null); 91 91 } 92 92 -
applications/editors/josm/plugins/smed/plugs/oseam/src/oseam/seamarks/SeaMark.java
r26087 r26096 464 464 ChrMAP.put(EnumSet.of(Chr.FIXED), "F"); 465 465 ChrMAP.put(EnumSet.of(Chr.FLASH), "Fl"); 466 ChrMAP.put(EnumSet.of(Chr.FIXED, Chr.FLASH), "FFl");467 466 ChrMAP.put(EnumSet.of(Chr.LONGFLASH), "LFl"); 468 467 ChrMAP.put(EnumSet.of(Chr.QUICK), "Q"); 469 ChrMAP.put(EnumSet.of(Chr.QUICK, Chr.LONGFLASH), "Q+LFl");470 468 ChrMAP.put(EnumSet.of(Chr.VERYQUICK), "VQ"); 471 ChrMAP.put(EnumSet.of(Chr.VERYQUICK, Chr.LONGFLASH), "VQ+LFl");472 469 ChrMAP.put(EnumSet.of(Chr.ULTRAQUICK), "UQ"); 473 470 ChrMAP.put(EnumSet.of(Chr.INTERRUPTEDQUICK), "IQ"); … … 480 477 ChrMAP.put(EnumSet.of(Chr.ALTERNATING, Chr.FIXED), "Al.F"); 481 478 ChrMAP.put(EnumSet.of(Chr.ALTERNATING, Chr.FLASH), "Al.Fl"); 479 ChrMAP.put(EnumSet.of(Chr.ALTERNATING, Chr.FIXED, Chr.FLASH), "F.Al.Fl"); 480 ChrMAP.put(EnumSet.of(Chr.ALTERNATING, Chr.LONGFLASH), "Al.LFl"); 482 481 ChrMAP.put(EnumSet.of(Chr.ALTERNATING, Chr.ISOPHASED), "Al.Iso"); 483 482 ChrMAP.put(EnumSet.of(Chr.ALTERNATING, Chr.OCCULTING), "Al.Oc"); 483 ChrMAP.put(EnumSet.of(Chr.FIXED, Chr.FLASH), "FFl"); 484 ChrMAP.put(EnumSet.of(Chr.FIXED, Chr.LONGFLASH), "FLFl"); 485 ChrMAP.put(EnumSet.of(Chr.OCCULTING, Chr.FLASH), "OcFl"); 486 ChrMAP.put(EnumSet.of(Chr.FLASH, Chr.LONGFLASH), "FlLFl"); 487 ChrMAP.put(EnumSet.of(Chr.QUICK, Chr.LONGFLASH), "Q+LFl"); 488 ChrMAP.put(EnumSet.of(Chr.VERYQUICK, Chr.LONGFLASH), "VQ+LFl"); 489 ChrMAP.put(EnumSet.of(Chr.ULTRAQUICK, Chr.LONGFLASH), "UQ+LFl"); 484 490 } 485 491
Note:
See TracChangeset
for help on using the changeset viewer.