mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-29 19:45:01 +02:00

field editors Also addresses: Bug 374514 - breakpointContribution always add Widgets on top of common properties page Bug 374508 - breakpointContribution does not support restrictions
264 lines
10 KiB
XML
264 lines
10 KiB
XML
<?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 controls for viewing and editing breakpoint attributes.
|
|
The UI controls are added to the "Common" page of the breakpoint properties dialog. If a debug model ID is specified, the
|
|
contribution is shown only when a debugger with corresponding model ID is currently active.
|
|
</documentation>
|
|
</annotation>
|
|
|
|
<element name="extension">
|
|
<annotation>
|
|
<appInfo>
|
|
<meta.element />
|
|
</appInfo>
|
|
</annotation>
|
|
<complexType>
|
|
<sequence minOccurs="1" maxOccurs="unbounded">
|
|
<element ref="breakpointLabels" minOccurs="0" maxOccurs="unbounded"/>
|
|
<element ref="breakpointEditors" minOccurs="0" maxOccurs="unbounded"/>
|
|
</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">
|
|
<annotation>
|
|
<documentation>
|
|
A breakpoint label is appended to the top section the breakpoint properties common page.
|
|
</documentation>
|
|
</annotation>
|
|
<complexType>
|
|
<sequence minOccurs="0" maxOccurs="unbounded">
|
|
<element ref="attribute"/>
|
|
</sequence>
|
|
<attribute name="markerType" type="string">
|
|
<annotation>
|
|
<documentation>
|
|
Breakpoint's marker type for which the given attribute labels are applied.
|
|
</documentation>
|
|
<appInfo>
|
|
<meta.attribute kind="identifier"/>
|
|
</appInfo>
|
|
</annotation>
|
|
</attribute>
|
|
<attribute name="debugModelId" type="string">
|
|
<annotation>
|
|
<documentation>
|
|
Debug model Id of the active debug context for which this extension is valid. If not specified or if the model ID equals the CDT breakpoint's model (org.eclipse.cdt.debug.core), the option is always shown.
|
|
</documentation>
|
|
<appInfo>
|
|
<meta.attribute kind="identifier"/>
|
|
</appInfo>
|
|
</annotation>
|
|
</attribute>
|
|
</complexType>
|
|
</element>
|
|
|
|
<element name="breakpointEditors">
|
|
<annotation>
|
|
<documentation>
|
|
A breakpoint editor is appended to the bottom section the breakpoint properties common page.
|
|
</documentation>
|
|
</annotation>
|
|
<complexType>
|
|
<sequence minOccurs="0" maxOccurs="unbounded">
|
|
<element ref="attribute"/>
|
|
</sequence>
|
|
<attribute name="markerType" type="string">
|
|
<annotation>
|
|
<documentation>
|
|
Breakpoint's marker type for which the given attribute labels are applied.
|
|
</documentation>
|
|
<appInfo>
|
|
<meta.attribute kind="identifier"/>
|
|
</appInfo>
|
|
</annotation>
|
|
</attribute>
|
|
<attribute name="debugModelId" type="string">
|
|
<annotation>
|
|
<documentation>
|
|
Debug model Id of the active debug context for which this extension is valid. If not specified or if the model ID equals the CDT breakpoint's model (org.eclipse.cdt.debug.core), the option is always shown.
|
|
</documentation>
|
|
<appInfo>
|
|
<meta.attribute kind="identifier"/>
|
|
</appInfo>
|
|
</annotation>
|
|
</attribute>
|
|
</complexType>
|
|
</element>
|
|
|
|
<element name="attribute">
|
|
<annotation>
|
|
<documentation>
|
|
Each attribute entry displays or modifies a breakpoint attribute with the given ID.
|
|
</documentation>
|
|
</annotation>
|
|
<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. This field editor must be on the classpath of the org.eclipse.cdt.debug.ui plugin. For a custom field editor use the newer fieldEditorFactory attribute. If this parameter is not specified, the org.eclipse.cdt.debug.ui.preferences.ReadOnlyFieldEditor field editor will be used by default.
|
|
</documentation>
|
|
<appInfo>
|
|
<meta.attribute kind="java" basedOn="org.eclipse.jface.preference.FieldEditor:"/>
|
|
</appInfo>
|
|
</annotation>
|
|
</attribute>
|
|
<attribute name="type" use="default" value="string">
|
|
<annotation>
|
|
<documentation>
|
|
Type of the attribute. Value should be one of "boolean", "string", "integer", "float".
|
|
</documentation>
|
|
</annotation>
|
|
<simpleType>
|
|
<restriction base="string">
|
|
<enumeration value="string">
|
|
</enumeration>
|
|
<enumeration value="integer">
|
|
</enumeration>
|
|
<enumeration value="float">
|
|
</enumeration>
|
|
</restriction>
|
|
</simpleType>
|
|
</attribute>
|
|
<attribute name="fieldEditorFactory" type="string">
|
|
<annotation>
|
|
<documentation>
|
|
|
|
</documentation>
|
|
<appInfo>
|
|
<meta.attribute kind="java" basedOn=":org.eclipse.cdt.debug.ui.breakpoints.IFieldEditorFactory"/>
|
|
</appInfo>
|
|
</annotation>
|
|
</attribute>
|
|
</complexType>
|
|
</element>
|
|
|
|
<element name="value">
|
|
<annotation>
|
|
<documentation>
|
|
Properties of value for parent attribute. If a value elemnt contains child attribute elements 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>
|