mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-08-29 03:03:10 +02:00

Adding a new extension point that makes possible to extend content from the Open Call Hierarchy View by adding a new node at the top of the tree. Change-Id: I9ac79896a4e8fffc9ed51cdb1be3c70f30d117c4 Signed-off-by: Lidia Popescu <lidia.popescu@windriver.com>
148 lines
4.9 KiB
XML
148 lines
4.9 KiB
XML
<?xml version='1.0' encoding='UTF-8'?>
|
|
<!-- Schema file written by PDE -->
|
|
<schema targetNamespace="org.eclipse.cdt.ui" xmlns="http://www.w3.org/2001/XMLSchema">
|
|
<annotation>
|
|
<appInfo>
|
|
<meta.schema plugin="org.eclipse.cdt.ui" id="CCallHierarchy" name="The Call Hierarchy Tree Extension"/>
|
|
</appInfo>
|
|
<documentation>
|
|
This Call Hierarchy Tree Extension makes possible to extend the CH tree content by adding a new node at the top of the tree, respectivity to customize it's icon and style text, and to add additional click listeners. This could be usefull for mixed source projects, when original declaration of a CDT node comes from a different programming language.
|
|
</documentation>
|
|
</annotation>
|
|
|
|
<element name="extension">
|
|
<annotation>
|
|
<appInfo>
|
|
<meta.element />
|
|
</appInfo>
|
|
</annotation>
|
|
<complexType>
|
|
<sequence>
|
|
<element ref="CallHierarchyContentProvider"/>
|
|
<element ref="CallHierarchyLabelProvider"/>
|
|
</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="CallHierarchyContentProvider">
|
|
<complexType>
|
|
<attribute name="id" type="string" use="required">
|
|
<annotation>
|
|
<documentation>
|
|
|
|
</documentation>
|
|
<appInfo>
|
|
<meta.attribute kind="identifier"/>
|
|
</appInfo>
|
|
</annotation>
|
|
</attribute>
|
|
<attribute name="class" type="string" use="required">
|
|
<annotation>
|
|
<documentation>
|
|
</documentation>
|
|
<appInfo>
|
|
<meta.attribute kind="java" basedOn=":org.eclipse.cdt.ui.ICHEContentProvider"/>
|
|
</appInfo>
|
|
</annotation>
|
|
</attribute>
|
|
</complexType>
|
|
</element>
|
|
|
|
<element name="CallHierarchyLabelProvider">
|
|
<complexType>
|
|
<attribute name="id" type="string" use="required">
|
|
<annotation>
|
|
<documentation>
|
|
|
|
</documentation>
|
|
<appInfo>
|
|
<meta.attribute kind="identifier"/>
|
|
</appInfo>
|
|
</annotation>
|
|
</attribute>
|
|
<attribute name="class" type="string" use="required">
|
|
<annotation>
|
|
<documentation>
|
|
</documentation>
|
|
<appInfo>
|
|
<meta.attribute kind="java" basedOn=":org.eclipse.jface.viewers.DelegatingStyledCellLabelProvider$IStyledLabelProvider"/>
|
|
</appInfo>
|
|
</annotation>
|
|
</attribute>
|
|
</complexType>
|
|
</element>
|
|
|
|
<annotation>
|
|
<appInfo>
|
|
<meta.section type="since"/>
|
|
</appInfo>
|
|
<documentation>
|
|
6.4
|
|
</documentation>
|
|
</annotation>
|
|
|
|
<annotation>
|
|
<appInfo>
|
|
<meta.section type="examples"/>
|
|
</appInfo>
|
|
<documentation>
|
|
A full sample of implementation is provided in org.eclipse.cdt.ui.tests plugin.
|
|
<extension
|
|
point="org.eclipse.cdt.ui.CCallHierarchy">
|
|
<CallHierarchyLabelProvider
|
|
class="org.eclipse.cdt.ui.tests.callhierarchy.extension.CHLabelProvider"
|
|
id="org.eclipse.cdt.ui.tests.callhierarchy.extension.CHLabelProvider">
|
|
</CallHierarchyLabelProvider>
|
|
<CallHierarchyContentProvider
|
|
class="org.eclipse.cdt.ui.tests.callhierarchy.extension.CHContentProvider"
|
|
id="org.eclipse.cdt.ui.tests.callhierarchy.extension.CHContentProvider">
|
|
</CallHierarchyContentProvider>
|
|
</extension>
|
|
|
|
|
|
</documentation>
|
|
</annotation>
|
|
|
|
<annotation>
|
|
<appInfo>
|
|
<meta.section type="apiinfo"/>
|
|
</appInfo>
|
|
<documentation>
|
|
[Enter API information here.]
|
|
</documentation>
|
|
</annotation>
|
|
|
|
<annotation>
|
|
<appInfo>
|
|
<meta.section type="implementation"/>
|
|
</appInfo>
|
|
<documentation>
|
|
[Enter information about supplied implementation of this extension point.]
|
|
</documentation>
|
|
</annotation>
|
|
|
|
|
|
</schema>
|