cvj2.app.gui.window.main
クラス MainWindow

java.lang.Object
  上位を拡張 org.eclipse.jface.window.Window
      上位を拡張 org.eclipse.jface.window.ApplicationWindow
          上位を拡張 cvj2.app.gui.window.main.MainWindow
すべての実装されたインタフェース:
CommonApplicationWindow, IRunnableContext, IShellProvider

public class MainWindow
extends ApplicationWindow
implements CommonApplicationWindow

アプリケーションのメイン画面


入れ子のクラスの概要
static class MainWindow.MyAction
          Command に結びついた Action のサブクラス
static class MainWindow.SortAction
          ツールバーのソートメニュー
 
クラス org.eclipse.jface.window.Window から継承された入れ子のクラス/インタフェース
Window.IExceptionHandler
 
フィールドの概要
 
クラス org.eclipse.jface.window.ApplicationWindow から継承されたフィールド
seperator1
 
クラス org.eclipse.jface.window.Window から継承されたフィールド
CANCEL, OK
 
コンストラクタの概要
MainWindow()
          コンストラクタ
 
メソッドの概要
protected  boolean canHandleShellCloseEvent()
          アプリ終了前処理
protected  void configureShell(Shell newShell)
          Configure the shell.
protected  Control createContents(Composite parent)
          Create contents of the application window.
protected  MenuManager createMenuManager()
          Create the menu manager.
protected  StatusLineManager createStatusLineManager()
          Create the status line manager.
protected  ToolBarManager createToolBarManager(int style)
          Create the toolbar manager.
protected  Point getInitialSize()
          Return the initial size of the window.
 CTabFolder getTabFolder()
          タブ取得
 void resetMenu()
          メニューの再設定
 void setFont(Font font)
          フォントセット
 void setStatus(java.lang.String message, boolean isTemporary)
          ステータスバーのメッセージ
 void setStatusFileMessage(java.lang.String s)
          ファイルステータスバーのメッセージ
 void shutdownMainWindow()
          メイン画面を閉じる前の準備
 void updateMenuState(boolean thumbnailMode, FileListSortElement sort)
          メニュー状態を更新する
 
クラス org.eclipse.jface.window.ApplicationWindow から継承されたメソッド
addCoolBar, addMenuBar, addStatusLine, addToolBar, close, coolBarChildrenExist, createCoolBarControl, createCoolBarManager, createCoolBarManager2, createStatusLine, createToolBarControl, 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, 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
 
インタフェース cvj2.app.gui.window.CommonApplicationWindow から継承されたメソッド
getShell
 

コンストラクタの詳細

MainWindow

public MainWindow()
コンストラクタ

メソッドの詳細

shutdownMainWindow

public void shutdownMainWindow()
メイン画面を閉じる前の準備


resetMenu

public void resetMenu()
メニューの再設定


setFont

public void setFont(Font font)
フォントセット


canHandleShellCloseEvent

protected boolean canHandleShellCloseEvent()
アプリ終了前処理

オーバーライド:
クラス ApplicationWindow 内の canHandleShellCloseEvent

setStatus

public void setStatus(java.lang.String message,
                      boolean isTemporary)
ステータスバーのメッセージ

定義:
インタフェース CommonApplicationWindow 内の setStatus

setStatusFileMessage

public void setStatusFileMessage(java.lang.String s)
ファイルステータスバーのメッセージ

定義:
インタフェース CommonApplicationWindow 内の setStatusFileMessage

getTabFolder

public CTabFolder getTabFolder()
タブ取得

定義:
インタフェース CommonApplicationWindow 内の getTabFolder

updateMenuState

public void updateMenuState(boolean thumbnailMode,
                            FileListSortElement sort)
メニュー状態を更新する

定義:
インタフェース CommonApplicationWindow 内の updateMenuState
パラメータ:
thumbnailMode - 現在の画面がサムネイルモードか
sort - 画面のソート状態

createContents

protected Control createContents(Composite parent)
Create contents of the application window.

オーバーライド:
クラス Window 内の createContents
パラメータ:
parent -

createMenuManager

protected MenuManager createMenuManager()
Create the menu manager.

オーバーライド:
クラス ApplicationWindow 内の createMenuManager
戻り値:
the menu manager

createToolBarManager

protected ToolBarManager createToolBarManager(int style)
Create the toolbar manager.

オーバーライド:
クラス ApplicationWindow 内の createToolBarManager
戻り値:
the toolbar manager

createStatusLineManager

protected StatusLineManager createStatusLineManager()
Create the status line manager.

オーバーライド:
クラス ApplicationWindow 内の createStatusLineManager
戻り値:
the status line manager

configureShell

protected void configureShell(Shell newShell)
Configure the shell.

オーバーライド:
クラス ApplicationWindow 内の configureShell
パラメータ:
newShell -

getInitialSize

protected Point getInitialSize()
Return the initial size of the window.

オーバーライド:
クラス Window 内の getInitialSize