1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-23 22:52:11 +02:00

Revert "[bug 417138] Various schema cleanups in cdt.debug.*"

This reverts commit 9e3da43fe5.
This commit is contained in:
Sergey Prigogin 2013-09-13 09:48:33 -07:00
parent 10a7fa2f66
commit 21a3e327a7
8 changed files with 240 additions and 173 deletions

View file

@ -1,70 +1,106 @@
<?xml version='1.0' encoding='UTF-8'?>
<!-- Schema file written by PDE -->
<schema targetNamespace="org.eclipse.cdt.debug.core" xmlns="http://www.w3.org/2001/XMLSchema">
<annotation>
<appInfo>
<meta.schema plugin="org.eclipse.cdt.debug.core" id="BreakpointActionType" name="BreakpointActionType"/>
</appInfo>
<documentation>
Extension to provide additional actions to execute when a breakpoint is hit.
</documentation>
</annotation>
<element name="extension">
<annotation>
<appInfo>
<meta.element />
</appInfo>
</annotation>
<complexType>
<sequence>
<element ref="actionType"/>
</sequence>
<attribute name="point" type="string" use="required">
<annotation>
<documentation>
</documentation>
</annotation>
</attribute>
</complexType>
</element>
<element name="actionType">
<complexType>
<attribute name="id" type="string">
<annotation>
<documentation>
</documentation>
</annotation>
</attribute>
<attribute name="name" type="string">
<annotation>
<documentation>
</documentation>
<appInfo>
<meta.attribute translatable="true"/>
</appInfo>
</annotation>
</attribute>
<attribute name="class" type="string">
<annotation>
<documentation>
</documentation>
<appInfo>
<meta.attribute kind="java" basedOn=":org.eclipse.cdt.debug.core.breakpointactions.IBreakpointAction"/>
</appInfo>
</annotation>
</attribute>
</complexType>
</element>
<annotation>
<appInfo>
<meta.section type="copyright"/>
</appInfo>
<documentation>
Copyright (c) 2007 Nokia and others.
All rights reserved. This program and the accompanying materials
are made available under the terms of the Eclipse Public License v1.0
which accompanies this distribution, and is available at
http://www.eclipse.org/legal/epl-v10.html
</documentation>
</annotation>
</schema>
<?xml version='1.0' encoding='UTF-8'?>
<!-- Schema file written by PDE -->
<schema targetNamespace="org.eclipse.cdt.debug.core">
<annotation>
<appInfo>
<meta.schema plugin="org.eclipse.cdt.debug.core" id="BreakpointActionType" name="BreakpointActionType"/>
</appInfo>
<documentation>
Extension to provide additional actions to execute when a breakpoint is hit.
</documentation>
</annotation>
<element name="extension">
<complexType>
<sequence>
<element ref="actionType"/>
</sequence>
<attribute name="point" type="string" use="required">
<annotation>
<documentation>
</documentation>
</annotation>
</attribute>
</complexType>
</element>
<element name="actionType">
<complexType>
<attribute name="id" type="string">
<annotation>
<documentation>
</documentation>
</annotation>
</attribute>
<attribute name="name" type="string">
<annotation>
<documentation>
</documentation>
<appInfo>
<meta.attribute translatable="true"/>
</appInfo>
</annotation>
</attribute>
<attribute name="class" type="string">
<annotation>
<documentation>
</documentation>
</annotation>
</attribute>
</complexType>
</element>
<annotation>
<appInfo>
<meta.section type="since"/>
</appInfo>
<documentation>
[Enter the first release in which this extension point appears.]
</documentation>
</annotation>
<annotation>
<appInfo>
<meta.section type="examples"/>
</appInfo>
<documentation>
[Enter extension point usage example here.]
</documentation>
</annotation>
<annotation>
<appInfo>
<meta.section type="apiInfo"/>
</appInfo>
<documentation>
[Enter API information here.]
</documentation>
</annotation>
<annotation>
<appInfo>
<meta.section type="implementation"/>
</appInfo>
<documentation>
[Enter information about supplied implementation of this extension point.]
</documentation>
</annotation>
<annotation>
<appInfo>
<meta.section type="copyright"/>
</appInfo>
<documentation>
Copyright (c) 2007 Nokia and others.
All rights reserved. This program and the accompanying materials
are made available under the terms of the Eclipse Public License v1.0
which accompanies this distribution, and is available at
http://www.eclipse.org/legal/epl-v10.html
</documentation>
</annotation>
</schema>

View file

@ -1,6 +1,6 @@
<?xml version='1.0' encoding='UTF-8'?>
<!-- Schema file written by PDE -->
<schema targetNamespace="org.eclipse.cdt.debug.core" xmlns="http://www.w3.org/2001/XMLSchema">
<schema targetNamespace="org.eclipse.cdt.debug.core">
<annotation>
<appInfo>
<meta.schema plugin="org.eclipse.cdt.debug.core" id="BreakpointExtension" name="BreakpointExtension"/>
@ -9,12 +9,8 @@
This extension point defines a mechanism for defining a debug model specific extension to C breakpoints.
</documentation>
</annotation>
<element name="extension">
<annotation>
<appInfo>
<meta.element />
</appInfo>
</annotation>
<complexType>
<sequence>
<element ref="breakpointExtension" minOccurs="0" maxOccurs="unbounded"/>
@ -42,32 +38,27 @@
</attribute>
</complexType>
</element>
<element name="breakpointExtension">
<complexType>
<attribute name="id" type="string" use="required">
<annotation>
<documentation>
Specifies a unique identifier for this breakpoint extension type.
specifies a unique identifier for this breakpoint extension type.
</documentation>
<appInfo>
<meta.attribute kind="identifier"/>
</appInfo>
</annotation>
</attribute>
<attribute name="markerType" type="string" use="required">
<annotation>
<documentation>
Specifies the fully qualified identifier (id) of the corresponding marker definition for breakpoints that this extension applies to.
specifies the fully qualified identifier (id) of the corresponding marker definition for breakpoints that this extension applies to
</documentation>
<appInfo>
<meta.attribute kind="identifier"/>
</appInfo>
</annotation>
</attribute>
<attribute name="class" type="string" use="required">
<annotation>
<documentation>
Specifies the fully qualified name of the Java class that implements &lt;code&gt;ICBreakpointExtension&lt;/code&gt;.
specifies the fully qualified name of the Java class that implements &lt;code&gt;ICBreakpointExtension&lt;/code&gt;.
</documentation>
<appInfo>
<meta.attribute kind="java" basedOn=":org.eclipse.cdt.debug.core.model.ICBreakpointExtension"/>
@ -77,35 +68,14 @@
<attribute name="debugModelId" type="string" use="required">
<annotation>
<documentation>
Specifies the fully qualified identifer (id) of the debug model that this extension applies to.
specifies the fully qualified identifer (id) of the debug model that this extension applies to
</documentation>
<appInfo>
<meta.attribute kind="identifier"/>
</appInfo>
</annotation>
</attribute>
</complexType>
</element>
<annotation>
<appInfo>
<meta.section type="copyright"/>
</appInfo>
<documentation>
Copyright (c) 2007 Wind River Systems and others.&lt;br&gt;
All rights reserved. This program and the accompanying materials
are made available under the terms of the Eclipse Public License v1.0
which accompanies this distribution, and is available at
&lt;a href=&quot;http://www.eclipse.org/legal/epl-v10.html&quot;&gt;http://www.eclipse.org/legal/epl-v10.html&lt;/a&gt;
</documentation>
</annotation>
<annotation>
<appInfo>
<meta.section type="apiInfo"/>
</appInfo>
<documentation>
Value of the attribute &lt;b&gt;class&lt;/b&gt; must be a fully qualified name of a Java class that implements the interface &lt;b&gt;org.eclipse.cdt.debug.core.model.ICBreakpointExtension&lt;/b&gt;, and which supplies a constructor with a single argument of type &lt;b&gt;org.eclipse.cdt.debug.core.model.ICBreakpoint&lt;/b&gt;.
</documentation>
</annotation>
<annotation>
<appInfo>
<meta.section type="examples"/>
@ -130,4 +100,28 @@ In the example above, the specified type of breakpoint extension is implemented
This extension is going to apply to breakpoints with markers extending &quot;com.example.ExampleBreakpointMarker&quot;, and to debug model with ID of &quot;com.example.debug&quot;.
</documentation>
</annotation>
<annotation>
<appInfo>
<meta.section type="apiInfo"/>
</appInfo>
<documentation>
Value of the attribute &lt;b&gt;class&lt;/b&gt; must be a fully qualified name of a Java class that implements the interface &lt;b&gt;org.eclipse.cdt.debug.core.model.ICBreakpointExtension&lt;/b&gt;, and which supplies a constructor with a single argument of type &lt;b&gt;org.eclipse.cdt.debug.core.model.ICBreakpoint&lt;/b&gt;.
</documentation>
</annotation>
<annotation>
<appInfo>
<meta.section type="copyright"/>
</appInfo>
<documentation>
Copyright (c) 2007 Wind River Systems and others.&lt;br&gt;
All rights reserved. This program and the accompanying materials
are made available under the terms of the Eclipse Public License v1.0
which accompanies this distribution, and is available at
&lt;a href=&quot;http://www.eclipse.org/legal/epl-v10.html&quot;&gt;http://www.eclipse.org/legal/epl-v10.html&lt;/a&gt;
</documentation>
</annotation>
</schema>

76
debug/org.eclipse.cdt.debug.core/schema/CDebugger.exsd Executable file → Normal file
View file

@ -1,20 +1,16 @@
<?xml version='1.0' encoding='UTF-8'?>
<!-- Schema file written by PDE -->
<schema targetNamespace="org.eclipse.cdt.debug.core" xmlns="http://www.w3.org/2001/XMLSchema">
<schema targetNamespace="org.eclipse.cdt.debug.core">
<annotation>
<appInfo>
<meta.schema plugin="org.eclipse.cdt.debug.core" id="CDebugger" name="CDebugger"/>
</appInfo>
<documentation>
[Enter description of this extension point]
</documentation>
</annotation>
<element name="extension">
<annotation>
<appInfo>
<meta.element />
</appInfo>
</annotation>
<complexType>
<sequence>
<element ref="debugger" minOccurs="1" maxOccurs="unbounded"/>
@ -22,26 +18,27 @@
<attribute name="point" type="string" use="required">
<annotation>
<documentation>
A fully qualified identifier of the target extension point
a fully qualified identifier of the target extension point
</documentation>
</annotation>
</attribute>
<attribute name="id" type="string">
<annotation>
<documentation>
An optional identifier of the extension instance
an optional identifier of the extension instance
</documentation>
</annotation>
</attribute>
<attribute name="name" type="string">
<annotation>
<documentation>
An optional name of the extension instance
an optional name of the extension instance
</documentation>
</annotation>
</attribute>
</complexType>
</element>
<element name="debugger">
<complexType>
<sequence>
@ -50,39 +47,21 @@
<attribute name="name" type="string" use="required">
<annotation>
<documentation>
Specifies the debugger&apos;s name
specifies the debugger&apos;s name
</documentation>
</annotation>
</attribute>
<attribute name="modes">
<attribute name="modes" type="string">
<annotation>
<documentation>
Specifies the comma separated list of debugging modes (attach,core,run).
specifies the comma separated list of debugging modes (run,core,attach).
</documentation>
</annotation>
<simpleType>
<restriction base="string">
<enumeration value="attach">
</enumeration>
<enumeration value="core">
</enumeration>
<enumeration value="run">
</enumeration>
<enumeration value="attach,core">
</enumeration>
<enumeration value="attach,run">
</enumeration>
<enumeration value="core,run">
</enumeration>
<enumeration value="attach,core,run">
</enumeration>
</restriction>
</simpleType>
</attribute>
<attribute name="class" type="string" use="required">
<annotation>
<documentation>
Specifies a fully qualified name of a Java class that implements &lt;code&gt;ICDIDebugger2&lt;/code&gt;
specifies a fully qualified name of a Java class that implements &amp;lt;code&amp;gt;ICDIDebugger2&amp;lt;/code&amp;gt;
</documentation>
<appInfo>
<meta.attribute kind="java" basedOn="org.eclipse.cdt.debug.core.ICDIDebugger2"/>
@ -94,9 +73,6 @@
<documentation>
specifies a unique identifier for this debugger.
</documentation>
<appInfo>
<meta.attribute kind="identifier"/>
</appInfo>
</annotation>
</attribute>
<attribute name="platform" type="string">
@ -122,6 +98,7 @@
</attribute>
</complexType>
</element>
<element name="buildIdPattern">
<complexType>
<attribute name="pattern" type="string">
@ -133,6 +110,34 @@
</attribute>
</complexType>
</element>
<annotation>
<appInfo>
<meta.section type="examples"/>
</appInfo>
<documentation>
[Enter extension point usage example here.]
</documentation>
</annotation>
<annotation>
<appInfo>
<meta.section type="apiInfo"/>
</appInfo>
<documentation>
[Enter API information here.]
</documentation>
</annotation>
<annotation>
<appInfo>
<meta.section type="implementation"/>
</appInfo>
<documentation>
[Enter information about supplied implementation of this extension point.]
</documentation>
</annotation>
<annotation>
<appInfo>
<meta.section type="copyright"/>
@ -145,4 +150,5 @@ which accompanies this distribution, and is available at
http://www.eclipse.org/legal/epl-v10.html
</documentation>
</annotation>
</schema>

View file

@ -6,9 +6,10 @@
<meta.schema plugin="org.eclipse.cdt.debug.core" id="ExecutablesImporter" name="Executables Importer"/>
</appinfo>
<documentation>
This extension point allows you to extend the executables manager in CDT by providing your own executables importer.
This extension points allows you to extened the executables manager in CDT by providing your own executables importer.
</documentation>
</annotation>
<element name="extension">
<annotation>
<appinfo>
@ -45,6 +46,7 @@
</attribute>
</complexType>
</element>
<element name="importer">
<complexType>
<attribute name="class" type="string" use="required">
@ -59,6 +61,7 @@
</attribute>
</complexType>
</element>
<annotation>
<appinfo>
<meta.section type="since"/>
@ -67,6 +70,7 @@
CDT 7.0
</documentation>
</annotation>
<annotation>
<appinfo>
<meta.section type="examples"/>
@ -78,4 +82,5 @@
&lt;/extension&gt;
</documentation>
</annotation>
</schema>

View file

@ -2,18 +2,19 @@
<!-- Schema file written by PDE -->
<schema targetNamespace="org.eclipse.cdt.debug.core" xmlns="http://www.w3.org/2001/XMLSchema">
<annotation>
<appInfo>
<appinfo>
<meta.schema plugin="org.eclipse.cdt.debug.core" id="ExecutablesProvider" name="Executables Provider"/>
</appInfo>
</appinfo>
<documentation>
This extension point allows you to extend the executables manager in CDT by providing your own executables provider for certain types of projects.
This extension points allows you to extened the executables manager in CDT by providing your own executables provider for certain types of projects.
</documentation>
</annotation>
<element name="extension">
<annotation>
<appInfo>
<appinfo>
<meta.element />
</appInfo>
</appinfo>
</annotation>
<complexType>
<sequence>
@ -38,13 +39,14 @@
<documentation>
</documentation>
<appInfo>
<appinfo>
<meta.attribute translatable="true"/>
</appInfo>
</appinfo>
</annotation>
</attribute>
</complexType>
</element>
<element name="provider">
<complexType>
<attribute name="class" type="string" use="required">
@ -52,25 +54,27 @@
<documentation>
</documentation>
<appInfo>
<appinfo>
<meta.attribute kind="java" basedOn="org.eclipse.cdt.debug.core.executables.IProjectExecutablesProvider"/>
</appInfo>
</appinfo>
</annotation>
</attribute>
</complexType>
</element>
<annotation>
<appInfo>
<appinfo>
<meta.section type="since"/>
</appInfo>
</appinfo>
<documentation>
CDT 7.0
</documentation>
</annotation>
<annotation>
<appInfo>
<appinfo>
<meta.section type="examples"/>
</appInfo>
</appinfo>
<documentation>
&lt;extension
point=&quot;org.eclipse.cdt.debug.core.ExecutablesProvider&quot;&gt;
@ -78,4 +82,5 @@
&lt;/extension&gt;
</documentation>
</annotation>
</schema>

View file

@ -2,18 +2,19 @@
<!-- Schema file written by PDE -->
<schema targetNamespace="org.eclipse.cdt.debug.core" xmlns="http://www.w3.org/2001/XMLSchema">
<annotation>
<appInfo>
<appinfo>
<meta.schema plugin="org.eclipse.cdt.debug.core" id="SourceFilesProvider" name="Source Files Provider"/>
</appInfo>
</appinfo>
<documentation>
This extension point allows you to extend the executables manager in CDT by providing your own source files provider for certain types of executables.
This extension points allows you to extened the executables manager in CDT by providing your own source files provider for certain types of executables.
</documentation>
</annotation>
<element name="extension">
<annotation>
<appInfo>
<appinfo>
<meta.element />
</appInfo>
</appinfo>
</annotation>
<complexType>
<sequence>
@ -38,13 +39,14 @@
<documentation>
</documentation>
<appInfo>
<appinfo>
<meta.attribute translatable="true"/>
</appInfo>
</appinfo>
</annotation>
</attribute>
</complexType>
</element>
<element name="provider">
<complexType>
<attribute name="class" type="string" use="required">
@ -52,25 +54,27 @@
<documentation>
</documentation>
<appInfo>
<appinfo>
<meta.attribute kind="java" basedOn="org.eclipse.cdt.debug.core.executables.ISourceFilesProvider"/>
</appInfo>
</appinfo>
</annotation>
</attribute>
</complexType>
</element>
<annotation>
<appInfo>
<appinfo>
<meta.section type="since"/>
</appInfo>
</appinfo>
<documentation>
CDT 7.0
</documentation>
</annotation>
<annotation>
<appInfo>
<appinfo>
<meta.section type="examples"/>
</appInfo>
</appinfo>
<documentation>
&lt;extension
point=&quot;org.eclipse.cdt.debug.core.SourceFilesProvider&quot;&gt;
@ -78,4 +82,5 @@
&lt;/extension&gt;
</documentation>
</annotation>
</schema>

View file

@ -6,9 +6,10 @@
<meta.schema plugin="org.eclipse.cdt.debug.core" id="SourceRemappingProvider" name="Source Remapping Provider"/>
</appInfo>
<documentation>
This extension point allows you to extend the executables manager in CDT by providing your own source remapping provider.
This extension points allows you to extened the executables manager in CDT by providing your own source remapping provider.
</documentation>
</annotation>
<element name="extension">
<annotation>
<appInfo>
@ -45,6 +46,7 @@
</attribute>
</complexType>
</element>
<element name="provider">
<complexType>
<attribute name="class" type="string" use="required">
@ -59,6 +61,7 @@
</attribute>
</complexType>
</element>
<annotation>
<appInfo>
<meta.section type="since"/>
@ -67,6 +70,7 @@
CDT 7.0
</documentation>
</annotation>
<annotation>
<appInfo>
<meta.section type="examples"/>
@ -78,4 +82,8 @@
&lt;/extension&gt;
</documentation>
</annotation>
</schema>

View file

@ -6,9 +6,10 @@
<meta.schema plugin="org.eclipse.cdt.debug.core" id="supportedSourceContainerTypes" name="C/C++ Supported Source Container Types Extension"/>
</appInfo>
<documentation>
This extension point provides a mechanism for contributing source container types to the preference page &quot;C/C++ / Debug / Common Source Lookup Path&quot;.
The extension point provides a mechanism for contributing source container types to the preference page &quot;C/C++, Debug,Common Source Lookup Path&quot;.
</documentation>
</annotation>
<element name="extension">
<annotation>
<appInfo>
@ -45,6 +46,7 @@
</attribute>
</complexType>
</element>
<element name="sourceContainer">
<complexType>
<attribute name="id" type="string" use="required">
@ -59,6 +61,8 @@
</attribute>
</complexType>
</element>
<annotation>
<appInfo>
<meta.section type="examples"/>
@ -74,6 +78,7 @@
&lt;/pre&gt;
</documentation>
</annotation>
<annotation>
<appInfo>
<meta.section type="apiinfo"/>
@ -82,6 +87,8 @@
Value of the attribute id must be a contribution to the extension point &quot;org.eclipse.debug.core.sourceContainerTypes&quot;.
</documentation>
</annotation>
<annotation>
<appInfo>
<meta.section type="copyright"/>
@ -94,4 +101,5 @@ which accompanies this distribution, and is available at
http://www.eclipse.org/legal/epl-v10.html
</documentation>
</annotation>
</schema>