Notice: This Wiki is now read only and edits are no longer possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.
CDT/Archive/Debug/breakpointUiContributions
< CDT | Archive(Redirected from CDT: Debug: breakpointUiContributions)
This is exsd for extension point, I don' know how to generate fancy html from it :(
<?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="markerId" type="string">
<annotation>
<documentation>
markerId 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
</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>
<attribute name="visible" type="boolean" use="default" value="true">
<annotation>
<documentation>
defines if this marker attribute is visible by default on common breakpoints property page
</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>