org.seasar.uruma.rcp
クラス UrumaActivator

java.lang.Object
  上位を拡張 org.eclipse.core.runtime.Plugin
      上位を拡張 org.eclipse.ui.plugin.AbstractUIPlugin
          上位を拡張 org.seasar.uruma.rcp.UrumaActivator
すべての実装されたインタフェース:
BundleActivator

public class UrumaActivator
extends AbstractUIPlugin

Uruma RCP アプリケーションのためのアクティベータです。

作成者:
y-komori

フィールドの概要
 
クラス org.eclipse.core.runtime.Plugin から継承されたフィールド
PLUGIN_PREFERENCE_SCOPE, PREFERENCES_DEFAULT_OVERRIDE_BASE_NAME, PREFERENCES_DEFAULT_OVERRIDE_FILE_NAME
 
コンストラクタの概要
UrumaActivator()
          UrumaActivator を構築します。
 
メソッドの概要
 String createRcpId(String id)
           
static UrumaActivator getInstance()
          UrumaActivator のインスタンスを返します。
 String getLocalId(String rcpId)
           
 String getPluginId()
          現在のプラグイン ID を返します。
 S2Container getS2Container()
          S2Container のインスタンスを返します。
 Template getTemplate(String path)
          指定されたパスの画面定義XMLを読み込み、Template オブジェクトを生成します。
 WorkbenchComponent getWorkbenchComponent()
          WorkbenchComponent を返します。
 WindowContext getWorkbenchWindowContext()
          ワークベンチウィンドウに対応する WindowContext を返します。
protected  void initS2Container()
           
protected  void registComponentsToS2Container()
           
protected  void setupApplication()
           
protected  void setupContributor()
           
protected  void setupPerspectives()
           
 void start(BundleContext context)
           
 void stop(BundleContext context)
           
 
クラス org.eclipse.ui.plugin.AbstractUIPlugin から継承されたメソッド
createImageRegistry, getDialogSettings, getImageRegistry, getPreferenceStore, getWorkbench, imageDescriptorFromPlugin, initializeDefaultPluginPreferences, initializeDefaultPreferences, initializeImageRegistry, loadDialogSettings, loadPreferenceStore, refreshPluginActions, saveDialogSettings, savePreferenceStore, shutdown, startup
 
クラス org.eclipse.core.runtime.Plugin から継承されたメソッド
find, find, getBundle, getDescriptor, getLog, getPluginPreferences, getStateLocation, internalInitializeDefaultPluginPreferences, isDebugging, openStream, openStream, savePluginPreferences, setDebugging, toString
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

コンストラクタの詳細

UrumaActivator

public UrumaActivator()
UrumaActivator を構築します。

メソッドの詳細

start

public final void start(BundleContext context)
                 throws Exception
定義:
インタフェース BundleActivator 内の start
オーバーライド:
クラス AbstractUIPlugin 内の start
例外:
Exception

getInstance

public static UrumaActivator getInstance()
UrumaActivator のインスタンスを返します。

戻り値:
UrumaActivator のインスタンス

getS2Container

public S2Container getS2Container()
S2Container のインスタンスを返します。

戻り値:
S2Container のインスタンス

stop

public final void stop(BundleContext context)
                throws Exception
定義:
インタフェース BundleActivator 内の stop
オーバーライド:
クラス AbstractUIPlugin 内の stop
例外:
Exception

setupApplication

protected void setupApplication()

setupPerspectives

protected void setupPerspectives()

getWorkbenchComponent

public WorkbenchComponent getWorkbenchComponent()
WorkbenchComponent を返します。

戻り値:
WorkbenchComponent オブジェクト

getWorkbenchWindowContext

public WindowContext getWorkbenchWindowContext()
ワークベンチウィンドウに対応する WindowContext を返します。

戻り値:
WindowContext

getPluginId

public String getPluginId()
現在のプラグイン ID を返します。

戻り値:
プラグイン ID

getTemplate

public Template getTemplate(String path)
指定されたパスの画面定義XMLを読み込み、Template オブジェクトを生成します。

パラメータ:
path - 画面定義XMLのパス
戻り値:
Template オブジェクト

initS2Container

protected void initS2Container()

registComponentsToS2Container

protected void registComponentsToS2Container()

setupContributor

protected void setupContributor()

createRcpId

public String createRcpId(String id)

getLocalId

public String getLocalId(String rcpId)


Copyright © 2006-2007 The Seasar Foundation. All Rights Reserved.