org.seasar.uruma.ui
クラス UrumaApplicationWindow

java.lang.Object
  上位を拡張 org.eclipse.jface.window.Window
      上位を拡張 org.eclipse.jface.window.ApplicationWindow
          上位を拡張 org.seasar.uruma.ui.UrumaApplicationWindow
すべての実装されたインタフェース:
EventListener, IRunnableContext, IShellProvider, ShellListener, org.eclipse.swt.internal.SWTEventListener

public class UrumaApplicationWindow
extends ApplicationWindow
implements ShellListener

Template オブジェクトを元にして画面描画を行う、ApplicationWindow です。

作成者:
y-komori

入れ子のクラスの概要
 
クラス org.eclipse.jface.window.Window から継承された入れ子のクラス/インタフェース
Window.IExceptionHandler
 
フィールドの概要
 
クラス org.eclipse.jface.window.ApplicationWindow から継承されたフィールド
seperator1
 
クラス org.eclipse.jface.window.Window から継承されたフィールド
CANCEL, OK
 
コンストラクタの概要
UrumaApplicationWindow(UrumaWindowManager manager)
          UrumaApplicationWindow を構築します。
UrumaApplicationWindow(UrumaWindowManager manager, WindowContext context, WindowComponent component, boolean modal)
          UrumaApplicationWindow を構築します。
 
メソッドの概要
protected  Control createContents(Composite parent)
           
protected  MenuManager createMenuManager()
           
 Object getPartActionComponent()
          パートアクションコンポーネントを取得します。
 String getWindowId()
          ウィンドウIDを返します。
 void init(WindowContext context, WindowComponent component, boolean modal)
          UrumaApplicationWindow を初期化します。
 void initActionComponent()
          アクションコンポーネントの初期化メソッドを呼び出します。
protected  void injectFormToAction()
          パートアクションオブジェクトにフォームオブジェクトのプロパティが存在する場合、 PartContext が保持するフォームオブジェクトをインジェクションする。
protected  void setupActionComponent()
           
protected  void setupFormComponent()
           
protected  void setupMenuBar()
           
protected  void setupShellStyle(WindowComponent component, boolean modal)
           
protected  void setupStatusLine()
           
 void shellActivated(ShellEvent e)
           
 void shellClosed(ShellEvent e)
           
 void shellDeactivated(ShellEvent e)
           
 void shellDeiconified(ShellEvent e)
           
 void shellIconified(ShellEvent e)
           
 
クラス org.eclipse.jface.window.ApplicationWindow から継承されたメソッド
addCoolBar, addMenuBar, addStatusLine, addToolBar, canHandleShellCloseEvent, close, configureShell, coolBarChildrenExist, createCoolBarControl, createCoolBarManager, createCoolBarManager2, createStatusLine, createStatusLineManager, createToolBarControl, createToolBarManager, createToolBarManager2, createTrimWidgets, getCoolBarControl, getCoolBarManager, getCoolBarManager2, getFont, getLayout, getMenuBarManager, getSeperator1, getStatusLineManager, getSymbolicFontName, getToolBarControl, getToolBarManager, getToolBarManager2, run, setStatus, showTopSeperator, toolBarChildrenExist
 
クラス org.eclipse.jface.window.Window から継承されたメソッド
constrainShellSize, create, createShell, getConstrainedShellBounds, getContents, getDefaultImage, getDefaultImages, getDefaultOrientation, getInitialLocation, getInitialSize, getParentShell, getReturnCode, getShell, getShellListener, getShellStyle, getWindowManager, handleFontChange, handleShellCloseEvent, initializeBounds, open, setBlockOnOpen, setDefaultImage, setDefaultImages, setDefaultModalParent, setDefaultOrientation, setExceptionHandler, setParentShell, setReturnCode, setShellStyle, setWindowManager
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

UrumaApplicationWindow

public UrumaApplicationWindow(UrumaWindowManager manager)
UrumaApplicationWindow を構築します。


UrumaApplicationWindow

public UrumaApplicationWindow(UrumaWindowManager manager,
                              WindowContext context,
                              WindowComponent component,
                              boolean modal)
UrumaApplicationWindow を構築します。

パラメータ:
context - WindowContext オブジェクト
component - WindowComponent オブジェクト
modal - true の場合、モーダルウィンドウとして開く。false の場合、モーダレスウィンドウとして開く。
メソッドの詳細

init

public void init(WindowContext context,
                 WindowComponent component,
                 boolean modal)
UrumaApplicationWindow を初期化します。

デフォルトコンストラクタを使用して本クラスを生成した場合は、必ず本メソッドを呼び出してから利用してください。

パラメータ:
context - ApplicationContext オブジェクト
component - WindowComponent オブジェクト
modal - true の場合、モーダルウィンドウとして開く

setupActionComponent

protected void setupActionComponent()

setupFormComponent

protected void setupFormComponent()

injectFormToAction

protected void injectFormToAction()
パートアクションオブジェクトにフォームオブジェクトのプロパティが存在する場合、 PartContext が保持するフォームオブジェクトをインジェクションする。


setupShellStyle

protected void setupShellStyle(WindowComponent component,
                               boolean modal)

setupMenuBar

protected void setupMenuBar()

createMenuManager

protected MenuManager createMenuManager()
オーバーライド:
クラス ApplicationWindow 内の createMenuManager

setupStatusLine

protected void setupStatusLine()

createContents

protected Control createContents(Composite parent)
オーバーライド:
クラス Window 内の createContents

initActionComponent

public void initActionComponent()
アクションコンポーネントの初期化メソッドを呼び出します。


getPartActionComponent

public Object getPartActionComponent()
パートアクションコンポーネントを取得します。

戻り値:
パートアクションコンポーネント

getWindowId

public String getWindowId()
ウィンドウIDを返します。

戻り値:
ウィンドウID

shellActivated

public void shellActivated(ShellEvent e)
定義:
インタフェース ShellListener 内の shellActivated

shellClosed

public void shellClosed(ShellEvent e)
定義:
インタフェース ShellListener 内の shellClosed

shellDeactivated

public void shellDeactivated(ShellEvent e)
定義:
インタフェース ShellListener 内の shellDeactivated

shellDeiconified

public void shellDeiconified(ShellEvent e)
定義:
インタフェース ShellListener 内の shellDeiconified

shellIconified

public void shellIconified(ShellEvent e)
定義:
インタフェース ShellListener 内の shellIconified


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