Changeset 24963 in osm for applications/editors/josm/plugins/smed/plugs/oseam/src
- Timestamp:
- 2011-01-04T14:06:08+01:00 (14 years ago)
- Location:
- applications/editors/josm/plugins/smed/plugs/oseam/src
- Files:
-
- 2 added
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/smed/plugs/oseam/src/images/LighthouseButton.svg
r24665 r24963 17 17 inkscape:version="0.47 r22583" 18 18 sodipodi:docname="LighthouseButton.svg" 19 inkscape:export-filename="/Users/mherring/boatsw/oseam/josm/plugins/smed/plugs/oseam/src/images/ CardWButton_de.png"19 inkscape:export-filename="/Users/mherring/boatsw/oseam/josm/plugins/smed/plugs/oseam/src/images/StationButton.png" 20 20 inkscape:export-xdpi="90" 21 21 inkscape:export-ydpi="90" … … 757 757 inkscape:vp_x="0 : 160 : 1" 758 758 sodipodi:type="inkscape:persp3d" /> 759 <inkscape:perspective 760 sodipodi:type="inkscape:persp3d" 761 inkscape:vp_x="0 : 150 : 1" 762 inkscape:vp_y="0 : 1000 : 0" 763 inkscape:vp_z="300 : 150 : 1" 764 inkscape:persp3d-origin="150 : 100 : 1" 765 id="perspective9-2-4" /> 766 <inkscape:perspective 767 sodipodi:type="inkscape:persp3d" 768 inkscape:vp_x="0 : 200 : 1" 769 inkscape:vp_y="0 : 1000 : 0" 770 inkscape:vp_z="400 : 200 : 1" 771 inkscape:persp3d-origin="200 : 133.33333 : 1" 772 id="perspective3739-36-0" /> 773 <inkscape:perspective 774 sodipodi:type="inkscape:persp3d" 775 inkscape:vp_x="0 : 200 : 1" 776 inkscape:vp_y="0 : 1000 : 0" 777 inkscape:vp_z="400 : 200 : 1" 778 inkscape:persp3d-origin="200 : 133.33333 : 1" 779 id="perspective3689-5-4" /> 780 <inkscape:perspective 781 sodipodi:type="inkscape:persp3d" 782 inkscape:vp_x="0 : 200 : 1" 783 inkscape:vp_y="0 : 1000 : 0" 784 inkscape:vp_z="400 : 200 : 1" 785 inkscape:persp3d-origin="200 : 133.33333 : 1" 786 id="perspective3639-5-8" /> 787 <inkscape:perspective 788 sodipodi:type="inkscape:persp3d" 789 inkscape:vp_x="0 : 200 : 1" 790 inkscape:vp_y="0 : 1000 : 0" 791 inkscape:vp_z="400 : 200 : 1" 792 inkscape:persp3d-origin="200 : 133.33333 : 1" 793 id="perspective3401-8-0" /> 794 <inkscape:perspective 795 sodipodi:type="inkscape:persp3d" 796 inkscape:vp_x="0 : 200 : 1" 797 inkscape:vp_y="0 : 1000 : 0" 798 inkscape:vp_z="400 : 200 : 1" 799 inkscape:persp3d-origin="200 : 133.33333 : 1" 800 id="perspective3274-1-3" /> 801 <inkscape:perspective 802 sodipodi:type="inkscape:persp3d" 803 inkscape:vp_x="0 : 160 : 1" 804 inkscape:vp_y="0 : 1000 : 0" 805 inkscape:vp_z="320 : 160 : 1" 806 inkscape:persp3d-origin="160 : 106.66667 : 1" 807 id="perspective3203-4-6" /> 808 <inkscape:perspective 809 sodipodi:type="inkscape:persp3d" 810 inkscape:vp_x="0 : 160 : 1" 811 inkscape:vp_y="0 : 1000 : 0" 812 inkscape:vp_z="320 : 160 : 1" 813 inkscape:persp3d-origin="160 : 106.66667 : 1" 814 id="perspective3123-7-3" /> 815 <inkscape:perspective 816 sodipodi:type="inkscape:persp3d" 817 inkscape:vp_x="0 : 160 : 1" 818 inkscape:vp_y="0 : 1000 : 0" 819 inkscape:vp_z="320 : 160 : 1" 820 inkscape:persp3d-origin="160 : 106.66667 : 1" 821 id="perspective3073-1-6" /> 822 <inkscape:perspective 823 sodipodi:type="inkscape:persp3d" 824 inkscape:vp_x="0 : 160 : 1" 825 inkscape:vp_y="0 : 1000 : 0" 826 inkscape:vp_z="320 : 160 : 1" 827 inkscape:persp3d-origin="160 : 106.66667 : 1" 828 id="perspective2989-3-5" /> 829 <inkscape:perspective 830 sodipodi:type="inkscape:persp3d" 831 inkscape:vp_x="0 : 160 : 1" 832 inkscape:vp_y="0 : 1000 : 0" 833 inkscape:vp_z="320 : 160 : 1" 834 inkscape:persp3d-origin="160 : 106.66667 : 1" 835 id="perspective2933-8-0" /> 836 <inkscape:perspective 837 sodipodi:type="inkscape:persp3d" 838 inkscape:vp_x="0 : 160 : 1" 839 inkscape:vp_y="0 : 1000 : 0" 840 inkscape:vp_z="320 : 160 : 1" 841 inkscape:persp3d-origin="160 : 106.66667 : 1" 842 id="perspective2862-4-9" /> 843 <inkscape:perspective 844 id="perspective2915-8-3" 845 inkscape:persp3d-origin="160 : 106.66667 : 1" 846 inkscape:vp_z="320 : 160 : 1" 847 inkscape:vp_y="0 : 1000 : 0" 848 inkscape:vp_x="0 : 160 : 1" 849 sodipodi:type="inkscape:persp3d" /> 850 <inkscape:perspective 851 id="perspective3840-4" 852 inkscape:persp3d-origin="150 : 100 : 1" 853 inkscape:vp_z="300 : 150 : 1" 854 inkscape:vp_y="0 : 1000 : 0" 855 inkscape:vp_x="0 : 150 : 1" 856 sodipodi:type="inkscape:persp3d" /> 857 <inkscape:perspective 858 sodipodi:type="inkscape:persp3d" 859 inkscape:vp_x="0 : 150 : 1" 860 inkscape:vp_y="0 : 1000 : 0" 861 inkscape:vp_z="300 : 150 : 1" 862 inkscape:persp3d-origin="150 : 100 : 1" 863 id="perspective9-3-9" /> 864 <inkscape:perspective 865 sodipodi:type="inkscape:persp3d" 866 inkscape:vp_x="0 : 200 : 1" 867 inkscape:vp_y="0 : 1000 : 0" 868 inkscape:vp_z="400 : 200 : 1" 869 inkscape:persp3d-origin="200 : 133.33333 : 1" 870 id="perspective3739-9-5" /> 871 <inkscape:perspective 872 sodipodi:type="inkscape:persp3d" 873 inkscape:vp_x="0 : 200 : 1" 874 inkscape:vp_y="0 : 1000 : 0" 875 inkscape:vp_z="400 : 200 : 1" 876 inkscape:persp3d-origin="200 : 133.33333 : 1" 877 id="perspective3689-9-8" /> 878 <inkscape:perspective 879 sodipodi:type="inkscape:persp3d" 880 inkscape:vp_x="0 : 200 : 1" 881 inkscape:vp_y="0 : 1000 : 0" 882 inkscape:vp_z="400 : 200 : 1" 883 inkscape:persp3d-origin="200 : 133.33333 : 1" 884 id="perspective3639-7-2" /> 885 <inkscape:perspective 886 sodipodi:type="inkscape:persp3d" 887 inkscape:vp_x="0 : 200 : 1" 888 inkscape:vp_y="0 : 1000 : 0" 889 inkscape:vp_z="400 : 200 : 1" 890 inkscape:persp3d-origin="200 : 133.33333 : 1" 891 id="perspective3401-0-6" /> 892 <inkscape:perspective 893 sodipodi:type="inkscape:persp3d" 894 inkscape:vp_x="0 : 200 : 1" 895 inkscape:vp_y="0 : 1000 : 0" 896 inkscape:vp_z="400 : 200 : 1" 897 inkscape:persp3d-origin="200 : 133.33333 : 1" 898 id="perspective3274-3-5" /> 899 <inkscape:perspective 900 sodipodi:type="inkscape:persp3d" 901 inkscape:vp_x="0 : 160 : 1" 902 inkscape:vp_y="0 : 1000 : 0" 903 inkscape:vp_z="320 : 160 : 1" 904 inkscape:persp3d-origin="160 : 106.66667 : 1" 905 id="perspective3203-9-9" /> 906 <inkscape:perspective 907 sodipodi:type="inkscape:persp3d" 908 inkscape:vp_x="0 : 160 : 1" 909 inkscape:vp_y="0 : 1000 : 0" 910 inkscape:vp_z="320 : 160 : 1" 911 inkscape:persp3d-origin="160 : 106.66667 : 1" 912 id="perspective3123-8-0" /> 913 <inkscape:perspective 914 sodipodi:type="inkscape:persp3d" 915 inkscape:vp_x="0 : 160 : 1" 916 inkscape:vp_y="0 : 1000 : 0" 917 inkscape:vp_z="320 : 160 : 1" 918 inkscape:persp3d-origin="160 : 106.66667 : 1" 919 id="perspective3073-6-0" /> 920 <inkscape:perspective 921 sodipodi:type="inkscape:persp3d" 922 inkscape:vp_x="0 : 160 : 1" 923 inkscape:vp_y="0 : 1000 : 0" 924 inkscape:vp_z="320 : 160 : 1" 925 inkscape:persp3d-origin="160 : 106.66667 : 1" 926 id="perspective2989-5-6" /> 927 <inkscape:perspective 928 sodipodi:type="inkscape:persp3d" 929 inkscape:vp_x="0 : 160 : 1" 930 inkscape:vp_y="0 : 1000 : 0" 931 inkscape:vp_z="320 : 160 : 1" 932 inkscape:persp3d-origin="160 : 106.66667 : 1" 933 id="perspective2933-7-7" /> 934 <inkscape:perspective 935 sodipodi:type="inkscape:persp3d" 936 inkscape:vp_x="0 : 160 : 1" 937 inkscape:vp_y="0 : 1000 : 0" 938 inkscape:vp_z="320 : 160 : 1" 939 inkscape:persp3d-origin="160 : 106.66667 : 1" 940 id="perspective2862-6-8" /> 941 <inkscape:perspective 942 id="perspective2915-27-1" 943 inkscape:persp3d-origin="160 : 106.66667 : 1" 944 inkscape:vp_z="320 : 160 : 1" 945 inkscape:vp_y="0 : 1000 : 0" 946 inkscape:vp_x="0 : 160 : 1" 947 sodipodi:type="inkscape:persp3d" /> 948 <inkscape:perspective 949 id="perspective2898-0" 950 inkscape:persp3d-origin="150 : 100 : 1" 951 inkscape:vp_z="300 : 150 : 1" 952 inkscape:vp_y="0 : 1000 : 0" 953 inkscape:vp_x="0 : 150 : 1" 954 sodipodi:type="inkscape:persp3d" /> 955 <inkscape:perspective 956 id="perspective2953-1" 957 inkscape:persp3d-origin="150 : 100 : 1" 958 inkscape:vp_z="300 : 150 : 1" 959 inkscape:vp_y="0 : 1000 : 0" 960 inkscape:vp_x="0 : 150 : 1" 961 sodipodi:type="inkscape:persp3d" /> 962 <inkscape:perspective 963 sodipodi:type="inkscape:persp3d" 964 inkscape:vp_x="0 : 150 : 1" 965 inkscape:vp_y="0 : 1000 : 0" 966 inkscape:vp_z="300 : 150 : 1" 967 inkscape:persp3d-origin="150 : 100 : 1" 968 id="perspective9-21" /> 969 <inkscape:perspective 970 sodipodi:type="inkscape:persp3d" 971 inkscape:vp_x="0 : 200 : 1" 972 inkscape:vp_y="0 : 1000 : 0" 973 inkscape:vp_z="400 : 200 : 1" 974 inkscape:persp3d-origin="200 : 133.33333 : 1" 975 id="perspective3739-3-5" /> 976 <inkscape:perspective 977 sodipodi:type="inkscape:persp3d" 978 inkscape:vp_x="0 : 200 : 1" 979 inkscape:vp_y="0 : 1000 : 0" 980 inkscape:vp_z="400 : 200 : 1" 981 inkscape:persp3d-origin="200 : 133.33333 : 1" 982 id="perspective3689-8-1" /> 983 <inkscape:perspective 984 sodipodi:type="inkscape:persp3d" 985 inkscape:vp_x="0 : 200 : 1" 986 inkscape:vp_y="0 : 1000 : 0" 987 inkscape:vp_z="400 : 200 : 1" 988 inkscape:persp3d-origin="200 : 133.33333 : 1" 989 id="perspective3639-0-7" /> 990 <inkscape:perspective 991 sodipodi:type="inkscape:persp3d" 992 inkscape:vp_x="0 : 200 : 1" 993 inkscape:vp_y="0 : 1000 : 0" 994 inkscape:vp_z="400 : 200 : 1" 995 inkscape:persp3d-origin="200 : 133.33333 : 1" 996 id="perspective3401-2-2" /> 997 <inkscape:perspective 998 sodipodi:type="inkscape:persp3d" 999 inkscape:vp_x="0 : 200 : 1" 1000 inkscape:vp_y="0 : 1000 : 0" 1001 inkscape:vp_z="400 : 200 : 1" 1002 inkscape:persp3d-origin="200 : 133.33333 : 1" 1003 id="perspective3274-4-2" /> 1004 <inkscape:perspective 1005 sodipodi:type="inkscape:persp3d" 1006 inkscape:vp_x="0 : 160 : 1" 1007 inkscape:vp_y="0 : 1000 : 0" 1008 inkscape:vp_z="320 : 160 : 1" 1009 inkscape:persp3d-origin="160 : 106.66667 : 1" 1010 id="perspective3203-8-5" /> 1011 <inkscape:perspective 1012 sodipodi:type="inkscape:persp3d" 1013 inkscape:vp_x="0 : 160 : 1" 1014 inkscape:vp_y="0 : 1000 : 0" 1015 inkscape:vp_z="320 : 160 : 1" 1016 inkscape:persp3d-origin="160 : 106.66667 : 1" 1017 id="perspective3123-3-2" /> 1018 <inkscape:perspective 1019 sodipodi:type="inkscape:persp3d" 1020 inkscape:vp_x="0 : 160 : 1" 1021 inkscape:vp_y="0 : 1000 : 0" 1022 inkscape:vp_z="320 : 160 : 1" 1023 inkscape:persp3d-origin="160 : 106.66667 : 1" 1024 id="perspective3073-9-2" /> 1025 <inkscape:perspective 1026 sodipodi:type="inkscape:persp3d" 1027 inkscape:vp_x="0 : 160 : 1" 1028 inkscape:vp_y="0 : 1000 : 0" 1029 inkscape:vp_z="320 : 160 : 1" 1030 inkscape:persp3d-origin="160 : 106.66667 : 1" 1031 id="perspective2989-0-6" /> 1032 <inkscape:perspective 1033 sodipodi:type="inkscape:persp3d" 1034 inkscape:vp_x="0 : 160 : 1" 1035 inkscape:vp_y="0 : 1000 : 0" 1036 inkscape:vp_z="320 : 160 : 1" 1037 inkscape:persp3d-origin="160 : 106.66667 : 1" 1038 id="perspective2933-5-0" /> 1039 <inkscape:perspective 1040 sodipodi:type="inkscape:persp3d" 1041 inkscape:vp_x="0 : 160 : 1" 1042 inkscape:vp_y="0 : 1000 : 0" 1043 inkscape:vp_z="320 : 160 : 1" 1044 inkscape:persp3d-origin="160 : 106.66667 : 1" 1045 id="perspective2862-2-3" /> 1046 <inkscape:perspective 1047 id="perspective2915-2-8" 1048 inkscape:persp3d-origin="160 : 106.66667 : 1" 1049 inkscape:vp_z="320 : 160 : 1" 1050 inkscape:vp_y="0 : 1000 : 0" 1051 inkscape:vp_x="0 : 160 : 1" 1052 sodipodi:type="inkscape:persp3d" /> 1053 <inkscape:perspective 1054 sodipodi:type="inkscape:persp3d" 1055 inkscape:vp_x="0 : 160 : 1" 1056 inkscape:vp_y="0 : 1000 : 0" 1057 inkscape:vp_z="320 : 160 : 1" 1058 inkscape:persp3d-origin="160 : 106.66667 : 1" 1059 id="perspective2824-5" /> 1060 <inkscape:perspective 1061 id="perspective2867-8" 1062 inkscape:persp3d-origin="160 : 106.66667 : 1" 1063 inkscape:vp_z="320 : 160 : 1" 1064 inkscape:vp_y="0 : 1000 : 0" 1065 inkscape:vp_x="0 : 160 : 1" 1066 sodipodi:type="inkscape:persp3d" /> 1067 <inkscape:perspective 1068 id="perspective2913-4" 1069 inkscape:persp3d-origin="160 : 106.66667 : 1" 1070 inkscape:vp_z="320 : 160 : 1" 1071 inkscape:vp_y="0 : 1000 : 0" 1072 inkscape:vp_x="0 : 160 : 1" 1073 sodipodi:type="inkscape:persp3d" /> 1074 <inkscape:perspective 1075 id="perspective2969-7" 1076 inkscape:persp3d-origin="160 : 106.66667 : 1" 1077 inkscape:vp_z="320 : 160 : 1" 1078 inkscape:vp_y="0 : 1000 : 0" 1079 inkscape:vp_x="0 : 160 : 1" 1080 sodipodi:type="inkscape:persp3d" /> 1081 <inkscape:perspective 1082 id="perspective3016-20" 1083 inkscape:persp3d-origin="160 : 106.66667 : 1" 1084 inkscape:vp_z="320 : 160 : 1" 1085 inkscape:vp_y="0 : 1000 : 0" 1086 inkscape:vp_x="0 : 160 : 1" 1087 sodipodi:type="inkscape:persp3d" /> 1088 <inkscape:perspective 1089 id="perspective3091-8" 1090 inkscape:persp3d-origin="160 : 106.66667 : 1" 1091 inkscape:vp_z="320 : 160 : 1" 1092 inkscape:vp_y="0 : 1000 : 0" 1093 inkscape:vp_x="0 : 160 : 1" 1094 sodipodi:type="inkscape:persp3d" /> 1095 <inkscape:perspective 1096 id="perspective3135-9" 1097 inkscape:persp3d-origin="200 : 133.33333 : 1" 1098 inkscape:vp_z="400 : 200 : 1" 1099 inkscape:vp_y="0 : 1000 : 0" 1100 inkscape:vp_x="0 : 200 : 1" 1101 sodipodi:type="inkscape:persp3d" /> 1102 <inkscape:perspective 1103 id="perspective3176-2" 1104 inkscape:persp3d-origin="200 : 133.33333 : 1" 1105 inkscape:vp_z="400 : 200 : 1" 1106 inkscape:vp_y="0 : 1000 : 0" 1107 inkscape:vp_x="0 : 200 : 1" 1108 sodipodi:type="inkscape:persp3d" /> 1109 <inkscape:perspective 1110 id="perspective2952-8" 1111 inkscape:persp3d-origin="160 : 106.66667 : 1" 1112 inkscape:vp_z="320 : 160 : 1" 1113 inkscape:vp_y="0 : 1000 : 0" 1114 inkscape:vp_x="0 : 160 : 1" 1115 sodipodi:type="inkscape:persp3d" /> 1116 <inkscape:perspective 1117 id="perspective2994-5" 1118 inkscape:persp3d-origin="200 : 133.33333 : 1" 1119 inkscape:vp_z="400 : 200 : 1" 1120 inkscape:vp_y="0 : 1000 : 0" 1121 inkscape:vp_x="0 : 200 : 1" 1122 sodipodi:type="inkscape:persp3d" /> 1123 <inkscape:perspective 1124 id="perspective3035-5" 1125 inkscape:persp3d-origin="200 : 133.33333 : 1" 1126 inkscape:vp_z="400 : 200 : 1" 1127 inkscape:vp_y="0 : 1000 : 0" 1128 inkscape:vp_x="0 : 200 : 1" 1129 sodipodi:type="inkscape:persp3d" /> 1130 <inkscape:perspective 1131 id="perspective3086-5" 1132 inkscape:persp3d-origin="200 : 133.33333 : 1" 1133 inkscape:vp_z="400 : 200 : 1" 1134 inkscape:vp_y="0 : 1000 : 0" 1135 inkscape:vp_x="0 : 200 : 1" 1136 sodipodi:type="inkscape:persp3d" /> 1137 <inkscape:perspective 1138 id="perspective3143-1" 1139 inkscape:persp3d-origin="200 : 133.33333 : 1" 1140 inkscape:vp_z="400 : 200 : 1" 1141 inkscape:vp_y="0 : 1000 : 0" 1142 inkscape:vp_x="0 : 200 : 1" 1143 sodipodi:type="inkscape:persp3d" /> 1144 <inkscape:perspective 1145 id="perspective3188-9" 1146 inkscape:persp3d-origin="200 : 133.33333 : 1" 1147 inkscape:vp_z="400 : 200 : 1" 1148 inkscape:vp_y="0 : 1000 : 0" 1149 inkscape:vp_x="0 : 200 : 1" 1150 sodipodi:type="inkscape:persp3d" /> 1151 <inkscape:perspective 1152 sodipodi:type="inkscape:persp3d" 1153 inkscape:vp_x="0 : 160 : 1" 1154 inkscape:vp_y="0 : 1000 : 0" 1155 inkscape:vp_z="320 : 160 : 1" 1156 inkscape:persp3d-origin="160 : 106.66667 : 1" 1157 id="perspective2824-9-4" /> 1158 <inkscape:perspective 1159 id="perspective2867-3-4" 1160 inkscape:persp3d-origin="160 : 106.66667 : 1" 1161 inkscape:vp_z="320 : 160 : 1" 1162 inkscape:vp_y="0 : 1000 : 0" 1163 inkscape:vp_x="0 : 160 : 1" 1164 sodipodi:type="inkscape:persp3d" /> 1165 <inkscape:perspective 1166 id="perspective2913-8-7" 1167 inkscape:persp3d-origin="160 : 106.66667 : 1" 1168 inkscape:vp_z="320 : 160 : 1" 1169 inkscape:vp_y="0 : 1000 : 0" 1170 inkscape:vp_x="0 : 160 : 1" 1171 sodipodi:type="inkscape:persp3d" /> 1172 <inkscape:perspective 1173 id="perspective2969-4-7" 1174 inkscape:persp3d-origin="160 : 106.66667 : 1" 1175 inkscape:vp_z="320 : 160 : 1" 1176 inkscape:vp_y="0 : 1000 : 0" 1177 inkscape:vp_x="0 : 160 : 1" 1178 sodipodi:type="inkscape:persp3d" /> 1179 <inkscape:perspective 1180 id="perspective3016-2-8" 1181 inkscape:persp3d-origin="160 : 106.66667 : 1" 1182 inkscape:vp_z="320 : 160 : 1" 1183 inkscape:vp_y="0 : 1000 : 0" 1184 inkscape:vp_x="0 : 160 : 1" 1185 sodipodi:type="inkscape:persp3d" /> 1186 <inkscape:perspective 1187 id="perspective3091-0-7" 1188 inkscape:persp3d-origin="160 : 106.66667 : 1" 1189 inkscape:vp_z="320 : 160 : 1" 1190 inkscape:vp_y="0 : 1000 : 0" 1191 inkscape:vp_x="0 : 160 : 1" 1192 sodipodi:type="inkscape:persp3d" /> 1193 <inkscape:perspective 1194 id="perspective3135-8-8" 1195 inkscape:persp3d-origin="200 : 133.33333 : 1" 1196 inkscape:vp_z="400 : 200 : 1" 1197 inkscape:vp_y="0 : 1000 : 0" 1198 inkscape:vp_x="0 : 200 : 1" 1199 sodipodi:type="inkscape:persp3d" /> 1200 <inkscape:perspective 1201 id="perspective3176-3-1" 1202 inkscape:persp3d-origin="200 : 133.33333 : 1" 1203 inkscape:vp_z="400 : 200 : 1" 1204 inkscape:vp_y="0 : 1000 : 0" 1205 inkscape:vp_x="0 : 200 : 1" 1206 sodipodi:type="inkscape:persp3d" /> 1207 <inkscape:perspective 1208 id="perspective2979-7" 1209 inkscape:persp3d-origin="200 : 133.33333 : 1" 1210 inkscape:vp_z="400 : 200 : 1" 1211 inkscape:vp_y="0 : 1000 : 0" 1212 inkscape:vp_x="0 : 200 : 1" 1213 sodipodi:type="inkscape:persp3d" /> 1214 <inkscape:perspective 1215 sodipodi:type="inkscape:persp3d" 1216 inkscape:vp_x="0 : 200 : 1" 1217 inkscape:vp_y="0 : 1000 : 0" 1218 inkscape:vp_z="400 : 200 : 1" 1219 inkscape:persp3d-origin="200 : 133.33333 : 1" 1220 id="perspective3739-1" /> 1221 <inkscape:perspective 1222 sodipodi:type="inkscape:persp3d" 1223 inkscape:vp_x="0 : 200 : 1" 1224 inkscape:vp_y="0 : 1000 : 0" 1225 inkscape:vp_z="400 : 200 : 1" 1226 inkscape:persp3d-origin="200 : 133.33333 : 1" 1227 id="perspective3689-4" /> 1228 <inkscape:perspective 1229 sodipodi:type="inkscape:persp3d" 1230 inkscape:vp_x="0 : 200 : 1" 1231 inkscape:vp_y="0 : 1000 : 0" 1232 inkscape:vp_z="400 : 200 : 1" 1233 inkscape:persp3d-origin="200 : 133.33333 : 1" 1234 id="perspective3639-8" /> 1235 <inkscape:perspective 1236 sodipodi:type="inkscape:persp3d" 1237 inkscape:vp_x="0 : 200 : 1" 1238 inkscape:vp_y="0 : 1000 : 0" 1239 inkscape:vp_z="400 : 200 : 1" 1240 inkscape:persp3d-origin="200 : 133.33333 : 1" 1241 id="perspective3401-7" /> 1242 <inkscape:perspective 1243 sodipodi:type="inkscape:persp3d" 1244 inkscape:vp_x="0 : 200 : 1" 1245 inkscape:vp_y="0 : 1000 : 0" 1246 inkscape:vp_z="400 : 200 : 1" 1247 inkscape:persp3d-origin="200 : 133.33333 : 1" 1248 id="perspective3274-6" /> 1249 <inkscape:perspective 1250 sodipodi:type="inkscape:persp3d" 1251 inkscape:vp_x="0 : 160 : 1" 1252 inkscape:vp_y="0 : 1000 : 0" 1253 inkscape:vp_z="320 : 160 : 1" 1254 inkscape:persp3d-origin="160 : 106.66667 : 1" 1255 id="perspective3203-6" /> 1256 <inkscape:perspective 1257 sodipodi:type="inkscape:persp3d" 1258 inkscape:vp_x="0 : 160 : 1" 1259 inkscape:vp_y="0 : 1000 : 0" 1260 inkscape:vp_z="320 : 160 : 1" 1261 inkscape:persp3d-origin="160 : 106.66667 : 1" 1262 id="perspective3123-2" /> 1263 <inkscape:perspective 1264 sodipodi:type="inkscape:persp3d" 1265 inkscape:vp_x="0 : 160 : 1" 1266 inkscape:vp_y="0 : 1000 : 0" 1267 inkscape:vp_z="320 : 160 : 1" 1268 inkscape:persp3d-origin="160 : 106.66667 : 1" 1269 id="perspective3073-2" /> 1270 <inkscape:perspective 1271 sodipodi:type="inkscape:persp3d" 1272 inkscape:vp_x="0 : 160 : 1" 1273 inkscape:vp_y="0 : 1000 : 0" 1274 inkscape:vp_z="320 : 160 : 1" 1275 inkscape:persp3d-origin="160 : 106.66667 : 1" 1276 id="perspective2989-35" /> 1277 <inkscape:perspective 1278 sodipodi:type="inkscape:persp3d" 1279 inkscape:vp_x="0 : 160 : 1" 1280 inkscape:vp_y="0 : 1000 : 0" 1281 inkscape:vp_z="320 : 160 : 1" 1282 inkscape:persp3d-origin="160 : 106.66667 : 1" 1283 id="perspective2933-88" /> 1284 <inkscape:perspective 1285 sodipodi:type="inkscape:persp3d" 1286 inkscape:vp_x="0 : 160 : 1" 1287 inkscape:vp_y="0 : 1000 : 0" 1288 inkscape:vp_z="320 : 160 : 1" 1289 inkscape:persp3d-origin="160 : 106.66667 : 1" 1290 id="perspective2862-41" /> 1291 <inkscape:perspective 1292 id="perspective2915-5" 1293 inkscape:persp3d-origin="160 : 106.66667 : 1" 1294 inkscape:vp_z="320 : 160 : 1" 1295 inkscape:vp_y="0 : 1000 : 0" 1296 inkscape:vp_x="0 : 160 : 1" 1297 sodipodi:type="inkscape:persp3d" /> 759 1298 </defs> 760 1299 <sodipodi:namedview … … 765 1304 inkscape:pageopacity="0.0" 766 1305 inkscape:pageshadow="2" 767 inkscape:zoom=" 11.879394"768 inkscape:cx=" 8.618823"769 inkscape:cy="1 4.585448"1306 inkscape:zoom="32" 1307 inkscape:cx="15.887698" 1308 inkscape:cy="15.032987" 770 1309 inkscape:document-units="px" 771 1310 inkscape:current-layer="layer1" … … 794 1333 <dc:type 795 1334 rdf:resource="http://purl.org/dc/dcmitype/StillImage" /> 796 <dc:title />1335 <dc:title></dc:title> 797 1336 </cc:Work> 798 1337 </rdf:RDF> … … 814 1353 ry="4.8846865" /> 815 1354 <g 816 transform="matrix(0.2,0,0,0.2,-15.055419,1005.1792)" 817 style="display:inline" 818 inkscape:label="Lighthouse" 819 id="layer1-2"> 820 <g 821 transform="translate(-0.00768486,10.417855)" 822 id="g4222"> 823 <path 824 d="m 112.55523,201.14815 15.07284,-44.31585 -37.029509,-26.58059 45.174689,0 14.43114,-43.712767 13.81157,43.712767 45.79434,0 -37.00746,27.20601 13.81157,43.69043 -36.41002,-27.20601 -37.64916,27.20601 z m 49.87794,-51.08603 c 0,6.9047 -5.55289,12.5085 -12.39484,12.5085 -6.84195,0 -12.39484,-5.6038 -12.39484,-12.5085 0,-6.90469 5.55289,-12.50851 12.39484,-12.50851 6.84195,0 12.39484,5.60382 12.39484,12.50851 z" 825 id="path12984" 826 style="fill:#000407;fill-opacity:1;fill-rule:evenodd;stroke:none" 827 inkscape:export-filename="/home/olaf/source/Website-2/SeamapEdit/resources/light/Lighthouse_Major.png" 828 inkscape:export-xdpi="77" 829 inkscape:export-ydpi="77" /> 830 <g 831 transform="translate(-9.9401588,0.05198145)" 832 id="g2831" 833 inkscape:label="Beacon 3 Band" 834 style="display:inline"> 835 <g 836 transform="translate(-0.04412785,-10.060108)" 837 id="g2992-7" 838 style="display:inline" /> 839 <g 840 transform="translate(-0.04730863,-10.020187)" 841 id="g2936-9" 842 style="display:inline" /> 843 </g> 844 </g> 1355 id="g3012" 1356 inkscape:label="Signal Station" 1357 style="stroke:#000000;stroke-width:5;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;display:inline" 1358 transform="matrix(0.2,0,0,0.2,-15.001079,996.3557)"> 1359 <path 1360 sodipodi:type="arc" 1361 style="fill:none;stroke:#000000;stroke-width:18.3840872;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" 1362 id="path3014" 1363 sodipodi:cx="142.55646" 1364 sodipodi:cy="160.41557" 1365 sodipodi:rx="70.407471" 1366 sodipodi:ry="74.3881" 1367 d="m 212.96393,160.41557 c 0,41.08342 -31.5225,74.3881 -70.40747,74.3881 -38.88497,0 -70.407473,-33.30468 -70.407473,-74.3881 0,-41.08341 31.522503,-74.388097 70.407473,-74.388097 38.88497,0 70.40747,33.304687 70.40747,74.388097 z" 1368 transform="matrix(0.27955695,0,0,0.2645974,110.15275,157.587)" /> 1369 <path 1370 transform="matrix(0.9567198,0,0,0.9567198,6.1550085,8.3096874)" 1371 d="m 152.44047,200.3869 c 0,1.16703 -0.94606,2.1131 -2.11309,2.1131 -1.16703,0 -2.1131,-0.94607 -2.1131,-2.1131 0,-1.16703 0.94607,-2.11309 2.1131,-2.11309 1.16703,0 2.11309,0.94606 2.11309,2.11309 z" 1372 sodipodi:ry="2.1130953" 1373 sodipodi:rx="2.1130953" 1374 sodipodi:cy="200.3869" 1375 sodipodi:cx="150.32738" 1376 id="path3788" 1377 style="fill:#000000;fill-opacity:1;stroke:#000000;stroke-width:5.22619057;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" 1378 sodipodi:type="arc" /> 845 1379 </g> 846 1380 </g> -
applications/editors/josm/plugins/smed/plugs/oseam/src/oseam/panels/PanelHaz.java
r24931 r24963 33 33 public void actionPerformed(java.awt.event.ActionEvent e) { 34 34 if (catButtons.getSelection() != null) { 35 // if (!(dlg.mark instanceof MarkCard) && !isolButton.isSelected()) {36 // dlg.mark = new MarkCard(dlg);37 // alShape.actionPerformed(null);38 // }39 35 dlg.panelMain.topButton.setEnabled(true); 40 36 dlg.panelMain.fogButton.setEnabled(true); … … 83 79 } 84 80 if (isolButton.isSelected()) { 85 // if (!(dlg.mark instanceof MarkIsol)) {86 // dlg.mark = new MarkIsol(dlg);87 // alShape.actionPerformed(null);88 // }89 81 dlg.mark.setColour(Ent.BODY, Col.BLACK_RED_BLACK); 90 82 dlg.panelMain.panelTop.spheres2TopButton.setEnabled(true); … … 105 97 public JRadioButton beaconButton = new JRadioButton(new ImageIcon(getClass().getResource("/images/BeaconButton.png"))); 106 98 public JRadioButton towerButton = new JRadioButton(new ImageIcon(getClass().getResource("/images/TowerButton.png"))); 107 p rivateEnumMap<Shp, JRadioButton> shapes = new EnumMap<Shp, JRadioButton>(Shp.class);108 p rivateEnumMap<Shp, Obj> carObjects = new EnumMap<Shp, Obj>(Shp.class);109 p rivateEnumMap<Shp, Obj> isdObjects = new EnumMap<Shp, Obj>(Shp.class);99 public EnumMap<Shp, JRadioButton> shapes = new EnumMap<Shp, JRadioButton>(Shp.class); 100 public EnumMap<Shp, Obj> carObjects = new EnumMap<Shp, Obj>(Shp.class); 101 public EnumMap<Shp, Obj> isdObjects = new EnumMap<Shp, Obj>(Shp.class); 110 102 private ActionListener alShape = new ActionListener() { 111 103 public void actionPerformed(java.awt.event.ActionEvent e) { -
applications/editors/josm/plugins/smed/plugs/oseam/src/oseam/panels/PanelLights.java
r24931 r24963 26 26 public JRadioButton minorButton = new JRadioButton(new ImageIcon(getClass().getResource("/images/LightMinorButton.png"))); 27 27 public JRadioButton vesselButton = new JRadioButton(new ImageIcon(getClass().getResource("/images/LightVesselButton.png"))); 28 public JRadioButton floatButton = new JRadioButton(new ImageIcon(getClass().getResource("/images/LightFloatButton.png")));28 public JRadioButton stationButton = new JRadioButton(new ImageIcon(getClass().getResource("/images/StationButton.png"))); 29 29 private EnumMap<Cat, JRadioButton> categories = new EnumMap<Cat, JRadioButton>(Cat.class); 30 30 private EnumMap<Cat, Obj> objects = new EnumMap<Cat, Obj>(Cat.class); … … 52 52 this.add(getCatButton(minorButton, 0, 64, 34, 32, "MinorLightTip", Cat.LIGHT_MINOR, Obj.LITMIN), null); 53 53 this.add(getCatButton(vesselButton, 0, 96, 34, 32, "LightVesselTip", Cat.LIGHT_VESSEL, Obj.LITVES), null); 54 this.add(getCatButton( floatButton, 0, 128, 34, 32, "LightFloatTip", Cat.LIGHT_FLOAT, Obj.LITFLT), null);54 this.add(getCatButton(stationButton, 0, 128, 34, 32, "SignalStationTip", Cat.SIGNAL_STATION, Obj.SIGSTA), null); 55 55 } 56 56 -
applications/editors/josm/plugins/smed/plugs/oseam/src/oseam/seamarks/SeaMark.java
r24931 r24963 18 18 public OSeaMAction dlg = null; 19 19 20 public OSeaMAction getDlg() {21 return dlg;22 }23 24 public SeaMark(OSeaMAction dia) {25 dlg = dia;26 region = Main.pref.get("tomsplugin.IALA").equals("A") ? Reg.A : Reg.B;27 parseNode();28 }29 30 20 public enum Reg { 31 21 A, B … … 53 43 54 44 public enum Obj { 55 UNKNOWN, BCNCAR, BCNISD, BCNLAT, BCNSAW, BCNSPP, BOYCAR, BOYISD, BOYLAT, BOYSAW, BOYSPP, LITMAJ, LITMIN, LITFLT, LITVES, LNDMRK, MORFAC 45 UNKNOWN, BCNCAR, BCNISD, BCNLAT, BCNSAW, BCNSPP, BOYCAR, BOYISD, BOYLAT, BOYSAW, BOYSPP, LITMAJ, LITMIN, LITFLT, LITVES, LNDMRK, MORFAC, SIGSTA 56 46 } 57 47 58 48 public static final EnumMap<Obj, String> objects = new EnumMap<Obj, String>(Obj.class); 59 49 static { 50 objects.put(Obj.UNKNOWN, ""); 60 51 objects.put(Obj.BCNCAR, "beacon_cardinal"); 61 52 objects.put(Obj.BCNISD, "beacon_isolated_danger"); … … 74 65 objects.put(Obj.LNDMRK, "landmark"); 75 66 objects.put(Obj.MORFAC, "mooring"); 67 objects.put(Obj.SIGSTA, "signal_station_warning"); 68 objects.put(Obj.SIGSTA, "signal_station_traffic"); 76 69 } 77 70 … … 87 80 88 81 public enum Ent { 89 BODY, BUOY, BEACON, FLOAT, TOPMARK, DAYMARK, LIGHT 82 BODY, BUOY, BEACON, FLOAT, TOPMARK, DAYMARK, LIGHT, MOORING, STATION 83 } 84 85 public static final EnumMap<Obj, Ent> entities = new EnumMap<Obj, Ent>(Obj.class); 86 static { 87 entities.put(Obj.BCNCAR, Ent.BEACON); 88 entities.put(Obj.BCNISD, Ent.BEACON); 89 entities.put(Obj.BCNLAT, Ent.BEACON); 90 entities.put(Obj.BCNSAW, Ent.BEACON); 91 entities.put(Obj.BCNSPP, Ent.BEACON); 92 entities.put(Obj.BOYCAR, Ent.BUOY); 93 entities.put(Obj.BOYISD, Ent.BUOY); 94 entities.put(Obj.BOYLAT, Ent.BUOY); 95 entities.put(Obj.BOYSAW, Ent.BUOY); 96 entities.put(Obj.BOYSPP, Ent.BUOY); 97 entities.put(Obj.LITMAJ, Ent.LIGHT); 98 entities.put(Obj.LITMIN, Ent.LIGHT); 99 entities.put(Obj.LITFLT, Ent.FLOAT); 100 entities.put(Obj.LITVES, Ent.LIGHT); 101 entities.put(Obj.LNDMRK, Ent.LIGHT); 102 entities.put(Obj.MORFAC, Ent.MOORING); 103 entities.put(Obj.SIGSTA, Ent.STATION); 90 104 } 91 105 92 106 public enum Grp { 93 LAT, CAR, SAW, ISD, SPP, FLT, LIT 107 LAT, CAR, SAW, ISD, SPP, FLT, LIT, SIS 94 108 } 95 109 … … 112 126 groups.put(Obj.LNDMRK, Grp.LIT); 113 127 groups.put(Obj.MORFAC, Grp.SPP); 128 groups.put(Obj.SIGSTA, Grp.SIS); 114 129 } 115 130 116 131 public enum Cat { 117 UNKNOWN, LAT_PORT, LAT_STBD, LAT_PREF_PORT, LAT_PREF_STBD, CARD_NORTH, CARD_EAST, CARD_SOUTH, CARD_WEST, LIGHT_HOUSE, LIGHT_MAJOR, LIGHT_MINOR, LIGHT_VESSEL, LIGHT_FLOAT, MOORING_BUOY 132 UNKNOWN, LAT_PORT, LAT_STBD, LAT_PREF_PORT, LAT_PREF_STBD, CARD_NORTH, CARD_EAST, CARD_SOUTH, CARD_WEST, LIGHT_HOUSE, LIGHT_MAJOR, LIGHT_MINOR, LIGHT_VESSEL, LIGHT_FLOAT, MOORING_BUOY, SIGNAL_STATION 118 133 } 119 134 120 135 public static final EnumMap<Cat, String> categories = new EnumMap<Cat, String>(Cat.class); 121 136 static { 137 categories.put(Cat.UNKNOWN, ""); 122 138 categories.put(Cat.LAT_PORT, "port"); 123 139 categories.put(Cat.LAT_STBD, "starboard"); … … 147 163 public static final EnumMap<Shp, String> shapes = new EnumMap<Shp, String>(Shp.class); 148 164 static { 165 shapes.put(Shp.UNKNOWN, ""); 149 166 shapes.put(Shp.PILLAR, "pillar"); 150 167 shapes.put(Shp.SPAR, "spar"); … … 177 194 public static final EnumMap<Col, String> colours = new EnumMap<Col, String>(Col.class); 178 195 static { 196 colours.put(Col.UNKNOWN, ""); 179 197 colours.put(Col.WHITE, "white"); 180 198 colours.put(Col.RED, "red"); … … 241 259 public static final EnumMap<Top, String> tops = new EnumMap<Top, String>(Top.class); 242 260 static { 261 tops.put(Top.NONE, ""); 243 262 tops.put(Top.CAN, "cylinder"); 244 263 tops.put(Top.CONE, "cylinder"); … … 273 292 public static final EnumMap<Day, String> days = new EnumMap<Day, String>(Day.class); 274 293 static { 294 days.put(Day.NONE, ""); 275 295 days.put(Day.BOARD, "board"); 276 296 days.put(Day.DIAMOND, "diamond"); … … 576 596 } 577 597 578 public void parseNode() { 579 598 private boolean paintlock = false; 599 600 public SeaMark(OSeaMAction dia) { 601 dlg = dia; 602 region = Main.pref.get("tomsplugin.IALA").equals("A") ? Reg.A : Reg.B; 603 paintlock = true; 580 604 dlg.panelMain.clearSelections(); 581 605 dlg.manager.showVisualMessage(""); 582 String type = ""; 606 String typeStr = ""; 607 String colStr = ""; 583 608 String str = ""; 584 String col = "";585 609 586 610 Map<String, String> keys = dlg.node.getKeys(); 587 611 588 612 if (keys.containsKey("seamark:type")) 589 type = keys.get("seamark:type");590 591 for (Obj obj : objects.keySet()) {592 if (objects.get(obj).equals(type ))613 typeStr = keys.get("seamark:type"); 614 615 for (Obj obj : objects.keySet()) 616 if (objects.get(obj).equals(typeStr)) 593 617 setObject(obj); 594 } 595 596 if (type.equals("light_float") || type.equals("") || keys.containsKey("seamark:light_float:colour") 597 || keys.containsKey("seamark:light_float:colour_pattern")) { 618 619 if (typeStr.equals("light_float") || typeStr.equals("") || keys.containsKey("seamark:light_float:colour") 620 || keys.containsKey("seamark:light_float:colour_pattern")) { 598 621 if (keys.containsKey("seamark:light_float:colour_pattern")) { 599 622 setObject(Obj.LITFLT); 600 type = "light_float";623 typeStr = "light_float"; 601 624 } 602 625 if (keys.containsKey("seamark:light_float:colour")) { 603 col = keys.get("seamark:light_float:colour");604 if (col .equals("red") || col.equals("green") || col.equals("red;green;red") || col.equals("green;red;green")) {626 colStr = keys.get("seamark:light_float:colour"); 627 if (colStr.equals("red") || colStr.equals("green") || colStr.equals("red;green;red") || colStr.equals("green;red;green")) { 605 628 setObject(Obj.BOYLAT); 606 } else if (col .equals("black;yellow") || col.equals("black;yellow;black") || col.equals("yellow;black")607 || col.equals("yellow;black;yellow")) {629 } else if (colStr.equals("black;yellow") || colStr.equals("black;yellow;black") || colStr.equals("yellow;black") 630 || colStr.equals("yellow;black;yellow")) { 608 631 setObject(Obj.BOYCAR); 609 } else if (col .equals("black;red;black")) {632 } else if (colStr.equals("black;red;black")) { 610 633 setObject(Obj.BOYISD); 611 } else if (col .equals("red;white")) {634 } else if (colStr.equals("red;white")) { 612 635 setObject(Obj.BOYSAW); 613 } else if (col .equals("yellow")) {636 } else if (colStr.equals("yellow")) { 614 637 setObject(Obj.BOYSPP); 615 638 } else 616 639 setObject(Obj.LITFLT); 617 type = "light_float";618 } 619 if (type .equals("")) {640 typeStr = "light_float"; 641 } 642 if (typeStr.equals("")) { 620 643 if (keys.containsKey("seamark:buoy_lateral:category") || keys.containsKey("seamark:buoy_lateral:shape") 621 644 || keys.containsKey("seamark:buoy_lateral:colour")) { 622 645 setObject(Obj.BOYLAT); 646 typeStr = "buoy_lateral"; 623 647 } else if (keys.containsKey("seamark:beacon_lateral:category") || keys.containsKey("seamark:beacon_lateral:shape") 624 648 || keys.containsKey("seamark:beacon_lateral:colour")) { 625 649 setObject(Obj.BCNLAT); 650 typeStr = "beacon_lateral"; 626 651 } else if (keys.containsKey("seamark:buoy_cardinal:category") || keys.containsKey("seamark:buoy_cardinal:shape") 627 652 || keys.containsKey("seamark:buoy_cardinal:colour")) { 628 653 setObject(Obj.BOYCAR); 654 typeStr = "buoy_cardinal"; 629 655 } else if (keys.containsKey("seamark:beacon_cardinal:category") || keys.containsKey("seamark:beacon_cardinal:shape") 630 656 || keys.containsKey("seamark:beacon_cardinal:colour")) { 631 657 setObject(Obj.BCNCAR); 632 } else if (keys.containsKey("seamark:buoy_isolated_danger:category") || keys.containsKey("seamark:buoy_isolated_danger:shape") 633 || keys.containsKey("seamark:buoy_isolated_danger:colour")) { 658 typeStr = "beacon_cardinal"; 659 } else if (keys.containsKey("seamark:buoy_isolated_danger:category") 660 || keys.containsKey("seamark:buoy_isolated_danger:shape") || keys.containsKey("seamark:buoy_isolated_danger:colour")) { 634 661 setObject(Obj.BOYISD); 635 } else if (keys.containsKey("seamark:beacon_isolated_danger:category") || keys.containsKey("seamark:beacon_isolated_danger:shape") 636 || keys.containsKey("seamark:beacon_isolated_danger:colour")) { 662 typeStr = "buoy_isolated_danger"; 663 } else if (keys.containsKey("seamark:beacon_isolated_danger:category") 664 || keys.containsKey("seamark:beacon_isolated_danger:shape") 665 || keys.containsKey("seamark:beacon_isolated_danger:colour")) { 637 666 setObject(Obj.BCNISD); 667 typeStr = "beacon_isolated_danger"; 638 668 } else if (keys.containsKey("seamark:buoy_safe_water:category") || keys.containsKey("seamark:buoy_safe_water:shape") 639 669 || keys.containsKey("seamark:buoy_safe_water:colour")) { 640 670 setObject(Obj.BOYSAW); 671 typeStr = "buoy_safe_water"; 641 672 } else if (keys.containsKey("seamark:beacon_safe_water:category") || keys.containsKey("seamark:beacon_safe_water:shape") 642 673 || keys.containsKey("seamark:beacon_safe_water:colour")) { 643 674 setObject(Obj.BCNSAW); 644 } else if (keys.containsKey("seamark:buoy_special_purpose:category") || keys.containsKey("seamark:buoy_special_purpose:shape") 645 || keys.containsKey("seamark:buoy_special_purpose:colour")) { 675 typeStr = "beacon_safe_water"; 676 } else if (keys.containsKey("seamark:buoy_special_purpose:category") 677 || keys.containsKey("seamark:buoy_special_purpose:shape") || keys.containsKey("seamark:buoy_special_purpose:colour")) { 646 678 setObject(Obj.BOYSPP); 647 } else if (keys.containsKey("seamark:beacon_special_purpose:category") || keys.containsKey("seamark:beacon_special_purpose:shape") 648 || keys.containsKey("seamark:beacon_special_purpose:colour")) { 679 typeStr = "buoy_special_purpose"; 680 } else if (keys.containsKey("seamark:beacon_special_purpose:category") 681 || keys.containsKey("seamark:beacon_special_purpose:shape") 682 || keys.containsKey("seamark:beacon_special_purpose:colour")) { 649 683 setObject(Obj.BCNSPP); 684 typeStr = "beacon_special_purpose"; 650 685 } 651 686 } … … 657 692 } 658 693 659 if (keys.containsKey("seamark:" + type + ":name")) { 660 dlg.panelMain.nameBox.setText(keys.get("seamark:" + type + ":name")); 694 if (keys.containsKey("seamark:" + typeStr + ":colour")) 695 colStr = keys.get("seamark:" + typeStr + ":colour"); 696 for (Col col : colours.keySet()) 697 if (colours.get(col).equals(colStr)) setColour(Ent.BODY, col); 698 699 if (keys.containsKey("seamark:" + typeStr + ":name")) { 700 dlg.panelMain.nameBox.setText(keys.get("seamark:" + typeStr + ":name")); 661 701 dlg.panelMain.nameBox.postActionEvent(); 662 702 } else if (keys.containsKey("seamark:name")) { … … 680 720 if (keys.containsKey("seamark:buoy_lateral:category")) 681 721 str = keys.get("seamark:buoy_lateral:category"); 682 else if (type .equals("light_float")) {722 else if (typeStr.equals("light_float")) { 683 723 if (region == Reg.A) { 684 if (col .equals("red"))685 dlg.panelMain.panelChan.portButton.doClick();686 else if (col .equals("green"))687 dlg.panelMain.panelChan.stbdButton.doClick();688 else if (col .equals("red;green;red"))689 dlg.panelMain.panelChan.prefPortButton.doClick();690 else if (col .equals("green;red;green"))691 dlg.panelMain.panelChan.prefStbdButton.doClick();724 if (colStr.equals("red")) 725 str = "port"; 726 else if (colStr.equals("green")) 727 str = "starboard"; 728 else if (colStr.equals("red;green;red")) 729 str = "preferred_channel_port"; 730 else if (colStr.equals("green;red;green")) 731 str = "preferred_channel_starboard"; 692 732 } else { 693 if (col .equals("green"))694 dlg.panelMain.panelChan.portButton.doClick();695 else if (col .equals("red"))696 dlg.panelMain.panelChan.stbdButton.doClick();697 else if (col .equals("green;red;green"))698 dlg.panelMain.panelChan.prefPortButton.doClick();699 else if (col .equals("red;green;red"))700 dlg.panelMain.panelChan.prefStbdButton.doClick();733 if (colStr.equals("green")) 734 str = "port"; 735 else if (colStr.equals("red")) 736 str = "starboard"; 737 else if (colStr.equals("green;red;green")) 738 str = "preferred_channel_port"; 739 else if (colStr.equals("red;green;red")) 740 str = "preferred_channel_starboard"; 701 741 } 702 742 } 703 743 break; 704 744 } 705 if (str.equals("port")) 745 if (str.equals("port")) { 746 setCategory(Cat.LAT_PORT); 706 747 dlg.panelMain.panelChan.portButton.doClick(); 707 else if (str.equals("starboard")) 748 } else if (str.equals("starboard")) { 749 setCategory(Cat.LAT_STBD); 708 750 dlg.panelMain.panelChan.stbdButton.doClick(); 709 else if (str.equals("preferred_channel_port")) 751 } else if (str.equals("preferred_channel_port")) { 752 setCategory(Cat.LAT_PREF_PORT); 710 753 dlg.panelMain.panelChan.prefPortButton.doClick(); 711 else if (str.equals("preferred_channel_starboard")) 754 } else if (str.equals("preferred_channel_starboard")) { 755 setCategory(Cat.LAT_PREF_STBD); 712 756 dlg.panelMain.panelChan.prefStbdButton.doClick(); 757 } 713 758 break; 714 759 case CAR: … … 722 767 if (keys.containsKey("seamark:buoy_cardinal:category")) 723 768 str = keys.get("seamark:buoy_cardinal:category"); 724 else if (type .equals("light_float")) {725 if (col .equals("black;yellow"))726 dlg.panelMain.panelHaz.northButton.doClick();727 else if (col .equals("yellow;black"))728 dlg.panelMain.panelHaz.southButton.doClick();729 else if (col .equals("black;yellow;black"))730 dlg.panelMain.panelHaz.eastButton.doClick();731 else if (col .equals("yellow;black;yellow"))732 dlg.panelMain.panelHaz.westButton.doClick();769 else if (typeStr.equals("light_float")) { 770 if (colStr.equals("black;yellow")) 771 str = "north"; 772 else if (colStr.equals("yellow;black")) 773 str = "south"; 774 else if (colStr.equals("black;yellow;black")) 775 str = "east"; 776 else if (colStr.equals("yellow;black;yellow")) 777 str = "west"; 733 778 } 734 779 break; 735 780 } 736 if (str.equals("north")) 781 if (str.equals("north")) { 782 setCategory(Cat.CARD_NORTH); 737 783 dlg.panelMain.panelHaz.northButton.doClick(); 738 else if (str.equals("south")) 784 } else if (str.equals("south")) { 785 setCategory(Cat.CARD_SOUTH); 739 786 dlg.panelMain.panelHaz.southButton.doClick(); 740 else if (str.equals("east")) 787 } else if (str.equals("east")) { 788 setCategory(Cat.CARD_EAST); 741 789 dlg.panelMain.panelHaz.eastButton.doClick(); 742 else if (str.equals("west")) 790 } else if (str.equals("west")) { 791 setCategory(Cat.CARD_WEST); 743 792 dlg.panelMain.panelHaz.westButton.doClick(); 793 } 744 794 break; 745 795 case SAW: … … 754 804 dlg.panelMain.specButton.doClick(); 755 805 break; 756 case FLT:806 case SIS: 757 807 dlg.panelMain.lightsButton.doClick(); 758 dlg.panelMain.panelLights. floatButton.doClick();808 dlg.panelMain.panelLights.stationButton.doClick(); 759 809 break; 760 810 case LIT: 761 811 dlg.panelMain.lightsButton.doClick(); 762 812 break; 813 } 814 815 if (keys.containsKey("seamark:" + typeStr + ":shape")) 816 str = keys.get("seamark:" + typeStr + ":shape"); 817 else if (typeStr.equals("light_float")) 818 str = "float"; 819 else str = ""; 820 if ((str.isEmpty() && (entities.get(getObject()) == Ent.BEACON)) || str.equals("stake")) 821 str = "beacon"; 822 if (!str.isEmpty()) { 823 for (Shp shp : shapes.keySet()) { 824 if (shapes.get(shp).equals(str)) { 825 switch (groups.get(getObject())) { 826 case LAT: 827 switch (getCategory()) { 828 case LAT_PORT: 829 case LAT_PREF_PORT: 830 if (dlg.panelMain.panelChan.panelPort.shapes.get(shp) != null) 831 dlg.panelMain.panelChan.panelPort.shapes.get(shp).doClick(); 832 break; 833 case LAT_STBD: 834 case LAT_PREF_STBD: 835 if (dlg.panelMain.panelChan.panelStbd.shapes.get(shp) != null) 836 dlg.panelMain.panelChan.panelStbd.shapes.get(shp).doClick(); 837 break; 838 } 839 break; 840 case SAW: 841 if (dlg.panelMain.panelChan.panelSaw.shapes.get(shp) != null) 842 dlg.panelMain.panelChan.panelSaw.shapes.get(shp).doClick(); 843 break; 844 case CAR: 845 case ISD: 846 if (dlg.panelMain.panelHaz.shapes.get(shp) != null) 847 dlg.panelMain.panelHaz.shapes.get(shp).doClick(); 848 break; 849 case SPP: 850 if (dlg.panelMain.panelSpec.shapes.get(shp) != null) 851 dlg.panelMain.panelSpec.shapes.get(shp).doClick(); 852 break; 853 } 854 break; 855 } 856 } 763 857 } 764 858 … … 819 913 820 914 if (keys.containsKey("seamark:fog_signal") || keys.containsKey("seamark:fog_signal:category") 821 915 || keys.containsKey("seamark:fog_signal:group") || keys.containsKey("seamark:fog_signal:period")) { 822 916 setFog(true); 823 917 if (keys.containsKey("seamark:fog_signal:category")) { … … 847 941 848 942 if (keys.containsKey("seamark:radar_transponder") || keys.containsKey("seamark:radar_transponder:category") 849 943 || keys.containsKey("seamark:radar_transponder:group")) { 850 944 setRacon(true); 851 945 if (keys.containsKey("seamark:radar_transponder:category")) { … … 864 958 } else if (keys.containsKey("seamark:radar_reflector")) 865 959 setRadar(true); 960 paintlock = false; 961 paintSign(); 866 962 } 867 963 868 964 public void paintSign() { 965 966 if (paintlock) 967 return; 869 968 870 969 String imgStr = "/images/"; … … 883 982 imgStr += ".png"; 884 983 if (getClass().getResource(imgStr) == null) 885 System.out.println( imgStr);984 System.out.println("Body:" + imgStr); 886 985 else 887 986 dlg.panelMain.shapeIcon.setIcon(new ImageIcon(getClass().getResource(imgStr))); … … 921 1020 String colStr = colours.get(topColour); 922 1021 if (colStr != null) 923 imgStr += ("_" + colStr);1022 imgStr += colStr; 924 1023 imgStr += ".png"; 925 1024 if (getClass().getResource(imgStr) == null) 926 System.out.println( imgStr);1025 System.out.println("Top:" + imgStr); 927 1026 else 928 1027 dlg.panelMain.topIcon.setIcon(new ImageIcon(getClass().getResource(imgStr))); … … 1054 1153 if ((Bearing1[i] != null) && (Bearing2[i] != null) && (Radius[i] != null)) 1055 1154 Main.main.undoRedo.add(new ChangePropertyCommand(dlg.node, "seamark:light:" + i, "red:" + Bearing1[i] + ":" 1056 1155 + Bearing2[i] + ":" + Radius[i])); 1057 1156 } else if (colour.equals("G")) { 1058 1157 Main.main.undoRedo.add(new ChangePropertyCommand(dlg.node, "seamark:light:" + i + ":colour", "green")); 1059 1158 if ((Bearing1[i] != null) && (Bearing2[i] != null) && (Radius[i] != null)) 1060 1159 Main.main.undoRedo.add(new ChangePropertyCommand(dlg.node, "seamark:light:" + i, "green:" + Bearing1[i] + ":" 1061 1160 + Bearing2[i] + ":" + Radius[i])); 1062 1161 } else if (colour.equals("W")) { 1063 1162 Main.main.undoRedo.add(new ChangePropertyCommand(dlg.node, "seamark:light:" + i + ":colour", "white")); 1064 1163 if ((Bearing1[i] != null) && (Bearing2[i] != null) && (Radius[i] != null)) 1065 1164 Main.main.undoRedo.add(new ChangePropertyCommand(dlg.node, "seamark:light:" + i, "white:" + Bearing1[i] + ":" 1066 1165 + Bearing2[i] + ":" + Radius[i])); 1067 1166 } 1068 1167 if (LightPeriod[i] != null)
Note:
See TracChangeset
for help on using the changeset viewer.