Ignore:
Timestamp:
2011-12-10T15:13:47+01:00 (13 years ago)
Author:
malcolmh
Message:

save

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/dialogs/OSeaMAction.java

    r27201 r27202  
    2828                        Node nextNode = null;
    2929                        Selection = newSelection;
    30 
     30                        node = null;
     31                        panelMain.mark.clearSign();
    3132                        for (OsmPrimitive osm : Selection) {
    3233                                if (osm instanceof Node) {
     
    3738                                                        panelMain.mark.parseMark(node);
    3839                                                }
    39                                         } else {
    40                                                 node = null;
    41                                                 panelMain.mark.clearSign();
    42                                                 manager.showVisualMessage(Messages.getString("OneNode"));
    4340                                        }
    4441                                }
    4542                        }
    4643                        if (nextNode == null) {
    47                                 node = null;
    48                                 panelMain.mark.clearSign();
    4944                                manager.showVisualMessage(Messages.getString("SelectNode"));
    5045                        }
  • applications/editors/josm/plugins/smed/plugs/oseam/src/oseam/seamarks/SeaMark.java

    r27201 r27202  
    16951695                                imgStr += "Stake";
    16961696                                break;
     1697                        case PERCH:
     1698                                if (getCategory() == Cat.LAM_PORT) {
     1699                                        imgStr += "Perch_Port";
     1700                                } else {
     1701                                        imgStr += "Perch_Starboard";
     1702                                }
     1703                                break;
    16971704                        }
    16981705                        colStr = imgStr;
     
    17521759                                        lblStr += "Pk";
    17531760                                        break;
    1754                                 }
    1755                         }
    1756                         if (getShape() == Shp.PERCH) {
    1757                                 if (getCategory() == Cat.LAM_PORT) {
    1758                                         colStr = "/images/Perch_Port";
    1759                                 } else {
    1760                                         colStr = "/images/Perch_Starboard";
    17611761                                }
    17621762                        }
Note: See TracChangeset for help on using the changeset viewer.