Changeset 23372 in osm for applications
- Timestamp:
- 2010-09-27T09:31:10+02:00 (14 years ago)
- Location:
- applications/editors/josm/plugins/toms/src/toms
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/toms/src/toms/dialogs/SmpDialogAction.java
r23329 r23372 644 644 645 645 lM01Kennung = new JLabel(); 646 lM01Kennung.setBounds(new Rectangle(2 40, 245, 60, 20));646 lM01Kennung.setBounds(new Rectangle(235, 245, 70, 20)); 647 647 lM01Kennung.setFont(new Font("Dialog", Font.PLAIN, 12)); //$NON-NLS-1$ 648 648 lM01Kennung.setText(Messages.getString("SmpDialogAction.119")); //$NON-NLS-1$ … … 810 810 cbM01TypeOfMark.addItem(Messages.getString("SmpDialogAction.148")); //$NON-NLS-1$ 811 811 812 cbM01TypeOfMark.setBounds(new Rectangle( 45, 25, 165, 25));812 cbM01TypeOfMark.setBounds(new Rectangle(50, 25, 170, 25)); 813 813 // cbM01TypeOfMark.setEditable(false); 814 814 cbM01TypeOfMark.setFont(new Font("Dialog", Font.PLAIN, 12)); //$NON-NLS-1$ … … 895 895 if (cbM01CatOfMark == null) { 896 896 cbM01CatOfMark = new JComboBox(); 897 cbM01CatOfMark.setBounds(new Rectangle(6 0, 55, 150, 25));897 cbM01CatOfMark.setBounds(new Rectangle(65, 55, 155, 25)); 898 898 cbM01CatOfMark.setFont(new Font("Dialog", Font.PLAIN, 12)); //$NON-NLS-1$ 899 899 cbM01CatOfMark.setEnabled(true); … … 917 917 if (cbM01StyleOfMark == null) { 918 918 cbM01StyleOfMark = new JComboBox(); 919 cbM01StyleOfMark.setBounds(new Rectangle( 45, 85, 165, 25));919 cbM01StyleOfMark.setBounds(new Rectangle(50, 85, 170, 25)); 920 920 cbM01StyleOfMark.setFont(new Font("Dialog", Font.PLAIN, 12)); //$NON-NLS-1$ 921 921 cbM01StyleOfMark.addActionListener(new ActionListener() { … … 1092 1092 if (cbM01Fog == null) { 1093 1093 cbM01Fog = new JComboBox(); 1094 cbM01Fog.setBounds(new Rectangle(100, 220, 7 0, 20));1094 cbM01Fog.setBounds(new Rectangle(100, 220, 75, 20)); 1095 1095 cbM01Fog.setFont(new Font("Dialog", Font.PLAIN, 12)); //$NON-NLS-1$ 1096 1096 cbM01Fog.removeAllItems(); … … 1174 1174 if (cbM01Kennung == null) { 1175 1175 cbM01Kennung = new JComboBox(); 1176 cbM01Kennung.setBounds(new Rectangle(30 5, 245, 70, 20));1176 cbM01Kennung.setBounds(new Rectangle(300, 245, 75, 20)); 1177 1177 cbM01Kennung.addActionListener(new ActionListener() { 1178 1178 public void actionPerformed(ActionEvent e) { -
applications/editors/josm/plugins/toms/src/toms/seamarks/buoys/BuoyLat.java
r23295 r23372 66 66 String top = ""; //$NON-NLS-1$ 67 67 68 if (getStyleIndex() != LAT_PERCH) { 69 if (keys.containsKey("seamark:topmark:shape")) { //$NON-NLS-1$ 70 top = keys.get("seamark:topmark:shape"); //$NON-NLS-1$ 71 setTopMark(true); 72 } 73 if (keys.containsKey("seamark:topmark:colour")) { //$NON-NLS-1$ 74 setTopMark(true); 75 } 76 } 68 if (keys.containsKey("seamark:buoy_lateral:category")) //$NON-NLS-1$ 69 cat = keys.get("seamark:buoy_lateral:category"); //$NON-NLS-1$ 70 else if (keys.containsKey("seamark:beacon_lateral:category")) //$NON-NLS-1$ 71 cat = keys.get("seamark:beacon_lateral:category"); //$NON-NLS-1$ 77 72 78 73 if (keys.containsKey("seamark:buoy_lateral:colour")) //$NON-NLS-1$ … … 83 78 col = keys.get("seamark:light_float:colour"); //$NON-NLS-1$ 84 79 85 if (keys.containsKey("seamark:buoy_lateral:category")) //$NON-NLS-1$ 86 cat = keys.get("seamark:buoy_lateral:category"); //$NON-NLS-1$ 87 else if (keys.containsKey("seamark:beacon_lateral:category")) //$NON-NLS-1$ 88 cat = keys.get("seamark:beacon_lateral:category"); //$NON-NLS-1$ 80 if (getStyleIndex() != LAT_PERCH) { 81 if (keys.containsKey("seamark:topmark:shape")) { //$NON-NLS-1$ 82 top = keys.get("seamark:topmark:shape"); //$NON-NLS-1$ 83 setTopMark(true); 84 } 85 if (keys.containsKey("seamark:topmark:colour")) { //$NON-NLS-1$ 86 if (col.isEmpty()) col = keys.get("seamark:topmark:colour"); 87 setTopMark(true); 88 } 89 } 90 91 if (col.isEmpty()) { 92 if (keys.containsKey("seamark:light:colour")) //$NON-NLS-1$ 93 col = keys.get("seamark:light:colour"); //$NON-NLS-1$ 94 } 89 95 90 96 if (cat.isEmpty()) { //$NON-NLS-1$
Note:
See TracChangeset
for help on using the changeset viewer.