diff options
Diffstat (limited to 'debug/org.eclipse.cdt.debug.core/schema/BreakpointExtension.exsd')
-rw-r--r-- | debug/org.eclipse.cdt.debug.core/schema/BreakpointExtension.exsd | 127 |
1 files changed, 127 insertions, 0 deletions
diff --git a/debug/org.eclipse.cdt.debug.core/schema/BreakpointExtension.exsd b/debug/org.eclipse.cdt.debug.core/schema/BreakpointExtension.exsd new file mode 100644 index 00000000000..294b1dbc8e0 --- /dev/null +++ b/debug/org.eclipse.cdt.debug.core/schema/BreakpointExtension.exsd @@ -0,0 +1,127 @@ +<?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="BreakpointExtension" name="BreakpointExtension"/> + </appInfo> + <documentation> + This extension point defines a mechanism for defining a debug model specific extension to C breakpoints. + </documentation> + </annotation> + + <element name="extension"> + <complexType> + <sequence> + <element ref="breakpointExtension" minOccurs="0" maxOccurs="unbounded"/> + </sequence> + <attribute name="point" type="string" use="required"> + <annotation> + <documentation> + 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 + </documentation> + </annotation> + </attribute> + <attribute name="name" type="string"> + <annotation> + <documentation> + an optional name of the extension instance + </documentation> + </annotation> + </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. + </documentation> + </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 + </documentation> + </annotation> + </attribute> + <attribute name="class" type="string" use="required"> + <annotation> + <documentation> + specifies the fully qualified name of the Java class that implements <code>ICBreakpointExtension</code>. + </documentation> + <appInfo> + <meta.attribute kind="java" basedOn=":org.eclipse.cdt.debug.core.model.ICBreakpointExtension"/> + </appInfo> + </annotation> + </attribute> + <attribute name="debugModelId" type="string" use="required"> + <annotation> + <documentation> + specifies the fully qualified identifer (id) of the debug model that this extension applies to + </documentation> + </annotation> + </attribute> + </complexType> + </element> + + + <annotation> + <appInfo> + <meta.section type="examples"/> + </appInfo> + <documentation> + The following is an example of a breakpoint extension extension point. + +<p> +<pre> + <extension point="org.eclipse.cdt.debug.BreakpointExtension"> + <breakpointExtension + id="com.example.ExampleBreakpointExtension" + markerType="com.example.ExampleBreakpointMarker" + debugModeId="com.example.debug" + class="com.example.BreakpointExtensionImpl"> + </breakpointExtension> + </extension> +</pre> +</p> + +In the example above, the specified type of breakpoint extension is implemented by the class "com.example.BreakpointExtensionImpl". +This extension is going to apply to breakpoints with markers extending "com.example.ExampleBreakpointMarker", and to debug model with ID of "com.example.debug". + </documentation> + </annotation> + + <annotation> + <appInfo> + <meta.section type="apiInfo"/> + </appInfo> + <documentation> + Value of the attribute <b>class</b> must be a fully qualified name of a Java class that implements the interface <b>org.eclipse.cdt.debug.core.model.ICBreakpointExtension</b>, and which supplies a constructor with a single argument of type <b>org.eclipse.cdt.debug.core.model.ICBreakpoint</b>. + </documentation> + </annotation> + + + <annotation> + <appInfo> + <meta.section type="copyright"/> + </appInfo> + <documentation> + Copyright (c) 2007 Wind River Systems and others.<br> +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 +<a href="http://www.eclipse.org/legal/epl-v10.html">http://www.eclipse.org/legal/epl-v10.html</a> + </documentation> + </annotation> + +</schema> |