[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Newsgroup Home]
|
[news.eclipse.tools.emf] Re: Generating comments
|
Stupid me... I expected the comment to appear in the implementation class,
but now I see that it is generated in the interface, which makes more sense.
Regards/
Magnus
"Magnus Rundlof" <NOSPAM-magnus.rundlof@xxxxxxxxxxxxxxxxxxxx> wrote in
message news:gd1jn4$nr6$1@xxxxxxxxxxxxxxxxxxxx
> Thanks Ed!
>
> I've actually tried that but must have made a typo or something... I'll
> try again!
>
> Regards/
> Magnus
>
>
>
> "Ed Merks" <Ed.Merks@xxxxxxxxx> wrote in message
> news:gcvr8n$daq$2@xxxxxxxxxxxxxxxxxxxx
>> Magnus,
>>
>> Yes, the same type of approach works. A GenModel nsURI annotation with
>> key "documentation" will do the trick.
>>
>>
>> Magnus Rundlof wrote:
>>> Hi
>>>
>>> I would like to add documentation in my Ecore models and then get that
>>> documentation in the javadoc comments for generated methods and
>>> attributes. Is that possilble? I've used the genmodel annotation for
>>> generating a body for a method, is there an annotation for generating
>>> comments as well?
>>>
>>> Regards/
>>> Magnus Rundlöf
>>>
>>>
>>>
>
>