blob: 3aaea1682db6b4a192e84d515a8ee074bb3f8334 [file] [log] [blame]
<?xml version='1.0' encoding='UTF-8'?>
<!-- Schema file written by PDE -->
<schema targetNamespace="org.eclipse.pde.ui" xmlns="http://www.w3.org/2001/XMLSchema">
<annotation>
<appInfo>
<meta.schema plugin="org.eclipse.pde.ui" id="osgiFrameworks" name="OSGi Frameworks"/>
</appInfo>
<documentation>
&lt;p&gt;
This extension point is used to register new OSGi frameworks. Each framework is associated with a launcher delegate that is called when the OSGi framework is selected in the &lt;b&gt;OSGi Framework&lt;/b&gt; launch configuration.
&lt;/p&gt;
&lt;p&gt;Registered OSGi frameworks appear on the &lt;b&gt;Plug-in Development &gt; OSGi frameworks&lt;/b&gt; preference page, where a default framework can be set.
&lt;/p&gt;
</documentation>
</annotation>
<element name="extension">
<annotation>
<appInfo>
<meta.element />
</appInfo>
</annotation>
<complexType>
<sequence>
<element ref="framework" minOccurs="1" 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="framework">
<complexType>
<attribute name="id" type="string" use="required">
<annotation>
<documentation>
a unique identifier of the framework
</documentation>
</annotation>
</attribute>
<attribute name="name" type="string" use="required">
<annotation>
<documentation>
human-readable name of the OSGi framework
</documentation>
<appInfo>
<meta.attribute translatable="true"/>
</appInfo>
</annotation>
</attribute>
<attribute name="launcherDelegate" type="string" use="required">
<annotation>
<documentation>
a launch configuration delegate to launch the OSGi framework. The value of this attribute is the fully qualified name of the Java class that extends &lt;code&gt;org.eclipse.pde.launcher.AbstractPDELaunchConfiguration&lt;/code&gt;.
</documentation>
<appInfo>
<meta.attribute kind="java" basedOn="org.eclipse.pde.launcher.AbstractPDELaunchConfiguration"/>
</appInfo>
</annotation>
</attribute>
<attribute name="initializer" type="string">
<annotation>
<documentation>
initializes new OSGi Framework launch configurations with suitable defaults. The value of this attribute must be a fully-qualified name of a Java class that extends the default implementation &lt;code&gt;org.eclipse.pde.launcher.OSGiLaunchConfigurationInitializer&lt;/code&gt;. If not specified, the default initializer &lt;code&gt;org.eclipse.pde.launcher.OSGiLaunchConfigurationInitializer&lt;/code&gt; is instantiated.
</documentation>
<appInfo>
<meta.attribute kind="java" basedOn="org.eclipse.pde.launcher.OSGiLaunchConfigurationInitializer"/>
</appInfo>
</annotation>
</attribute>
</complexType>
</element>
<annotation>
<appInfo>
<meta.section type="since"/>
</appInfo>
<documentation>
3.3
&lt;p&gt;
This extension point was moved from &lt;code&gt;org.eclipse.pde.ui&lt;/code&gt; to &lt;code&gt;org.eclipse.pde.launching&lt;/code&gt; in 3.6. However, its qualified name and visibility remains the same.
&lt;/p&gt;
</documentation>
</annotation>
<annotation>
<appInfo>
<meta.section type="examples"/>
</appInfo>
<documentation>
&lt;p&gt;
The following is an example of the extension point:
&lt;pre&gt;
&lt;extension
point=&quot;org.eclipse.pde.launching.osgiFrameworks&quot;&gt;
&lt;framework
launcherDelegate=&quot;org.eclipse.pde.launcher.EquinoxLaunchConfiguration&quot;
id=&quot;org.eclipse.pde.ui.EquinoxFramework&quot;
name=&quot;%Equinox.shortcut.label&quot;
initializer=&quot;org.eclipse.pde.internal.launcher.EquinoxInitializer&quot;/&gt;
&lt;/extension&gt;
&lt;/pre&gt;
</documentation>
</annotation>
<annotation>
<appInfo>
<meta.section type="apiInfo"/>
</appInfo>
<documentation>
&lt;p&gt;
The value of the attribute &lt;code&gt;launcherDelegate&lt;/code&gt; must be a fully qualified name of a Java class that extends &lt;code&gt;org.eclipse.pde.launcher.AbstractPDELaunchConfiguration&lt;/code&gt;. If the launcher is to provide its own source lookup order, then the method &lt;code&gt;setDefaultSourceLocator&lt;/code&gt; should be overridden.
&lt;/p&gt;
&lt;p&gt;
The value of the attribute &lt;code&gt;initializer&lt;/code&gt; must be a fully qualified name of a Java class that extends &lt;code&gt;org.eclipse.launcher.OSGiLaunchConfigurationInitializer&lt;/code&gt;.
&lt;/p&gt;
</documentation>
</annotation>
<annotation>
<appInfo>
<meta.section type="implementation"/>
</appInfo>
<documentation>
&lt;p&gt;
PDE supplies the Equinox OSGi Framework extension to launch Equinox frameworks.
&lt;/p&gt;
</documentation>
</annotation>
<annotation>
<appInfo>
<meta.section type="copyright"/>
</appInfo>
<documentation>
Copyright (c) 2006, 2010 IBM Corporation and others.
&lt;br&gt;
This program and the accompanying materials are made
available under the terms of the Eclipse Public License 2.0 which
accompanies this distribution, and is available at
&lt;a href=&quot;https://www.eclipse.org/legal/epl-2.0&quot;&gt;https://www.eclipse.org/legal/epl-v20.html&lt;/a&gt;/
SPDX-License-Identifier: EPL-2.0.
</documentation>
</annotation>
</schema>