updateProfile.userCommands パラメーター

updateProfile.userCommands パラメーターを使用して、updateProfile コマンドが使用するユーザー・コマンドを設定または照会します。 このユーザー・コマンドは、updateProfile コマンドの発行時にユーザーが定義できる コマンド/クラス名の対のリストです。

使用できるコマンド/パラメーター

query コマンド
set コマンド
current パラメーター
default パラメーター
install パラメーター

有効範囲

updateProfile.userCommands の有効範囲は現行ビューです。
current.updateProfile.userCommands の有効範囲は現行ビューです。
default.updateProfile.userCommands の有効範囲はグローバルです。
install.updateProfile.userCommands の有効範囲はグローバルです。

構文

query updateProfile.userCommands
set updateProfile.userCommands { default
                               | [ command className ] [...]
                               }
query current.updateProfile.userCommands
query default.updateProfile.userCommands
set default.updateProfile.userCommands { install
                                       | [ command className ] [...]
                                       }
query install.updateProfile.userCommands 

パラメーター

default set updateProfile.userCommands コマンドに default パラメーターを指定した場合は、現行ビューは default.updateProfile.userCommands の値を updateProfile コマンドのユーザー・コマンドとして使用します。
[ command className ] [...] set updateProfile.userCommands コマンドにコマンド/クラス名の対のリストを 指定すると、updateProfile コマンドは、現行ビュー内でユーザー・コマンドのそのリストを使用します。 set default.updateProfile.userCommands コマンドにコマンド/クラス名の対のリストを 指定すると、updateProfile コマンドは、updateProfile.userCommandsdefault に 設定されたすべての文書ビュー内で、ユーザー・コマンドのそのリストを使用します。

この command パラメーターは、ユーザーが定義したいユーザー・コマンドの名前です。 className パラメーターは、com.ibm.lpex.core.LpexCommand インターフェースを 実装する Java クラスの名前である必要があります。
install set default.updateProfile.userCommands コマンドに install パラメーターを指定した場合は、updateProfile.userCommandsdefault に設定したすべてのビューは install.updateProfile.userCommands の値を使用して、updateProfile コマンドで使用するユーザー・コマンドを判別します。

説明

query current.updateProfile.userCommands コマンドは、 現行ビュー内で updateProfile コマンドが使用するコマンド/クラス名の対のリストを戻します。

query updateProfile.userCommands
set updateProfile.userCommands test com.ibm.lpex.samples.TestCommand
query current.updateProfile.userCommands
query default.updateProfile.userCommands
set default.updateProfile.userCommands install
query install.updateProfile.userCommands 

関連参照
updateProfile コマンド
query コマンド
set コマンド
commandClass パラメーター
commands パラメーター
current パラメーター
default パラメーター
install パラメーター
updateProfile.baseProfile パラメーター
updateProfile.parser パラメーター
updateProfile.userActions パラメーター
updateProfile.userKeyActions パラメーター
updateProfile.userMouseActions パラメーター
updateProfile.userProfile パラメーター