updateProfile.userActions parameter

Use the updateProfile.userActions parameter to set or query the user actions that will be used by the updateProfile command.  The user actions are a list of action/class name pairs that you wish to define when the updateProfile command is issued.

 

Availability

query command
set command
current parameter
default parameter
install parameter

 

Scope

updateProfile.userActions is scoped to the current view.
current.updateProfile.userActions is scoped to the current view.
default.updateProfile.userActions is globally scoped.
install.updateProfile.userActions is globally scoped.

 

Syntax

query updateProfile.userActions
set updateProfile.userActions { default
                              | [ action className ] [...]
                              }
query current.updateProfile.userActions
query default.updateProfile.userActions
set default.updateProfile.userActions { install
                                      | [ action className ] [...]
                                      }
query install.updateProfile.userActions 

 

Parameters

default If you specify the default parameter for the set updateProfile.userActions command, the current view will use the value of default.updateProfile.userActions as the user actions for the updateProfile command.
[ action className ] [...] If you specify a list of action/class name pairs for the set updateProfile.userActions command, the updateProfile command will use that list of user actions within the current view.  If you specify the userActions parameter for the set default.updateProfile.userActions command, the updateProfile command will use that list of user actions within all document views that have the updateProfile.userActions set to default.

The action parameter should be the name of the editor action that you want to define.  The className parameter should be the name of a Java class that implements the com.ibm.lpex.core.LpexAction interface.
install If you specify the install parameter for the set default.updateProfile.userActions command, all views with updateProfile.userActions set to default will use the value of install.updateProfile.userActions to determine user actions to be used by the updateProfile command.

 

Description

The query current.updateProfile.userActions command returns the action/class name pairs that will be used in the current view by the updateProfile command.

 

Examples

query updateProfile.userActions
set updateProfile.userActions test com.ibm.lpex.samples.TestAction
query current.updateProfile.userActions
query default.updateProfile.userActions
set default.updateProfile.userActions install
query install.updateProfile.userActions 

Related reference
updateProfile command
query command
set command
actionClass parameter
actions parameter
current parameter
default parameter
install parameter
updateProfile.baseProfile parameter
updateProfile.parser parameter
updateProfile.userCommands parameter
updateProfile.userKeyActions parameter
updateProfile.userMouseActions parameter
updateProfile.userProfile parameter