Changeset 26086 in osm for applications/editors/josm/plugins/smed
- Timestamp:
- 2011-06-02T00:07:32+02:00 (14 years ago)
- Location:
- applications/editors/josm/plugins/smed/plugs/oseam/src
- Files:
-
- 29 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/smed/plugs/oseam/src/oseam/panels/PanelLit.java
r24931 r26086 12 12 private OSeaMAction dlg; 13 13 public PanelCol panelCol = null; 14 public PanelChr panelChr = null; 14 15 15 16 public PanelLit(OSeaMAction dia) { … … 17 18 panelCol = new PanelCol(dlg, Ent.LIGHT); 18 19 panelCol.setBounds(new Rectangle(0, 0, 34, 160)); 20 panelCol.blackButton.setVisible(false); 21 panelChr = new PanelChr(dlg); 22 panelChr.setBounds(new Rectangle(36, 0, 68, 160)); 19 23 this.setLayout(null); 20 24 this.add(panelCol, null); 21 panelCol.blackButton.setVisible(false);25 this.add(panelChr, null); 22 26 } 23 27 -
applications/editors/josm/plugins/smed/plugs/oseam/src/oseam/seamarks/SeaMark.java
r26076 r26086 450 450 public void setsectorIndex(int sector) { 451 451 sectorIndex = sector; 452 } 453 454 public enum Chr { 455 UNKNOWN, FIXED, FLASH, LONGFLASH, QUICK, VERYQUICK, ULTRAQUICK, 456 ISOPHASED, OCCULTING, MORSE, ALTERNATING, INTERRUPTEDQUICK, INTERRUPTEDVERYQUICK, INTERRUPTEDULTRAQUICK 457 } 458 459 public static final EnumMap<Chr, String> characters = new EnumMap<Chr, String>(Chr.class); 460 static { 461 characters.put(Chr.UNKNOWN, ""); 462 characters.put(Chr.FIXED, "F"); 463 characters.put(Chr.FLASH, "Fl"); 464 characters.put(Chr.LONGFLASH, "LFl"); 465 characters.put(Chr.QUICK, "Q"); 466 characters.put(Chr.VERYQUICK, "VQ"); 467 characters.put(Chr.ULTRAQUICK, "UQ"); 468 characters.put(Chr.ISOPHASED, "Iso"); 469 characters.put(Chr.OCCULTING, "Oc"); 470 characters.put(Chr.MORSE, "Mo"); 471 characters.put(Chr.ALTERNATING, "Al"); 472 characters.put(Chr.INTERRUPTEDQUICK, "IQ"); 473 characters.put(Chr.INTERRUPTEDVERYQUICK, "IVQ"); 474 characters.put(Chr.INTERRUPTEDULTRAQUICK, "IUQ"); 452 475 } 453 476
Note:
See TracChangeset
for help on using the changeset viewer.