Ignore:
Timestamp:
2010-09-13T19:55:45+02:00 (15 years ago)
Author:
malcolmh
Message:

more lights

File:
1 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/toms/src/toms/seamarks/buoys/BuoyIsol.java

    r23140 r23141  
    129129                        dlg.cM01Fog.setVisible(true);
    130130                        dlg.cM01Fired.setVisible(true);
     131                        dlg.cbM01Colour.setVisible(false);
     132                        dlg.lM01Colour.setVisible(false);
    131133                       
     134                        if (isFired()) {
     135                                switch (getStyleIndex()) {
     136                                case SPEC_FLOAT:
     137                                        dlg.lM01Height.setVisible(true);
     138                                        dlg.tfM01Height.setVisible(true);
     139                                        dlg.lM01Range.setVisible(true);
     140                                        dlg.tfM01Range.setVisible(true);
     141                                        break;
     142                                case SPEC_BEACON:
     143                                case SPEC_TOWER:
     144                                        dlg.rbM01Fired1.setVisible(true);
     145                                        dlg.rbM01FiredN.setVisible(true);
     146                                        dlg.lM01Height.setVisible(true);
     147                                        dlg.tfM01Height.setVisible(true);
     148                                        dlg.lM01Range.setVisible(true);
     149                                        dlg.tfM01Range.setVisible(true);
     150                                        break;
     151                                default:
     152                                }
     153                        }
     154
    132155                        String image = "/images/Cardinal"; //$NON-NLS-1$
    133156
Note: See TracChangeset for help on using the changeset viewer.