目标位置提供者

标识:
org.eclipse.pde.ui.targetLocationProvisioners

起始版本:
3.8

描述:

此扩展点用于注册将创建新目标位置的目标位置提供者向导。当用户尝试从目标平台首选项页或目标编辑器中将插件添加到目标定义时,将列示每个插件提供者。所选提供者负责提供要添加到目标定义的目标位置。

客户机可以通过 org.eclipse.pde.core.targetLocations 扩展点来提供其自身的目标位置实现。此扩展点允许由用户添加定制位置实现。将使用适配器框架来处理其他 UI 交互(请参阅有关 org.eclipse.pde.core.target.ITargetDefinition 的文档)。

配置标记:

<!ELEMENT extension (locationProvider+)>

<!ATTLIST extension

point CDATA #REQUIRED

id    CDATA #IMPLIED

name  CDATA #IMPLIED

>


<!ELEMENT locationProvider (description?)>

<!ATTLIST locationProvider

id    CDATA #REQUIRED

name  CDATA #REQUIRED

icon  CDATA #IMPLIED

class CDATA #REQUIRED

>


<!ELEMENT description (#PCDATA)>

提供者的便于阅读的描述。



示例:

以下是此扩展点的示例:


    <extension
         point="org.eclipse.pde.ui.targetLocationProvisioners">
      <locationProvider
            class="org.eclipse.example.exampleTargetWizard"
            icon="icons/obj16/exampleTargetLocation.gif"
            id="org.eclipse.example.exampleTargetProvisioner"
            name="%targetLocationProvider.example.name"
         <description>
            %targetLocationProvider.example.description
         </description>
      </locationProvider>
</extension>

API 信息:
此扩展点添加的向导必须实现 org.eclipse.pde.ui.target.ITargetLocationWizard。

提供的实现:

PDE 提供内部位置提供者实现以从更新站点和 p2 存储库中添加插件。请参阅 org.eclipse.pde.ui.shared.target.InstallableUnitWizard。


Copyright © 2011, 2012 IBM Corporation and others.
All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v1.0 which accompanies this distribution, and is available at http://www.eclipse.org/legal/epl-v10.html.