Changeset 23050 in osm for applications/editors/josm
- Timestamp:
- 2010-09-07T15:04:45+02:00 (14 years ago)
- Location:
- applications/editors/josm/plugins/toms/src/toms
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/toms/src/toms/dialogs/SmpDialogAction.java
r23047 r23050 814 814 buoy = new BuoySpec(dia, n); 815 815 cbM01TopMark.removeAllItems(); 816 cbM01TopMark.addItem( "");816 cbM01TopMark.addItem(Messages.getString("SmpDialogAction.212")); 817 817 cbM01TopMark.addItem(Messages.getString("SmpDialogAction.210")); //$NON-NLS-1$ 818 818 cbM01TopMark.addItem(Messages.getString("SmpDialogAction.211")); //$NON-NLS-1$ -
applications/editors/josm/plugins/toms/src/toms/msg/messages.properties
r23039 r23050 63 63 SmpDialogAction.28=Please select only one node 64 64 SmpDialogAction.4=Edit OpenSeaMap 65 SmpDialogAction.82=Parse-Error: Invalid colour66 65 SmpDialogAction.9=Seamap Editor 67 66 SmpDialogAction.91=Seamark not set … … 74 73 SmpDialogAction.210=Yellow X 75 74 SmpDialogAction.211=Red X 75 SmpDialogAction.212=Not set 76 76 -
applications/editors/josm/plugins/toms/src/toms/seamarks/SeaMark.java
r23047 r23050 112 112 113 113 public final static int UNKNOWN_RATYP = 0; 114 public final static int RATYP_RACON = 0;115 public final static int RATYP_RAMARK = 0;116 public final static int RATYP_LEADING = 0;114 public final static int RATYP_RACON = 1; 115 public final static int RATYP_RAMARK = 2; 116 public final static int RATYP_LEADING = 3; 117 117 118 118 /** -
applications/editors/josm/plugins/toms/src/toms/seamarks/buoys/Buoy.java
r23047 r23050 277 277 dlg.lM04Icon.setIcon(new ImageIcon(getClass().getResource("/images/Radar_Station.png"))); 278 278 dlg.cbM01Racon.setVisible(true); 279 } else 279 if (getRatyp() == RATYP_RACON) { 280 dlg.lM01Racon.setVisible(true); 281 dlg.tfM01Racon.setVisible(true); 282 dlg.tfM01Racon.setEnabled(true); 283 } else { 284 dlg.lM01Racon.setVisible(false); 285 dlg.tfM01Racon.setVisible(false); 286 } 287 } else { 280 288 dlg.cbM01Racon.setVisible(false); 289 dlg.lM01Racon.setVisible(false); 290 dlg.tfM01Racon.setVisible(false); 291 } 281 292 282 293 if (isFired()) { -
applications/editors/josm/plugins/toms/src/toms/seamarks/buoys/BuoySaw.java
r23047 r23050 140 140 141 141 if (!image.equals("/images/Safe_Water")) { 142 if (hasTopMark()) 143 image += "_Sphere"; 142 144 image += ".png"; 143 145 dlg.lM01Icon.setIcon(new ImageIcon(getClass().getResource(image))); 144 145 if (hasTopMark())146 image += "_Sphere";147 146 148 147 if (isFired()) {
Note:
See TracChangeset
for help on using the changeset viewer.