この拡張ポイントは、新規ターゲット・ロケーションを作成するターゲット・ロケーション・プロビジョナー・ウィザードを登録するために使用します。ユーザーが「ターゲット・プラットフォーム」設定ページまたはターゲット・エディターからプラグインをターゲット定義に追加しようとするときに、各プラグイン・プロビジョナーがリストされます。選択されたプロビジョナーは、ターゲット定義に追加するターゲット・ロケーションを提供する役割を担います。
クライアントは、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
>org.eclipse.pde.ui.target.ITargetLocationWizard を実装する Java クラスの完全修飾名です。<!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>
org.eclipse.pde.ui.target.ITargetLocationWizard を実装しなければなりません。
PDE は、更新サイトおよび p2 リポジトリーからプラグインを追加するための内部ロケーション・プロビジョナー実装を提供します。org.eclipse.pde.ui.shared.target.InstallableUnitWizard を参照してください。
Copyright (c) 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.