org.seasar.eclipse.rcp
クラス S2RcpPlugin

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

public class S2RcpPlugin
extends Plugin

S2RCP のプラグインクラスです。

作成者:
y-komori

フィールドの概要
 
クラス org.eclipse.core.runtime.Plugin から継承されたフィールド
PLUGIN_PREFERENCE_SCOPE, PREFERENCES_DEFAULT_OVERRIDE_BASE_NAME, PREFERENCES_DEFAULT_OVERRIDE_FILE_NAME
 
コンストラクタの概要
S2RcpPlugin()
          S2RcpPlugin を構築します。
 
メソッドの概要
static S2RcpPlugin getDefault()
          S2RcpPlugin のインスタンスを取得します。
 S2Container getS2Container(String pluginId)
          pluginId で指定されたプラグイン専用の S2Container インスタンスを取得します。
 WindowContext getWindowContext(String pluginId)
          pluginId で指定されたプラグイン専用の WindowContext インスタンスを取得します。
static void log(String msg)
           
static void log(Throwable throwable)
           
 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, initializeDefaultPluginPreferences, internalInitializeDefaultPluginPreferences, isDebugging, openStream, openStream, savePluginPreferences, setDebugging, shutdown, startup, toString
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

コンストラクタの詳細

S2RcpPlugin

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

メソッドの詳細

start

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

stop

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

getDefault

public static S2RcpPlugin getDefault()
S2RcpPlugin のインスタンスを取得します。

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

getS2Container

public S2Container getS2Container(String pluginId)
pluginId で指定されたプラグイン専用の S2Container インスタンスを取得します。

パラメータ:
pluginId - プラグインID
戻り値:
S2Container のインスタンス

getWindowContext

public WindowContext getWindowContext(String pluginId)
pluginId で指定されたプラグイン専用の WindowContext インスタンスを取得します。

パラメータ:
pluginId - プラグインID
戻り値:
WindowContext のインスタンス

log

public static void log(String msg)

log

public static void log(Throwable throwable)


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