| <?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="targetLocationProvisioners" name="Target Location Provisioners"/>
|
| </appInfo>
|
| <documentation>
|
| <p>
|
| This extension point is used to register a target location provisioner wizard that will create new target locations. Each plug-in provisioner is listed when the user attempts to add plug-ins to a target definition from the Target Platform Preference Page or Target Editor. The selected provisioner is responsible for providing the target location or locations to add to the target definition.
|
| </p><p>
|
| Clients can provide their own target location implementations through the <code>org.eclipse.pde.core.targetLocations</code> extension point. This extension point allows custom location implementations to be added by the user. Additional UI interaction is handled using the adapter framework (see documentation on <code>org.eclipse.pde.core.target.ITargetDefinition</code>).
|
| </p>
|
| </documentation>
|
| </annotation>
|
|
|
| <element name="extension">
|
| <annotation>
|
| <appInfo>
|
| <meta.element />
|
| </appInfo>
|
| </annotation>
|
| <complexType>
|
| <sequence>
|
| <element ref="locationProvider" 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="locationProvider">
|
| <annotation>
|
| <appInfo>
|
| <meta.element labelAttribute="name" icon="icon"/>
|
| </appInfo>
|
| </annotation>
|
| <complexType>
|
| <sequence>
|
| <element ref="description" minOccurs="0" maxOccurs="1"/>
|
| </sequence>
|
| <attribute name="id" type="string" use="required">
|
| <annotation>
|
| <documentation>
|
| a unique identifier of the provisioner
|
| </documentation>
|
| </annotation>
|
| </attribute>
|
| <attribute name="name" type="string" use="required">
|
| <annotation>
|
| <documentation>
|
| human readable name of the provisioner
|
| </documentation>
|
| <appInfo>
|
| <meta.attribute translatable="true"/>
|
| </appInfo>
|
| </annotation>
|
| </attribute>
|
| <attribute name="icon" type="string">
|
| <annotation>
|
| <documentation>
|
| a relative path of an icon that will be used to visually
|
| represent the provisioner.
|
| </documentation>
|
| <appInfo>
|
| <meta.attribute kind="resource"/>
|
| </appInfo>
|
| </annotation>
|
| </attribute>
|
| <attribute name="class" type="string" use="required">
|
| <annotation>
|
| <documentation>
|
| a class that provides a wizard for the user to add content to the target. The value of this attribute is the fully qualified name of the Java class that implements <code>org.eclipse.pde.ui.target.ITargetLocationWizard</code>.
|
| </documentation>
|
| <appInfo>
|
| <meta.attribute kind="java" basedOn=":org.eclipse.pde.ui.target.ITargetLocationWizard"/>
|
| </appInfo>
|
| </annotation>
|
| </attribute>
|
| </complexType>
|
| </element>
|
|
|
| <element name="description" type="string">
|
| <annotation>
|
| <appInfo>
|
| <meta.element translatable="true"/>
|
| </appInfo>
|
| <documentation>
|
| human-readable description of the provisioner
|
| </documentation>
|
| </annotation>
|
| </element>
|
|
|
| <annotation>
|
| <appInfo>
|
| <meta.section type="apiInfo"/>
|
| </appInfo>
|
| <documentation>
|
| The wizard contributed by this extension point must implement <code>org.eclipse.pde.ui.target.ITargetLocationWizard</code>.
|
| </documentation>
|
| </annotation>
|
|
|
| <annotation>
|
| <appInfo>
|
| <meta.section type="since"/>
|
| </appInfo>
|
| <documentation>
|
| 3.8
|
| </documentation>
|
| </annotation>
|
|
|
| <annotation>
|
| <appInfo>
|
| <meta.section type="examples"/>
|
| </appInfo>
|
| <documentation>
|
| <p>
|
| The following is an example of the extension point:
|
| <pre>
|
| <extension
|
| point="org.eclipse.pde.ui.targetLocationProvisioners">
|
| <locationProvider
|
| class="org.eclipse.example.exampleTargetWizard"
|
| icon="icons/obj16/exampleTargetLocation.png"
|
| id="org.eclipse.example.exampleTargetProvisioner"
|
| name="%targetLocationProvider.example.name"
|
| <description>
|
| %targetLocationProvider.example.description
|
| </description>
|
| </locationProvider>
|
| </extension>
|
| </pre>
|
| </documentation>
|
| </annotation>
|
|
|
| <annotation>
|
| <appInfo>
|
| <meta.section type="implementation"/>
|
| </appInfo>
|
| <documentation>
|
| <p>
|
| PDE supplies an internal location provisioner implementation to add plug-ins from update sites and p2 repositories. See <code>org.eclipse.pde.ui.shared.target.InstallableUnitWizard</code>.
|
| </p>
|
| </documentation>
|
| </annotation>
|
|
|
| <annotation>
|
| <appInfo>
|
| <meta.section type="copyright"/>
|
| </appInfo>
|
| <documentation>
|
| Copyright (c) 2011, 2014 IBM Corporation and others.
|
| <br>
|
| |
| 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
|
| <a href="https://www.eclipse.org/legal/epl-2.0">https://www.eclipse.org/legal/epl-v20.html</a>/ |
| |
| SPDX-License-Identifier: EPL-2.0.
|
| </documentation>
|
| </annotation>
|
|
|
| </schema>
|