使用 commandClass 参数来定义当前视图的用户命令。还可以使用 commandClass 参数来重新定义其中一个缺省编辑器命令的行为。
query 命令
set 命令
当前视图。
query commandClass.command set commandClass.command [className]
command | 使用 command 限定符来指定要设置或查询的编辑器命令的名称。如果正在使用 set 命令,则可指定缺省编辑器命令以覆盖其行为。 |
className | 使用 className 参数来指定实现 com.ibm.lpex.core.LpexCommand 接口的类的名称。如果未指定 className 参数,则将把指定的命令重置为其安装设置。 |
query commandClass.test set commandClass.test com.ibm.lpex.samples.TestCommand set commandClass.test
缺省编辑器命令
query 命令
set 命令
commands 参数
updateProfile.userCommands 参数
Copyright IBM Corporation 1992, 2006. All Rights Reserved.