|
2 | 2 | <!-- edited with XMLSPY v5 rel. 4 U (http://www.xmlspy.com) by Ivo Kovacka (Kovacka) --> |
3 | 3 | <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" targetNamespace="http://www.icsharpcode.net/2005/addin" xmlns="http://www.icsharpcode.net/2005/addin"> |
4 | 4 | <xs:complexType name="AddIn"> |
5 | | - <xs:attribute name="name" type="xs:string" use="required" /> |
6 | | - <xs:attribute name="author" type="xs:string" use="required" /> |
7 | | - <xs:attribute name="copyright" type="xs:string" use="optional" /> |
8 | | - <xs:attribute name="url" type="xs:anyURI" use="optional" /> |
9 | | - <xs:attribute name="description" type="xs:string" use="optional" /> |
10 | 5 | <xs:choice minOccurs="1" maxOccurs="unbounded"> |
11 | 6 | <xs:element name="BitmapResources"> |
12 | 7 | <xs:complexType> |
|
58 | 53 | </xs:complexType> |
59 | 54 | </xs:element> |
60 | 55 | </xs:choice> |
| 56 | + <xs:attribute name="name" type="xs:string" use="required" /> |
| 57 | + <xs:attribute name="author" type="xs:string" use="required" /> |
| 58 | + <xs:attribute name="copyright" type="xs:string" use="optional" /> |
| 59 | + <xs:attribute name="url" type="xs:anyURI" use="optional" /> |
| 60 | + <xs:attribute name="description" type="xs:string" use="optional" /> |
61 | 61 | </xs:complexType> |
62 | 62 | <xs:element name="AddIn" type="AddIn" /> |
63 | 63 | <xs:complexType name="AddInReference"> |
64 | 64 | <xs:attribute name="addin" type="xs:string" use="required" /> |
65 | 65 | <xs:attribute name="version" type="xs:string" use="optional" /> |
66 | 66 | </xs:complexType> |
67 | 67 | <xs:complexType name="Import"> |
68 | | - <xs:attribute name="assembly" type="xs:string" use="required" /> |
69 | 68 | <xs:choice maxOccurs="unbounded"> |
70 | 69 | <xs:element name="Doozer" type="CustomDoozerOrCondition" minOccurs="0" maxOccurs="unbounded" /> |
71 | 70 | <xs:element name="ConditionEvaluator" type="CustomDoozerOrCondition" minOccurs="0" maxOccurs="unbounded" /> |
72 | 71 | </xs:choice> |
| 72 | + <xs:attribute name="assembly" type="xs:string" use="required" /> |
73 | 73 | </xs:complexType> |
74 | 74 | <xs:complexType name="CustomDoozerOrCondition"> |
75 | 75 | <xs:attribute name="name" type="xs:string" use="required" /> |
|
82 | 82 | <!-- !!! INSERT DOOZER LIST !!! --> |
83 | 83 | <xs:element ref="Class" /> |
84 | 84 | <xs:element ref="CodeCompletionBinding" /> |
| 85 | + <xs:element ref="CustomTool" /> |
85 | 86 | <xs:element ref="Debugger" /> |
86 | 87 | <xs:element ref="DialogPanel" /> |
87 | 88 | <xs:element ref="Directory" /> |
|
94 | 95 | <xs:element ref="MenuItem" /> |
95 | 96 | <xs:element ref="Pad" /> |
96 | 97 | <xs:element ref="Parser" /> |
97 | | - <xs:element ref="Registry" /> |
| 98 | + <xs:element ref="ProjectContentRegistry" /> |
98 | 99 | <xs:element ref="SchemeExtension" /> |
99 | 100 | <xs:element ref="String" /> |
100 | 101 | <xs:element ref="SyntaxMode" /> |
|
105 | 106 | </xs:complexType> |
106 | 107 | <xs:element name="Path" type="Path" /> |
107 | 108 | <xs:complexType name="Condition"> |
108 | | - <xs:extension base="Path"> |
109 | | - <xs:attribute name="action" use="optional"> |
110 | | - <xs:simpleType> |
111 | | - <xs:restriction base="xs:string"> |
112 | | - <xs:enumeration value="Exclude" /> |
113 | | - <xs:enumeration value="Disable" /> |
114 | | - <xs:enumeration value="Nothing" /> |
115 | | - </xs:restriction> |
116 | | - </xs:simpleType> |
117 | | - </xs:attribute> |
118 | | - <!-- !!! INSERT CONDITION ATTRIBUTES !!! --> |
119 | | - <xs:attribute name="activeextension" type="xs:string" use="optional" /> |
120 | | - <xs:attribute name="activeproject" type="xs:string" use="optional" /> |
121 | | - <xs:attribute name="activewindow" type="xs:string" use="optional" /> |
122 | | - <xs:attribute name="comparisonType" type="xs:string" use="optional" /> |
123 | | - <xs:attribute name="debuggersupports" type="xs:string" use="optional" /> |
124 | | - <xs:attribute name="equals" type="xs:string" use="optional" /> |
125 | | - <xs:attribute name="openwindow" type="xs:string" use="optional" /> |
126 | | - <xs:attribute name="options" type="xs:string" use="optional" /> |
127 | | - <xs:attribute name="property" type="xs:string" use="optional" /> |
128 | | - <xs:attribute name="string" type="xs:string" use="optional" /> |
129 | | - <xs:attribute name="supports" type="xs:string" use="optional" /> |
130 | | - <xs:attribute name="textcontent" type="xs:string" use="optional" /> |
131 | | - <xs:attribute name="urlRegex" type="xs:string" use="optional" /> |
132 | | - </xs:extension> |
| 109 | + <xs:complexContent> |
| 110 | + <xs:extension base="Path"> |
| 111 | + <xs:attribute name="action" use="optional"> |
| 112 | + <xs:simpleType> |
| 113 | + <xs:restriction base="xs:string"> |
| 114 | + <xs:enumeration value="Exclude" /> |
| 115 | + <xs:enumeration value="Disable" /> |
| 116 | + <xs:enumeration value="Nothing" /> |
| 117 | + </xs:restriction> |
| 118 | + </xs:simpleType> |
| 119 | + </xs:attribute> |
| 120 | + <!-- !!! INSERT CONDITION ATTRIBUTES !!! --> |
| 121 | + <xs:attribute name="activeextension" type="xs:string" use="optional" /> |
| 122 | + <xs:attribute name="activeproject" type="xs:string" use="optional" /> |
| 123 | + <xs:attribute name="activewindow" type="xs:string" use="optional" /> |
| 124 | + <xs:attribute name="comparisonType" type="xs:string" use="optional" /> |
| 125 | + <xs:attribute name="debuggersupports" type="xs:string" use="optional" /> |
| 126 | + <xs:attribute name="equals" type="xs:string" use="optional" /> |
| 127 | + <xs:attribute name="openwindow" type="xs:string" use="optional" /> |
| 128 | + <xs:attribute name="options" type="xs:string" use="optional" /> |
| 129 | + <xs:attribute name="property" type="xs:string" use="optional" /> |
| 130 | + <xs:attribute name="string" type="xs:string" use="optional" /> |
| 131 | + <xs:attribute name="supports" type="xs:string" use="optional" /> |
| 132 | + <xs:attribute name="textcontent" type="xs:string" use="optional" /> |
| 133 | + <xs:attribute name="urlRegex" type="xs:string" use="optional" /> |
| 134 | + </xs:extension> |
| 135 | + </xs:complexContent> |
133 | 136 | </xs:complexType> |
134 | 137 | <xs:element name="Condition" type="Condition"> |
135 | 138 | <xs:annotation> |
|
139 | 142 | </xs:annotation> |
140 | 143 | </xs:element> |
141 | 144 | <xs:complexType name="ComplexCondition"> |
142 | | - <xs:attribute name="action" use="optional"> |
143 | | - <xs:simpleType> |
144 | | - <xs:restriction base="xs:string"> |
145 | | - <xs:enumeration value="Exclude" /> |
146 | | - <xs:enumeration value="Disable" /> |
147 | | - <xs:enumeration value="Nothing" /> |
148 | | - </xs:restriction> |
149 | | - </xs:simpleType> |
150 | | - </xs:attribute> |
151 | 145 | <xs:choice maxOccurs="unbounded"> |
152 | 146 | <xs:element ref="And" /> |
153 | 147 | <xs:element ref="Or" /> |
154 | 148 | <xs:element ref="Not" /> |
155 | 149 | <!-- !!! INSERT DOOZER LIST !!! --> |
156 | 150 | <xs:element ref="Class" /> |
157 | 151 | <xs:element ref="CodeCompletionBinding" /> |
| 152 | + <xs:element ref="CustomTool" /> |
158 | 153 | <xs:element ref="Debugger" /> |
159 | 154 | <xs:element ref="DialogPanel" /> |
160 | 155 | <xs:element ref="Directory" /> |
|
167 | 162 | <xs:element ref="MenuItem" /> |
168 | 163 | <xs:element ref="Pad" /> |
169 | 164 | <xs:element ref="Parser" /> |
170 | | - <xs:element ref="Registry" /> |
| 165 | + <xs:element ref="ProjectContentRegistry" /> |
171 | 166 | <xs:element ref="SchemeExtension" /> |
172 | 167 | <xs:element ref="String" /> |
173 | 168 | <xs:element ref="SyntaxMode" /> |
174 | 169 | <xs:element ref="TaskBoundAdditionalLogger" /> |
175 | 170 | <xs:element ref="ToolbarItem" /> |
176 | 171 | </xs:choice> |
| 172 | + <xs:attribute name="action" use="optional"> |
| 173 | + <xs:simpleType> |
| 174 | + <xs:restriction base="xs:string"> |
| 175 | + <xs:enumeration value="Exclude" /> |
| 176 | + <xs:enumeration value="Disable" /> |
| 177 | + <xs:enumeration value="Nothing" /> |
| 178 | + </xs:restriction> |
| 179 | + </xs:simpleType> |
| 180 | + </xs:attribute> |
177 | 181 | </xs:complexType> |
178 | 182 | <xs:element name="ComplexCondition" type="ComplexCondition"> |
179 | 183 | <xs:annotation> |
|
267 | 271 | </xs:documentation> |
268 | 272 | </xs:annotation> |
269 | 273 | </xs:element> |
| 274 | + <xs:complexType name="CustomTool"> |
| 275 | + <xs:complexContent> |
| 276 | + <xs:extension base="AbstractCodon"> |
| 277 | + <xs:attribute name="id" use="required" type="xs:string"> |
| 278 | + <xs:annotation> |
| 279 | + <xs:documentation> |
| 280 | + ID used to identify the custom tool. |
| 281 | + </xs:documentation> |
| 282 | + </xs:annotation> |
| 283 | + </xs:attribute> |
| 284 | + <xs:attribute name="class" use="required" type="xs:string"> |
| 285 | + <xs:annotation> |
| 286 | + <xs:documentation> |
| 287 | + Name of the ICustomTool class. |
| 288 | + </xs:documentation> |
| 289 | + </xs:annotation> |
| 290 | + </xs:attribute> |
| 291 | + <xs:attribute name="fileNamePattern" use="optional" type="xs:string"> |
| 292 | + <xs:annotation> |
| 293 | + <xs:documentation> |
| 294 | + Regular expression that specifies the file names for which the custom tool |
| 295 | + can be used. Example: "\.res(x|ources)$" |
| 296 | + </xs:documentation> |
| 297 | + </xs:annotation> |
| 298 | + </xs:attribute> |
| 299 | + </xs:extension> |
| 300 | + </xs:complexContent> |
| 301 | + </xs:complexType> |
| 302 | + <xs:element name="CustomTool" type="CustomTool"> |
| 303 | + <xs:annotation> |
| 304 | + <xs:documentation> |
| 305 | + Creates CustomToolDescriptor objects. |
| 306 | + </xs:documentation> |
| 307 | + </xs:annotation> |
| 308 | + </xs:element> |
270 | 309 | <xs:complexType name="Debugger"> |
271 | 310 | <xs:complexContent> |
272 | 311 | <xs:extension base="AbstractCodon"> |
|
386 | 425 | </xs:annotation> |
387 | 426 | </xs:attribute> |
388 | 427 | <xs:attribute name="type" use="optional"> |
| 428 | + <xs:annotation> |
| 429 | + <xs:documentation> |
| 430 | + Type of the display binding (either "Primary" or "Secondary"). Default: "Primary". |
| 431 | + </xs:documentation> |
| 432 | + </xs:annotation> |
389 | 433 | <xs:simpleType> |
390 | 434 | <xs:restriction base="xs:string"> |
391 | 435 | <xs:enumeration value="Primary" /> |
392 | 436 | <xs:enumeration value="Secondary" /> |
393 | 437 | </xs:restriction> |
394 | 438 | </xs:simpleType> |
395 | | - <xs:annotation> |
396 | | - <xs:documentation> |
397 | | - Type of the display binding (either "Primary" or "Secondary"). Default: "Primary". |
398 | | - </xs:documentation> |
399 | | - </xs:annotation> |
400 | 439 | </xs:attribute> |
401 | 440 | <xs:attribute name="fileNamePattern" use="optional" type="xs:string"> |
402 | 441 | <xs:annotation> |
|
609 | 648 | </xs:annotation> |
610 | 649 | </xs:attribute> |
611 | 650 | <xs:attribute name="type" use="optional"> |
| 651 | + <xs:annotation> |
| 652 | + <xs:documentation> |
| 653 | + This attribute must be one of these values: |
| 654 | + Separator, CheckBox, Item=Command, Menu (=with subitems), |
| 655 | + Builder (=class implementing ISubmenuBuilder). |
| 656 | + Default: Command. |
| 657 | + </xs:documentation> |
| 658 | + </xs:annotation> |
612 | 659 | <xs:simpleType> |
613 | 660 | <xs:restriction base="xs:string"> |
614 | 661 | <xs:enumeration value="Separator" /> |
|
619 | 666 | <xs:enumeration value="Builder" /> |
620 | 667 | </xs:restriction> |
621 | 668 | </xs:simpleType> |
622 | | - <xs:annotation> |
623 | | - <xs:documentation> |
624 | | - This attribute must be one of these values: |
625 | | - Separator, CheckBox, Item=Command, Menu (=with subitems), |
626 | | - Builder (=class implementing ISubmenuBuilder). |
627 | | - Default: Command. |
628 | | - </xs:documentation> |
629 | | - </xs:annotation> |
630 | 669 | </xs:attribute> |
631 | 670 | <xs:attribute name="loadclasslazy" use="optional" type="xs:string"> |
632 | 671 | <xs:annotation> |
|
765 | 804 | </xs:documentation> |
766 | 805 | </xs:annotation> |
767 | 806 | </xs:element> |
768 | | - <xs:complexType name="Registry"> |
| 807 | + <xs:complexType name="ProjectContentRegistry"> |
769 | 808 | <xs:complexContent> |
770 | 809 | <xs:extension base="AbstractCodon"> |
771 | 810 | <xs:attribute name="class" use="optional" type="xs:string"> |
|
778 | 817 | </xs:extension> |
779 | 818 | </xs:complexContent> |
780 | 819 | </xs:complexType> |
781 | | - <xs:element name="Registry" type="Registry"> |
| 820 | + <xs:element name="ProjectContentRegistry" type="ProjectContentRegistry"> |
782 | 821 | <xs:annotation> |
783 | 822 | <xs:documentation> |
784 | | - Creates RegistryDescriptor objects for the parsing service. |
| 823 | + Creates ProjectContentRegistryDescriptor objects for the parsing service. |
785 | 824 | </xs:documentation> |
786 | 825 | </xs:annotation> |
787 | 826 | </xs:element> |
|
920 | 959 | </xs:annotation> |
921 | 960 | </xs:attribute> |
922 | 961 | <xs:attribute name="type" use="optional"> |
| 962 | + <xs:annotation> |
| 963 | + <xs:documentation> |
| 964 | + This attribute must be one of these values: |
| 965 | + Separator, CheckBox, Item, ComboBox, DropDownButton |
| 966 | + </xs:documentation> |
| 967 | + </xs:annotation> |
923 | 968 | <xs:simpleType> |
924 | 969 | <xs:restriction base="xs:string"> |
925 | 970 | <xs:enumeration value="Separator" /> |
|
929 | 974 | <xs:enumeration value="DropDownButton" /> |
930 | 975 | </xs:restriction> |
931 | 976 | </xs:simpleType> |
932 | | - <xs:annotation> |
933 | | - <xs:documentation> |
934 | | - This attribute must be one of these values: |
935 | | - Separator, CheckBox, Item, ComboBox, DropDownButton |
936 | | - </xs:documentation> |
937 | | - </xs:annotation> |
938 | 977 | </xs:attribute> |
939 | 978 | <xs:attribute name="loadclasslazy" use="optional" type="xs:string"> |
940 | 979 | <xs:annotation> |
|
0 commit comments