<!ELEMENT extension (launcher*)>
<!ATTLIST extension
point CDATA #REQUIRED
id CDATA #IMPLIED
name CDATA #IMPLIED>
<!ELEMENT launcher EMPTY>
<!ATTLIST launcher
id CDATA #REQUIRED
class CDATA #REQUIRED
modes CDATA #REQUIRED
label CDATA #REQUIRED
wizard CDATA #IMPLIED
public (true | false)
description CDATA #IMPLIED
perspective CDATA #IMPLIED
icon CDATA #IMPLIED>
org.eclipse.debug.core.model.ILauncherDelegate
を実装する Java クラスの完全修飾名。org.eclipse.debug.core.ILaunchManager
で定義します。
ランチャーは、一方または両方のモードを起動できる場合があります。org.eclipse.debug.ui.ILaunchWizard
を実装するクラスの完全修飾名。
この属性は、デバッグ
UI により使用されます。ランチャーによりウィザードが追加される場合もあり、
そのウィザードを使用して、特定の属性を構成し、
起動できます。true
の場合、
ランチャーはデバッグ
UI から使用できます - ランチャーは、
デフォルト・ランチャーの選択項目として表示され、
このランチャーにより作成された起動は起動ヒストリーに表示され、
ランチャーはドロップダウン・ツールバーのアクションから使用できます。
上の例では、 指定されたランチャーは実行モードおよびデバッグ・モードの両方をサポートします。 正常に起動された後、 デバッグ UI は Java パースペクティブに変更します。デバッグ UI によりランチャーを選択するリストが表示されるとき、 "Example Launcher" が選択項目の 1 つとして表示され、かつその説明として "Launches example programs" も表示され、 com.example.launchers.ui.ExampleLaunchWizard に指定したウィザードを使用して、起動の特定の詳細情報を構成します。<extension point =
"org.eclipse.debug.core.launchers"
>
<launcher id =
"com.example.ExampleLauncher"
class =
"com.example.launchers.ExampleLauncher"
modes =
"run, debug"
label =
"Example Launcher"
wizard =
"com.example.launchers.ui.ExampleLaunchWizard"
public =
"true"
description =
"Launches example programs"
perspective=
"com.example.JavaPerspective"
>
</launcher>
</extension>
Copyright (c) 2000, 2005 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