cvj2.app.command
クラス CommandMapAction

java.lang.Object
  上位を拡張 cvj2.app.command.CommandMapAction

public class CommandMapAction
extends java.lang.Object

コマンドと JFaceのAction を結びつける。
メニューの選択やツールバーボタンのクリックが行われると、 結びつけられた CommandCommandHandler で実行される。


コンストラクタの概要
CommandMapAction()
           
 
メソッドの概要
 void add(Action action, Command command)
          結びつけ追加
 Action findAction(Command command)
          コマンドから Action を探す
 Command findCommand(Action action)
          Action からコマンドを探す
 void resetActionStatus(CommandMapInput cmdMap)
          全ての Action を再設定する
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

CommandMapAction

public CommandMapAction()
メソッドの詳細

add

public void add(Action action,
                Command command)
結びつけ追加


findAction

public Action findAction(Command command)
コマンドから Action を探す


findCommand

public Command findCommand(Action action)
Action からコマンドを探す


resetActionStatus

public void resetActionStatus(CommandMapInput cmdMap)
全ての Action を再設定する

パラメータ:
cmdMap - 再設定するキー入力設定