Browse Source

Fixed SD2-849: AddIn.xsd schema is not valid

git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@2136 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
shortcuts
Daniel Grunwald 19 years ago
parent
commit
ede45e4e67
  1. 167
      data/schemas/AddIn.xsd
  2. 26
      doc/technotes/ConditionList.html
  3. 76
      doc/technotes/DoozerList.html
  4. 11
      src/Tools/BuildAddinDocumentation/MainClass.cs

167
data/schemas/AddIn.xsd

@ -2,11 +2,6 @@ @@ -2,11 +2,6 @@
<!-- edited with XMLSPY v5 rel. 4 U (http://www.xmlspy.com) by Ivo Kovacka (Kovacka) -->
<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">
<xs:complexType name="AddIn">
<xs:attribute name="name" type="xs:string" use="required" />
<xs:attribute name="author" type="xs:string" use="required" />
<xs:attribute name="copyright" type="xs:string" use="optional" />
<xs:attribute name="url" type="xs:anyURI" use="optional" />
<xs:attribute name="description" type="xs:string" use="optional" />
<xs:choice minOccurs="1" maxOccurs="unbounded">
<xs:element name="BitmapResources">
<xs:complexType>
@ -58,6 +53,11 @@ @@ -58,6 +53,11 @@
</xs:complexType>
</xs:element>
</xs:choice>
<xs:attribute name="name" type="xs:string" use="required" />
<xs:attribute name="author" type="xs:string" use="required" />
<xs:attribute name="copyright" type="xs:string" use="optional" />
<xs:attribute name="url" type="xs:anyURI" use="optional" />
<xs:attribute name="description" type="xs:string" use="optional" />
</xs:complexType>
<xs:element name="AddIn" type="AddIn" />
<xs:complexType name="AddInReference">
@ -65,11 +65,11 @@ @@ -65,11 +65,11 @@
<xs:attribute name="version" type="xs:string" use="optional" />
</xs:complexType>
<xs:complexType name="Import">
<xs:attribute name="assembly" type="xs:string" use="required" />
<xs:choice maxOccurs="unbounded">
<xs:element name="Doozer" type="CustomDoozerOrCondition" minOccurs="0" maxOccurs="unbounded" />
<xs:element name="ConditionEvaluator" type="CustomDoozerOrCondition" minOccurs="0" maxOccurs="unbounded" />
</xs:choice>
<xs:attribute name="assembly" type="xs:string" use="required" />
</xs:complexType>
<xs:complexType name="CustomDoozerOrCondition">
<xs:attribute name="name" type="xs:string" use="required" />
@ -82,6 +82,7 @@ @@ -82,6 +82,7 @@
<!-- !!! INSERT DOOZER LIST !!! -->
<xs:element ref="Class" />
<xs:element ref="CodeCompletionBinding" />
<xs:element ref="CustomTool" />
<xs:element ref="Debugger" />
<xs:element ref="DialogPanel" />
<xs:element ref="Directory" />
@ -94,7 +95,7 @@ @@ -94,7 +95,7 @@
<xs:element ref="MenuItem" />
<xs:element ref="Pad" />
<xs:element ref="Parser" />
<xs:element ref="Registry" />
<xs:element ref="ProjectContentRegistry" />
<xs:element ref="SchemeExtension" />
<xs:element ref="String" />
<xs:element ref="SyntaxMode" />
@ -105,31 +106,33 @@ @@ -105,31 +106,33 @@
</xs:complexType>
<xs:element name="Path" type="Path" />
<xs:complexType name="Condition">
<xs:extension base="Path">
<xs:attribute name="action" use="optional">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:enumeration value="Exclude" />
<xs:enumeration value="Disable" />
<xs:enumeration value="Nothing" />
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<!-- !!! INSERT CONDITION ATTRIBUTES !!! -->
<xs:attribute name="activeextension" type="xs:string" use="optional" />
<xs:attribute name="activeproject" type="xs:string" use="optional" />
<xs:attribute name="activewindow" type="xs:string" use="optional" />
<xs:attribute name="comparisonType" type="xs:string" use="optional" />
<xs:attribute name="debuggersupports" type="xs:string" use="optional" />
<xs:attribute name="equals" type="xs:string" use="optional" />
<xs:attribute name="openwindow" type="xs:string" use="optional" />
<xs:attribute name="options" type="xs:string" use="optional" />
<xs:attribute name="property" type="xs:string" use="optional" />
<xs:attribute name="string" type="xs:string" use="optional" />
<xs:attribute name="supports" type="xs:string" use="optional" />
<xs:attribute name="textcontent" type="xs:string" use="optional" />
<xs:attribute name="urlRegex" type="xs:string" use="optional" />
</xs:extension>
<xs:complexContent>
<xs:extension base="Path">
<xs:attribute name="action" use="optional">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:enumeration value="Exclude" />
<xs:enumeration value="Disable" />
<xs:enumeration value="Nothing" />
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<!-- !!! INSERT CONDITION ATTRIBUTES !!! -->
<xs:attribute name="activeextension" type="xs:string" use="optional" />
<xs:attribute name="activeproject" type="xs:string" use="optional" />
<xs:attribute name="activewindow" type="xs:string" use="optional" />
<xs:attribute name="comparisonType" type="xs:string" use="optional" />
<xs:attribute name="debuggersupports" type="xs:string" use="optional" />
<xs:attribute name="equals" type="xs:string" use="optional" />
<xs:attribute name="openwindow" type="xs:string" use="optional" />
<xs:attribute name="options" type="xs:string" use="optional" />
<xs:attribute name="property" type="xs:string" use="optional" />
<xs:attribute name="string" type="xs:string" use="optional" />
<xs:attribute name="supports" type="xs:string" use="optional" />
<xs:attribute name="textcontent" type="xs:string" use="optional" />
<xs:attribute name="urlRegex" type="xs:string" use="optional" />
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:element name="Condition" type="Condition">
<xs:annotation>
@ -139,15 +142,6 @@ @@ -139,15 +142,6 @@
</xs:annotation>
</xs:element>
<xs:complexType name="ComplexCondition">
<xs:attribute name="action" use="optional">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:enumeration value="Exclude" />
<xs:enumeration value="Disable" />
<xs:enumeration value="Nothing" />
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:choice maxOccurs="unbounded">
<xs:element ref="And" />
<xs:element ref="Or" />
@ -155,6 +149,7 @@ @@ -155,6 +149,7 @@
<!-- !!! INSERT DOOZER LIST !!! -->
<xs:element ref="Class" />
<xs:element ref="CodeCompletionBinding" />
<xs:element ref="CustomTool" />
<xs:element ref="Debugger" />
<xs:element ref="DialogPanel" />
<xs:element ref="Directory" />
@ -167,13 +162,22 @@ @@ -167,13 +162,22 @@
<xs:element ref="MenuItem" />
<xs:element ref="Pad" />
<xs:element ref="Parser" />
<xs:element ref="Registry" />
<xs:element ref="ProjectContentRegistry" />
<xs:element ref="SchemeExtension" />
<xs:element ref="String" />
<xs:element ref="SyntaxMode" />
<xs:element ref="TaskBoundAdditionalLogger" />
<xs:element ref="ToolbarItem" />
</xs:choice>
<xs:attribute name="action" use="optional">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:enumeration value="Exclude" />
<xs:enumeration value="Disable" />
<xs:enumeration value="Nothing" />
</xs:restriction>
</xs:simpleType>
</xs:attribute>
</xs:complexType>
<xs:element name="ComplexCondition" type="ComplexCondition">
<xs:annotation>
@ -267,6 +271,41 @@ @@ -267,6 +271,41 @@
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:complexType name="CustomTool">
<xs:complexContent>
<xs:extension base="AbstractCodon">
<xs:attribute name="id" use="required" type="xs:string">
<xs:annotation>
<xs:documentation>
ID used to identify the custom tool.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="class" use="required" type="xs:string">
<xs:annotation>
<xs:documentation>
Name of the ICustomTool class.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="fileNamePattern" use="optional" type="xs:string">
<xs:annotation>
<xs:documentation>
Regular expression that specifies the file names for which the custom tool
can be used. Example: "\.res(x|ources)$"
</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:element name="CustomTool" type="CustomTool">
<xs:annotation>
<xs:documentation>
Creates CustomToolDescriptor objects.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:complexType name="Debugger">
<xs:complexContent>
<xs:extension base="AbstractCodon">
@ -386,17 +425,17 @@ @@ -386,17 +425,17 @@
</xs:annotation>
</xs:attribute>
<xs:attribute name="type" use="optional">
<xs:annotation>
<xs:documentation>
Type of the display binding (either "Primary" or "Secondary"). Default: "Primary".
</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:enumeration value="Primary" />
<xs:enumeration value="Secondary" />
</xs:restriction>
</xs:simpleType>
<xs:annotation>
<xs:documentation>
Type of the display binding (either "Primary" or "Secondary"). Default: "Primary".
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="fileNamePattern" use="optional" type="xs:string">
<xs:annotation>
@ -609,6 +648,14 @@ @@ -609,6 +648,14 @@
</xs:annotation>
</xs:attribute>
<xs:attribute name="type" use="optional">
<xs:annotation>
<xs:documentation>
This attribute must be one of these values:
Separator, CheckBox, Item=Command, Menu (=with subitems),
Builder (=class implementing ISubmenuBuilder).
Default: Command.
</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:enumeration value="Separator" />
@ -619,14 +666,6 @@ @@ -619,14 +666,6 @@
<xs:enumeration value="Builder" />
</xs:restriction>
</xs:simpleType>
<xs:annotation>
<xs:documentation>
This attribute must be one of these values:
Separator, CheckBox, Item=Command, Menu (=with subitems),
Builder (=class implementing ISubmenuBuilder).
Default: Command.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="loadclasslazy" use="optional" type="xs:string">
<xs:annotation>
@ -765,7 +804,7 @@ @@ -765,7 +804,7 @@
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:complexType name="Registry">
<xs:complexType name="ProjectContentRegistry">
<xs:complexContent>
<xs:extension base="AbstractCodon">
<xs:attribute name="class" use="optional" type="xs:string">
@ -778,10 +817,10 @@ @@ -778,10 +817,10 @@
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:element name="Registry" type="Registry">
<xs:element name="ProjectContentRegistry" type="ProjectContentRegistry">
<xs:annotation>
<xs:documentation>
Creates RegistryDescriptor objects for the parsing service.
Creates ProjectContentRegistryDescriptor objects for the parsing service.
</xs:documentation>
</xs:annotation>
</xs:element>
@ -920,6 +959,12 @@ @@ -920,6 +959,12 @@
</xs:annotation>
</xs:attribute>
<xs:attribute name="type" use="optional">
<xs:annotation>
<xs:documentation>
This attribute must be one of these values:
Separator, CheckBox, Item, ComboBox, DropDownButton
</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:enumeration value="Separator" />
@ -929,12 +974,6 @@ @@ -929,12 +974,6 @@
<xs:enumeration value="DropDownButton" />
</xs:restriction>
</xs:simpleType>
<xs:annotation>
<xs:documentation>
This attribute must be one of these values:
Separator, CheckBox, Item, ComboBox, DropDownButton
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="loadclasslazy" use="optional" type="xs:string">
<xs:annotation>

26
doc/technotes/ConditionList.html

@ -5,7 +5,7 @@ @@ -5,7 +5,7 @@
</head><body>
<h1>Condition List</h1>
<p class="notice">This file was generated by the tool 'BuildAddinDocumentation'.
It is based on SharpDevelop 2.1.0.1750.</p>
It is based on SharpDevelop 2.1.0.2133.</p>
<ul>
<li><a href="#ActiveContentExtension">ActiveContentExtension</a>
<li><a href="#ActiveViewContentUntitled">ActiveViewContentUntitled</a>
@ -34,7 +34,7 @@ It is based on SharpDevelop 2.1.0.1750.</p> @@ -34,7 +34,7 @@ It is based on SharpDevelop 2.1.0.1750.</p>
<table>
<tr>
<th colspan=2>Condition name:</td>
<td>ICSharpCode.Core.ActiveContentExtensionConditionEvaluator</td>
<td>ICSharpCode.SharpDevelop.ActiveContentExtensionConditionEvaluator</td>
</tr>
<tr><td colspan=3><hr><h3>Attributes:</h3></td></tr>
<tr>
@ -56,7 +56,7 @@ It is based on SharpDevelop 2.1.0.1750.</p> @@ -56,7 +56,7 @@ It is based on SharpDevelop 2.1.0.1750.</p>
<table>
<tr>
<th colspan=2>Condition name:</td>
<td>ICSharpCode.Core.ActiveViewContentUntitledConditionEvaluator</td>
<td>ICSharpCode.SharpDevelop.ActiveViewContentUntitledConditionEvaluator</td>
</tr>
<tr>
<th colspan=2>Attributes:</td>
@ -80,7 +80,7 @@ It is based on SharpDevelop 2.1.0.1750.</p> @@ -80,7 +80,7 @@ It is based on SharpDevelop 2.1.0.1750.</p>
<table>
<tr>
<th colspan=2>Condition name:</td>
<td>ICSharpCode.Core.ActiveWindowStateConditionEvaluator</td>
<td>ICSharpCode.SharpDevelop.ActiveWindowStateConditionEvaluator</td>
</tr>
</table>
</div>
@ -121,7 +121,7 @@ It is based on SharpDevelop 2.1.0.1750.</p> @@ -121,7 +121,7 @@ It is based on SharpDevelop 2.1.0.1750.</p>
<table>
<tr>
<th colspan=2>Condition name:</td>
<td>ICSharpCode.Core.CanNavigateBackConditionEvaluator</td>
<td>ICSharpCode.SharpDevelop.CanNavigateBackConditionEvaluator</td>
</tr>
</table>
<p><span class="exampleTitle">Example: Test if the NavigationService can jump back.</span>
@ -137,7 +137,7 @@ It is based on SharpDevelop 2.1.0.1750.</p> @@ -137,7 +137,7 @@ It is based on SharpDevelop 2.1.0.1750.</p>
<table>
<tr>
<th colspan=2>Condition name:</td>
<td>ICSharpCode.Core.CanNavigateForwardConditionEvaluator</td>
<td>ICSharpCode.SharpDevelop.CanNavigateForwardConditionEvaluator</td>
</tr>
</table>
<p><span class="exampleTitle">Example: Test if the NavigationService can jump forward.</span>
@ -228,7 +228,7 @@ It is based on SharpDevelop 2.1.0.1750.</p> @@ -228,7 +228,7 @@ It is based on SharpDevelop 2.1.0.1750.</p>
<table>
<tr>
<th colspan=2>Condition name:</td>
<td>ICSharpCode.Core.DebuggerSupportsConditionEvaluator</td>
<td>ICSharpCode.SharpDevelop.Debugging.DebuggerSupportsConditionEvaluator</td>
</tr>
<tr><td colspan=3><hr><h3>Attributes:</h3></td></tr>
<tr>
@ -256,7 +256,7 @@ It is based on SharpDevelop 2.1.0.1750.</p> @@ -256,7 +256,7 @@ It is based on SharpDevelop 2.1.0.1750.</p>
<table>
<tr>
<th colspan=2>Condition name:</td>
<td>ICSharpCode.Core.IsProcessRunningConditionEvaluator</td>
<td>ICSharpCode.SharpDevelop.Debugging.IsProcessRunningConditionEvaluator</td>
</tr>
<tr>
<th colspan=2>Attributes:</td>
@ -292,7 +292,7 @@ It is based on SharpDevelop 2.1.0.1750.</p> @@ -292,7 +292,7 @@ It is based on SharpDevelop 2.1.0.1750.</p>
<table>
<tr>
<th colspan=2>Condition name:</td>
<td>ICSharpCode.Core.OpenWindowStateConditionEvaluator</td>
<td>ICSharpCode.SharpDevelop.OpenWindowStateConditionEvaluator</td>
</tr>
</table>
</div>
@ -320,7 +320,7 @@ It is based on SharpDevelop 2.1.0.1750.</p> @@ -320,7 +320,7 @@ It is based on SharpDevelop 2.1.0.1750.</p>
<table>
<tr>
<th colspan=2>Condition name:</td>
<td>ICSharpCode.Core.ProjectActiveConditionEvaluator</td>
<td>ICSharpCode.SharpDevelop.ProjectActiveConditionEvaluator</td>
</tr>
<tr><td colspan=3><hr><h3>Attributes:</h3></td></tr>
<tr>
@ -373,7 +373,7 @@ It is based on SharpDevelop 2.1.0.1750.</p> @@ -373,7 +373,7 @@ It is based on SharpDevelop 2.1.0.1750.</p>
<table>
<tr>
<th colspan=2>Condition name:</td>
<td>ICSharpCode.Core.SolutionOpenConditionEvaluator</td>
<td>ICSharpCode.SharpDevelop.SolutionOpenConditionEvaluator</td>
</tr>
</table>
<p><span class="exampleTitle">Example: Test if a solution is opened</span>
@ -410,7 +410,7 @@ It is based on SharpDevelop 2.1.0.1750.</p> @@ -410,7 +410,7 @@ It is based on SharpDevelop 2.1.0.1750.</p>
<table>
<tr>
<th colspan=2>Condition name:</td>
<td>ICSharpCode.Core.WindowActiveConditionEvaluator</td>
<td>ICSharpCode.SharpDevelop.WindowActiveConditionEvaluator</td>
</tr>
<tr><td colspan=3><hr><h3>Attributes:</h3></td></tr>
<tr>
@ -438,7 +438,7 @@ It is based on SharpDevelop 2.1.0.1750.</p> @@ -438,7 +438,7 @@ It is based on SharpDevelop 2.1.0.1750.</p>
<table>
<tr>
<th colspan=2>Condition name:</td>
<td>ICSharpCode.Core.WindowOpenConditionEvaluator</td>
<td>ICSharpCode.SharpDevelop.WindowOpenConditionEvaluator</td>
</tr>
<tr><td colspan=3><hr><h3>Attributes:</h3></td></tr>
<tr>

76
doc/technotes/DoozerList.html

@ -5,10 +5,11 @@ @@ -5,10 +5,11 @@
</head><body>
<h1>Doozer List</h1>
<p class="notice">This file was generated by the tool 'BuildAddinDocumentation'.
It is based on SharpDevelop 2.1.0.1750.</p>
It is based on SharpDevelop 2.1.0.2133.</p>
<ul>
<li><a href="#Class">Class</a>
<li><a href="#CodeCompletionBinding">CodeCompletionBinding</a>
<li><a href="#CustomTool">CustomTool</a>
<li><a href="#Debugger">Debugger</a>
<li><a href="#DialogPanel">DialogPanel</a>
<li><a href="#Directory">Directory</a>
@ -21,7 +22,7 @@ It is based on SharpDevelop 2.1.0.1750.</p> @@ -21,7 +22,7 @@ It is based on SharpDevelop 2.1.0.1750.</p>
<li><a href="#MenuItem">MenuItem</a>
<li><a href="#Pad">Pad</a>
<li><a href="#Parser">Parser</a>
<li><a href="#Registry">Registry</a>
<li><a href="#ProjectContentRegistry">ProjectContentRegistry</a>
<li><a href="#SchemeExtension">SchemeExtension</a>
<li><a href="#String">String</a>
<li><a href="#SyntaxMode">SyntaxMode</a>
@ -101,6 +102,59 @@ It is based on SharpDevelop 2.1.0.1750.</p> @@ -101,6 +102,59 @@ It is based on SharpDevelop 2.1.0.1750.</p>
</tr>
</table>
</div>
<div>
<h2><a name="CustomTool">CustomTool</a></h2>
<p>
Creates CustomToolDescriptor objects.
</p>
<table>
<tr>
<th colspan=2>Doozer name:</td>
<td>ICSharpCode.SharpDevelop.Project.CustomToolDoozer</td>
</tr>
<tr><td colspan=3><hr><h3>Attributes:</h3></td></tr>
<tr>
<th>id:</td>
<td class="userequired">required</td>
<td>
ID used to identify the custom tool.
</td>
</tr>
<tr>
<th>class:</td>
<td class="userequired">required</td>
<td>
Name of the ICustomTool class.
</td>
</tr>
<tr>
<th>fileNamePattern:</td>
<td class="userequired">optional</td>
<td>
Regular expression that specifies the file names for which the custom tool
can be used. Example: "\.res(x|ources)$"
</td>
</tr>
<tr><td colspan=3><hr></td></tr>
<tr>
<th colspan=2>Usage:</td>
<td>Only in /SharpDevelop/CustomTools</td>
</tr>
<tr>
<th colspan=2>Returns:</td>
<td>
An CustomToolDescriptor object that wraps a ICustomTool object.
</td>
</tr>
</table>
<p><span class="exampleTitle">Example: Strongly typed resource generator</span>
<br><pre>
&lt;Path name = "/SharpDevelop/CustomTools"&gt;
&lt;CustomTool id = "ResXFileCodeGenerator"
class = "ResourceEditor.ResourceCodeGeneratorTool"
fileNamePattern = "\.res(x|ources)$"/&gt;
&lt;/Path&gt;</pre></p>
</div>
<div>
<h2><a name="Debugger">Debugger</a></h2>
<p>
@ -109,7 +163,7 @@ It is based on SharpDevelop 2.1.0.1750.</p> @@ -109,7 +163,7 @@ It is based on SharpDevelop 2.1.0.1750.</p>
<table>
<tr>
<th colspan=2>Doozer name:</td>
<td>ICSharpCode.Core.DebuggerDoozer</td>
<td>ICSharpCode.SharpDevelop.Debugging.DebuggerDoozer</td>
</tr>
<tr><td colspan=3><hr><h3>Attributes:</h3></td></tr>
<tr>
@ -175,7 +229,7 @@ It is based on SharpDevelop 2.1.0.1750.</p> @@ -175,7 +229,7 @@ It is based on SharpDevelop 2.1.0.1750.</p>
<table>
<tr>
<th colspan=2>Doozer name:</td>
<td>ICSharpCode.Core.DialogPanelDoozer</td>
<td>ICSharpCode.SharpDevelop.DialogPanelDoozer</td>
</tr>
<tr><td colspan=3><hr><h3>Attributes:</h3></td></tr>
<tr>
@ -219,7 +273,7 @@ It is based on SharpDevelop 2.1.0.1750.</p> @@ -219,7 +273,7 @@ It is based on SharpDevelop 2.1.0.1750.</p>
<table>
<tr>
<th colspan=2>Doozer name:</td>
<td>ICSharpCode.Core.DirectoryDoozer</td>
<td>ICSharpCode.SharpDevelop.DirectoryDoozer</td>
</tr>
<tr><td colspan=3><hr><h3>Attributes:</h3></td></tr>
<tr>
@ -254,7 +308,7 @@ It is based on SharpDevelop 2.1.0.1750.</p> @@ -254,7 +308,7 @@ It is based on SharpDevelop 2.1.0.1750.</p>
<table>
<tr>
<th colspan=2>Doozer name:</td>
<td>ICSharpCode.Core.DisplayBindingDoozer</td>
<td>ICSharpCode.SharpDevelop.DisplayBindingDoozer</td>
</tr>
<tr><td colspan=3><hr><h3>Attributes:</h3></td></tr>
<tr>
@ -490,7 +544,7 @@ It is based on SharpDevelop 2.1.0.1750.</p> @@ -490,7 +544,7 @@ It is based on SharpDevelop 2.1.0.1750.</p>
<table>
<tr>
<th colspan=2>Doozer name:</td>
<td>ICSharpCode.Core.LanguageBindingDoozer</td>
<td>ICSharpCode.SharpDevelop.LanguageBindingDoozer</td>
</tr>
<tr><td colspan=3><hr><h3>Attributes:</h3></td></tr>
<tr>
@ -631,7 +685,7 @@ It is based on SharpDevelop 2.1.0.1750.</p> @@ -631,7 +685,7 @@ It is based on SharpDevelop 2.1.0.1750.</p>
<table>
<tr>
<th colspan=2>Doozer name:</td>
<td>ICSharpCode.Core.PadDoozer</td>
<td>ICSharpCode.SharpDevelop.PadDoozer</td>
</tr>
<tr><td colspan=3><hr><h3>Attributes:</h3></td></tr>
<tr>
@ -732,14 +786,14 @@ It is based on SharpDevelop 2.1.0.1750.</p> @@ -732,14 +786,14 @@ It is based on SharpDevelop 2.1.0.1750.</p>
</table>
</div>
<div>
<h2><a name="Registry">Registry</a></h2>
<h2><a name="ProjectContentRegistry">ProjectContentRegistry</a></h2>
<p>
Creates RegistryDescriptor objects for the parsing service.
Creates ProjectContentRegistryDescriptor objects for the parsing service.
</p>
<table>
<tr>
<th colspan=2>Doozer name:</td>
<td>ICSharpCode.SharpDevelop.RegistryDoozer</td>
<td>ICSharpCode.SharpDevelop.ProjectContentRegistryDoozer</td>
</tr>
<tr><td colspan=3><hr><h3>Attributes:</h3></td></tr>
<tr>

11
src/Tools/BuildAddinDocumentation/MainClass.cs

@ -164,7 +164,7 @@ namespace BuildAddinDocumentation @@ -164,7 +164,7 @@ namespace BuildAddinDocumentation
foreach (string child in doozer["children"].GetAttribute("childTypes").Split(';')) {
CreateChild(choice, "element").SetAttribute("ref", child);
}
CreateChild(choice, "element").SetAttribute("ref", "Include");
CreateChild(choice, "element").SetAttribute("ref", "Include");
}
foreach (XmlElement doozerChild in doozer) {
if (doozerChild.Name != "attribute")
@ -175,7 +175,13 @@ namespace BuildAddinDocumentation @@ -175,7 +175,13 @@ namespace BuildAddinDocumentation
e4.SetAttribute("use", "required");
else
e4.SetAttribute("use", "optional");
XmlElement e5, e6;
e5 = CreateChild(e4, "annotation");
e6 = CreateChild(e5, "documentation");
e6.InnerXml = XmlToHtml(doozerChild.InnerXml).Replace(" ", "\t");
if (!doozerChild.HasAttribute("enum")) {
e4.SetAttribute("type", "xs:string");
} else {
@ -186,9 +192,6 @@ namespace BuildAddinDocumentation @@ -186,9 +192,6 @@ namespace BuildAddinDocumentation
CreateChild(e6, "enumeration").SetAttribute("value", val);
}
}
e5 = CreateChild(e4, "annotation");
e6 = CreateChild(e5, "documentation");
e6.InnerXml = XmlToHtml(doozerChild.InnerXml).Replace(" ", "\t");
}
e = CreateChild(doc.DocumentElement, "element");
e.SetAttribute("name", doozer.GetAttribute("shortname"));

Loading…
Cancel
Save