Changeset 23013 in osm for applications/editors/josm/plugins/toms/src
- Timestamp:
- 2010-09-06T16:14:10+02:00 (14 years ago)
- Location:
- applications/editors/josm/plugins/toms/src/toms
- Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/toms/src/toms/dialogs/SmpDialogAction.java
r23012 r23013 791 791 if (!(buoy instanceof BuoySpec)) { 792 792 buoy = new BuoySpec(dia, n); 793 cbM01TopMark.removeAllItems(); 794 cbM01TopMark.addItem(""); 795 cbM01TopMark.addItem(Messages.getString("SmpDialogAction.210")); //$NON-NLS-1$ 796 cbM01TopMark.addItem(Messages.getString("SmpDialogAction.211")); //$NON-NLS-1$ 793 797 } 794 798 buoy.setBuoyIndex(type); … … 921 925 if (cbM01TopMark == null) { 922 926 cbM01TopMark = new JComboBox(); 923 cbM01TopMark.setBounds(new Rectangle(1 00, 170, 70, 20));927 cbM01TopMark.setBounds(new Rectangle(110, 170, 80, 20)); 924 928 cbM01TopMark.setFont(new Font("Dialog", Font.PLAIN, 12)); //$NON-NLS-1$ 925 929 cbM01TopMark.addActionListener(new ActionListener() { -
applications/editors/josm/plugins/toms/src/toms/msg/messages_de.properties
r23012 r23013 67 67 SmpDialogAction.208=Minor Light 68 68 SmpDialogAction.209=Light Float 69 SmpDialogAction.210=Yellow X 70 SmpDialogAction.211=Red X 69 71 -
applications/editors/josm/plugins/toms/src/toms/msg/messages_en.properties
r23012 r23013 72 72 SmpDialogAction.208=Minor Light 73 73 SmpDialogAction.209=Light Float 74 SmpDialogAction.210=Yellow X 75 SmpDialogAction.211=Red X -
applications/editors/josm/plugins/toms/src/toms/seamarks/buoys/BuoyCard.java
r23012 r23013 197 197 198 198 dlg.cM01TopMark.setSelected(true); 199 dlg.cM01TopMark.setVisible(true); 199 200 dlg.cM01TopMark.setEnabled(false); 200 201 dlg.cM01Fired.setEnabled(true); 202 dlg.cM01Fired.setVisible(true); 201 203 202 204 String image = "/images/Cardinal"; -
applications/editors/josm/plugins/toms/src/toms/seamarks/buoys/BuoyIsol.java
r23012 r23013 113 113 dlg.tfM01Name.setEnabled(true); 114 114 dlg.tfM01Name.setText(getName()); 115 dlg.cM01TopMark.setEnabled(false); 116 dlg.cM01TopMark.setVisible(false); 115 117 dlg.cM01Fired.setEnabled(true); 116 dlg.cM01TopMark.setEnabled(false);117 118 118 119 String image = "/images/Cardinal"; -
applications/editors/josm/plugins/toms/src/toms/seamarks/buoys/BuoyLat.java
r23012 r23013 352 352 dlg.tfM01Name.setEnabled(true); 353 353 dlg.tfM01Name.setText(getName()); 354 dlg.cM01TopMark.setEnabled(true); 355 dlg.cM01TopMark.setVisible(true); 354 356 dlg.cM01Fired.setEnabled(true); 355 dlg.cM01TopMark.setEnabled(true);356 357 357 358 String image = "/images/Lateral"; -
applications/editors/josm/plugins/toms/src/toms/seamarks/buoys/BuoySaw.java
r23012 r23013 110 110 dlg.tfM01Name.setEnabled(true); 111 111 dlg.tfM01Name.setText(getName()); 112 dlg.cM01TopMark.setEnabled(true); 113 dlg.cM01TopMark.setVisible(true); 112 114 dlg.cM01Fired.setEnabled(true); 113 dlg.cM01TopMark.setEnabled(true);114 115 115 116 String image = "/images/Safe_Water"; -
applications/editors/josm/plugins/toms/src/toms/seamarks/buoys/BuoySpec.java
r23012 r23013 23 23 keys = node.getKeys(); 24 24 setNode(node); 25 25 26 26 resetMask(); 27 27 … … 147 147 dlg.tfM01Name.setEnabled(true); 148 148 dlg.tfM01Name.setText(getName()); 149 dlg.cM01TopMark.setEnabled(true); 150 dlg.cM01TopMark.setVisible(true); 151 if (hasTopMark()) { 152 dlg.cbM01TopMark.setEnabled(true); 153 dlg.cbM01TopMark.setVisible(true); 154 } else 155 dlg.cbM01TopMark.setVisible(false); 149 156 150 157 String image = "/images/Special_Purpose"; … … 182 189 183 190 if (isFired()) { 184 dlg.lM01Icon02.setIcon(new ImageIcon(getClass().getResource("/images/Light_White_120.png"))); 191 dlg.lM01Icon02.setIcon(new ImageIcon(getClass().getResource( 192 "/images/Light_White_120.png"))); 185 193 if (getLightChar() != "") { 186 194 String c;
Note:
See TracChangeset
for help on using the changeset viewer.