diff options
author | Alena Laskavaia | 2008-04-25 17:39:32 +0000 |
---|---|---|
committer | Alena Laskavaia | 2008-04-25 17:39:32 +0000 |
commit | 8c037f0524fac2c69e6be9110f2bdcb21c2c5713 (patch) | |
tree | 78b1c108cf858fa0d91849b34fed9d2018323850 /debug/org.eclipse.cdt.debug.ui/schema | |
parent | 7478712fa29a874c6eafb484169c5d2826d6caa5 (diff) | |
download | org.eclipse.cdt-8c037f0524fac2c69e6be9110f2bdcb21c2c5713.tar.gz org.eclipse.cdt-8c037f0524fac2c69e6be9110f2bdcb21c2c5713.tar.xz org.eclipse.cdt-8c037f0524fac2c69e6be9110f2bdcb21c2c5713.zip |
bug 226689 - catchpoint support
Diffstat (limited to 'debug/org.eclipse.cdt.debug.ui/schema')
-rw-r--r-- | debug/org.eclipse.cdt.debug.ui/schema/BreakpointUIContribution.exsd | 196 |
1 files changed, 196 insertions, 0 deletions
diff --git a/debug/org.eclipse.cdt.debug.ui/schema/BreakpointUIContribution.exsd b/debug/org.eclipse.cdt.debug.ui/schema/BreakpointUIContribution.exsd new file mode 100644 index 00000000000..85dd1dc6465 --- /dev/null +++ b/debug/org.eclipse.cdt.debug.ui/schema/BreakpointUIContribution.exsd @@ -0,0 +1,196 @@ +<?xml version='1.0' encoding='UTF-8'?> +<!-- Schema file written by PDE --> +<schema targetNamespace="org.eclipse.cdt.debug.ui" xmlns="http://www.w3.org/2001/XMLSchema"> +<annotation> + <appinfo> + <meta.schema plugin="org.eclipse.cdt.debug.ui" id="breakpointContribution" name="Breakpoint UI Contribution"/> + </appinfo> + <documentation> + This extension point provides a mechanism for contributing UI to view and edit breakpoint attributes. + </documentation> + </annotation> + + <element name="extension"> + <complexType> + <sequence minOccurs="1" maxOccurs="unbounded"> + <element ref="breakpointLabels"/> + </sequence> + <attribute name="point" type="string" use="required"> + <annotation> + <documentation> + + </documentation> + </annotation> + </attribute> + <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> + </complexType> + </element> + + <element name="breakpointLabels"> + <complexType> + <sequence minOccurs="0" maxOccurs="unbounded"> + <element ref="attribute"/> + </sequence> + <attribute name="markerType" type="string"> + <annotation> + <documentation> + marker type for which attribute labels are applied + </documentation> + <appinfo> + <meta.attribute kind="identifier"/> + </appinfo> + </annotation> + </attribute> + <attribute name="debugModelId" type="string"> + <annotation> + <documentation> + debug model Id for this extension is valid +(debugModelId is a property of cbreakpoint) + </documentation> + <appinfo> + <meta.attribute kind="identifier"/> + </appinfo> + </annotation> + </attribute> + </complexType> + </element> + + <element name="attribute"> + <complexType> + <sequence minOccurs="0" maxOccurs="unbounded"> + <element ref="value"/> + </sequence> + <attribute name="name" type="string" use="required"> + <annotation> + <documentation> + id of the breakpoint attribute, for example "catchpoint.type" + </documentation> + </annotation> + </attribute> + <attribute name="label" type="string" use="required"> + <annotation> + <documentation> + user visible label for the breakpoint attribute value + </documentation> + <appinfo> + <meta.attribute translatable="true"/> + </appinfo> + </annotation> + </attribute> + <attribute name="fieldEditor" type="string"> + <annotation> + <documentation> + field editor that will be shown to for given attribute. +If not specified this attribute will not be visible in Common page. + </documentation> + <appinfo> + <meta.attribute kind="java" basedOn="org.eclipse.jface.preference.FieldEditor:"/> + </appinfo> + </annotation> + </attribute> + <attribute name="type" type="string" use="default" value="string"> + <annotation> + <documentation> + Type of the attribute: boolean, string, integer + </documentation> + </annotation> + </attribute> + </complexType> + </element> + + <element name="value"> + <annotation> + <documentation> + Properties of value for parent attribute. +If Value contains child attributes it means that these property only enabled when value of parent attribute equal to current element value + </documentation> + </annotation> + <complexType> + <sequence> + <element ref="attribute" minOccurs="0" maxOccurs="unbounded"/> + </sequence> + <attribute name="value" type="string" use="required"> + <annotation> + <documentation> + Value of the attribute for which label is declared + </documentation> + </annotation> + </attribute> + <attribute name="label" type="string" use="required"> + <annotation> + <documentation> + User visible label for the breakpoint attribute value + </documentation> + <appinfo> + <meta.attribute translatable="true"/> + </appinfo> + </annotation> + </attribute> + </complexType> + </element> + + <annotation> + <appinfo> + <meta.section type="since"/> + </appinfo> + <documentation> + CDT 5.0 + </documentation> + </annotation> + + <annotation> + <appinfo> + <meta.section type="examples"/> + </appinfo> + <documentation> + <pre> +<extension id="com.xyz.coolMarkerLabels" point="org.eclipse.cdt.debug.ui.breakpointContribution"> + <breakpointLabels markerId="com.xyz.coolMarker"> + <attribute name="owner" label="Resource Owner"> + <value value="harris.bob" label="Bob Harris"/> + <value value="harris.mary" label="Mary Harris"/> + </attribute> + </breakpointLabels> + </extension> + + <extension point="org.eclipse.cdt.debug.ui.breakpointContribution"> + <breakpointLabels markerId="org.eclipse.cdt.debug.core.catchpoint"> + <attribute name="org.eclipse.cdt.debug.core.catchpoint.type" label="Catchpoint Type" type="enum"> + <value value="gdb.catch" label="Exception Caught"> + <attribute name="org.eclipse.cdt.debug.core.catchpoint.argument" label="C/C++ Type" + type="string" fieldEditor="org.eclipse.cdt.debug.ui.breakpoints.CTypeSelectorEditor"> + </attribute> + </value> + <value value="gdb.throw" label="Exception Thrown"/> + <value value="gdb.signal" label="Signal Caught"> + <attribute name="org.eclipse.cdt.debug.core.catchpoint.argument" label="Signal Number" + type="integer" fieldEditor="IntegerFieldEditor"> + </attribute> + </value> + </attribute> + </breakpointLabels> + </extension> + </pre> + </documentation> + </annotation> + + + + +</schema> |