Hello Andreas,
Ok, we're brushing against some limits of the current code template framework, but I can think of a couple of ways that might achieve what you are after.
1. (A quick hack)
In your Operation Notes templates try something like this:
%list="ParameterImpl" @separator="\n"%)
You'll override the ParameterImpl template to contain whatever parameter note info you wanted. Then process the result a bit back in the Operation Notes template. I have really tested this particular abuse of the templates, but you should be able to get away with it in java, since you probably don't need the implementation templates for anything else.
2. (A slightly more involved, more powerful hack)
There's an "undocumented" function macro called EXEC_ADD_IN. It should be accessible with the 730 release, but comes with the following warnings :
- It's not documented
- It's subject to change
- It's not supported (yet)
- Use it at your own risk
Here's roughly how you might use it from your notes template:
$result = %EXEC_ADD_IN("MyAddIn","MyTest",opGUID)%
where
- "MyAddIn" is the name of an add-in you created and registered with EA (see help file)
- "MyTest" is the name of the add-in function you want to call
- opGUID is another undocumented macro, which returns the guid of the operation in scope. It also happens to be used above as the first parameter (in a variable parameter list) that got passed to the MyAddIn.MyTest function.
Ok here's roughly what a corresponding vb function (use whatever language you can) might look like to handle the call :
Function MyTest(Repository As EA.Repository, Args As Variant) As Variant
Dim arg As String
arg = Args(LBound(Args))
MsgBox "The argument you supplied was:" + arg, vbCritical
End Function
(refer to help file for the interfaces required to be implemented by EA add-ins- I think the minimum is the EA_Connect() function)
Remember you have a handle to the Repository object in your add-in so you can access it and/or do plenty of damage as per use of the Automation Interface. So far I have found it useful enough for the code template to pass in the required info, get the add-in to process it a bit and return, without even accessing the repository object. But for your scenario, you might want to pull the out the parameter information and that's where I leave you

Regards,
Ben