Changeset 28164 in osm for applications
- Timestamp:
- 2012-03-29T15:35:26+02:00 (13 years ago)
- Location:
- applications/editors/josm/plugins/smed/plugs/oseam/src/oseam
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/smed/plugs/oseam/src/oseam/panels/PanelMain.java
r28157 r28164 21 21 public PanelMore panelMore = null; 22 22 public PanelNotice panelNotice = null; 23 public JScrollPane scrollNotice = null; 23 24 public PanelTop panelTop = null; 24 25 public PanelFog panelFog = null; … … 170 171 panelChan.setBounds(new Rectangle(65, 0, 170, 160)); 171 172 panelChan.setVisible(false); 173 add(panelChan); 172 174 panelHaz = new PanelHaz(dlg); 173 175 panelHaz.setBounds(new Rectangle(65, 0, 170, 160)); 174 176 panelHaz.setVisible(false); 177 add(panelHaz); 175 178 panelSpec = new PanelSpec(dlg); 176 179 panelSpec.setBounds(new Rectangle(65, 0, 170, 160)); 177 180 panelSpec.setVisible(false); 181 add(panelSpec); 178 182 panelLights = new PanelLights(dlg); 179 183 panelLights.setBounds(new Rectangle(65, 0, 170, 160)); 180 184 panelLights.setVisible(false); 185 add(panelLights); 181 186 panelMore = new PanelMore(dlg); 182 187 panelMore.setBounds(new Rectangle(40, 165, 360, 160)); 183 188 panelMore.setVisible(false); 189 add(panelMore); 184 190 panelNotice = new PanelNotice(dlg); 185 panelNotice.setBounds(new Rectangle(40, 165, 360, 160)); 186 panelNotice.setVisible(false); 191 panelNotice.setPreferredSize(new Dimension(340, 300)); 192 scrollNotice = new JScrollPane(panelNotice, ScrollPaneConstants.VERTICAL_SCROLLBAR_ALWAYS, ScrollPaneConstants.HORIZONTAL_SCROLLBAR_NEVER); 193 scrollNotice.setBounds(new Rectangle(40, 165, 360, 160)); 194 scrollNotice.setVisible(false); 195 add(scrollNotice); 187 196 panelTop = new PanelTop(dlg); 188 197 panelTop.setBounds(new Rectangle(40, 165, 360, 160)); 189 198 panelTop.setVisible(false); 199 add(panelTop); 190 200 panelFog = new PanelFog(dlg); 191 201 panelFog.setBounds(new Rectangle(40, 165, 360, 160)); 192 202 panelFog.setVisible(false); 203 add(panelFog); 193 204 panelRadar = new PanelRadar(dlg); 194 205 panelRadar.setBounds(new Rectangle(40, 165, 360, 160)); 195 206 panelRadar.setVisible(false); 207 add(panelRadar); 196 208 panelLit = new PanelLit(dlg); 197 209 panelLit.setBounds(new Rectangle(40, 165, 360, 160)); 198 210 panelLit.setVisible(false); 211 add(panelLit); 199 212 200 213 add(getButton(chanButton, 0, 0, 62, 40, "Chan"), null); … … 202 215 add(getButton(specButton, 0, 80, 62, 40, "Spec"), null); 203 216 add(getButton(lightsButton, 0, 120, 62, 40, "Lights"), null); 204 add(panelChan);205 add(panelHaz);206 add(panelSpec);207 add(panelLights);208 add(panelMore);209 add(panelNotice);210 add(panelTop);211 add(panelFog);212 add(panelRadar);213 add(panelLit);214 217 typeButtons = new ButtonGroup(); 215 218 typeButtons.add(chanButton); … … 289 292 panelLights.setVisible(false); 290 293 panelMore.setVisible(false); 291 panelNotice.setVisible(false);294 scrollNotice.setVisible(false); 292 295 panelTop.setVisible(false); 293 296 panelFog.setVisible(false); … … 316 319 break; 317 320 case NTC: 318 panelNotice.setVisible(true);321 scrollNotice.setVisible(true); 319 322 case SPP: 320 323 specButton.setBorderPainted(true); -
applications/editors/josm/plugins/smed/plugs/oseam/src/oseam/seamarks/SeaMark.java
r28157 r28164 223 223 ROS_SDS, ROS_CKA, ROS_PUB, ROS_COM, ROS_FAX, ROS_TIM, RAS_SRV, RAS_CST, PIL_VESS, PIL_HELI, PIL_SHORE, 224 224 NTC_A1, NTC_A1a, NTC_A2, NTC_A3, NTC_A4, NTC_A4_1, NTC_A5, NTC_A5_1, NTC_A6, NTC_A7, NTC_A8, NTC_A9, 225 NTC_A10a, NTC_A10b, NTC_A12, NTC_A13, NTC_A14, NTC_A15, NTC_A16, NTC_A17, NTC_A18, NTC_A19, NTC_A20 225 NTC_A10a, NTC_A10b, NTC_A12, NTC_A13, NTC_A14, NTC_A15, NTC_A16, NTC_A17, NTC_A18, NTC_A19, NTC_A20, 226 NTC_B1a, NTC_B1b, NTC_B2a, NTC_B2b, NTC_B3a, NTC_B3b, NTC_B4a, NTC_B4b, NTC_B5, NTC_B6, NTC_B7, NTC_B8, NTC_B9a, NTC_B9b, NTC_B11, 227 NTC_C1, NTC_C2, NTC_C3, NTC_C4, NTC_C5a, NTC_C5b, NTC_D1a, NTC_D1b, NTC_D2a, NTC_D2b, NTC_D3a, NTC_D3b 226 228 } 227 229 … … 375 377 CatSTR.put(Cat.NTC_A19, "no_launching_beaching"); 376 378 CatSTR.put(Cat.NTC_A20, "no_waterbikes"); 379 CatSTR.put(Cat.NTC_B1a, ""); 380 CatSTR.put(Cat.NTC_B1b, ""); 381 CatSTR.put(Cat.NTC_B2a, ""); 382 CatSTR.put(Cat.NTC_B2a, ""); 383 CatSTR.put(Cat.NTC_B3a, ""); 384 CatSTR.put(Cat.NTC_B3a, ""); 385 CatSTR.put(Cat.NTC_B4a, ""); 386 CatSTR.put(Cat.NTC_B4a, ""); 387 CatSTR.put(Cat.NTC_B5, ""); 388 CatSTR.put(Cat.NTC_B6, ""); 389 CatSTR.put(Cat.NTC_B7, ""); 390 CatSTR.put(Cat.NTC_B8, ""); 391 CatSTR.put(Cat.NTC_B9a, ""); 392 CatSTR.put(Cat.NTC_B9b, ""); 393 CatSTR.put(Cat.NTC_B11, ""); 394 CatSTR.put(Cat.NTC_C1, ""); 395 CatSTR.put(Cat.NTC_C2, ""); 396 CatSTR.put(Cat.NTC_C3, ""); 397 CatSTR.put(Cat.NTC_C4, ""); 398 CatSTR.put(Cat.NTC_C5a, ""); 399 CatSTR.put(Cat.NTC_C5b, ""); 400 CatSTR.put(Cat.NTC_D1a, ""); 401 CatSTR.put(Cat.NTC_D1b, ""); 402 CatSTR.put(Cat.NTC_D2a, ""); 403 CatSTR.put(Cat.NTC_D2b, ""); 404 CatSTR.put(Cat.NTC_D3a, ""); 405 CatSTR.put(Cat.NTC_D3b, ""); 377 406 } 378 407
Note:
See TracChangeset
for help on using the changeset viewer.