Changeset 26087 in osm for applications/editors/josm/plugins/smed/plugs/oseam/src
- Timestamp:
- 2011-06-03T22:34:03+02:00 (13 years ago)
- Location:
- applications/editors/josm/plugins/smed/plugs/oseam/src
- Files:
-
- 31 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/smed/plugs/oseam/src/images/AlternatingButton.svg
r26086 r26087 11 11 xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" 12 12 xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" 13 width=" 30"13 width="40" 14 14 height="16" 15 15 id="svg2" 16 16 version="1.1" 17 17 inkscape:version="0.48.1 r9760" 18 sodipodi:docname=" MorseButton.svg"19 inkscape:export-filename="/Users/mherring/boatsw/oseam/josm/plugins/smed/plugs/oseam/src/images/ MorseButton.png"18 sodipodi:docname="AlternatingButton.svg" 19 inkscape:export-filename="/Users/mherring/boatsw/oseam/josm/plugins/smed/plugs/oseam/src/images/AlternatingButton.png" 20 20 inkscape:export-xdpi="90" 21 21 inkscape:export-ydpi="90" … … 2903 2903 inkscape:showpageshadow="false" 2904 2904 inkscape:snap-grids="false" 2905 inkscape:window-width="1 440"2906 inkscape:window-height=" 786"2905 inkscape:window-width="1920" 2906 inkscape:window-height="1088" 2907 2907 inkscape:window-x="0" 2908 2908 inkscape:window-y="0" 2909 inkscape:window-maximized=" 1">2909 inkscape:window-maximized="0"> 2910 2910 <inkscape:grid 2911 2911 type="xygrid" … … 2935 2935 style="display:inline"> 2936 2936 <rect 2937 style="fill:#000000;fill-opacity:1;stroke:#000000;stroke-width:0.75058466 000000001;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"2937 style="fill:#000000;fill-opacity:1;stroke:#000000;stroke-width:0.75058466;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" 2938 2938 id="rect9640" 2939 width=" 29.249414"2939 width="39.249416" 2940 2940 height="15.249415" 2941 2941 x="0.37529233" … … 2949 2949 style="fill:#ffffff;fill-opacity:1;stroke:none" 2950 2950 id="rect4197" 2951 width="1 4"2951 width="18.786421" 2952 2952 height="6" 2953 x="1 "2953 x="1.2135795" 2954 2954 y="1041.3622" /> 2955 2955 <rect 2956 2956 style="fill:#d40000;fill-opacity:1;stroke:none" 2957 2957 id="rect4201" 2958 width="1 4"2958 width="18.786421" 2959 2959 height="6" 2960 x=" 15"2960 x="20" 2961 2961 y="1041.3622" /> 2962 2962 </g> -
applications/editors/josm/plugins/smed/plugs/oseam/src/images/FixedButton.svg
r26086 r26087 11 11 xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" 12 12 xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" 13 width=" 30"13 width="40" 14 14 height="16" 15 15 id="svg2" 16 16 version="1.1" 17 17 inkscape:version="0.48.1 r9760" 18 sodipodi:docname=" NoCharButton.svg"18 sodipodi:docname="FixedButton.svg" 19 19 inkscape:export-filename="/Users/mherring/boatsw/oseam/josm/plugins/smed/plugs/oseam/src/images/OrangeButton.png" 20 20 inkscape:export-xdpi="90" … … 2897 2897 inkscape:zoom="22.627416" 2898 2898 inkscape:cx="16.32572" 2899 inkscape:cy=" 8.0491388"2899 inkscape:cy="7.3505427" 2900 2900 inkscape:document-units="px" 2901 2901 inkscape:current-layer="layer1" … … 2935 2935 style="display:inline"> 2936 2936 <rect 2937 style="fill:#000000;fill-opacity:1;stroke:#000000;stroke-width:0.75058466 000000001;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"2937 style="fill:#000000;fill-opacity:1;stroke:#000000;stroke-width:0.75058466;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" 2938 2938 id="rect9640" 2939 width=" 29.249414"2939 width="39.249416" 2940 2940 height="15.249415" 2941 2941 x="0.37529233" … … 2943 2943 rx="5" 2944 2944 ry="5" 2945 inkscape:export-filename="/Users/mherring/boatsw/oseam/josm/plugins/smed/plugs/oseam/src/images/ OffButton.png"2945 inkscape:export-filename="/Users/mherring/boatsw/oseam/josm/plugins/smed/plugs/oseam/src/images/FixedButton.png" 2946 2946 inkscape:export-xdpi="90" 2947 2947 inkscape:export-ydpi="90" /> … … 2949 2949 style="fill:#ffffff;fill-opacity:1" 2950 2950 id="rect4184" 2951 width=" 28"2951 width="37.572842" 2952 2952 height="6" 2953 x="1" 2954 y="1041.3622" /> 2953 x="1.2135795" 2954 y="1041.3622" 2955 inkscape:export-filename="/Users/mherring/boatsw/oseam/josm/plugins/smed/plugs/oseam/src/images/FixedButton.png" 2956 inkscape:export-xdpi="90" 2957 inkscape:export-ydpi="90" /> 2955 2958 </g> 2956 2959 </svg> -
applications/editors/josm/plugins/smed/plugs/oseam/src/images/FlashButton.svg
r26086 r26087 11 11 xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" 12 12 xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" 13 width=" 30"13 width="40" 14 14 height="16" 15 15 id="svg2" 16 16 version="1.1" 17 17 inkscape:version="0.48.1 r9760" 18 sodipodi:docname="F ixedButton.svg"18 sodipodi:docname="FlashButton.svg" 19 19 inkscape:export-filename="/Users/mherring/boatsw/oseam/josm/plugins/smed/plugs/oseam/src/images/OrangeButton.png" 20 20 inkscape:export-xdpi="90" … … 2903 2903 inkscape:showpageshadow="false" 2904 2904 inkscape:snap-grids="false" 2905 inkscape:window-width="1 440"2906 inkscape:window-height=" 786"2905 inkscape:window-width="1920" 2906 inkscape:window-height="1088" 2907 2907 inkscape:window-x="0" 2908 2908 inkscape:window-y="0" 2909 inkscape:window-maximized=" 1">2909 inkscape:window-maximized="0"> 2910 2910 <inkscape:grid 2911 2911 type="xygrid" … … 2935 2935 style="display:inline"> 2936 2936 <rect 2937 style="fill:#000000;fill-opacity:1;stroke:#000000;stroke-width:0.75058466 000000001;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"2937 style="fill:#000000;fill-opacity:1;stroke:#000000;stroke-width:0.75058466;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" 2938 2938 id="rect9640" 2939 width=" 29.249414"2939 width="39.249416" 2940 2940 height="15.249415" 2941 2941 x="0.37529233" … … 2943 2943 rx="5" 2944 2944 ry="5" 2945 inkscape:export-filename="/Users/mherring/boatsw/oseam/josm/plugins/smed/plugs/oseam/src/images/ OffButton.png"2945 inkscape:export-filename="/Users/mherring/boatsw/oseam/josm/plugins/smed/plugs/oseam/src/images/FlashButton.png" 2946 2946 inkscape:export-xdpi="90" 2947 2947 inkscape:export-ydpi="90" /> 2948 2948 <path 2949 2949 style="fill:#ffffff;fill-opacity:1;stroke:none" 2950 d="m 1 ,1047.3622 4,0 -1.9780219,-6 z"2950 d="m 1.2135796,1047.3622 5.3675488,0 -2.6542823,-6 z" 2951 2951 id="path3404" 2952 inkscape:connector-curvature="0" /> 2952 inkscape:connector-curvature="0" 2953 inkscape:export-filename="/Users/mherring/boatsw/oseam/josm/plugins/smed/plugs/oseam/src/images/FlashButton.png" 2954 inkscape:export-xdpi="90" 2955 inkscape:export-ydpi="90" /> 2953 2956 <path 2954 2957 inkscape:connector-curvature="0" 2955 2958 id="path4174" 2956 d="m 13,1047.3622 4,0 -1.978022,-6 z" 2957 style="fill:#ffffff;fill-opacity:1;stroke:none" /> 2959 d="m 17.316226,1047.3622 5.367549,0 -2.654282,-6 z" 2960 style="fill:#ffffff;fill-opacity:1;stroke:none" 2961 inkscape:export-filename="/Users/mherring/boatsw/oseam/josm/plugins/smed/plugs/oseam/src/images/FlashButton.png" 2962 inkscape:export-xdpi="90" 2963 inkscape:export-ydpi="90" /> 2958 2964 <path 2959 2965 style="fill:#ffffff;fill-opacity:1;stroke:none" 2960 d="m 25,1047.3622 4,0 -1.978022,-6 z"2966 d="m 33.418873,1047.3622 5.367549,0 -2.654283,-6 z" 2961 2967 id="path4176" 2962 inkscape:connector-curvature="0" /> 2968 inkscape:connector-curvature="0" 2969 inkscape:export-filename="/Users/mherring/boatsw/oseam/josm/plugins/smed/plugs/oseam/src/images/FlashButton.png" 2970 inkscape:export-xdpi="90" 2971 inkscape:export-ydpi="90" /> 2963 2972 </g> 2964 2973 </svg> -
applications/editors/josm/plugins/smed/plugs/oseam/src/images/InterruptedQuickButton.svg
r26086 r26087 11 11 xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" 12 12 xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" 13 width=" 30"13 width="40" 14 14 height="16" 15 15 id="svg2" 16 16 version="1.1" 17 17 inkscape:version="0.48.1 r9760" 18 sodipodi:docname=" QuickButton.svg"18 sodipodi:docname="InterruptedQuickButton.svg" 19 19 inkscape:export-filename="/Users/mherring/boatsw/oseam/josm/plugins/smed/plugs/oseam/src/images/OrangeButton.png" 20 20 inkscape:export-xdpi="90" … … 2903 2903 inkscape:showpageshadow="false" 2904 2904 inkscape:snap-grids="false" 2905 inkscape:window-width="1 440"2906 inkscape:window-height=" 786"2905 inkscape:window-width="1920" 2906 inkscape:window-height="1088" 2907 2907 inkscape:window-x="0" 2908 2908 inkscape:window-y="0" 2909 inkscape:window-maximized=" 1">2909 inkscape:window-maximized="0"> 2910 2910 <inkscape:grid 2911 2911 type="xygrid" … … 2935 2935 style="display:inline"> 2936 2936 <rect 2937 style="fill:#000000;fill-opacity:1;stroke:#000000;stroke-width:0.75058466 000000001;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"2937 style="fill:#000000;fill-opacity:1;stroke:#000000;stroke-width:0.75058466;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" 2938 2938 id="rect9640" 2939 width=" 29.249414"2939 width="39.249416" 2940 2940 height="15.249415" 2941 2941 x="0.37529233" … … 2943 2943 rx="5" 2944 2944 ry="5" 2945 inkscape:export-filename="/Users/mherring/boatsw/oseam/josm/plugins/smed/plugs/oseam/src/images/ OffButton.png"2945 inkscape:export-filename="/Users/mherring/boatsw/oseam/josm/plugins/smed/plugs/oseam/src/images/InterruptedQuickButton.png" 2946 2946 inkscape:export-xdpi="90" 2947 2947 inkscape:export-ydpi="90" /> 2948 2948 <path 2949 2949 style="fill:#ffffff;fill-opacity:1;stroke:none" 2950 d="m 1 ,1047.3622 4,0 -1.9780219,-6 z"2950 d="m 1.2135796,1047.3622 5.3675488,0 -2.6542823,-6 z" 2951 2951 id="path3404" 2952 inkscape:connector-curvature="0" /> 2952 inkscape:connector-curvature="0" 2953 inkscape:export-filename="/Users/mherring/boatsw/oseam/josm/plugins/smed/plugs/oseam/src/images/InterruptedQuickButton.png" 2954 inkscape:export-xdpi="90" 2955 inkscape:export-ydpi="90" /> 2953 2956 <path 2954 2957 style="fill:#ffffff;fill-opacity:1;stroke:none" 2955 d="m 25,1047.3622 4,0 -1.978022,-6 z"2958 d="m 33.418873,1047.3622 5.367549,0 -2.654283,-6 z" 2956 2959 id="path4176" 2957 inkscape:connector-curvature="0" /> 2960 inkscape:connector-curvature="0" 2961 inkscape:export-filename="/Users/mherring/boatsw/oseam/josm/plugins/smed/plugs/oseam/src/images/InterruptedQuickButton.png" 2962 inkscape:export-xdpi="90" 2963 inkscape:export-ydpi="90" /> 2958 2964 <path 2959 2965 inkscape:connector-curvature="0" 2960 2966 id="path4721" 2961 d="m 7,1047.3622 4,0 -1.9780219,-6 z" 2962 style="fill:#ffffff;fill-opacity:1;stroke:none" /> 2967 d="m 9.2649029,1047.3622 5.3675491,0 -2.654283,-6 z" 2968 style="fill:#ffffff;fill-opacity:1;stroke:none" 2969 inkscape:export-filename="/Users/mherring/boatsw/oseam/josm/plugins/smed/plugs/oseam/src/images/InterruptedQuickButton.png" 2970 inkscape:export-xdpi="90" 2971 inkscape:export-ydpi="90" /> 2963 2972 <path 2964 2973 style="fill:#ffffff;fill-opacity:1;stroke:none" 2965 d="m 19,1047.3622 4,0 -1.978022,-6 z"2974 d="m 25.367549,1047.3622 5.367549,0 -2.654282,-6 z" 2966 2975 id="path4723" 2967 inkscape:connector-curvature="0" /> 2976 inkscape:connector-curvature="0" 2977 inkscape:export-filename="/Users/mherring/boatsw/oseam/josm/plugins/smed/plugs/oseam/src/images/InterruptedQuickButton.png" 2978 inkscape:export-xdpi="90" 2979 inkscape:export-ydpi="90" /> 2968 2980 </g> 2969 2981 </svg> -
applications/editors/josm/plugins/smed/plugs/oseam/src/images/InterruptedUltraQuickButton.svg
r26086 r26087 11 11 xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" 12 12 xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" 13 width=" 30"13 width="40" 14 14 height="16" 15 15 id="svg2" 16 16 version="1.1" 17 17 inkscape:version="0.48.1 r9760" 18 sodipodi:docname=" UltraQuickButton.svg"18 sodipodi:docname="InterruptedUltraQuickButton.svg" 19 19 inkscape:export-filename="/Users/mherring/boatsw/oseam/josm/plugins/smed/plugs/oseam/src/images/VeryQuickButton.png" 20 20 inkscape:export-xdpi="90" … … 2903 2903 inkscape:showpageshadow="false" 2904 2904 inkscape:snap-grids="false" 2905 inkscape:window-width="1 440"2906 inkscape:window-height=" 786"2905 inkscape:window-width="1920" 2906 inkscape:window-height="1088" 2907 2907 inkscape:window-x="0" 2908 2908 inkscape:window-y="0" 2909 inkscape:window-maximized=" 1">2909 inkscape:window-maximized="0"> 2910 2910 <inkscape:grid 2911 2911 type="xygrid" … … 2935 2935 style="display:inline"> 2936 2936 <rect 2937 style="fill:#000000;fill-opacity:1;stroke:#000000;stroke-width:0.75058466 000000001;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"2937 style="fill:#000000;fill-opacity:1;stroke:#000000;stroke-width:0.75058466;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" 2938 2938 id="rect9640" 2939 width=" 29.249414"2939 width="39.249416" 2940 2940 height="15.249415" 2941 2941 x="0.37529233" … … 2943 2943 rx="5" 2944 2944 ry="5" 2945 inkscape:export-filename="/Users/mherring/boatsw/oseam/josm/plugins/smed/plugs/oseam/src/images/ OffButton.png"2945 inkscape:export-filename="/Users/mherring/boatsw/oseam/josm/plugins/smed/plugs/oseam/src/images/InterruptedUltraQuickButton.png" 2946 2946 inkscape:export-xdpi="90" 2947 2947 inkscape:export-ydpi="90" /> 2948 2948 <path 2949 2949 style="fill:#ffffff;fill-opacity:1;stroke:none" 2950 d="m 1 ,1047.3622 2,0 -0.9890109,-6 z"2950 d="m 1.2135796,1047.3622 2.6837744,0 -1.3271411,-6 z" 2951 2951 id="path3404" 2952 inkscape:connector-curvature="0" /> 2952 inkscape:connector-curvature="0" 2953 inkscape:export-filename="/Users/mherring/boatsw/oseam/josm/plugins/smed/plugs/oseam/src/images/InterruptedUltraQuickButton.png" 2954 inkscape:export-xdpi="90" 2955 inkscape:export-ydpi="90" /> 2953 2956 <path 2954 2957 inkscape:connector-curvature="0" 2955 2958 id="path4174" 2956 d="m 7.5,1047.3622 2,0 -0.989011,-6 z" 2957 style="fill:#ffffff;fill-opacity:1;stroke:none" /> 2959 d="m 9.9358465,1047.3622 2.6837745,0 -1.327141,-6 z" 2960 style="fill:#ffffff;fill-opacity:1;stroke:none" 2961 inkscape:export-filename="/Users/mherring/boatsw/oseam/josm/plugins/smed/plugs/oseam/src/images/InterruptedUltraQuickButton.png" 2962 inkscape:export-xdpi="90" 2963 inkscape:export-ydpi="90" /> 2958 2964 <path 2959 2965 inkscape:connector-curvature="0" 2960 2966 id="path4721" 2961 d="m 4.25,1047.3622 2,0 -0.9890109,-6 z" 2962 style="fill:#ffffff;fill-opacity:1;stroke:none" /> 2967 d="m 5.574713,1047.3622 2.6837745,0 -1.3271411,-6 z" 2968 style="fill:#ffffff;fill-opacity:1;stroke:none" 2969 inkscape:export-filename="/Users/mherring/boatsw/oseam/josm/plugins/smed/plugs/oseam/src/images/InterruptedUltraQuickButton.png" 2970 inkscape:export-xdpi="90" 2971 inkscape:export-ydpi="90" /> 2963 2972 <path 2964 2973 style="fill:#ffffff;fill-opacity:1;stroke:none" 2965 d="m 1 0.75,1047.3622 2,0 -0.989011,-6 z"2974 d="m 14.29698,1047.3622 2.683774,0 -1.327141,-6 z" 2966 2975 id="path4723" 2967 inkscape:connector-curvature="0" /> 2976 inkscape:connector-curvature="0" 2977 inkscape:export-filename="/Users/mherring/boatsw/oseam/josm/plugins/smed/plugs/oseam/src/images/InterruptedUltraQuickButton.png" 2978 inkscape:export-xdpi="90" 2979 inkscape:export-ydpi="90" /> 2968 2980 <path 2969 2981 inkscape:connector-curvature="0" 2970 2982 id="path4744" 2971 d="m 17.25,1047.3622 2,0 -0.989011,-6 z" 2972 style="fill:#ffffff;fill-opacity:1;stroke:none" /> 2983 d="m 23.019247,1047.3622 2.683774,0 -1.327141,-6 z" 2984 style="fill:#ffffff;fill-opacity:1;stroke:none" 2985 inkscape:export-filename="/Users/mherring/boatsw/oseam/josm/plugins/smed/plugs/oseam/src/images/InterruptedUltraQuickButton.png" 2986 inkscape:export-xdpi="90" 2987 inkscape:export-ydpi="90" /> 2973 2988 <path 2974 2989 style="fill:#ffffff;fill-opacity:1;stroke:none" 2975 d="m 2 0.5,1047.3622 2,0 -0.989011,-6 z"2990 d="m 27.38038,1047.3622 2.683775,0 -1.327141,-6 z" 2976 2991 id="path4746" 2977 inkscape:connector-curvature="0" /> 2992 inkscape:connector-curvature="0" 2993 inkscape:export-filename="/Users/mherring/boatsw/oseam/josm/plugins/smed/plugs/oseam/src/images/InterruptedUltraQuickButton.png" 2994 inkscape:export-xdpi="90" 2995 inkscape:export-ydpi="90" /> 2978 2996 <path 2979 2997 inkscape:connector-curvature="0" 2980 2998 id="path4767" 2981 d="m 23.75,1047.3622 2,0 -0.989011,-6 z" 2982 style="fill:#ffffff;fill-opacity:1;stroke:none" /> 2999 d="m 31.741514,1047.3622 2.683774,0 -1.327141,-6 z" 3000 style="fill:#ffffff;fill-opacity:1;stroke:none" 3001 inkscape:export-filename="/Users/mherring/boatsw/oseam/josm/plugins/smed/plugs/oseam/src/images/InterruptedUltraQuickButton.png" 3002 inkscape:export-xdpi="90" 3003 inkscape:export-ydpi="90" /> 2983 3004 <path 2984 3005 style="fill:#ffffff;fill-opacity:1;stroke:none" 2985 d="m 27,1047.3622 2,0 -0.989011,-6 z"3006 d="m 36.102647,1047.3622 2.683775,0 -1.327142,-6 z" 2986 3007 id="path4769" 2987 inkscape:connector-curvature="0" /> 3008 inkscape:connector-curvature="0" 3009 inkscape:export-filename="/Users/mherring/boatsw/oseam/josm/plugins/smed/plugs/oseam/src/images/InterruptedUltraQuickButton.png" 3010 inkscape:export-xdpi="90" 3011 inkscape:export-ydpi="90" /> 2988 3012 </g> 2989 3013 </svg> -
applications/editors/josm/plugins/smed/plugs/oseam/src/images/InterruptedVeryQuickButton.svg
r26086 r26087 11 11 xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" 12 12 xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" 13 width=" 30"13 width="40" 14 14 height="16" 15 15 id="svg2" 16 16 version="1.1" 17 17 inkscape:version="0.48.1 r9760" 18 sodipodi:docname=" VeryQuickButton.svg"18 sodipodi:docname="InterruptedVeryQuickButton.svg" 19 19 inkscape:export-filename="/Users/mherring/boatsw/oseam/josm/plugins/smed/plugs/oseam/src/images/QuickButton.png" 20 20 inkscape:export-xdpi="90" … … 2903 2903 inkscape:showpageshadow="false" 2904 2904 inkscape:snap-grids="false" 2905 inkscape:window-width="1 440"2906 inkscape:window-height=" 786"2905 inkscape:window-width="1920" 2906 inkscape:window-height="1088" 2907 2907 inkscape:window-x="0" 2908 2908 inkscape:window-y="0" 2909 inkscape:window-maximized=" 1">2909 inkscape:window-maximized="0"> 2910 2910 <inkscape:grid 2911 2911 type="xygrid" … … 2935 2935 style="display:inline"> 2936 2936 <rect 2937 style="fill:#000000;fill-opacity:1;stroke:#000000;stroke-width:0.75058466 000000001;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"2937 style="fill:#000000;fill-opacity:1;stroke:#000000;stroke-width:0.75058466;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" 2938 2938 id="rect9640" 2939 width=" 29.249414"2939 width="39.249416" 2940 2940 height="15.249415" 2941 2941 x="0.37529233" … … 2943 2943 rx="5" 2944 2944 ry="5" 2945 inkscape:export-filename="/Users/mherring/boatsw/oseam/josm/plugins/smed/plugs/oseam/src/images/ OffButton.png"2945 inkscape:export-filename="/Users/mherring/boatsw/oseam/josm/plugins/smed/plugs/oseam/src/images/InterruptedVeryQuickButton.png" 2946 2946 inkscape:export-xdpi="90" 2947 2947 inkscape:export-ydpi="90" /> 2948 2948 <path 2949 2949 style="fill:#ffffff;fill-opacity:1;stroke:none" 2950 d="m 1 ,1047.3622 3,0 -1.4835164,-6 z"2950 d="m 1.2135796,1047.3622 4.0256616,0 -1.9907117,-6 z" 2951 2951 id="path3404" 2952 inkscape:connector-curvature="0" /> 2952 inkscape:connector-curvature="0" 2953 inkscape:export-filename="/Users/mherring/boatsw/oseam/josm/plugins/smed/plugs/oseam/src/images/InterruptedVeryQuickButton.png" 2954 inkscape:export-xdpi="90" 2955 inkscape:export-ydpi="90" /> 2953 2956 <path 2954 2957 inkscape:connector-curvature="0" 2955 2958 id="path4174" 2956 d="m 9.333,1047.3622 3,0 -1.483516,-6 z" 2957 style="fill:#ffffff;fill-opacity:1;stroke:none" /> 2959 d="m 12.395526,1047.3622 4.025661,0 -1.990711,-6 z" 2960 style="fill:#ffffff;fill-opacity:1;stroke:none" 2961 inkscape:export-filename="/Users/mherring/boatsw/oseam/josm/plugins/smed/plugs/oseam/src/images/InterruptedVeryQuickButton.png" 2962 inkscape:export-xdpi="90" 2963 inkscape:export-ydpi="90" /> 2958 2964 <path 2959 2965 style="fill:#ffffff;fill-opacity:1;stroke:none" 2960 d="m 17.667,1047.4064 3,0 -1.483517,-6 z"2966 d="m 23.578814,1047.4064 4.025661,0 -1.990712,-6 z" 2961 2967 id="path4176" 2962 inkscape:connector-curvature="0" /> 2968 inkscape:connector-curvature="0" 2969 inkscape:export-filename="/Users/mherring/boatsw/oseam/josm/plugins/smed/plugs/oseam/src/images/InterruptedVeryQuickButton.png" 2970 inkscape:export-xdpi="90" 2971 inkscape:export-ydpi="90" /> 2963 2972 <path 2964 2973 inkscape:connector-curvature="0" 2965 2974 id="path4721" 2966 d="m 5.167,1047.3622 3,0 -1.4835164,-6 z" 2967 style="fill:#ffffff;fill-opacity:1;stroke:none" /> 2975 d="m 6.8052236,1047.3622 4.0256614,0 -1.9907114,-6 z" 2976 style="fill:#ffffff;fill-opacity:1;stroke:none" 2977 inkscape:export-filename="/Users/mherring/boatsw/oseam/josm/plugins/smed/plugs/oseam/src/images/InterruptedVeryQuickButton.png" 2978 inkscape:export-xdpi="90" 2979 inkscape:export-ydpi="90" /> 2968 2980 <path 2969 2981 inkscape:connector-curvature="0" 2970 2982 id="path4744" 2971 d="m 21.835,1047.3622 3,0 -1.483517,-6 z" 2972 style="fill:#ffffff;fill-opacity:1;stroke:none" /> 2983 d="m 29.1718,1047.3622 4.025661,0 -1.990712,-6 z" 2984 style="fill:#ffffff;fill-opacity:1;stroke:none" 2985 inkscape:export-filename="/Users/mherring/boatsw/oseam/josm/plugins/smed/plugs/oseam/src/images/InterruptedVeryQuickButton.png" 2986 inkscape:export-xdpi="90" 2987 inkscape:export-ydpi="90" /> 2973 2988 <path 2974 2989 style="fill:#ffffff;fill-opacity:1;stroke:none" 2975 d="m 26,1047.3622 3,0 -1.483517,-6 z"2990 d="m 34.76076,1047.3622 4.025662,0 -1.990713,-6 z" 2976 2991 id="path4746" 2977 inkscape:connector-curvature="0" /> 2992 inkscape:connector-curvature="0" 2993 inkscape:export-filename="/Users/mherring/boatsw/oseam/josm/plugins/smed/plugs/oseam/src/images/InterruptedVeryQuickButton.png" 2994 inkscape:export-xdpi="90" 2995 inkscape:export-ydpi="90" /> 2978 2996 </g> 2979 2997 </svg> -
applications/editors/josm/plugins/smed/plugs/oseam/src/images/IsophasedButton.svg
r26086 r26087 11 11 xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" 12 12 xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" 13 width=" 30"13 width="40" 14 14 height="16" 15 15 id="svg2" … … 2903 2903 inkscape:showpageshadow="false" 2904 2904 inkscape:snap-grids="false" 2905 inkscape:window-width="1 440"2906 inkscape:window-height=" 786"2905 inkscape:window-width="1920" 2906 inkscape:window-height="1088" 2907 2907 inkscape:window-x="0" 2908 2908 inkscape:window-y="0" 2909 inkscape:window-maximized=" 1">2909 inkscape:window-maximized="0"> 2910 2910 <inkscape:grid 2911 2911 type="xygrid" … … 2935 2935 style="display:inline"> 2936 2936 <rect 2937 style="fill:#000000;fill-opacity:1;stroke:#000000;stroke-width:0.75058466 000000001;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"2937 style="fill:#000000;fill-opacity:1;stroke:#000000;stroke-width:0.75058466;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" 2938 2938 id="rect9640" 2939 width=" 29.249414"2939 width="39.249416" 2940 2940 height="15.249415" 2941 2941 x="0.37529233" … … 2943 2943 rx="5" 2944 2944 ry="5" 2945 inkscape:export-filename="/Users/mherring/boatsw/oseam/josm/plugins/smed/plugs/oseam/src/images/ OffButton.png"2945 inkscape:export-filename="/Users/mherring/boatsw/oseam/josm/plugins/smed/plugs/oseam/src/images/IsophasedButton.png" 2946 2946 inkscape:export-xdpi="90" 2947 2947 inkscape:export-ydpi="90" /> … … 2949 2949 style="fill:#ffffff;fill-opacity:1;stroke:none" 2950 2950 id="rect4197" 2951 width=" 5.5999999"2951 width="7.5145683" 2952 2952 height="6" 2953 x="1" 2954 y="1041.3622" /> 2953 x="1.2135795" 2954 y="1041.3622" 2955 inkscape:export-filename="/Users/mherring/boatsw/oseam/josm/plugins/smed/plugs/oseam/src/images/IsophasedButton.png" 2956 inkscape:export-xdpi="90" 2957 inkscape:export-ydpi="90" /> 2955 2958 <rect 2956 2959 y="1041.3622" 2957 x="1 2.2"2960 x="16.242716" 2958 2961 height="6" 2959 width=" 5.5999999"2962 width="7.5145683" 2960 2963 id="rect4199" 2961 style="fill:#ffffff;fill-opacity:1;stroke:none" /> 2964 style="fill:#ffffff;fill-opacity:1;stroke:none" 2965 inkscape:export-filename="/Users/mherring/boatsw/oseam/josm/plugins/smed/plugs/oseam/src/images/IsophasedButton.png" 2966 inkscape:export-xdpi="90" 2967 inkscape:export-ydpi="90" /> 2962 2968 <rect 2963 2969 style="fill:#ffffff;fill-opacity:1;stroke:none" 2964 2970 id="rect4201" 2965 width=" 5.5999999"2971 width="7.5145683" 2966 2972 height="6" 2967 x="23.4" 2968 y="1041.3622" /> 2973 x="31.271852" 2974 y="1041.3622" 2975 inkscape:export-filename="/Users/mherring/boatsw/oseam/josm/plugins/smed/plugs/oseam/src/images/IsophasedButton.png" 2976 inkscape:export-xdpi="90" 2977 inkscape:export-ydpi="90" /> 2969 2978 </g> 2970 2979 </svg> -
applications/editors/josm/plugins/smed/plugs/oseam/src/images/LongFlashButton.svg
r26086 r26087 11 11 xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" 12 12 xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" 13 width=" 30"13 width="40" 14 14 height="16" 15 15 id="svg2" 16 16 version="1.1" 17 17 inkscape:version="0.48.1 r9760" 18 sodipodi:docname=" FlashButton.svg"18 sodipodi:docname="LongFlashButton.svg" 19 19 inkscape:export-filename="/Users/mherring/boatsw/oseam/josm/plugins/smed/plugs/oseam/src/images/FlashButton.png" 20 20 inkscape:export-xdpi="90" … … 2903 2903 inkscape:showpageshadow="false" 2904 2904 inkscape:snap-grids="false" 2905 inkscape:window-width="1 440"2906 inkscape:window-height=" 786"2905 inkscape:window-width="1920" 2906 inkscape:window-height="1088" 2907 2907 inkscape:window-x="0" 2908 2908 inkscape:window-y="0" 2909 inkscape:window-maximized=" 1">2909 inkscape:window-maximized="0"> 2910 2910 <inkscape:grid 2911 2911 type="xygrid" … … 2935 2935 style="display:inline"> 2936 2936 <rect 2937 style="fill:#000000;fill-opacity:1;stroke:#000000;stroke-width:0.75058466 000000001;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"2937 style="fill:#000000;fill-opacity:1;stroke:#000000;stroke-width:0.75058466;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" 2938 2938 id="rect9640" 2939 width=" 29.249414"2939 width="39.249416" 2940 2940 height="15.249415" 2941 2941 x="0.37529233" … … 2943 2943 rx="5" 2944 2944 ry="5" 2945 inkscape:export-filename="/Users/mherring/boatsw/oseam/josm/plugins/smed/plugs/oseam/src/images/ OffButton.png"2945 inkscape:export-filename="/Users/mherring/boatsw/oseam/josm/plugins/smed/plugs/oseam/src/images/LongFlashButton.png" 2946 2946 inkscape:export-xdpi="90" 2947 2947 inkscape:export-ydpi="90" /> … … 2949 2949 style="fill:#ffffff;fill-opacity:1;stroke:none" 2950 2950 id="rect4197" 2951 width=" 4"2951 width="5.3675489" 2952 2952 height="6" 2953 x="1" 2954 y="1041.3622" /> 2953 x="1.2135795" 2954 y="1041.3622" 2955 inkscape:export-filename="/Users/mherring/boatsw/oseam/josm/plugins/smed/plugs/oseam/src/images/LongFlashButton.png" 2956 inkscape:export-xdpi="90" 2957 inkscape:export-ydpi="90" /> 2955 2958 <rect 2956 2959 y="1041.3622" 2957 x="1 3"2960 x="17.316227" 2958 2961 height="6" 2959 width=" 4"2962 width="5.3675489" 2960 2963 id="rect4199" 2961 style="fill:#ffffff;fill-opacity:1;stroke:none" /> 2964 style="fill:#ffffff;fill-opacity:1;stroke:none" 2965 inkscape:export-filename="/Users/mherring/boatsw/oseam/josm/plugins/smed/plugs/oseam/src/images/LongFlashButton.png" 2966 inkscape:export-xdpi="90" 2967 inkscape:export-ydpi="90" /> 2962 2968 <rect 2963 2969 style="fill:#ffffff;fill-opacity:1;stroke:none" 2964 2970 id="rect4201" 2965 width=" 4"2971 width="5.3675489" 2966 2972 height="6" 2967 x="25" 2968 y="1041.3622" /> 2973 x="33.418873" 2974 y="1041.3622" 2975 inkscape:export-filename="/Users/mherring/boatsw/oseam/josm/plugins/smed/plugs/oseam/src/images/LongFlashButton.png" 2976 inkscape:export-xdpi="90" 2977 inkscape:export-ydpi="90" /> 2969 2978 </g> 2970 2979 </svg> -
applications/editors/josm/plugins/smed/plugs/oseam/src/images/MorseButton.svg
r26086 r26087 11 11 xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" 12 12 xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" 13 width=" 30"13 width="40" 14 14 height="16" 15 15 id="svg2" 16 16 version="1.1" 17 17 inkscape:version="0.48.1 r9760" 18 sodipodi:docname=" OccultingButton.svg"18 sodipodi:docname="MorseButton.svg" 19 19 inkscape:export-filename="/Users/mherring/boatsw/oseam/josm/plugins/smed/plugs/oseam/src/images/OccultingButton.png" 20 20 inkscape:export-xdpi="90" … … 2903 2903 inkscape:showpageshadow="false" 2904 2904 inkscape:snap-grids="false" 2905 inkscape:window-width="1 440"2906 inkscape:window-height=" 786"2905 inkscape:window-width="1920" 2906 inkscape:window-height="1088" 2907 2907 inkscape:window-x="0" 2908 2908 inkscape:window-y="0" 2909 inkscape:window-maximized=" 1">2909 inkscape:window-maximized="0"> 2910 2910 <inkscape:grid 2911 2911 type="xygrid" … … 2935 2935 style="display:inline"> 2936 2936 <rect 2937 style="fill:#000000;fill-opacity:1;stroke:#000000;stroke-width:0.75058466 000000001;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"2937 style="fill:#000000;fill-opacity:1;stroke:#000000;stroke-width:0.75058466;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" 2938 2938 id="rect9640" 2939 width=" 29.249414"2939 width="39.249416" 2940 2940 height="15.249415" 2941 2941 x="0.37529233" … … 2943 2943 rx="5" 2944 2944 ry="5" 2945 inkscape:export-filename="/Users/mherring/boatsw/oseam/josm/plugins/smed/plugs/oseam/src/images/ OffButton.png"2945 inkscape:export-filename="/Users/mherring/boatsw/oseam/josm/plugins/smed/plugs/oseam/src/images/MorseButton.png" 2946 2946 inkscape:export-xdpi="90" 2947 2947 inkscape:export-ydpi="90" /> … … 2949 2949 style="fill:#ffffff;fill-opacity:1;stroke:none" 2950 2950 id="rect4197" 2951 width=" 9"2951 width="12.076985" 2952 2952 height="6" 2953 x="1" 2954 y="1041.3622" /> 2953 x="1.2135795" 2954 y="1041.3622" 2955 inkscape:export-filename="/Users/mherring/boatsw/oseam/josm/plugins/smed/plugs/oseam/src/images/MorseButton.png" 2956 inkscape:export-xdpi="90" 2957 inkscape:export-ydpi="90" /> 2955 2958 <rect 2956 2959 y="1041.3622" 2957 x="1 1.333"2960 x="15.079301" 2958 2961 height="6" 2959 width=" 3"2962 width="4.0256615" 2960 2963 id="rect4199" 2961 style="fill:#ffffff;fill-opacity:1;stroke:none" /> 2964 style="fill:#ffffff;fill-opacity:1;stroke:none" 2965 inkscape:export-filename="/Users/mherring/boatsw/oseam/josm/plugins/smed/plugs/oseam/src/images/MorseButton.png" 2966 inkscape:export-xdpi="90" 2967 inkscape:export-ydpi="90" /> 2962 2968 <rect 2963 2969 style="fill:#ffffff;fill-opacity:1;stroke:none" 2964 2970 id="rect4201" 2965 width=" 9"2971 width="12.076985" 2966 2972 height="6" 2967 x="20" 2968 y="1041.3622" /> 2973 x="26.709436" 2974 y="1041.3622" 2975 inkscape:export-filename="/Users/mherring/boatsw/oseam/josm/plugins/smed/plugs/oseam/src/images/MorseButton.png" 2976 inkscape:export-xdpi="90" 2977 inkscape:export-ydpi="90" /> 2969 2978 <rect 2970 2979 style="fill:#ffffff;fill-opacity:1;stroke:none" 2971 2980 id="rect4260" 2972 width=" 3"2981 width="4.0256615" 2973 2982 height="6" 2974 x="15.667" 2975 y="1041.3622" /> 2983 x="20.895039" 2984 y="1041.3622" 2985 inkscape:export-filename="/Users/mherring/boatsw/oseam/josm/plugins/smed/plugs/oseam/src/images/MorseButton.png" 2986 inkscape:export-xdpi="90" 2987 inkscape:export-ydpi="90" /> 2976 2988 </g> 2977 2989 </svg> -
applications/editors/josm/plugins/smed/plugs/oseam/src/images/NoCharButton.svg
r26086 r26087 11 11 xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" 12 12 xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" 13 width=" 30"13 width="40" 14 14 height="16" 15 15 id="svg2" 16 16 version="1.1" 17 17 inkscape:version="0.48.1 r9760" 18 sodipodi:docname=" OffButton.svg"19 inkscape:export-filename="/Users/mherring/boatsw/oseam/josm/plugins/smed/plugs/oseam/src/images/ OrangeButton.png"18 sodipodi:docname="NoCharButton.svg" 19 inkscape:export-filename="/Users/mherring/boatsw/oseam/josm/plugins/smed/plugs/oseam/src/images/NoCharButton.png" 20 20 inkscape:export-xdpi="90" 21 21 inkscape:export-ydpi="90" … … 2896 2896 inkscape:pageshadow="2" 2897 2897 inkscape:zoom="22.627416" 2898 inkscape:cx="1 6.32572"2898 inkscape:cx="15.530225" 2899 2899 inkscape:cy="8.0491388" 2900 2900 inkscape:document-units="px" … … 2903 2903 inkscape:showpageshadow="false" 2904 2904 inkscape:snap-grids="false" 2905 inkscape:window-width="1 440"2906 inkscape:window-height=" 786"2905 inkscape:window-width="1920" 2906 inkscape:window-height="1088" 2907 2907 inkscape:window-x="0" 2908 2908 inkscape:window-y="0" … … 2935 2935 style="display:inline"> 2936 2936 <rect 2937 style="fill:#000000;fill-opacity:1;stroke:#000000;stroke-width:0.75058466 000000001;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"2937 style="fill:#000000;fill-opacity:1;stroke:#000000;stroke-width:0.75058466;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" 2938 2938 id="rect9640" 2939 width=" 29.249414"2939 width="39.249416" 2940 2940 height="15.249415" 2941 2941 x="0.37529233" … … 2949 2949 xml:space="preserve" 2950 2950 style="font-size:12px;font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;text-align:start;line-height:125%;writing-mode:lr-tb;text-anchor:start;fill:#ffffff;fill-opacity:1;stroke:none;font-family:Bitstream Vera Sans;-inkscape-font-specification:Bitstream Vera Sans Bold" 2951 x="1 1.092738"2952 y="1047. 6777"2951 x="16.219263" 2952 y="1047.7661" 2953 2953 id="text13697" 2954 2954 sodipodi:linespacing="125%"><tspan 2955 2955 sodipodi:role="line" 2956 2956 id="tspan13699" 2957 x="1 1.092738"2958 y="1047. 6777">x</tspan></text>2957 x="16.219263" 2958 y="1047.7661">x</tspan></text> 2959 2959 </g> 2960 2960 </svg> -
applications/editors/josm/plugins/smed/plugs/oseam/src/images/OccultingButton.svg
r26086 r26087 11 11 xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" 12 12 xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" 13 width=" 30"13 width="40" 14 14 height="16" 15 15 id="svg2" 16 16 version="1.1" 17 17 inkscape:version="0.48.1 r9760" 18 sodipodi:docname=" IsophasedButton.svg"18 sodipodi:docname="OccultingButton.svg" 19 19 inkscape:export-filename="/Users/mherring/boatsw/oseam/josm/plugins/smed/plugs/oseam/src/images/IsophasedButton.png" 20 20 inkscape:export-xdpi="90" … … 2903 2903 inkscape:showpageshadow="false" 2904 2904 inkscape:snap-grids="false" 2905 inkscape:window-width="1 440"2906 inkscape:window-height=" 786"2905 inkscape:window-width="1920" 2906 inkscape:window-height="1088" 2907 2907 inkscape:window-x="0" 2908 2908 inkscape:window-y="0" 2909 inkscape:window-maximized=" 1">2909 inkscape:window-maximized="0"> 2910 2910 <inkscape:grid 2911 2911 type="xygrid" … … 2935 2935 style="display:inline"> 2936 2936 <rect 2937 style="fill:#000000;fill-opacity:1;stroke:#000000;stroke-width:0.75058466 000000001;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"2937 style="fill:#000000;fill-opacity:1;stroke:#000000;stroke-width:0.75058466;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" 2938 2938 id="rect9640" 2939 width=" 29.249414"2939 width="39.249416" 2940 2940 height="15.249415" 2941 2941 x="0.37529233" … … 2943 2943 rx="5" 2944 2944 ry="5" 2945 inkscape:export-filename="/Users/mherring/boatsw/oseam/josm/plugins/smed/plugs/oseam/src/images/O ffButton.png"2945 inkscape:export-filename="/Users/mherring/boatsw/oseam/josm/plugins/smed/plugs/oseam/src/images/OccultingButton.png" 2946 2946 inkscape:export-xdpi="90" 2947 2947 inkscape:export-ydpi="90" /> … … 2949 2949 style="fill:#ffffff;fill-opacity:1;stroke:none" 2950 2950 id="rect4197" 2951 width=" 8"2951 width="10.735098" 2952 2952 height="6" 2953 x="1" 2954 y="1041.3622" /> 2953 x="1.2135795" 2954 y="1041.3622" 2955 inkscape:export-filename="/Users/mherring/boatsw/oseam/josm/plugins/smed/plugs/oseam/src/images/OccultingButton.png" 2956 inkscape:export-xdpi="90" 2957 inkscape:export-ydpi="90" /> 2955 2958 <rect 2956 2959 y="1041.3622" 2957 x="1 1"2960 x="14.632452" 2958 2961 height="6" 2959 width=" 8"2962 width="10.735098" 2960 2963 id="rect4199" 2961 style="fill:#ffffff;fill-opacity:1;stroke:none" /> 2964 style="fill:#ffffff;fill-opacity:1;stroke:none" 2965 inkscape:export-filename="/Users/mherring/boatsw/oseam/josm/plugins/smed/plugs/oseam/src/images/OccultingButton.png" 2966 inkscape:export-xdpi="90" 2967 inkscape:export-ydpi="90" /> 2962 2968 <rect 2963 2969 style="fill:#ffffff;fill-opacity:1;stroke:none" 2964 2970 id="rect4201" 2965 width=" 8"2971 width="10.735098" 2966 2972 height="6" 2967 x="21" 2968 y="1041.3622" /> 2973 x="28.051325" 2974 y="1041.3622" 2975 inkscape:export-filename="/Users/mherring/boatsw/oseam/josm/plugins/smed/plugs/oseam/src/images/OccultingButton.png" 2976 inkscape:export-xdpi="90" 2977 inkscape:export-ydpi="90" /> 2969 2978 </g> 2970 2979 </svg> -
applications/editors/josm/plugins/smed/plugs/oseam/src/images/QuickButton.svg
r26086 r26087 11 11 xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" 12 12 xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" 13 width=" 30"13 width="40" 14 14 height="16" 15 15 id="svg2" 16 16 version="1.1" 17 17 inkscape:version="0.48.1 r9760" 18 sodipodi:docname=" FlashButton.svg"18 sodipodi:docname="QuickButton.svg" 19 19 inkscape:export-filename="/Users/mherring/boatsw/oseam/josm/plugins/smed/plugs/oseam/src/images/OrangeButton.png" 20 20 inkscape:export-xdpi="90" … … 2903 2903 inkscape:showpageshadow="false" 2904 2904 inkscape:snap-grids="false" 2905 inkscape:window-width="1 440"2906 inkscape:window-height=" 786"2905 inkscape:window-width="1920" 2906 inkscape:window-height="1088" 2907 2907 inkscape:window-x="0" 2908 2908 inkscape:window-y="0" … … 2935 2935 style="display:inline"> 2936 2936 <rect 2937 style="fill:#000000;fill-opacity:1;stroke:#000000;stroke-width:0.75058466 000000001;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"2937 style="fill:#000000;fill-opacity:1;stroke:#000000;stroke-width:0.75058466;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" 2938 2938 id="rect9640" 2939 width=" 29.249414"2939 width="39.249416" 2940 2940 height="15.249415" 2941 2941 x="0.37529233" … … 2943 2943 rx="5" 2944 2944 ry="5" 2945 inkscape:export-filename="/Users/mherring/boatsw/oseam/josm/plugins/smed/plugs/oseam/src/images/ OffButton.png"2945 inkscape:export-filename="/Users/mherring/boatsw/oseam/josm/plugins/smed/plugs/oseam/src/images/QuickButton.png" 2946 2946 inkscape:export-xdpi="90" 2947 2947 inkscape:export-ydpi="90" /> 2948 2948 <path 2949 2949 style="fill:#ffffff;fill-opacity:1;stroke:none" 2950 d="m 1 ,1047.3622 4,0 -1.9780219,-6 z"2950 d="m 1.2135796,1047.3622 5.3675488,0 -2.6542823,-6 z" 2951 2951 id="path3404" 2952 inkscape:connector-curvature="0" /> 2952 inkscape:connector-curvature="0" 2953 inkscape:export-filename="/Users/mherring/boatsw/oseam/josm/plugins/smed/plugs/oseam/src/images/QuickButton.png" 2954 inkscape:export-xdpi="90" 2955 inkscape:export-ydpi="90" /> 2953 2956 <path 2954 2957 inkscape:connector-curvature="0" 2955 2958 id="path4174" 2956 d="m 13,1047.3622 4,0 -1.978022,-6 z" 2957 style="fill:#ffffff;fill-opacity:1;stroke:none" /> 2959 d="m 17.316226,1047.3622 5.367549,0 -2.654282,-6 z" 2960 style="fill:#ffffff;fill-opacity:1;stroke:none" 2961 inkscape:export-filename="/Users/mherring/boatsw/oseam/josm/plugins/smed/plugs/oseam/src/images/QuickButton.png" 2962 inkscape:export-xdpi="90" 2963 inkscape:export-ydpi="90" /> 2958 2964 <path 2959 2965 style="fill:#ffffff;fill-opacity:1;stroke:none" 2960 d="m 25,1047.3622 4,0 -1.978022,-6 z"2966 d="m 33.418873,1047.3622 5.367549,0 -2.654283,-6 z" 2961 2967 id="path4176" 2962 inkscape:connector-curvature="0" /> 2968 inkscape:connector-curvature="0" 2969 inkscape:export-filename="/Users/mherring/boatsw/oseam/josm/plugins/smed/plugs/oseam/src/images/QuickButton.png" 2970 inkscape:export-xdpi="90" 2971 inkscape:export-ydpi="90" /> 2963 2972 <path 2964 2973 inkscape:connector-curvature="0" 2965 2974 id="path4721" 2966 d="m 7,1047.3622 4,0 -1.9780219,-6 z" 2967 style="fill:#ffffff;fill-opacity:1;stroke:none" /> 2975 d="m 9.2649029,1047.3622 5.3675491,0 -2.654283,-6 z" 2976 style="fill:#ffffff;fill-opacity:1;stroke:none" 2977 inkscape:export-filename="/Users/mherring/boatsw/oseam/josm/plugins/smed/plugs/oseam/src/images/QuickButton.png" 2978 inkscape:export-xdpi="90" 2979 inkscape:export-ydpi="90" /> 2968 2980 <path 2969 2981 style="fill:#ffffff;fill-opacity:1;stroke:none" 2970 d="m 19,1047.3622 4,0 -1.978022,-6 z"2982 d="m 25.367549,1047.3622 5.367549,0 -2.654282,-6 z" 2971 2983 id="path4723" 2972 inkscape:connector-curvature="0" /> 2984 inkscape:connector-curvature="0" 2985 inkscape:export-filename="/Users/mherring/boatsw/oseam/josm/plugins/smed/plugs/oseam/src/images/QuickButton.png" 2986 inkscape:export-xdpi="90" 2987 inkscape:export-ydpi="90" /> 2973 2988 </g> 2974 2989 </svg> -
applications/editors/josm/plugins/smed/plugs/oseam/src/images/UltraQuickButton.svg
r26086 r26087 11 11 xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" 12 12 xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" 13 width=" 30"13 width="40" 14 14 height="16" 15 15 id="svg2" 16 16 version="1.1" 17 17 inkscape:version="0.48.1 r9760" 18 sodipodi:docname=" VeryQuickButton.svg"19 inkscape:export-filename="/Users/mherring/boatsw/oseam/josm/plugins/smed/plugs/oseam/src/images/ VeryQuickButton.png"18 sodipodi:docname="UltraQuickButton.svg" 19 inkscape:export-filename="/Users/mherring/boatsw/oseam/josm/plugins/smed/plugs/oseam/src/images/UltraQuickButton.png" 20 20 inkscape:export-xdpi="90" 21 21 inkscape:export-ydpi="90" … … 2903 2903 inkscape:showpageshadow="false" 2904 2904 inkscape:snap-grids="false" 2905 inkscape:window-width="1 440"2906 inkscape:window-height=" 786"2905 inkscape:window-width="1920" 2906 inkscape:window-height="1088" 2907 2907 inkscape:window-x="0" 2908 2908 inkscape:window-y="0" … … 2935 2935 style="display:inline"> 2936 2936 <rect 2937 style="fill:#000000;fill-opacity:1;stroke:#000000;stroke-width:0.75058466 000000001;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"2937 style="fill:#000000;fill-opacity:1;stroke:#000000;stroke-width:0.75058466;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" 2938 2938 id="rect9640" 2939 width=" 29.249414"2939 width="39.249416" 2940 2940 height="15.249415" 2941 2941 x="0.37529233" … … 2943 2943 rx="5" 2944 2944 ry="5" 2945 inkscape:export-filename="/Users/mherring/boatsw/oseam/josm/plugins/smed/plugs/oseam/src/images/ OffButton.png"2945 inkscape:export-filename="/Users/mherring/boatsw/oseam/josm/plugins/smed/plugs/oseam/src/images/UltraQuickButton.png" 2946 2946 inkscape:export-xdpi="90" 2947 2947 inkscape:export-ydpi="90" /> 2948 2948 <path 2949 2949 style="fill:#ffffff;fill-opacity:1;stroke:none" 2950 d="m 1 ,1047.3622 2,0 -0.9890109,-6 z"2950 d="m 1.2135796,1047.3622 2.6837744,0 -1.3271411,-6 z" 2951 2951 id="path3404" 2952 inkscape:connector-curvature="0" /> 2952 inkscape:connector-curvature="0" 2953 inkscape:export-filename="/Users/mherring/boatsw/oseam/josm/plugins/smed/plugs/oseam/src/images/UltraQuickButton.png" 2954 inkscape:export-xdpi="90" 2955 inkscape:export-ydpi="90" /> 2953 2956 <path 2954 2957 inkscape:connector-curvature="0" 2955 2958 id="path4174" 2956 d="m 7.5,1047.3622 2,0 -0.989011,-6 z" 2957 style="fill:#ffffff;fill-opacity:1;stroke:none" /> 2959 d="m 9.9358465,1047.3622 2.6837745,0 -1.327141,-6 z" 2960 style="fill:#ffffff;fill-opacity:1;stroke:none" 2961 inkscape:export-filename="/Users/mherring/boatsw/oseam/josm/plugins/smed/plugs/oseam/src/images/UltraQuickButton.png" 2962 inkscape:export-xdpi="90" 2963 inkscape:export-ydpi="90" /> 2958 2964 <path 2959 2965 style="fill:#ffffff;fill-opacity:1;stroke:none" 2960 d="m 1 4,1047.3622 2,0 -0.989011,-6 z"2966 d="m 18.658113,1047.3622 2.683775,0 -1.327141,-6 z" 2961 2967 id="path4176" 2962 inkscape:connector-curvature="0" /> 2968 inkscape:connector-curvature="0" 2969 inkscape:export-filename="/Users/mherring/boatsw/oseam/josm/plugins/smed/plugs/oseam/src/images/UltraQuickButton.png" 2970 inkscape:export-xdpi="90" 2971 inkscape:export-ydpi="90" /> 2963 2972 <path 2964 2973 inkscape:connector-curvature="0" 2965 2974 id="path4721" 2966 d="m 4.25,1047.3622 2,0 -0.9890109,-6 z" 2967 style="fill:#ffffff;fill-opacity:1;stroke:none" /> 2975 d="m 5.574713,1047.3622 2.6837745,0 -1.3271411,-6 z" 2976 style="fill:#ffffff;fill-opacity:1;stroke:none" 2977 inkscape:export-filename="/Users/mherring/boatsw/oseam/josm/plugins/smed/plugs/oseam/src/images/UltraQuickButton.png" 2978 inkscape:export-xdpi="90" 2979 inkscape:export-ydpi="90" /> 2968 2980 <path 2969 2981 style="fill:#ffffff;fill-opacity:1;stroke:none" 2970 d="m 1 0.75,1047.3622 2,0 -0.989011,-6 z"2982 d="m 14.29698,1047.3622 2.683774,0 -1.327141,-6 z" 2971 2983 id="path4723" 2972 inkscape:connector-curvature="0" /> 2984 inkscape:connector-curvature="0" 2985 inkscape:export-filename="/Users/mherring/boatsw/oseam/josm/plugins/smed/plugs/oseam/src/images/UltraQuickButton.png" 2986 inkscape:export-xdpi="90" 2987 inkscape:export-ydpi="90" /> 2973 2988 <path 2974 2989 inkscape:connector-curvature="0" 2975 2990 id="path4744" 2976 d="m 17.25,1047.3622 2,0 -0.989011,-6 z" 2977 style="fill:#ffffff;fill-opacity:1;stroke:none" /> 2991 d="m 23.019247,1047.3622 2.683774,0 -1.327141,-6 z" 2992 style="fill:#ffffff;fill-opacity:1;stroke:none" 2993 inkscape:export-filename="/Users/mherring/boatsw/oseam/josm/plugins/smed/plugs/oseam/src/images/UltraQuickButton.png" 2994 inkscape:export-xdpi="90" 2995 inkscape:export-ydpi="90" /> 2978 2996 <path 2979 2997 style="fill:#ffffff;fill-opacity:1;stroke:none" 2980 d="m 2 0.5,1047.3622 2,0 -0.989011,-6 z"2998 d="m 27.38038,1047.3622 2.683775,0 -1.327141,-6 z" 2981 2999 id="path4746" 2982 inkscape:connector-curvature="0" /> 3000 inkscape:connector-curvature="0" 3001 inkscape:export-filename="/Users/mherring/boatsw/oseam/josm/plugins/smed/plugs/oseam/src/images/UltraQuickButton.png" 3002 inkscape:export-xdpi="90" 3003 inkscape:export-ydpi="90" /> 2983 3004 <path 2984 3005 inkscape:connector-curvature="0" 2985 3006 id="path4767" 2986 d="m 23.75,1047.3622 2,0 -0.989011,-6 z" 2987 style="fill:#ffffff;fill-opacity:1;stroke:none" /> 3007 d="m 31.741514,1047.3622 2.683774,0 -1.327141,-6 z" 3008 style="fill:#ffffff;fill-opacity:1;stroke:none" 3009 inkscape:export-filename="/Users/mherring/boatsw/oseam/josm/plugins/smed/plugs/oseam/src/images/UltraQuickButton.png" 3010 inkscape:export-xdpi="90" 3011 inkscape:export-ydpi="90" /> 2988 3012 <path 2989 3013 style="fill:#ffffff;fill-opacity:1;stroke:none" 2990 d="m 27,1047.3622 2,0 -0.989011,-6 z"3014 d="m 36.102647,1047.3622 2.683775,0 -1.327142,-6 z" 2991 3015 id="path4769" 2992 inkscape:connector-curvature="0" /> 3016 inkscape:connector-curvature="0" 3017 inkscape:export-filename="/Users/mherring/boatsw/oseam/josm/plugins/smed/plugs/oseam/src/images/UltraQuickButton.png" 3018 inkscape:export-xdpi="90" 3019 inkscape:export-ydpi="90" /> 2993 3020 </g> 2994 3021 </svg> -
applications/editors/josm/plugins/smed/plugs/oseam/src/images/VeryQuickButton.svg
r26086 r26087 11 11 xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" 12 12 xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" 13 width=" 30"13 width="40" 14 14 height="16" 15 15 id="svg2" 16 16 version="1.1" 17 17 inkscape:version="0.48.1 r9760" 18 sodipodi:docname=" QuickButton.svg"19 inkscape:export-filename="/Users/mherring/boatsw/oseam/josm/plugins/smed/plugs/oseam/src/images/ QuickButton.png"18 sodipodi:docname="VeryQuickButton.svg" 19 inkscape:export-filename="/Users/mherring/boatsw/oseam/josm/plugins/smed/plugs/oseam/src/images/VeryQuickButton.png" 20 20 inkscape:export-xdpi="90" 21 21 inkscape:export-ydpi="90" … … 2903 2903 inkscape:showpageshadow="false" 2904 2904 inkscape:snap-grids="false" 2905 inkscape:window-width="1 440"2906 inkscape:window-height=" 786"2905 inkscape:window-width="1920" 2906 inkscape:window-height="1088" 2907 2907 inkscape:window-x="0" 2908 2908 inkscape:window-y="0" … … 2935 2935 style="display:inline"> 2936 2936 <rect 2937 style="fill:#000000;fill-opacity:1;stroke:#000000;stroke-width:0.75058466 000000001;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"2937 style="fill:#000000;fill-opacity:1;stroke:#000000;stroke-width:0.75058466;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" 2938 2938 id="rect9640" 2939 width=" 29.249414"2939 width="39.249416" 2940 2940 height="15.249415" 2941 2941 x="0.37529233" … … 2948 2948 <path 2949 2949 style="fill:#ffffff;fill-opacity:1;stroke:none" 2950 d="m 1 ,1047.3622 3,0 -1.4835164,-6 z"2950 d="m 1.2135796,1047.3622 4.0256616,0 -1.9907117,-6 z" 2951 2951 id="path3404" 2952 2952 inkscape:connector-curvature="0" /> … … 2954 2954 inkscape:connector-curvature="0" 2955 2955 id="path4174" 2956 d="m 9.333,1047.3622 3,0 -1.483516,-6 z"2956 d="m 12.395526,1047.3622 4.025661,0 -1.990711,-6 z" 2957 2957 style="fill:#ffffff;fill-opacity:1;stroke:none" /> 2958 2958 <path 2959 2959 style="fill:#ffffff;fill-opacity:1;stroke:none" 2960 d="m 17.667,1047.4064 3,0 -1.483517,-6 z"2960 d="m 23.578814,1047.4064 4.025661,0 -1.990712,-6 z" 2961 2961 id="path4176" 2962 2962 inkscape:connector-curvature="0" /> … … 2964 2964 inkscape:connector-curvature="0" 2965 2965 id="path4721" 2966 d="m 5.167,1047.3622 3,0 -1.4835164,-6 z"2966 d="m 6.8052236,1047.3622 4.0256614,0 -1.9907114,-6 z" 2967 2967 style="fill:#ffffff;fill-opacity:1;stroke:none" /> 2968 2968 <path 2969 2969 style="fill:#ffffff;fill-opacity:1;stroke:none" 2970 d="m 1 3.5,1047.3622 3,0 -1.483517,-6 z"2970 d="m 17.98717,1047.3622 4.025661,0 -1.990712,-6 z" 2971 2971 id="path4723" 2972 2972 inkscape:connector-curvature="0" /> … … 2974 2974 inkscape:connector-curvature="0" 2975 2975 id="path4744" 2976 d="m 2 1.835,1047.3622 3,0 -1.483517,-6 z"2976 d="m 29.1718,1047.3622 4.025661,0 -1.990712,-6 z" 2977 2977 style="fill:#ffffff;fill-opacity:1;stroke:none" /> 2978 2978 <path 2979 2979 style="fill:#ffffff;fill-opacity:1;stroke:none" 2980 d="m 26,1047.3622 3,0 -1.483517,-6 z"2980 d="m 34.76076,1047.3622 4.025662,0 -1.990713,-6 z" 2981 2981 id="path4746" 2982 2982 inkscape:connector-curvature="0" /> -
applications/editors/josm/plugins/smed/plugs/oseam/src/oseam/panels/PanelChr.java
r26086 r26087 11 11 import javax.swing.ImageIcon; 12 12 import javax.swing.JToggleButton; 13 import javax.swing.JLabel; 14 import javax.swing.JTextField; 15 import javax.swing.SwingConstants; 13 16 14 17 import java.util.EnumMap; 18 import java.util.EnumSet; 19 import java.util.HashMap; 20 import java.util.Map; 15 21 16 22 import oseam.dialogs.OSeaMAction; 17 23 import oseam.seamarks.SeaMark.Chr; 18 import oseam.seamarks.SeaMark .Ent;24 import oseam.seamarks.SeaMark; 19 25 20 26 public class PanelChr extends JPanel { 27 //System.out.println(map); 21 28 22 29 private OSeaMAction dlg; 30 public JLabel charLabel = new JLabel(); 31 public JTextField charBox = new JTextField(); 23 32 public JToggleButton noneButton = new JToggleButton(new ImageIcon(getClass().getResource("/images/NoCharButton.png"))); 24 33 public JToggleButton fixedButton = new JToggleButton(new ImageIcon(getClass().getResource("/images/FixedButton.png"))); … … 35 44 public JToggleButton morseButton = new JToggleButton(new ImageIcon(getClass().getResource("/images/MorseButton.png"))); 36 45 public JToggleButton alternatingButton = new JToggleButton(new ImageIcon(getClass().getResource("/images/AlternatingButton.png"))); 37 private EnumMap<Chr, JToggleButton> characters = new EnumMap<Chr, JToggleButton>(Chr.class);38 private ActionListener alChar acter= new ActionListener() {46 private EnumMap<Chr, JToggleButton> buttons = new EnumMap<Chr, JToggleButton>(Chr.class); 47 private ActionListener alCharButton = new ActionListener() { 39 48 public void actionPerformed(java.awt.event.ActionEvent e) { 40 for (Chr chr : characters.keySet()) { 41 JToggleButton button = characters.get(chr); 49 JToggleButton source = (JToggleButton)e.getSource(); 50 EnumSet<Chr> combo = EnumSet.noneOf(Chr.class); 51 for (Chr chr : buttons.keySet()) { 52 JToggleButton button = buttons.get(chr); 42 53 if (button.isSelected()) { 54 combo.add(chr); 43 55 button.setBorderPainted(true); 44 } else 56 } else { 57 combo.remove(chr); 45 58 button.setBorderPainted(false); 59 } 60 } 61 charBox.setText(""); 62 for (EnumSet<Chr> map : SeaMark.ChrMAP.keySet()) { 63 if (map.equals(combo)) { 64 charBox.setText(SeaMark.ChrMAP.get(map)); 65 } 66 } 67 if (charBox.getText().isEmpty()) { 68 for (Chr chr : buttons.keySet()) { 69 JToggleButton button = buttons.get(chr); 70 if (button == source) { 71 charBox.setText(SeaMark.ChrMAP.get(EnumSet.of(chr))); 72 button.setSelected(true); 73 button.setBorderPainted(true); 74 } else { 75 button.setSelected(false); 76 button.setBorderPainted(false); 77 } 78 } 79 } 80 } 81 }; 82 private ActionListener alCharBox = new ActionListener() { 83 public void actionPerformed(java.awt.event.ActionEvent e) { 84 String str = charBox.getText(); 85 EnumSet<Chr> set = EnumSet.noneOf(Chr.class); 86 for (EnumSet<Chr> map : SeaMark.ChrMAP.keySet()) { 87 if (str.equals(SeaMark.ChrMAP.get(map))) { 88 set = map; 89 break; 90 } 91 } 92 for (Chr chr : buttons.keySet()) { 93 JToggleButton button = buttons.get(chr); 94 if (set.contains(chr)) { 95 button.setSelected(true); 96 button.setBorderPainted(true); 97 } else { 98 button.setSelected(false); 99 button.setBorderPainted(false); 100 } 46 101 } 47 102 } … … 51 106 dlg = dia; 52 107 this.setLayout(null); 53 this.add(getChrButton(noneButton, 0, 0, 34, 16, "No character", Chr.UNKNOWN), null); 54 this.add(getChrButton(fixedButton, 0, 16, 34, 16, "F. Fixed", Chr.FIXED), null); 55 this.add(getChrButton(flashButton, 0, 32, 34, 16, "Fl. Flashing", Chr.FLASH), null); 56 this.add(getChrButton(longFlashButton, 0, 48, 34, 16, "LFl. Long flash", Chr.LONGFLASH), null); 57 this.add(getChrButton(quickButton, 0, 64, 34, 16, "Q. Quick flashing", Chr.QUICK), null); 58 this.add(getChrButton(veryQuickButton, 0, 80, 34, 16, "VQ. Very quick flashing", Chr.VERYQUICK), null); 59 this.add(getChrButton(ultraQuickButton, 0, 96, 34, 16, "UQ. Ultra quick flashing", Chr.ULTRAQUICK), null); 60 this.add(getChrButton(alternatingButton, 34, 0, 34, 16, "Al. Alternating", Chr.ALTERNATING), null); 61 this.add(getChrButton(isophasedButton, 34, 16, 34, 16, "Iso. Isophased flashing", Chr.ISOPHASED), null); 62 this.add(getChrButton(occultingButton, 34, 32, 34, 16, "Oc. Occulting flash", Chr.OCCULTING), null); 63 this.add(getChrButton(morseButton, 34, 48, 34, 16, "Mo. Morse", Chr.MORSE), null); 64 this.add(getChrButton(interruptedQuickButton, 34, 64, 34, 16, "IQ. Interrupted quick flashing", Chr.INTERRUPTEDQUICK), null); 65 this.add(getChrButton(interruptedVeryQuickButton, 34, 80, 34, 16, "IVQ. Interrupted very quick flashing", Chr.INTERRUPTEDVERYQUICK), null); 66 this.add(getChrButton(interruptedUltraQuickButton, 34, 96, 34, 16, "IUQ. Interrupted ultra quick flashing", Chr.INTERRUPTEDULTRAQUICK), null); 108 this.add(getChrButton(noneButton, 0, 0, 44, 16, "No character", Chr.UNKNOWN), null); 109 this.add(getChrButton(fixedButton, 0, 16, 44, 16, "F: Fixed", Chr.FIXED), null); 110 this.add(getChrButton(flashButton, 0, 32, 44, 16, "Fl: Flashing", Chr.FLASH), null); 111 this.add(getChrButton(longFlashButton, 0, 48, 44, 16, "LFl: Long flash", Chr.LONGFLASH), null); 112 this.add(getChrButton(quickButton, 0, 64, 44, 16, "Q: Quick flashing", Chr.QUICK), null); 113 this.add(getChrButton(veryQuickButton, 0, 80, 44, 16, "VQ: Very quick flashing", Chr.VERYQUICK), null); 114 this.add(getChrButton(ultraQuickButton, 0, 96, 44, 16, "UQ: Ultra quick flashing", Chr.ULTRAQUICK), null); 115 this.add(getChrButton(alternatingButton, 44, 0, 44, 16, "Al: Alternating", Chr.ALTERNATING), null); 116 this.add(getChrButton(isophasedButton, 44, 16, 44, 16, "Iso: Isophased flashing", Chr.ISOPHASED), null); 117 this.add(getChrButton(occultingButton, 44, 32, 44, 16, "Oc: Occulting flash", Chr.OCCULTING), null); 118 this.add(getChrButton(morseButton, 44, 48, 44, 16, "Mo: Morse", Chr.MORSE), null); 119 this.add(getChrButton(interruptedQuickButton, 44, 64, 44, 16, "IQ: Interrupted quick flashing", Chr.INTERRUPTEDQUICK), null); 120 this.add(getChrButton(interruptedVeryQuickButton, 44, 80, 44, 16, "IVQ: Interrupted very quick flashing", Chr.INTERRUPTEDVERYQUICK), null); 121 this.add(getChrButton(interruptedUltraQuickButton, 44, 96, 44, 16, "IUQ: Interrupted ultra quick flashing", Chr.INTERRUPTEDULTRAQUICK), null); 122 charLabel.setBounds(new Rectangle(0, 113, 88, 20)); 123 charLabel.setHorizontalAlignment(SwingConstants.CENTER); 124 charLabel.setText("Character"); 125 this.add(charLabel, null); 126 charBox.setBounds(new Rectangle(20, 135, 50, 20)); 127 charBox.setHorizontalAlignment(SwingConstants.CENTER); 128 this.add(charBox, null); 129 charBox.addActionListener(alCharBox); 67 130 } 68 131 69 132 public void clearSelections() { 70 for (Chr chr : characters.keySet()) {71 JToggleButton button = characters.get(chr);133 for (Chr chr : buttons.keySet()) { 134 JToggleButton button = buttons.get(chr); 72 135 button.setSelected(false); 73 136 } … … 76 139 77 140 public void enableAll(boolean state) { 78 for (JToggleButton button : characters.values()) {141 for (JToggleButton button : buttons.values()) { 79 142 button.setEnabled(state); 80 143 } … … 84 147 button.setBounds(new Rectangle(x, y, w, h)); 85 148 button.setBorder(BorderFactory.createLineBorder(Color.magenta, 2)); 149 button.setBorderPainted(false); 86 150 button.setToolTipText(tr(tip)); 87 button.addActionListener(alChar acter);88 characters.put(chr, button);151 button.addActionListener(alCharButton); 152 buttons.put(chr, button); 89 153 return button; 90 154 } -
applications/editors/josm/plugins/smed/plugs/oseam/src/oseam/panels/PanelLit.java
r26086 r26087 16 16 public PanelLit(OSeaMAction dia) { 17 17 dlg = dia; 18 panelChr = new PanelChr(dlg); 19 panelChr.setBounds(new Rectangle(0, 0, 88, 160)); 18 20 panelCol = new PanelCol(dlg, Ent.LIGHT); 19 panelCol.setBounds(new Rectangle( 0, 0, 34, 160));21 panelCol.setBounds(new Rectangle(88, 0, 34, 160)); 20 22 panelCol.blackButton.setVisible(false); 21 panelChr = new PanelChr(dlg);22 panelChr.setBounds(new Rectangle(36, 0, 68, 160));23 23 this.setLayout(null); 24 this.add(panelChr, null); 24 25 this.add(panelCol, null); 25 this.add(panelChr, null);26 26 } 27 27 -
applications/editors/josm/plugins/smed/plugs/oseam/src/oseam/seamarks/SeaMark.java
r26086 r26087 4 4 5 5 import java.util.EnumMap; 6 import java.util.EnumSet; 6 7 import java.util.Map; 8 import java.util.HashMap; 7 9 import java.util.regex.Matcher; 8 10 import java.util.regex.Pattern; … … 51 53 } 52 54 53 public static final EnumMap<Obj, String> objects= new EnumMap<Obj, String>(Obj.class);55 public static final EnumMap<Obj, String> ObjMAP = new EnumMap<Obj, String>(Obj.class); 54 56 static { 55 objects.put(Obj.UNKNOWN, "");56 objects.put(Obj.BCNCAR, "beacon_cardinal");57 objects.put(Obj.BCNISD, "beacon_isolated_danger");58 objects.put(Obj.BCNLAT, "beacon_lateral");59 objects.put(Obj.BCNSAW, "beacon_safe_water");60 objects.put(Obj.BCNSPP, "beacon_special_purpose");61 objects.put(Obj.BOYCAR, "buoy_cardinal");62 objects.put(Obj.BOYISD, "buoy_isolated_danger");63 objects.put(Obj.BOYLAT, "buoy_lateral");64 objects.put(Obj.BOYSAW, "buoy_safe_water");65 objects.put(Obj.BOYSPP, "buoy_special_purpose");66 objects.put(Obj.LITMAJ, "light_major");67 objects.put(Obj.LITMIN, "light_minor");68 objects.put(Obj.LITFLT, "light_float");69 objects.put(Obj.LITVES, "light_vessel");70 objects.put(Obj.LNDMRK, "landmark");71 objects.put(Obj.MORFAC, "mooring");72 objects.put(Obj.SIGSTA, "signal_station_warning");73 objects.put(Obj.SIGSTA, "signal_station_traffic");57 ObjMAP.put(Obj.UNKNOWN, ""); 58 ObjMAP.put(Obj.BCNCAR, "beacon_cardinal"); 59 ObjMAP.put(Obj.BCNISD, "beacon_isolated_danger"); 60 ObjMAP.put(Obj.BCNLAT, "beacon_lateral"); 61 ObjMAP.put(Obj.BCNSAW, "beacon_safe_water"); 62 ObjMAP.put(Obj.BCNSPP, "beacon_special_purpose"); 63 ObjMAP.put(Obj.BOYCAR, "buoy_cardinal"); 64 ObjMAP.put(Obj.BOYISD, "buoy_isolated_danger"); 65 ObjMAP.put(Obj.BOYLAT, "buoy_lateral"); 66 ObjMAP.put(Obj.BOYSAW, "buoy_safe_water"); 67 ObjMAP.put(Obj.BOYSPP, "buoy_special_purpose"); 68 ObjMAP.put(Obj.LITMAJ, "light_major"); 69 ObjMAP.put(Obj.LITMIN, "light_minor"); 70 ObjMAP.put(Obj.LITFLT, "light_float"); 71 ObjMAP.put(Obj.LITVES, "light_vessel"); 72 ObjMAP.put(Obj.LNDMRK, "landmark"); 73 ObjMAP.put(Obj.MORFAC, "mooring"); 74 ObjMAP.put(Obj.SIGSTA, "signal_station_warning"); 75 ObjMAP.put(Obj.SIGSTA, "signal_station_traffic"); 74 76 } 75 77 … … 88 90 } 89 91 90 public static final EnumMap<Obj, Ent> entities= new EnumMap<Obj, Ent>(Obj.class);92 public static final EnumMap<Obj, Ent> EntMAP = new EnumMap<Obj, Ent>(Obj.class); 91 93 static { 92 entities.put(Obj.BCNCAR, Ent.BEACON);93 entities.put(Obj.BCNISD, Ent.BEACON);94 entities.put(Obj.BCNLAT, Ent.BEACON);95 entities.put(Obj.BCNSAW, Ent.BEACON);96 entities.put(Obj.BCNSPP, Ent.BEACON);97 entities.put(Obj.BOYCAR, Ent.BUOY);98 entities.put(Obj.BOYISD, Ent.BUOY);99 entities.put(Obj.BOYLAT, Ent.BUOY);100 entities.put(Obj.BOYSAW, Ent.BUOY);101 entities.put(Obj.BOYSPP, Ent.BUOY);102 entities.put(Obj.LITMAJ, Ent.LIGHT);103 entities.put(Obj.LITMIN, Ent.LIGHT);104 entities.put(Obj.LITFLT, Ent.FLOAT);105 entities.put(Obj.LITVES, Ent.LIGHT);106 entities.put(Obj.LNDMRK, Ent.LIGHT);107 entities.put(Obj.MORFAC, Ent.MOORING);108 entities.put(Obj.SIGSTA, Ent.STATION);94 EntMAP.put(Obj.BCNCAR, Ent.BEACON); 95 EntMAP.put(Obj.BCNISD, Ent.BEACON); 96 EntMAP.put(Obj.BCNLAT, Ent.BEACON); 97 EntMAP.put(Obj.BCNSAW, Ent.BEACON); 98 EntMAP.put(Obj.BCNSPP, Ent.BEACON); 99 EntMAP.put(Obj.BOYCAR, Ent.BUOY); 100 EntMAP.put(Obj.BOYISD, Ent.BUOY); 101 EntMAP.put(Obj.BOYLAT, Ent.BUOY); 102 EntMAP.put(Obj.BOYSAW, Ent.BUOY); 103 EntMAP.put(Obj.BOYSPP, Ent.BUOY); 104 EntMAP.put(Obj.LITMAJ, Ent.LIGHT); 105 EntMAP.put(Obj.LITMIN, Ent.LIGHT); 106 EntMAP.put(Obj.LITFLT, Ent.FLOAT); 107 EntMAP.put(Obj.LITVES, Ent.LIGHT); 108 EntMAP.put(Obj.LNDMRK, Ent.LIGHT); 109 EntMAP.put(Obj.MORFAC, Ent.MOORING); 110 EntMAP.put(Obj.SIGSTA, Ent.STATION); 109 111 } 110 112 … … 113 115 } 114 116 115 public static final EnumMap<Obj, Grp> groups= new EnumMap<Obj, Grp>(Obj.class);117 public static final EnumMap<Obj, Grp> GrpMAP = new EnumMap<Obj, Grp>(Obj.class); 116 118 static { 117 groups.put(Obj.BCNCAR, Grp.CAR);118 groups.put(Obj.BCNISD, Grp.ISD);119 groups.put(Obj.BCNLAT, Grp.LAT);120 groups.put(Obj.BCNSAW, Grp.SAW);121 groups.put(Obj.BCNSPP, Grp.SPP);122 groups.put(Obj.BOYCAR, Grp.CAR);123 groups.put(Obj.BOYISD, Grp.ISD);124 groups.put(Obj.BOYLAT, Grp.LAT);125 groups.put(Obj.BOYSAW, Grp.SAW);126 groups.put(Obj.BOYSPP, Grp.SPP);127 groups.put(Obj.LITMAJ, Grp.LIT);128 groups.put(Obj.LITMIN, Grp.LIT);129 groups.put(Obj.LITFLT, Grp.FLT);130 groups.put(Obj.LITVES, Grp.LIT);131 groups.put(Obj.LNDMRK, Grp.LIT);132 groups.put(Obj.MORFAC, Grp.SPP);133 groups.put(Obj.SIGSTA, Grp.SIS);119 GrpMAP.put(Obj.BCNCAR, Grp.CAR); 120 GrpMAP.put(Obj.BCNISD, Grp.ISD); 121 GrpMAP.put(Obj.BCNLAT, Grp.LAT); 122 GrpMAP.put(Obj.BCNSAW, Grp.SAW); 123 GrpMAP.put(Obj.BCNSPP, Grp.SPP); 124 GrpMAP.put(Obj.BOYCAR, Grp.CAR); 125 GrpMAP.put(Obj.BOYISD, Grp.ISD); 126 GrpMAP.put(Obj.BOYLAT, Grp.LAT); 127 GrpMAP.put(Obj.BOYSAW, Grp.SAW); 128 GrpMAP.put(Obj.BOYSPP, Grp.SPP); 129 GrpMAP.put(Obj.LITMAJ, Grp.LIT); 130 GrpMAP.put(Obj.LITMIN, Grp.LIT); 131 GrpMAP.put(Obj.LITFLT, Grp.FLT); 132 GrpMAP.put(Obj.LITVES, Grp.LIT); 133 GrpMAP.put(Obj.LNDMRK, Grp.LIT); 134 GrpMAP.put(Obj.MORFAC, Grp.SPP); 135 GrpMAP.put(Obj.SIGSTA, Grp.SIS); 134 136 } 135 137 … … 138 140 } 139 141 140 public static final EnumMap<Cat, String> categories= new EnumMap<Cat, String>(Cat.class);142 public static final EnumMap<Cat, String> CatMAP = new EnumMap<Cat, String>(Cat.class); 141 143 static { 142 categories.put(Cat.UNKNOWN, "");143 categories.put(Cat.LAT_PORT, "port");144 categories.put(Cat.LAT_STBD, "starboard");145 categories.put(Cat.LAT_PREF_PORT, "preferred_channel_port");146 categories.put(Cat.LAT_PREF_STBD, "preferred_channel_starboard");147 categories.put(Cat.CARD_NORTH, "north");148 categories.put(Cat.CARD_EAST, "east");149 categories.put(Cat.CARD_SOUTH, "south");150 categories.put(Cat.CARD_WEST, "west");151 categories.put(Cat.MOORING_BUOY, "mooring_buoy");144 CatMAP.put(Cat.UNKNOWN, ""); 145 CatMAP.put(Cat.LAT_PORT, "port"); 146 CatMAP.put(Cat.LAT_STBD, "starboard"); 147 CatMAP.put(Cat.LAT_PREF_PORT, "preferred_channel_port"); 148 CatMAP.put(Cat.LAT_PREF_STBD, "preferred_channel_starboard"); 149 CatMAP.put(Cat.CARD_NORTH, "north"); 150 CatMAP.put(Cat.CARD_EAST, "east"); 151 CatMAP.put(Cat.CARD_SOUTH, "south"); 152 CatMAP.put(Cat.CARD_WEST, "west"); 153 CatMAP.put(Cat.MOORING_BUOY, "mooring_buoy"); 152 154 } 153 155 … … 166 168 } 167 169 168 public static final EnumMap<Shp, String> shapes= new EnumMap<Shp, String>(Shp.class);170 public static final EnumMap<Shp, String> ShpMAP = new EnumMap<Shp, String>(Shp.class); 169 171 static { 170 shapes.put(Shp.UNKNOWN, "");171 shapes.put(Shp.PILLAR, "pillar");172 shapes.put(Shp.SPAR, "spar");173 shapes.put(Shp.CAN, "can");174 shapes.put(Shp.CONE, "conical");175 shapes.put(Shp.SPHERE, "sphere");176 shapes.put(Shp.BARREL, "barrel");177 shapes.put(Shp.FLOAT, "float");178 shapes.put(Shp.SUPER, "super-buoy");179 shapes.put(Shp.BEACON, "beacon");180 shapes.put(Shp.TOWER, "tower");181 shapes.put(Shp.STAKE, "stake");182 shapes.put(Shp.PERCH, "perch");172 ShpMAP.put(Shp.UNKNOWN, ""); 173 ShpMAP.put(Shp.PILLAR, "pillar"); 174 ShpMAP.put(Shp.SPAR, "spar"); 175 ShpMAP.put(Shp.CAN, "can"); 176 ShpMAP.put(Shp.CONE, "conical"); 177 ShpMAP.put(Shp.SPHERE, "sphere"); 178 ShpMAP.put(Shp.BARREL, "barrel"); 179 ShpMAP.put(Shp.FLOAT, "float"); 180 ShpMAP.put(Shp.SUPER, "super-buoy"); 181 ShpMAP.put(Shp.BEACON, "beacon"); 182 ShpMAP.put(Shp.TOWER, "tower"); 183 ShpMAP.put(Shp.STAKE, "stake"); 184 ShpMAP.put(Shp.PERCH, "perch"); 183 185 } 184 186 … … 197 199 } 198 200 199 public static final EnumMap<Col, String> colours= new EnumMap<Col, String>(Col.class);201 public static final EnumMap<Col, String> ColMAP = new EnumMap<Col, String>(Col.class); 200 202 static { 201 colours.put(Col.UNKNOWN, "");202 colours.put(Col.WHITE, "white");203 colours.put(Col.RED, "red");204 colours.put(Col.ORANGE, "orange");205 colours.put(Col.AMBER, "amber");206 colours.put(Col.YELLOW, "yellow");207 colours.put(Col.GREEN, "green");208 colours.put(Col.BLUE, "blue");209 colours.put(Col.VIOLET, "violet");210 colours.put(Col.BLACK, "black");211 colours.put(Col.RED_GREEN_RED, "red;green;red");212 colours.put(Col.GREEN_RED_GREEN, "green;red;green");213 colours.put(Col.RED_WHITE, "red;white");214 colours.put(Col.BLACK_YELLOW, "black;yellow");215 colours.put(Col.BLACK_YELLOW_BLACK, "black;yellow;black");216 colours.put(Col.YELLOW_BLACK, "yellow;black");217 colours.put(Col.YELLOW_BLACK_YELLOW, "yellow;black;yellow");218 colours.put(Col.BLACK_RED_BLACK, "black;red;black");203 ColMAP.put(Col.UNKNOWN, ""); 204 ColMAP.put(Col.WHITE, "white"); 205 ColMAP.put(Col.RED, "red"); 206 ColMAP.put(Col.ORANGE, "orange"); 207 ColMAP.put(Col.AMBER, "amber"); 208 ColMAP.put(Col.YELLOW, "yellow"); 209 ColMAP.put(Col.GREEN, "green"); 210 ColMAP.put(Col.BLUE, "blue"); 211 ColMAP.put(Col.VIOLET, "violet"); 212 ColMAP.put(Col.BLACK, "black"); 213 ColMAP.put(Col.RED_GREEN_RED, "red;green;red"); 214 ColMAP.put(Col.GREEN_RED_GREEN, "green;red;green"); 215 ColMAP.put(Col.RED_WHITE, "red;white"); 216 ColMAP.put(Col.BLACK_YELLOW, "black;yellow"); 217 ColMAP.put(Col.BLACK_YELLOW_BLACK, "black;yellow;black"); 218 ColMAP.put(Col.YELLOW_BLACK, "yellow;black"); 219 ColMAP.put(Col.YELLOW_BLACK_YELLOW, "yellow;black;yellow"); 220 ColMAP.put(Col.BLACK_RED_BLACK, "black;red;black"); 219 221 } 220 222 … … 262 264 } 263 265 264 public static final EnumMap<Top, String> tops= new EnumMap<Top, String>(Top.class);266 public static final EnumMap<Top, String> TopMAP = new EnumMap<Top, String>(Top.class); 265 267 static { 266 tops.put(Top.NONE, "");267 tops.put(Top.CAN, "cylinder");268 tops.put(Top.CONE, "cylinder");269 tops.put(Top.SPHERE, "SPHERE");270 tops.put(Top.X_SHAPE, "X-SHAPE");271 tops.put(Top.NORTH, "2 cones up");272 tops.put(Top.SOUTH, "2 cones down");273 tops.put(Top.EAST, "2 cones base together");274 tops.put(Top.WEST, "2 cones points together");275 tops.put(Top.SPHERES2, "2 spheres");268 TopMAP.put(Top.NONE, ""); 269 TopMAP.put(Top.CAN, "cylinder"); 270 TopMAP.put(Top.CONE, "cylinder"); 271 TopMAP.put(Top.SPHERE, "SPHERE"); 272 TopMAP.put(Top.X_SHAPE, "X-SHAPE"); 273 TopMAP.put(Top.NORTH, "2 cones up"); 274 TopMAP.put(Top.SOUTH, "2 cones down"); 275 TopMAP.put(Top.EAST, "2 cones base together"); 276 TopMAP.put(Top.WEST, "2 cones points together"); 277 TopMAP.put(Top.SPHERES2, "2 spheres"); 276 278 } 277 279 … … 295 297 } 296 298 297 public static final EnumMap<Day, String> days= new EnumMap<Day, String>(Day.class);299 public static final EnumMap<Day, String> DayMAP = new EnumMap<Day, String>(Day.class); 298 300 static { 299 days.put(Day.NONE, "");300 days.put(Day.BOARD, "board");301 days.put(Day.DIAMOND, "diamond");302 days.put(Day.CIRCLE, "circle");303 days.put(Day.TRIANGLE, "triangle, point up");304 days.put(Day.TRIANGLE_INV, "triangle, point down");305 days.put(Day.SQUARE, "square");301 DayMAP.put(Day.NONE, ""); 302 DayMAP.put(Day.BOARD, "board"); 303 DayMAP.put(Day.DIAMOND, "diamond"); 304 DayMAP.put(Day.CIRCLE, "circle"); 305 DayMAP.put(Day.TRIANGLE, "triangle, point up"); 306 DayMAP.put(Day.TRIANGLE_INV, "triangle, point down"); 307 DayMAP.put(Day.SQUARE, "square"); 306 308 } 307 309 … … 457 459 } 458 460 459 public static final EnumMap<Chr, String> characters = new EnumMap<Chr, String>(Chr.class);461 public static final Map<EnumSet<Chr>, String> ChrMAP = new HashMap<EnumSet<Chr>, String>(); 460 462 static { 461 characters.put(Chr.UNKNOWN, ""); 462 characters.put(Chr.FIXED, "F"); 463 characters.put(Chr.FLASH, "Fl"); 464 characters.put(Chr.LONGFLASH, "LFl"); 465 characters.put(Chr.QUICK, "Q"); 466 characters.put(Chr.VERYQUICK, "VQ"); 467 characters.put(Chr.ULTRAQUICK, "UQ"); 468 characters.put(Chr.ISOPHASED, "Iso"); 469 characters.put(Chr.OCCULTING, "Oc"); 470 characters.put(Chr.MORSE, "Mo"); 471 characters.put(Chr.ALTERNATING, "Al"); 472 characters.put(Chr.INTERRUPTEDQUICK, "IQ"); 473 characters.put(Chr.INTERRUPTEDVERYQUICK, "IVQ"); 474 characters.put(Chr.INTERRUPTEDULTRAQUICK, "IUQ"); 475 } 476 463 ChrMAP.put(EnumSet.of(Chr.UNKNOWN), ""); 464 ChrMAP.put(EnumSet.of(Chr.FIXED), "F"); 465 ChrMAP.put(EnumSet.of(Chr.FLASH), "Fl"); 466 ChrMAP.put(EnumSet.of(Chr.FIXED, Chr.FLASH), "FFl"); 467 ChrMAP.put(EnumSet.of(Chr.LONGFLASH), "LFl"); 468 ChrMAP.put(EnumSet.of(Chr.QUICK), "Q"); 469 ChrMAP.put(EnumSet.of(Chr.QUICK, Chr.LONGFLASH), "Q+LFl"); 470 ChrMAP.put(EnumSet.of(Chr.VERYQUICK), "VQ"); 471 ChrMAP.put(EnumSet.of(Chr.VERYQUICK, Chr.LONGFLASH), "VQ+LFl"); 472 ChrMAP.put(EnumSet.of(Chr.ULTRAQUICK), "UQ"); 473 ChrMAP.put(EnumSet.of(Chr.INTERRUPTEDQUICK), "IQ"); 474 ChrMAP.put(EnumSet.of(Chr.INTERRUPTEDVERYQUICK), "IVQ"); 475 ChrMAP.put(EnumSet.of(Chr.INTERRUPTEDULTRAQUICK), "IUQ"); 476 ChrMAP.put(EnumSet.of(Chr.ISOPHASED), "Iso"); 477 ChrMAP.put(EnumSet.of(Chr.OCCULTING), "Oc"); 478 ChrMAP.put(EnumSet.of(Chr.MORSE), "Mo"); 479 ChrMAP.put(EnumSet.of(Chr.ALTERNATING), "Al"); 480 ChrMAP.put(EnumSet.of(Chr.ALTERNATING, Chr.FIXED), "Al.F"); 481 ChrMAP.put(EnumSet.of(Chr.ALTERNATING, Chr.FLASH), "Al.Fl"); 482 ChrMAP.put(EnumSet.of(Chr.ALTERNATING, Chr.ISOPHASED), "Al.Iso"); 483 ChrMAP.put(EnumSet.of(Chr.ALTERNATING, Chr.OCCULTING), "Al.Oc"); 484 } 485 477 486 private String[] LightChar = new String[10]; 478 487 … … 640 649 typeStr = keys.get("seamark:type"); 641 650 642 for (Obj obj : objects.keySet())643 if ( objects.get(obj).equals(typeStr))651 for (Obj obj : ObjMAP.keySet()) 652 if (ObjMAP.get(obj).equals(typeStr)) 644 653 setObject(obj); 645 654 … … 721 730 if (keys.containsKey("seamark:" + typeStr + ":colour")) 722 731 colStr = keys.get("seamark:" + typeStr + ":colour"); 723 for (Col col : colours.keySet())724 if ( colours.get(col).equals(colStr)) setColour(Ent.BODY, col);732 for (Col col : ColMAP.keySet()) 733 if (ColMAP.get(col).equals(colStr)) setColour(Ent.BODY, col); 725 734 726 735 if (keys.containsKey("seamark:" + typeStr + ":name")) { … … 736 745 dlg.panelMain.nameBox.setText(""); 737 746 738 switch ( groups.get(getObject())) {747 switch (GrpMAP.get(getObject())) { 739 748 case LAT: 740 749 dlg.panelMain.chanButton.doClick(); … … 845 854 str = "float"; 846 855 else str = ""; 847 if ((str.isEmpty() && ( entities.get(getObject()) == Ent.BEACON)) || str.equals("stake"))856 if ((str.isEmpty() && (EntMAP.get(getObject()) == Ent.BEACON)) || str.equals("stake")) 848 857 str = "beacon"; 849 858 if (!str.isEmpty()) { 850 for (Shp shp : shapes.keySet()) {851 if ( shapes.get(shp).equals(str)) {852 switch ( groups.get(getObject())) {859 for (Shp shp : ShpMAP.keySet()) { 860 if (ShpMAP.get(shp).equals(str)) { 861 switch (GrpMAP.get(getObject())) { 853 862 case LAT: 854 863 switch (getCategory()) { … … 995 1004 996 1005 String imgStr = "/images/"; 997 String shpStr = shapes.get(shape);1006 String shpStr = ShpMAP.get(shape); 998 1007 if (shpStr == null) 999 1008 dlg.panelMain.shapeIcon.setIcon(null); … … 1003 1012 imgStr += (getCategory() == Cat.LAT_PORT ? "_port" : "_stbd"); 1004 1013 } else { 1005 String colStr = colours.get(bodyColour);1014 String colStr = ColMAP.get(bodyColour); 1006 1015 if (colStr != null) 1007 1016 imgStr += ("_" + colStr); … … 1043 1052 } 1044 1053 if (imgStr != null) { 1045 imgStr += ( tops.get(topShape) + "_");1046 String colStr = colours.get(topColour);1054 imgStr += (TopMAP.get(topShape) + "_"); 1055 String colStr = ColMAP.get(topColour); 1047 1056 if (colStr != null) 1048 1057 imgStr += colStr; … … 1106 1115 Main.main.undoRedo.add(new ChangePropertyCommand(node, "seamark:name", name)); 1107 1116 1108 String objStr = objects.get(object);1117 String objStr = ObjMAP.get(object); 1109 1118 if (objStr != null) { 1110 1119 Main.main.undoRedo.add(new ChangePropertyCommand(node, "seamark:type", objStr)); 1111 1120 1112 String str = categories.get(category);1121 String str = CatMAP.get(category); 1113 1122 if (str != null) 1114 1123 Main.main.undoRedo.add(new ChangePropertyCommand(node, "seamark:" + objStr + ":category", str)); 1115 1124 1116 Main.main.undoRedo.add(new ChangePropertyCommand(node, "seamark:" + objStr + ":shape", shapes.get(shape)));1117 1118 str = colours.get(bodyColour);1125 Main.main.undoRedo.add(new ChangePropertyCommand(node, "seamark:" + objStr + ":shape", ShpMAP.get(shape))); 1126 1127 str = ColMAP.get(bodyColour); 1119 1128 if (str != null) 1120 1129 Main.main.undoRedo.add(new ChangePropertyCommand(node, "seamark:" + objStr + ":colour", str)); … … 1136 1145 } 1137 1146 1138 String str = tops.get(topShape);1147 String str = TopMAP.get(topShape); 1139 1148 if (str != null) { 1140 1149 Main.main.undoRedo.add(new ChangePropertyCommand(node, "seamark:topmark:shape", str)); 1141 1150 1142 str = colours.get(topColour);1151 str = ColMAP.get(topColour); 1143 1152 if (str != null) 1144 1153 Main.main.undoRedo.add(new ChangePropertyCommand(node, "seamark:topmark:colour", str)); 1145 1154 } 1146 1155 1147 str = days.get(dayShape);1156 str = DayMAP.get(dayShape); 1148 1157 if (str != null) { 1149 1158 Main.main.undoRedo.add(new ChangePropertyCommand(node, "seamark:daymark:shape", str)); 1150 1159 1151 str = colours.get(dayColour);1160 str = ColMAP.get(dayColour); 1152 1161 if (str != null) 1153 1162 Main.main.undoRedo.add(new ChangePropertyCommand(node, "seamark:daymark:colour", str));
Note:
See TracChangeset
for help on using the changeset viewer.