|
|
|
|
|
Re: element first occurence page number [message #1760345 is a reply to message #1759646] |
Wed, 26 April 2017 07:58 |
Geoffrey Jacquemin Messages: 13 Registered: February 2017 |
Junior Member |
|
|
Hi,
Thanks for your reply
I checked the existing code on http://git.eclipse.org/c/gendoc/org.eclipse.gendoc.git/tree/plugins/org.eclipse.gendoc.bundle.acceleo.papyrus
In my Template document, i set the expression: [query public div(r1 : Real, r2 : Real) : Real = invoke('[package]','div(java.lang.Double, java.lang.Double)', Sequence{r1, r2}) /]
[div(2.1,1.7)/]
The [package] is the package of my Class of course.
I created the div method in my class:
public Double div(Double r1, Double r2){
return r1/r2;
}
(The Class is an existing Class containing some others méthods which are not used by Javaservice)
When i generate the document with Gendoc, nothing is returned. Is there an Eclipse plugin to install in order to use Javaservice, or do i forget something important in my code ?
|
|
|
|
|
|
Re: element first occurence page number [message #1761027 is a reply to message #1760806] |
Fri, 05 May 2017 11:50 |
Geoffrey Jacquemin Messages: 13 Registered: February 2017 |
Junior Member |
|
|
Hi.
Thanks for your reply.
Unfortunately,i'm an intern and today is my last day.
I will transfer all documentations i found about Javaservice, in particular this topic, for the next experts who will work on in the company.
Thanks a lot for your help. I wil mention this forum (the community) for the appreciations in my report.
Regards,
Geoffrey
[Updated on: Fri, 05 May 2017 11:52] Report message to a moderator
|
|
|
Powered by
FUDForum. Page generated in 0.04636 seconds