mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-06-07 17:56:01 +02:00
176 lines
5.9 KiB
Text
176 lines
5.9 KiB
Text
![]() |
<?xml version='1.0' encoding='UTF-8'?>
|
||
|
<!-- Schema file written by PDE -->
|
||
|
<schema targetNamespace="org.eclipse.cdt.flatpak.launcher" xmlns="http://www.w3.org/2001/XMLSchema">
|
||
|
<annotation>
|
||
|
<appInfo>
|
||
|
<meta.schema plugin="org.eclipse.cdt.flatpak.launcher" id="flatpakPreferencePages" name="flatpakPreferencePages"/>
|
||
|
</appInfo>
|
||
|
<documentation>
|
||
|
Specify a Preference page which only gets added if running under Eclipse flatpak
|
||
|
</documentation>
|
||
|
</annotation>
|
||
|
|
||
|
<element name="extension">
|
||
|
<complexType>
|
||
|
<sequence>
|
||
|
<element ref="page" 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="page">
|
||
|
<annotation>
|
||
|
<appInfo>
|
||
|
<meta.element labelAttribute="name"/>
|
||
|
</appInfo>
|
||
|
</annotation>
|
||
|
<complexType>
|
||
|
<sequence>
|
||
|
<element ref="keywordReference" minOccurs="0" maxOccurs="unbounded"/>
|
||
|
</sequence>
|
||
|
<attribute name="id" type="string" use="required">
|
||
|
<annotation>
|
||
|
<documentation>
|
||
|
a unique name that will be used to identify the page
|
||
|
</documentation>
|
||
|
</annotation>
|
||
|
</attribute>
|
||
|
<attribute name="name" type="string" use="required">
|
||
|
<annotation>
|
||
|
<documentation>
|
||
|
a translatable name that will be used in the UI for this page
|
||
|
</documentation>
|
||
|
<appInfo>
|
||
|
<meta.attribute translatable="true"/>
|
||
|
</appInfo>
|
||
|
</annotation>
|
||
|
</attribute>
|
||
|
<attribute name="class" type="string" use="required">
|
||
|
<annotation>
|
||
|
<documentation>
|
||
|
A class that implements org.eclipse.ui.IWorkbenchPreferencePage
|
||
|
</documentation>
|
||
|
<appInfo>
|
||
|
<meta.attribute kind="java" basedOn="org.eclipse.jface.preference.PreferencePage:org.eclipse.ui.IWorkbenchPreferencePage"/>
|
||
|
</appInfo>
|
||
|
</annotation>
|
||
|
</attribute>
|
||
|
<attribute name="category" type="string">
|
||
|
<annotation>
|
||
|
<documentation>
|
||
|
a path indicating the location of the page in the preference tree. The path may either be a parent node ID or a sequence
|
||
|
of IDs separated by &apos;/&apos;, representing the full path from the root node.
|
||
|
</documentation>
|
||
|
<appInfo>
|
||
|
<meta.attribute kind="identifier" basedOn="org.eclipse.ui.preferencePages/page/@id"/>
|
||
|
</appInfo>
|
||
|
</annotation>
|
||
|
</attribute>
|
||
|
</complexType>
|
||
|
</element>
|
||
|
|
||
|
<element name="keywordReference">
|
||
|
<annotation>
|
||
|
<documentation>
|
||
|
A reference by a preference page to a keyword. See the keywords extension point.
|
||
|
</documentation>
|
||
|
</annotation>
|
||
|
<complexType>
|
||
|
<attribute name="id" type="string" use="required">
|
||
|
<annotation>
|
||
|
<documentation>
|
||
|
The id of the keyword being referred to.
|
||
|
</documentation>
|
||
|
<appinfo>
|
||
|
<meta.attribute kind="identifier" basedOn="org.eclipse.ui.keywords/keyword/@id"/>
|
||
|
</appinfo>
|
||
|
</annotation>
|
||
|
</attribute>
|
||
|
</complexType>
|
||
|
</element>
|
||
|
|
||
|
<annotation>
|
||
|
<appInfo>
|
||
|
<meta.section type="since"/>
|
||
|
</appInfo>
|
||
|
<documentation>
|
||
|
10.0.0
|
||
|
</documentation>
|
||
|
</annotation>
|
||
|
|
||
|
<annotation>
|
||
|
<appInfo>
|
||
|
<meta.section type="examples"/>
|
||
|
</appInfo>
|
||
|
<documentation>
|
||
|
The following is an example for the preference extension point:
|
||
|
<p>
|
||
|
<pre>
|
||
|
<extension
|
||
|
point="org.eclipse.cdt.flatpak.launch.preferencePages">
|
||
|
<page
|
||
|
id="com.xyz.prefpage1"
|
||
|
name="XYZ"
|
||
|
class="com.xyz.prefpages.PrefPage1">
|
||
|
<keywordReference id="xyz.Keyword"/>
|
||
|
</page>
|
||
|
<page
|
||
|
id="com.xyz.prefpage2"
|
||
|
name="Keyboard Settings"
|
||
|
class="com.xyz.prefpages.PrefPage2"
|
||
|
category="com.xyz.prefpage1">
|
||
|
</page>
|
||
|
</extension>
|
||
|
</pre>
|
||
|
</p>
|
||
|
</documentation>
|
||
|
</annotation>
|
||
|
|
||
|
<annotation>
|
||
|
<appInfo>
|
||
|
<meta.section type="apiinfo"/>
|
||
|
</appInfo>
|
||
|
<documentation>
|
||
|
The value of the attribute class must represent a fully qualified name of the class that implements
|
||
|
<samp>org.eclipse.ui.IWorkbenchPreferencePage</samp>.
|
||
|
</documentation>
|
||
|
</annotation>
|
||
|
|
||
|
<annotation>
|
||
|
<appInfo>
|
||
|
<meta.section type="implementation"/>
|
||
|
</appInfo>
|
||
|
<documentation>
|
||
|
The workbench adds several pages for setting the preferences of the platform. Pages registered
|
||
|
through this extension will be added after them according to their category information but only if
|
||
|
running under Eclipse flatpak.
|
||
|
</documentation>
|
||
|
</annotation>
|
||
|
|
||
|
|
||
|
</schema>
|