起動ショートカット

識別子:
org.eclipse.pde.ui.launchShortcuts

開始:
3.3

説明:

この拡張ポイントは、PDE エディターで起動ショートカットを登録する場合に使用します。 起動ショートカットは、プラグイン・マニフェスト・エディターの「概要」ページの「テスト」セクションに表示されます。これによって、クライアントは、 そのカスタム起動構成のショートカットをエディターに表示したり、既存の Eclipse アプリケーションおよび OSGi フレームワーク起動構成のプロファイル・モードにショートカットを提供したりすることができます。

構成マークアップ:

<!ELEMENT extension (shortcut+)>

<!ATTLIST extension

point CDATA #REQUIRED

id    CDATA #IMPLIED

name  CDATA #IMPLIED

>


<!ELEMENT shortcut EMPTY>

<!ATTLIST shortcut

id              CDATA #REQUIRED

label           CDATA #REQUIRED

mode            (run|debug|profile)

osgi            (true | false)

projectSpecific (true | false)

>


例:

この拡張ポイントの例を以下に示します。


   <extension
         point="org.eclipse.pde.ui.launchShortcuts">
<shortcut
            id="org.eclipse.pde.ui.runtimeWorkbenchShortcut"
            label="Launch an Eclipse Runtime" 
            mode="run"
            osgi="false"/>
   </extension>

API 情報:

属性 id の値は、定義済みの org.eclipse.debug.ui.launchShortcuts 拡張の値です。対応する org.eclipse.debug.ui.launchShortcuts 拡張で指定するクラスはインスタンス化され、その launch(IEditorPart, String) は起動時に呼び出されます。

属性 mode の値は、run、debug、profile のいずれかです。

提供される実装:

PDE は、Eclipse アプリケーションと OSGi フレームワークを起動するショートカット拡張を提供します。


Copyright (c) 2007 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.