- 追加された行はこの色です。
- 削除された行はこの色です。
----
SIZE(10){[[FrontPage]]}~
SIZE(10){現在のアクセス:&counter;}
// 下階層用テンプレート
#topicpath
----
//ここにコンテンツを記述します。
イントロ画面(概要画面)とは、Eclipseを初めて起動したときに表示される、ワークベンチを覆う青い画面のことです。初めてアプリを使うヒトのための「ようこそ」画面ですね。
#ref(basicIntro.png)
***拡張ポイント [#sabf0d4e]
org.eclipse.ui.intro
後のorg.eclipse.ui.intro.config.CustomizableIntroPartなどを使う場合は、plugin.xmlで <import plugin="org.eclipse.ui.intro"/>
を追加してください。
***plugin.xmlのサンプル [#k2f912f9]
<extension point="org.eclipse.ui.intro">
<intro class="nu.mine.kino.plugin.samples.rcp.SampleIntroPart"
icon="icons/sample.gif"
id="nu.mine.kino.plugin.samples.rcp.intro1"/> <-イントロのID
<introProductBinding
introId="nu.mine.kino.plugin.samples.rcp.intro1" <-上のイントロのID
productId="nu.mine.kino.plugin.samples.rcp.product"/> <-rcpのproductID
</extension>
拡張ポイントに対応するJavaのインタフェースは
org.eclipse.ui.intro.IIntroPart
ですがEclipseが
org.eclipse.ui.part.IntroPart
org.eclipse.ui.intro.config.CustomizableIntroPart
などを提供してくれています。
**TIPS [#zea0f041]
***イントロ画面を再表示する [#maf8a135]
消したイントロ画面を再表示するには
IWorkbench.getIntroManager()
.showIntro(IWorkbenchWindow preferredWindow,boolean standby)
をよべばよい。boolean standbyは、[[IIntroManagerのJavaDoc:http://help.eclipse.org/help31/index.jsp?topic=/org.eclipse.platform.doc.isv/reference/api/org/eclipse/ui/intro/IIntroManager.html]]によると''standby - true to put the intro part in its partially visible standy mode, and false to make it fully visible'' なので、全画面を覆い隠したい場合はfalse,一部分に出したい場合はtrueみたいです。
ちなみに、ActionFactoryから取得できる org.eclipse.ui.internal.IntroAction は
workbenchWindow.getWorkbench().getIntroManager().showIntro(
workbenchWindow, false);
となってましたね。
**関連リンク [#y167af3a]
-[[とりあえずメモ:http://www.jsurfer.de/modules.php?name=Forums&file=viewtopic&t=1329&start=0&postdays=0&postorder=asc&highlight=]] サンプルがありそう
-[[とりあえずメモ:http://www.eclipse.org/eclipse/platform-ua/proposals/xhtml/index.htm]] サンプルがありそう
----
この記事は
#vote(おもしろかった,そうでもない)
#comment
#topicpath
SIZE(10){現在のアクセス:&counter;}