

CA Gen Toolset Automation › Plug-ins › Plug-in Application Parameters
Plug-in Application Parameters
There will be one or more parameters passed to the plug-in application when it is started from the CA Gen toolset. The full set of parameters will be enclosed in a pair of double-quotes and each parameter will be separated from the others by spaces. The parameters are:
- The name of the diagram from which the plug-in application was called. This parameter will always be the first parameter passed. The names are listed in the Diagram Names section.
- The object id of the main object for that diagram (if one is selected). This parameter will be indicated with a "-m" flag. If there is no main object, the value of this parameter will be -65536.
- Zero or more object ids of any selected objects. Each of these parameters will be indicated with "-o" flags. Note that in the Action Diagram, if lines are selected, these objects will be statement objects only. If there are individual portions of a line selected, the objects will include statement fragments as well as statement objects.
For example, the following might be passed as parameters to a plug-in application:
"DialogDesign -m 123456 -o 456789"
The example indicates that the Dialog Design diagram is open, the business system is object id 123456, and the selected procedure or procedure step is object id 456789.
Copyright © 2014 CA.
All rights reserved.
 
|
|