Changeset 26546 in osm for applications/editors


Ignore:
Timestamp:
2011-08-17T19:42:25+02:00 (13 years ago)
Author:
malcolmh
Message:

save

File:
1 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/smed/plugs/oseam/src/oseam/seamarks/SeaMark.java

    r26545 r26546  
    619619                                }
    620620                        }
     621                }
     622               
     623                switch (GrpMAP.get(dlg.mark.getObject())) {
     624                case LAT:
     625                        dlg.panelMain.chanButton.doClick();
     626                        switch (getCategory()) {
     627                        case LAT_PORT:
     628                                dlg.panelMain.panelChan.portButton.doClick();
     629                                break;
     630                        case LAT_STBD:
     631                                dlg.panelMain.panelChan.stbdButton.doClick();
     632                                break;
     633                        case LAT_PREF_PORT:
     634                                dlg.panelMain.panelChan.prefPortButton.doClick();
     635                                break;
     636                        case LAT_PREF_STBD:
     637                                dlg.panelMain.panelChan.prefStbdButton.doClick();
     638                                break;
     639                        }
     640                        break;
     641                case SAW:
     642                        dlg.panelMain.chanButton.doClick();
     643                        dlg.panelMain.panelChan.safeWaterButton.doClick();
     644                        break;
     645                case CAR:
     646                case ISD:
     647                        dlg.panelMain.hazButton.doClick();
     648                        break;
     649                case SPP:
     650                        dlg.panelMain.specButton.doClick();
     651                        break;
     652                case LIT:
     653                        dlg.panelMain.lightsButton.doClick();
     654                        break;
    621655                }
    622656
Note: See TracChangeset for help on using the changeset viewer.