|
|
|
|
Re: GenModel annotations [message #418499 is a reply to message #418487] |
Thu, 17 April 2008 11:23 |
Ed Merks Messages: 33113 Registered: July 2009 |
Senior Member |
|
|
This is a multi-part message in MIME format.
--------------090509070302050302090206
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Conrad,
No. I spent a little bit of time exploring
https://bugs.eclipse.org/bugs/show_bug.cgi?id=216701 as a general
mechanism for being able to specify the behavior for a derived feature,
but there will not be sufficient time to complete that for this release.
Conrad Hoffmann wrote:
> Hello Ed,
>
> Thanks a lot.
> Unfortunately the local bookstore doesn't have it yet :/
>
> So maybe one last question "manually": can I specifiy code for the
> get-Method of derived attributes, and if so, how?
>
> Thanks,
> Conrad
>
> Ed Merks wrote:
>
>
>> Conrad,
>>
>> On there's no support for code snippets that could be used for data type
>> conversion. There's no complete document (other than the second edition
>> of the book) of all the annotation magic either. Sorry. :-(
>>
>>
>> Conrad Hoffmann wrote:
>>
>>> Hello,
>>>
>>> I just recently came across GenModel annotations to specify an
>>> implementation for an eOperation.
>>>
>>> I was wondering if the same could be used to generate a
>>> get*FromString/getStringFrom* implementation for custom data types?
>>>
>>> Even better would be a some kind of complete documentation what exactly
>>> can be done using annotations. I have only found bits and pieces so
>>> far...
>>>
>>> Thanks, Conrad
>>>
>>>
>
>
--------------090509070302050302090206
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Conrad,<br>
<br>
No. I spent a little bit of time exploring <a
href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=216701">https://bugs.eclipse.org/bugs/show_bug.cgi?id=216701</a>
as a general mechanism for being able to specify the behavior for a
derived feature, but there will not be sufficient time to complete that
for this release.<br>
<br>
<br>
Conrad Hoffmann wrote:
<blockquote cite="mid:fu6td1$ugr$1@build.eclipse.org" type="cite">
<pre wrap="">Hello Ed,
Thanks a lot.
Unfortunately the local bookstore doesn't have it yet :/
So maybe one last question "manually": can I specifiy code for the
get-Method of derived attributes, and if so, how?
Thanks,
Conrad
Ed Merks wrote:
</pre>
<blockquote type="cite">
<pre wrap="">Conrad,
On there's no support for code snippets that could be used for data type
conversion. There's no complete document (other than the second edition
of the book) of all the annotation magic either. Sorry. :-(
Conrad Hoffmann wrote:
</pre>
<blockquote type="cite">
<pre wrap="">Hello,
I just recently came across GenModel annotations to specify an
implementation for an eOperation.
I was wondering if the same could be used to generate a
get*FromString/getStringFrom* implementation for custom data types?
Even better would be a some kind of complete documentation what exactly
can be done using annotations. I have only found bits and pieces so
far...
Thanks, Conrad
</pre>
</blockquote>
</blockquote>
<pre wrap=""><!---->
</pre>
</blockquote>
<br>
</body>
</html>
--------------090509070302050302090206--
Ed Merks
Professional Support: https://www.macromodeling.com/
|
|
|
Powered by
FUDForum. Page generated in 0.02845 seconds