// 下階層用テンプレート
#topicpath
----
//ここにコンテンツを記述します。


org.eclipse.core.runtime.Platform#endSplash() を実行すると、表示されているスプラッシュスクリーンを終了することができます。

サンプル:
  public Object run(Object args) throws Exception {
    Display display = PlatformUI.createDisplay();
    try {
      final Session session = Session.getInstance();
      Platform.endSplash();
      if (!login(session))
        return IPlatformRunnable.EXIT_OK;
      int returnCode = PlatformUI.createAndRunWorkbench(display,
          new ApplicationWorkbenchAdvisor());
      if (returnCode == PlatformUI.RETURN_RESTART) {
        return IPlatformRunnable.EXIT_RESTART;
      }
      return IPlatformRunnable.EXIT_OK;
    } finally {
      display.dispose();
    }
  }
これは[[Eclipse Rich Client Platform の本:http://www.amazon.co.jp/exec/obidos/redirect?tag=kinosite-22&creative=203&camp=23&link_code=st1&adid=08Q0CN8N57JPRN1SHXFR&path=tg/sim-explorer/explore-items/-/0321334612]]に載ってたサンプルです。

----
この記事は
#vote(おもしろかった,そうでもない)

#comment
#topicpath


SIZE(10){現在のアクセス:&counter;}


トップ   編集 差分 バックアップ 添付 複製 名前変更 リロード   新規 一覧 単語検索 最終更新   ヘルプ   最終更新のRSS