commandClass parameter

Use the commandClass parameter to define a user command for the current view.  You can also use the commandClass parameter to redefine the behavior of one of the default editor commands.

 

Availability

query command
set command

 

Scope

The current view.

 

Syntax

query commandClass.command
set commandClass.command [className] 

 

Parameters

command Use the command qualifier to specify the name of the editor command that you wish to set or query.  If you are using the set command, you may specify a default editor command in order to override its behavior.
className Use the className parameter to specify the name of a class that implements the com.ibm.lpex.core.LpexCommand interface.  If you do not specify the className parameter, the specified command will be reset to its installation setting.

 

Examples

query commandClass.test
set commandClass.test com.ibm.lpex.samples.TestCommand
set commandClass.test 

Related reference
Default editor commands
query command
set command
commands parameter
updateProfile.userCommands parameter