source: osm/applications/editors/josm/plugins/toms/src/toms/seamarks/buoys/BuoyUkn.java@ 23269

Last change on this file since 23269 was 23269, checked in by malcolmh, 14 years ago

bug fixes

File size: 734 bytes
Line 
1//License: GPL. For details, see LICENSE file.
2// Copyright (c) 2009 / 2010 by Werner Koenig & Malcolm Herring
3
4package toms.seamarks.buoys;
5
6import javax.swing.ImageIcon;
7
8import org.openstreetmap.josm.Main;
9
10import toms.dialogs.SmpDialogAction;
11
12public class BuoyUkn extends Buoy {
13 public BuoyUkn(SmpDialogAction dia, String Msg) {
14 super(dia);
15 resetMask();
16 dlg.cbM01TypeOfMark.setSelectedIndex(0);
17 setErrMsg(Msg);
18 }
19
20 public void paintSign() {
21 if (dlg.paintlock)
22 return;
23 super.paintSign();
24
25 if (getErrMsg() != null)
26 dlg.sM01StatusBar.setText(getErrMsg());
27
28 setErrMsg(null);
29 }
30
31 public void setLightColour() {
32 super.setLightColour("");
33 }
34
35 public void saveSign() {
36 }
37}
Note: See TracBrowser for help on using the repository browser.