summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJesse Weinstein2013-09-12 20:04:36 (EDT)
committerSergey Prigogin2013-09-12 22:56:47 (EDT)
commitc2d26cdad2e8ca184a5fe299dfc2d4938a71e67f (patch)
tree3765e10e642aec180b402c21332c388df11b635d
parent9e3da43fe55f25ed8ce5e7ba14d3f8f03790c5f0 (diff)
downloadorg.eclipse.cdt-c2d26cdad2e8ca184a5fe299dfc2d4938a71e67f.zip
org.eclipse.cdt-c2d26cdad2e8ca184a5fe299dfc2d4938a71e67f.tar.gz
org.eclipse.cdt-c2d26cdad2e8ca184a5fe299dfc2d4938a71e67f.tar.bz2
[bug 417138] Various extension point schema cleanupsrefs/changes/01/16401/3
Change-Id: I3e20bad5c150f8283c19b69e31407a66d203b3ab Signed-off-by: Jesse Weinstein <Jesse.Weinstein@clinicomp.com> Reviewed-on: https://git.eclipse.org/r/16401 Reviewed-by: Sergey Prigogin <eclipse.sprigogin@gmail.com> IP-Clean: Sergey Prigogin <eclipse.sprigogin@gmail.com> Tested-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
-rw-r--r--debug/org.eclipse.cdt.debug.ui/schema/BreakpointActionPage.exsd41
-rw-r--r--debug/org.eclipse.cdt.debug.ui/schema/BreakpointUIContribution.exsd13
-rw-r--r--debug/org.eclipse.cdt.debug.ui/schema/CDebuggerPage.exsd57
-rw-r--r--debug/org.eclipse.cdt.debug.ui/schema/disassemblyRulerColumns.exsd528
4 files changed, 301 insertions, 338 deletions
diff --git a/debug/org.eclipse.cdt.debug.ui/schema/BreakpointActionPage.exsd b/debug/org.eclipse.cdt.debug.ui/schema/BreakpointActionPage.exsd
index e890bda..9e94b0b 100644
--- a/debug/org.eclipse.cdt.debug.ui/schema/BreakpointActionPage.exsd
+++ b/debug/org.eclipse.cdt.debug.ui/schema/BreakpointActionPage.exsd
@@ -1,6 +1,6 @@
<?xml version='1.0' encoding='UTF-8'?>
<!-- Schema file written by PDE -->
-<schema targetNamespace="org.eclipse.cdt.debug.ui">
+<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="BreakpointActionPage" name="Breakpoint Action UI Page"/>
@@ -9,8 +9,12 @@
This extension point provides a mechanism for contributing UI to define and edit a breakpoint action.
</documentation>
</annotation>
-
<element name="extension">
+ <annotation>
+ <appInfo>
+ <meta.element />
+ </appInfo>
+ </annotation>
<complexType>
<sequence>
<element ref="actionPage"/>
@@ -24,7 +28,6 @@
</attribute>
</complexType>
</element>
-
<element name="actionPage">
<complexType>
<attribute name="id" type="string">
@@ -32,6 +35,9 @@
<documentation>
</documentation>
+ <appInfo>
+ <meta.attribute kind="identifier"/>
+ </appInfo>
</annotation>
</attribute>
<attribute name="class" type="string">
@@ -39,6 +45,9 @@
<documentation>
</documentation>
+ <appInfo>
+ <meta.attribute kind="java" basedOn=":org.eclipse.cdt.debug.ui.breakpointactions.IBreakpointActionPage"/>
+ </appInfo>
</annotation>
</attribute>
<attribute name="actionType" type="string">
@@ -50,25 +59,6 @@
</attribute>
</complexType>
</element>
-
- <annotation>
- <appInfo>
- <meta.section type="since"/>
- </appInfo>
- <documentation>
- 1.1
- </documentation>
- </annotation>
-
- <annotation>
- <appInfo>
- <meta.section type="examples"/>
- </appInfo>
- <documentation>
- [Enter extension point usage example here.]
- </documentation>
- </annotation>
-
<annotation>
<appInfo>
<meta.section type="apiInfo"/>
@@ -77,16 +67,14 @@
Value of the attribute class must be a fully qualified name of a Java class that implements the interface org.eclipse.cdt.debug.ui.ICDebuggerPage.
</documentation>
</annotation>
-
<annotation>
<appInfo>
- <meta.section type="implementation"/>
+ <meta.section type="since"/>
</appInfo>
<documentation>
-
+ 1.1
</documentation>
</annotation>
-
<annotation>
<appInfo>
<meta.section type="copyright"/>
@@ -99,5 +87,4 @@ which accompanies this distribution, and is available at
http://www.eclipse.org/legal/epl-v10.html
</documentation>
</annotation>
-
</schema>
diff --git a/debug/org.eclipse.cdt.debug.ui/schema/BreakpointUIContribution.exsd b/debug/org.eclipse.cdt.debug.ui/schema/BreakpointUIContribution.exsd
index 75e7f9f..46f6876 100644
--- a/debug/org.eclipse.cdt.debug.ui/schema/BreakpointUIContribution.exsd
+++ b/debug/org.eclipse.cdt.debug.ui/schema/BreakpointUIContribution.exsd
@@ -11,7 +11,6 @@ The UI controls are added to the &quot;Common&quot; page of the breakpoint prope
contribution is shown only when a debugger with corresponding model ID is currently active.
</documentation>
</annotation>
-
<element name="extension">
<annotation>
<appInfo>
@@ -49,7 +48,6 @@ contribution is shown only when a debugger with corresponding model ID is curren
</attribute>
</complexType>
</element>
-
<element name="breakpointLabels">
<annotation>
<documentation>
@@ -82,7 +80,6 @@ contribution is shown only when a debugger with corresponding model ID is curren
</attribute>
</complexType>
</element>
-
<element name="breakpointEditors">
<annotation>
<documentation>
@@ -115,7 +112,6 @@ contribution is shown only when a debugger with corresponding model ID is curren
</attribute>
</complexType>
</element>
-
<element name="attribute">
<annotation>
<documentation>
@@ -167,6 +163,8 @@ contribution is shown only when a debugger with corresponding model ID is curren
</enumeration>
<enumeration value="float">
</enumeration>
+ <enumeration value="boolean">
+ </enumeration>
</restriction>
</simpleType>
</attribute>
@@ -182,7 +180,6 @@ contribution is shown only when a debugger with corresponding model ID is curren
</attribute>
</complexType>
</element>
-
<element name="value">
<annotation>
<documentation>
@@ -212,7 +209,6 @@ contribution is shown only when a debugger with corresponding model ID is curren
</attribute>
</complexType>
</element>
-
<annotation>
<appInfo>
<meta.section type="since"/>
@@ -221,7 +217,6 @@ contribution is shown only when a debugger with corresponding model ID is curren
CDT 5.0
</documentation>
</annotation>
-
<annotation>
<appInfo>
<meta.section type="examples"/>
@@ -257,8 +252,4 @@ contribution is shown only when a debugger with corresponding model ID is curren
&lt;/pre&gt;
</documentation>
</annotation>
-
-
-
-
</schema>
diff --git a/debug/org.eclipse.cdt.debug.ui/schema/CDebuggerPage.exsd b/debug/org.eclipse.cdt.debug.ui/schema/CDebuggerPage.exsd
index 6b5e2a7..b8ef581 100644
--- a/debug/org.eclipse.cdt.debug.ui/schema/CDebuggerPage.exsd
+++ b/debug/org.eclipse.cdt.debug.ui/schema/CDebuggerPage.exsd
@@ -1,6 +1,6 @@
<?xml version='1.0' encoding='UTF-8'?>
<!-- Schema file written by PDE -->
-<schema targetNamespace="org.eclipse.cdt.debug.ui">
+<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="CDebuggerPage" name="C/C++ Debugger Page"/>
@@ -9,8 +9,12 @@
This extension point provides a mechanism for contributing UI for org.eclipse.cdt.debug.core.CDebugger extensions.
</documentation>
</annotation>
-
<element name="extension">
+ <annotation>
+ <appInfo>
+ <meta.element />
+ </appInfo>
+ </annotation>
<complexType>
<sequence>
<element ref="debuggerPage" minOccurs="0" maxOccurs="unbounded"/>
@@ -18,21 +22,21 @@
<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>
<appInfo>
<meta.attribute translatable="true"/>
@@ -41,27 +45,32 @@
</attribute>
</complexType>
</element>
-
<element name="debuggerPage">
<complexType>
<attribute name="id" type="string">
<annotation>
<documentation>
- specifies a unique identifier for this debugger page.
+ Specifies a unique identifier for this debugger page.
</documentation>
+ <appInfo>
+ <meta.attribute kind="identifier"/>
+ </appInfo>
</annotation>
</attribute>
<attribute name="debuggerID" type="string" use="required">
<annotation>
<documentation>
- specifies the identifier of the debugger this page is associated with.
+ Specifies the identifier of the debugger this page is associated with.
</documentation>
+ <appInfo>
+ <meta.attribute kind="identifier"/>
+ </appInfo>
</annotation>
</attribute>
<attribute name="class" type="string" use="required">
<annotation>
<documentation>
- specifies a fully qualified name of a Java class that implements &amp;lt;code&amp;gt;ICDebuggerPage&amp;lt;/code&amp;gt;
+ Specifies a fully qualified name of a Java class that implements &lt;code&gt;ICDebuggerPage&lt;/code&gt;
</documentation>
<appInfo>
<meta.attribute kind="java" basedOn="org.eclipse.cdt.debug.ui.ICDebuggerPage"/>
@@ -70,7 +79,14 @@
</attribute>
</complexType>
</element>
-
+ <annotation>
+ <appInfo>
+ <meta.section type="apiInfo"/>
+ </appInfo>
+ <documentation>
+ Value of the attribute class must be a fully qualified name of a Java class that implements the interface org.eclipse.cdt.debug.ui.ICDebuggerPage.
+ </documentation>
+ </annotation>
<annotation>
<appInfo>
<meta.section type="since"/>
@@ -79,7 +95,6 @@
1.1
</documentation>
</annotation>
-
<annotation>
<appInfo>
<meta.section type="examples"/>
@@ -95,25 +110,6 @@
In the above example, the contributed UI component (org.eclipse.cdt.debug.mi.internal.ui.GDBDebuggerPage) will be used for the debuggers with the &quot;org.eclipse.cdt.debug.mi.core.CDebugger&quot; debugger id.
</documentation>
</annotation>
-
- <annotation>
- <appInfo>
- <meta.section type="apiInfo"/>
- </appInfo>
- <documentation>
- Value of the attribute class must be a fully qualified name of a Java class that implements the interface org.eclipse.cdt.debug.ui.ICDebuggerPage.
- </documentation>
- </annotation>
-
- <annotation>
- <appInfo>
- <meta.section type="implementation"/>
- </appInfo>
- <documentation>
-
- </documentation>
- </annotation>
-
<annotation>
<appInfo>
<meta.section type="copyright"/>
@@ -126,5 +122,4 @@ which accompanies this distribution, and is available at
http://www.eclipse.org/legal/epl-v10.html
</documentation>
</annotation>
-
</schema>
diff --git a/debug/org.eclipse.cdt.debug.ui/schema/disassemblyRulerColumns.exsd b/debug/org.eclipse.cdt.debug.ui/schema/disassemblyRulerColumns.exsd
index 5a8315a..c43d20d 100644
--- a/debug/org.eclipse.cdt.debug.ui/schema/disassemblyRulerColumns.exsd
+++ b/debug/org.eclipse.cdt.debug.ui/schema/disassemblyRulerColumns.exsd
@@ -1,269 +1,259 @@
-<?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="disassemblyRulerColumns" name="Disassembly Ruler Column"/>
- </appInfo>
- <documentation>
- Ruler column contributions are line based information areas that are normally shown in the vertical ruler area of the disassembly.
- </documentation>
- </annotation>
-
- <element name="extension">
- <annotation>
- <appInfo>
- <meta.element />
- </appInfo>
- </annotation>
- <complexType>
- <sequence>
- <element ref="column" minOccurs="1" 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>
- <appInfo>
- <meta.attribute translatable="true"/>
- </appInfo>
- </annotation>
- </attribute>
- </complexType>
- </element>
-
- <element name="column">
- <annotation>
- <appInfo>
- <meta.element labelAttribute="name" icon="icon"/>
- </appInfo>
- <documentation>
- The specification of a ruler column contribution.
- </documentation>
- </annotation>
- <complexType>
- <sequence>
- <choice minOccurs="1" maxOccurs="unbounded">
- <element ref="targetId"/>
- <element ref="targetClass"/>
- </choice>
- <element ref="placement"/>
- </sequence>
- <attribute name="id" type="string" use="required">
- <annotation>
- <documentation>
- the unique id of this column
- </documentation>
- </annotation>
- </attribute>
- <attribute name="name" type="string">
- <annotation>
- <documentation>
- an optional name of the column, may be used in the user interface (e.g. in preference pages)
- </documentation>
- <appInfo>
- <meta.attribute translatable="true"/>
- </appInfo>
- </annotation>
- </attribute>
- <attribute name="icon" type="string">
- <annotation>
- <documentation>
- an optional icon for the column. May be used in the user interface, for example on preference pages.
- </documentation>
- <appInfo>
- <meta.attribute kind="resource"/>
- </appInfo>
- </annotation>
- </attribute>
- <attribute name="class" type="string" use="required">
- <annotation>
- <documentation>
- the class implementing the column; must implement &lt;code&gt;org.eclipse.cdt.debug.ui.disassembly.rulers.IContributedRulerColumn&lt;/code&gt;
- </documentation>
- <appInfo>
- <meta.attribute kind="java" basedOn=":org.eclipse.cdt.debug.ui.disassembly.rulers.IContributedRulerColumn"/>
- </appInfo>
- </annotation>
- </attribute>
- <attribute name="enabled" type="boolean" use="default" value="true">
- <annotation>
- <documentation>
- the default enablement state of this column
- </documentation>
- </annotation>
- </attribute>
- <attribute name="global" type="boolean" use="default" value="true">
- <annotation>
- <documentation>
- controls whether toggling the visibility of this column operates on all targeted disassembly parts, or only the active disassembly part. If true, the ruler is added to all applicable parts when the user enables the column; if false, the ruler is only added to the active disassembly part.
- </documentation>
- </annotation>
- </attribute>
- <attribute name="includeInMenu" type="boolean" use="default" value="true">
- <annotation>
- <documentation>
- whether to include a &quot;Show/Hide&quot; menu entry for this column in the ruler context menu
- </documentation>
- </annotation>
- </attribute>
- </complexType>
- </element>
-
- <element name="targetId">
- <annotation>
- <documentation>
- Describes a disassembly part that the column is contributed to.
- </documentation>
- </annotation>
- <complexType>
- <attribute name="id" type="string" use="required">
- <annotation>
- <documentation>
- the part id of the target disassembly part
- </documentation>
- <appInfo>
- <meta.attribute kind="identifier" basedOn="org.eclipse.ui.editors/editor/@id"/>
- </appInfo>
- </annotation>
- </attribute>
- </complexType>
- </element>
-
- <element name="targetClass">
- <annotation>
- <documentation>
- Describes a disassembly part class that the column is contributed to. Subclasses of the specified class are also targeted by this colum contribution.
- </documentation>
- </annotation>
- <complexType>
- <attribute name="class" type="string" use="required">
- <annotation>
- <documentation>
- the fully qualified name of a class implementing IWorkbenchPart. The class does not need to be instantiatable.
- </documentation>
- <appInfo>
- <meta.attribute kind="java" basedOn=":org.eclipse.ui.IWorkbenchPart"/>
- </appInfo>
- </annotation>
- </attribute>
- </complexType>
- </element>
-
- <element name="placement">
- <annotation>
- <documentation>
- Describes the placement of this ruler column relative to other contributed columns. A column may request to be placed &lt;em&gt;before&lt;/em&gt; or &lt;em&gt;after&lt;/em&gt; other known columns (identified by their &lt;tt&gt;id&lt;/tt&gt;). Columns that would end up at the same position are ordered by &lt;em&gt;gravity&lt;/em&gt; (see below). If the ordering is contradicting or no ordering can be found that fulfills all placement requests, some placement requirements are dropped until the placement can be achieved. If a column does not fully specify its placement it will be placed at an arbitrary but consistent location.
- </documentation>
- </annotation>
- <complexType>
- <sequence minOccurs="0" maxOccurs="unbounded">
- <choice>
- <element ref="before"/>
- <element ref="after"/>
- </choice>
- </sequence>
- <attribute name="gravity" type="string" use="default" value="1.0">
- <annotation>
- <documentation>
- a float number between 0.0 and 1.0 that tells how close the column wants to be to the editor, where 0.0 means as far away as possible and 1.0 means as close as possible. After all &lt;i&gt;before&lt;/i&gt; and &lt;i&gt;after&lt;/i&gt; constraints are evaluated, columns that would end up at the same position are ordered by their &lt;i&gt;gravity&lt;/i&gt; value.
- </documentation>
- </annotation>
- </attribute>
- </complexType>
- </element>
-
- <element name="before">
- <annotation>
- <documentation>
- Requests placement before another column. The meaning of &lt;i&gt;before&lt;/i&gt; is similar to the SWT.LEAD flag: In left-to-right environments, &lt;i&gt;before&lt;/i&gt; means &lt;i&gt;to the left of&lt;/i&gt;, in right-to-left environments, it means &lt;i&gt;to the right of&lt;/i&gt;.
- </documentation>
- </annotation>
- <complexType>
- <attribute name="id" type="string" use="required">
- <annotation>
- <documentation>
- the id of another &lt;tt&gt;rulerColumns&lt;/tt&gt; contribution
- </documentation>
- <appInfo>
- <meta.attribute kind="identifier" basedOn="org.eclipse.cdt.debug.ui.disassemblyRulerColumns/column/@id"/>
- </appInfo>
- </annotation>
- </attribute>
- </complexType>
- </element>
-
- <element name="after">
- <annotation>
- <documentation>
- Requests placement after another column. The meaning of &lt;i&gt;after&lt;/i&gt; is similar to the SWT.TRAIL flag: In left-to-right environments, &lt;i&gt;after&lt;/i&gt; means &lt;i&gt;to the right of&lt;/i&gt;, in right-to-left environments, it means &lt;i&gt;to the left of&lt;/i&gt;.
- </documentation>
- </annotation>
- <complexType>
- <attribute name="id" type="string" use="required">
- <annotation>
- <documentation>
- the id of another &lt;tt&gt;rulerColumns&lt;/tt&gt; contribution
- </documentation>
- <appInfo>
- <meta.attribute kind="identifier" basedOn="org.eclipse.cdt.debug.ui.disassemblyRulerColumns/column/@id"/>
- </appInfo>
- </annotation>
- </attribute>
- </complexType>
- </element>
-
- <annotation>
- <appInfo>
- <meta.section type="since"/>
- </appInfo>
- <documentation>
- 7.2
- </documentation>
- </annotation>
-
- <annotation>
- <appInfo>
- <meta.section type="apiInfo"/>
- </appInfo>
- <documentation>
- The extension point is supported by the &lt;tt&gt;org.eclipse.cdt.debug.ui.disassembly.rulers&lt;/tt&gt; package. &lt;code&gt;RulerColumnRegistry&lt;/code&gt; gives access to all contributions, which in turn are described by &lt;code&gt;RulerColumnDescriptor&lt;/code&gt; instances.
- </documentation>
- </annotation>
-
-
- <annotation>
- <appInfo>
- <meta.section type="implementation"/>
- </appInfo>
- <documentation>
- All ruler column contributions must implement &lt;code&gt;org.eclipse.cdt.debug.ui.disassembly.rulers.IContributedRulerColumn&lt;/code&gt;. Many contributors will find the supplied &lt;code&gt;org.eclipse.cdt.debug.ui.disassembly.rulers.AbstractContributedRulerColumn&lt;/code&gt; useful which serves as super class for contributed ruler columns. Others might start off &lt;code&gt;org.eclipse.jface.text.source.AbstractRulerColumn&lt;/code&gt; which takes over most painting and scrolling aspects of a line based column and can be extended at various granularity levels. Those subclassing the latter class will have to implement &lt;code&gt;org.eclipse.cdt.debug.ui.disassembly.rulers.IContributedRulerColumn&lt;/code&gt; on their own by using &lt;code&gt;org.eclipse.cdt.debug.ui.disassembly.rulers.AbstractContributedRulerColumn&lt;/code&gt; as template.
- </documentation>
- </annotation>
-
- <annotation>
- <appInfo>
- <meta.section type="copyright"/>
- </appInfo>
- <documentation>
- Copyright (c) 2006, 20011 IBM Corporation 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>
+<?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="disassemblyRulerColumns" name="Disassembly Ruler Column"/>
+ </appInfo>
+ <documentation>
+ Ruler column contributions are line based information areas that are normally shown in the vertical ruler area of the disassembly.
+ </documentation>
+ </annotation>
+ <element name="extension">
+ <annotation>
+ <appInfo>
+ <meta.element />
+ </appInfo>
+ </annotation>
+ <complexType>
+ <sequence>
+ <element ref="column" minOccurs="1" 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>
+ <appInfo>
+ <meta.attribute translatable="true"/>
+ </appInfo>
+ </annotation>
+ </attribute>
+ </complexType>
+ </element>
+ <element name="column">
+ <annotation>
+ <appInfo>
+ <meta.element labelAttribute="name" icon="icon"/>
+ </appInfo>
+ <documentation>
+ The specification of a ruler column contribution.
+ </documentation>
+ </annotation>
+ <complexType>
+ <sequence>
+ <choice minOccurs="1" maxOccurs="unbounded">
+ <element ref="targetId"/>
+ <element ref="targetClass"/>
+ </choice>
+ <element ref="placement"/>
+ </sequence>
+ <attribute name="id" type="string" use="required">
+ <annotation>
+ <documentation>
+ The unique id of this column
+ </documentation>
+ <appInfo>
+ <meta.attribute kind="identifier"/>
+ </appInfo>
+ </annotation>
+ </attribute>
+ <attribute name="name" type="string">
+ <annotation>
+ <documentation>
+ An optional name of the column, may be used in the user interface (e.g. in preference pages)
+ </documentation>
+ <appInfo>
+ <meta.attribute translatable="true"/>
+ </appInfo>
+ </annotation>
+ </attribute>
+ <attribute name="icon" type="string">
+ <annotation>
+ <documentation>
+ An optional icon for the column. May be used in the user interface, for example on preference pages.
+ </documentation>
+ <appInfo>
+ <meta.attribute kind="resource"/>
+ </appInfo>
+ </annotation>
+ </attribute>
+ <attribute name="class" type="string" use="required">
+ <annotation>
+ <documentation>
+ The class implementing the column; must implement &lt;code&gt;org.eclipse.cdt.debug.ui.disassembly.rulers.IContributedRulerColumn&lt;/code&gt;
+ </documentation>
+ <appInfo>
+ <meta.attribute kind="java" basedOn=":org.eclipse.cdt.debug.ui.disassembly.rulers.IContributedRulerColumn"/>
+ </appInfo>
+ </annotation>
+ </attribute>
+ <attribute name="enabled" type="boolean" use="default" value="true">
+ <annotation>
+ <documentation>
+ The default enablement state of this column.
+ </documentation>
+ </annotation>
+ </attribute>
+ <attribute name="global" type="boolean" use="default" value="true">
+ <annotation>
+ <documentation>
+ Controls whether toggling the visibility of this column operates on all targeted disassembly parts, or only the active disassembly part. If &lt;i&gt;true&lt;/i&gt;, the ruler is added to all applicable parts when the user enables the column. Otherwise, the ruler is only added to the active disassembly part.
+ </documentation>
+ </annotation>
+ </attribute>
+ <attribute name="includeInMenu" type="boolean" use="default" value="true">
+ <annotation>
+ <documentation>
+ Whether to include a &quot;Show/Hide&quot; menu entry for this column in the ruler context menu.
+ </documentation>
+ </annotation>
+ </attribute>
+ </complexType>
+ </element>
+ <element name="targetId">
+ <annotation>
+ <documentation>
+ Describes a disassembly part that the column is contributed to.
+ </documentation>
+ </annotation>
+ <complexType>
+ <attribute name="id" type="string" use="required">
+ <annotation>
+ <documentation>
+ The part id of the target disassembly part
+ </documentation>
+ <appInfo>
+ <meta.attribute kind="identifier" basedOn="org.eclipse.ui.editors/editor/@id"/>
+ </appInfo>
+ </annotation>
+ </attribute>
+ </complexType>
+ </element>
+ <element name="targetClass">
+ <annotation>
+ <documentation>
+ Describes a disassembly part class that the column is contributed to. Subclasses of the specified class are also targeted by this colum contribution.
+ </documentation>
+ </annotation>
+ <complexType>
+ <attribute name="class" type="string" use="required">
+ <annotation>
+ <documentation>
+ The fully qualified name of a class implementing IWorkbenchPart. The class does not need to be instantiatable.
+ </documentation>
+ <appInfo>
+ <meta.attribute kind="java" basedOn=":org.eclipse.ui.IWorkbenchPart"/>
+ </appInfo>
+ </annotation>
+ </attribute>
+ </complexType>
+ </element>
+ <element name="placement">
+ <annotation>
+ <documentation>
+ Describes the placement of this ruler column relative to other contributed columns. A column may request to be placed &lt;em&gt;before&lt;/em&gt; or &lt;em&gt;after&lt;/em&gt; other known columns (identified by their &lt;tt&gt;id&lt;/tt&gt;). Columns that would end up at the same position are ordered by &lt;em&gt;gravity&lt;/em&gt; (see below). If the ordering is contradicting or no ordering can be found that fulfills all placement requests, some placement requirements are dropped until the placement can be achieved. If a column does not fully specify its placement it will be placed at an arbitrary but consistent location.
+ </documentation>
+ </annotation>
+ <complexType>
+ <sequence minOccurs="0" maxOccurs="unbounded">
+ <choice>
+ <element ref="before"/>
+ <element ref="after"/>
+ </choice>
+ </sequence>
+ <attribute name="gravity" type="string" use="default" value="1.0">
+ <annotation>
+ <documentation>
+ A floating point number between 0.0 and 1.0 that tells how close the column wants to be to the editor, where 0.0 means as far away as possible and 1.0 means as close as possible. After all &lt;i&gt;before&lt;/i&gt; and &lt;i&gt;after&lt;/i&gt; constraints are evaluated, columns that would end up at the same position are ordered by their &lt;i&gt;gravity&lt;/i&gt; value.
+ </documentation>
+ </annotation>
+ </attribute>
+ </complexType>
+ </element>
+ <element name="before">
+ <annotation>
+ <documentation>
+ Requests placement before another column. The meaning of &lt;i&gt;before&lt;/i&gt; is similar to the SWT.LEAD flag: In left-to-right environments, &lt;i&gt;before&lt;/i&gt; means &lt;i&gt;to the left of&lt;/i&gt;, in right-to-left environments, it means &lt;i&gt;to the right of&lt;/i&gt;.
+ </documentation>
+ </annotation>
+ <complexType>
+ <attribute name="id" type="string" use="required">
+ <annotation>
+ <documentation>
+ The id of another &lt;tt&gt;rulerColumns&lt;/tt&gt; contribution.
+ </documentation>
+ <appInfo>
+ <meta.attribute kind="identifier" basedOn="org.eclipse.cdt.debug.ui.disassemblyRulerColumns/column/@id"/>
+ </appInfo>
+ </annotation>
+ </attribute>
+ </complexType>
+ </element>
+ <element name="after">
+ <annotation>
+ <documentation>
+ Requests placement after another column. The meaning of &lt;i&gt;after&lt;/i&gt; is similar to the SWT.TRAIL flag: In left-to-right environments, &lt;i&gt;after&lt;/i&gt; means &lt;i&gt;to the right of&lt;/i&gt;, in right-to-left environments, it means &lt;i&gt;to the left of&lt;/i&gt;.
+ </documentation>
+ </annotation>
+ <complexType>
+ <attribute name="id" type="string" use="required">
+ <annotation>
+ <documentation>
+ The id of another &lt;tt&gt;rulerColumns&lt;/tt&gt; contribution.
+ </documentation>
+ <appInfo>
+ <meta.attribute kind="identifier" basedOn="org.eclipse.cdt.debug.ui.disassemblyRulerColumns/column/@id"/>
+ </appInfo>
+ </annotation>
+ </attribute>
+ </complexType>
+ </element>
+ <annotation>
+ <appInfo>
+ <meta.section type="implementation"/>
+ </appInfo>
+ <documentation>
+ All ruler column contributions must implement &lt;code&gt;org.eclipse.cdt.debug.ui.disassembly.rulers.IContributedRulerColumn&lt;/code&gt;. Many contributors will find the supplied &lt;code&gt;org.eclipse.cdt.debug.ui.disassembly.rulers.AbstractContributedRulerColumn&lt;/code&gt; useful which serves as super class for contributed ruler columns. Others might start off &lt;code&gt;org.eclipse.jface.text.source.AbstractRulerColumn&lt;/code&gt; which takes over most painting and scrolling aspects of a line based column and can be extended at various granularity levels. Those subclassing the latter class will have to implement &lt;code&gt;org.eclipse.cdt.debug.ui.disassembly.rulers.IContributedRulerColumn&lt;/code&gt; on their own by using &lt;code&gt;org.eclipse.cdt.debug.ui.disassembly.rulers.AbstractContributedRulerColumn&lt;/code&gt; as template.
+ </documentation>
+ </annotation>
+ <annotation>
+ <appInfo>
+ <meta.section type="copyright"/>
+ </appInfo>
+ <documentation>
+ Copyright (c) 2006, 20011 IBM Corporation 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>
+ The extension point is supported by the &lt;tt&gt;org.eclipse.cdt.debug.ui.disassembly.rulers&lt;/tt&gt; package. &lt;code&gt;RulerColumnRegistry&lt;/code&gt; gives access to all contributions, which in turn are described by &lt;code&gt;RulerColumnDescriptor&lt;/code&gt; instances.
+ </documentation>
+ </annotation>
+ <annotation>
+ <appInfo>
+ <meta.section type="since"/>
+ </appInfo>
+ <documentation>
+ 7.2
+ </documentation>
+ </annotation>
+</schema>