|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Objectorg.eclipse.core.runtime.Plugin
org.eclipse.ui.plugin.AbstractUIPlugin
org.seasar.eclipse.rcp.ui.S2RcpActivator
public abstract class S2RcpActivator
S2RCP アプリケーションのための基底アクティベータです。
S2RCPを利用するアプリケーションは、本クラスを継承したアクティベータを作成してください。
フィールドの概要 | |
---|---|
protected S2RcpActivator |
plugin
|
static String |
PLUGIN
S2Container へ本クラスを登録する際のコンポーネント名です。 |
static String |
WINDOW_CONTEXT
S2Container へ WindowContext オブジェクトを登録する際のコンポーネント名です。 |
クラス org.eclipse.core.runtime.Plugin から継承されたフィールド |
---|
PLUGIN_PREFERENCE_SCOPE, PREFERENCES_DEFAULT_OVERRIDE_BASE_NAME, PREFERENCES_DEFAULT_OVERRIDE_FILE_NAME |
コンストラクタの概要 | |
---|---|
S2RcpActivator()
S2RcpActivator を構築します。 |
メソッドの概要 | |
---|---|
protected S2Container |
getContainer()
S2Container のインスタンスを取得します。 |
Template |
getTemplate(String path)
指定されたパスの画面定義XMLを読み込み、 Template オブジェクトを生成します。 |
protected void |
registComponentsToS2Container()
|
protected abstract void |
s2RcpStart(org.osgi.framework.BundleContext context)
プラグイン初期化時に呼び出されるメソッドです。 |
protected abstract void |
s2RcpStop(org.osgi.framework.BundleContext context)
プラグイン終了時に呼び出されるメソッドです。 |
void |
start(org.osgi.framework.BundleContext context)
|
void |
stop(org.osgi.framework.BundleContext context)
|
クラス 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 |
フィールドの詳細 |
---|
protected S2RcpActivator plugin
public static final String PLUGIN
S2Container
へ本クラスを登録する際のコンポーネント名です。
public static final String WINDOW_CONTEXT
S2Container
へ WindowContext
オブジェクトを登録する際のコンポーネント名です。
コンストラクタの詳細 |
---|
public S2RcpActivator()
S2RcpActivator
を構築します。
メソッドの詳細 |
---|
public final void start(org.osgi.framework.BundleContext context) throws Exception
org.osgi.framework.BundleActivator
内の start
AbstractUIPlugin
内の start
Exception
protected void registComponentsToS2Container()
public final void stop(org.osgi.framework.BundleContext context) throws Exception
org.osgi.framework.BundleActivator
内の stop
AbstractUIPlugin
内の stop
Exception
public Template getTemplate(String path)
Template
オブジェクトを生成します。
path
- 画面定義XMLのパス
Template
オブジェクトprotected S2Container getContainer()
S2Container
のインスタンスを取得します。
S2Container
のインスタンスprotected abstract void s2RcpStart(org.osgi.framework.BundleContext context) throws Exception
プラグイン初期化時の処理は、本メソッドをオーバーライドして記述してください。
context
- BundleContext
オブジェクト
Exception
protected abstract void s2RcpStop(org.osgi.framework.BundleContext context) throws Exception
プラグイン終了時の処理は、本メソッドをオーバーライドして記述してください。
context
- BundleContext
オブジェクト
Exception
|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |