<?xml version='1.0' encoding='UTF-8'?> | |
<!-- Schema file written by PDE --> | |
<schema targetNamespace="org.eclipse.contribution.visualiser"> | |
<annotation> | |
<appInfo> | |
<meta.schema plugin="org.eclipse.contribution.visualiser" id="providers" name="Visualiser Providers"/> | |
</appInfo> | |
<documentation> | |
This extension point is used to plug in to the Visualiser by specifying a provider. Each extension must provide an implementor of <FONT face="Courier New" size="-1">org.eclipse.contribution.visualiser.interfaces.IContentProvider</font> and an implementor of <FONT face="Courier New" size="-1">org.eclipse.contribution.visualiser.interfaces.IMarkupProvider</font>. | |
</documentation> | |
</annotation> | |
<element name="extension"> | |
<complexType> | |
<sequence> | |
<element ref="provider"/> | |
</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> | |
</annotation> | |
</attribute> | |
</complexType> | |
</element> | |
<element name="provider"> | |
<annotation> | |
<documentation> | |
Provider definition. | |
</documentation> | |
</annotation> | |
<complexType> | |
<attribute name="contentProviderClass" type="string" use="required"> | |
<annotation> | |
<documentation> | |
Content Provider class (must implement org.eclipse.contribution.visualiser.interface.IContentProvider). | |
</documentation> | |
<appInfo> | |
<meta.attribute kind="java"/> | |
</appInfo> | |
</annotation> | |
</attribute> | |
<attribute name="id" type="string" use="required"> | |
<annotation> | |
<documentation> | |
Unique ID for the provider | |
</documentation> | |
</annotation> | |
</attribute> | |
<attribute name="name" type="string" use="required"> | |
<annotation> | |
<documentation> | |
Name of the provider, to be used in the Visualiser preference page. | |
</documentation> | |
</annotation> | |
</attribute> | |
<attribute name="description" type="string"> | |
<annotation> | |
<documentation> | |
Description of the provider, to be used in the Visualiser preference page. | |
</documentation> | |
</annotation> | |
</attribute> | |
<attribute name="markupProviderClass" type="string" use="required"> | |
<annotation> | |
<documentation> | |
Markup provider class (must implement org.eclipse.contribution.visualiser.interfaces.IMarkupProvider). | |
</documentation> | |
<appInfo> | |
<meta.attribute kind="java"/> | |
</appInfo> | |
</annotation> | |
</attribute> | |
<attribute name="title" type="string"> | |
<annotation> | |
<documentation> | |
Title, to be used in the Visualiser view's title. | |
</documentation> | |
</annotation> | |
</attribute> | |
<attribute name="priority" type="string"> | |
<annotation> | |
<documentation> | |
Integer value where 0 is the lowest, stating the priority of the provider in the list on the Visualiser preference page. This value also determines which of the available providers is selected by default. | |
</documentation> | |
</annotation> | |
</attribute> | |
<attribute name="paletteid" type="string"> | |
<annotation> | |
<documentation> | |
If present, this defines the default palette to be used by this provider | |
</documentation> | |
</annotation> | |
</attribute> | |
<attribute name="emptyMessage" type="string"> | |
<annotation> | |
<documentation> | |
Empty Message - to be displayed in the Visualiser view when no data is available from the content provider. Should ideally direct the user to how to get some data into the view (e.g. "Click on something in the navigator view"). | |
</documentation> | |
</annotation> | |
</attribute> | |
</complexType> | |
</element> | |
<annotation> | |
<appInfo> | |
<meta.section type="since"/> | |
</appInfo> | |
<documentation> | |
</documentation> | |
</annotation> | |
<annotation> | |
<appInfo> | |
<meta.section type="examples"/> | |
</appInfo> | |
<documentation> | |
An example of a simple file-based provider: | |
<P><FONT face="Courier New" color="#000080" size="-1">&lt;extension<BR> | |
&nbsp;&nbsp;&nbsp;&nbsp;id=<FONT color="#008000">&quot;file_providers&quot;<FONT color="#000080"><BR> | |
&nbsp;&nbsp;&nbsp;&nbsp;name=<FONT color="#008000">&quot;File Providers&quot;<FONT color="#000080"><BR> | |
&nbsp;&nbsp;&nbsp;&nbsp;point=<FONT color="#008000">&quot;org.eclipse.contribution.visualiser.providers&quot;<FONT color="#000080">&gt;<BR> | |
&nbsp;&nbsp;&nbsp;&nbsp;&lt;contentProvider<BR> | |
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;markupclass=<FONT color="#008000">&quot;org.eclipse.contribution.visualiser.interfaces.simpleImpl.FileMarkupProvider&quot;<FONT color="#000080"><BR> | |
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;name=<FONT color="#008000">&quot;File content provider&quot;<FONT color="#000080"><BR> | |
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;priority=<FONT color="#008000">&quot;0&quot;<FONT color="#000080"><BR> | |
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;description=<FONT color="#008000">&quot;Simple test provider that reads flat file to determine groups, members and marks&quot;<FONT color="#000080"><BR> | |
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;class=<FONT color="#008000">&quot;org.eclipse.contribution.visualiser.interfaces.simpleImpl.FileContentProvider&quot;<font color="#000080"><BR> | |
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;id=<FONT color="#008000">&quot;filecontentprovider&quot;<font color="#000080">&gt;<BR> | |
&nbsp;&nbsp;&nbsp;&nbsp;&lt;/contentProvider&gt;<BR> | |
&lt;/extension&gt;</FONT></FONT></FONT></FONT></FONT></FONT></FONT></FONT></FONT></FONT></FONT></FONT></FONT></FONT></FONT></FONT></FONT></FONT></FONT></P> | |
</documentation> | |
</annotation> | |
<annotation> | |
<appInfo> | |
<meta.section type="apiInfo"/> | |
</appInfo> | |
<documentation> | |
</documentation> | |
</annotation> | |
<annotation> | |
<appInfo> | |
<meta.section type="implementation"/> | |
</appInfo> | |
<documentation> | |
Several implementation examples are included with the Visualiser | |
</documentation> | |
</annotation> | |
<annotation> | |
<appInfo> | |
<meta.section type="copyright"/> | |
</appInfo> | |
<documentation> | |
</documentation> | |
</annotation> | |
</schema> |