Home » Modeling » Epsilon » [Eugenia] @gmf.diagram Annotations ignored
[Eugenia] @gmf.diagram Annotations ignored [message #518505] |
Thu, 04 March 2010 05:29  |
Eclipse User |
|
|
|
Moin, moin,
I'm using Eclipse Modelling Package 20090920-1017 with Eugenia 0.8.8.200910281243 and Emfatic 0.3.0.200810132307
The GMF generation works fine but the gmf.diagram annotations are ignored (while others like @gmf.node or @gmf.link are working):
@gmf.diagram(onefile="true", diagram.extension="sgraph", units="Pixels")
class SGraph {
val Node[*] nodes;
val Edge[*] edges;
}
The annotations are transfered correctly by Emfatic to the sgraph.ecore model.
Does anybody have a clue what's wrong ?
|
|
|
Re: [Eugenia] @gmf.diagram Annotations ignored [message #518522 is a reply to message #518505] |
Thu, 04 March 2010 06:33   |
Eclipse User |
|
|
|
This is a multi-part message in MIME format.
--------------000701020409000106060600
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Hi,
I haven't actually worked with Eugenia yet, so this could be wrong. But
could it be that
On 04/03/2010 10:29, Ralf Nagel wrote:
> @gmf.diagram(onefile="true", diagram.extension="sgraph", units="Pixels")
should really be
@gmf.diagram(onefile="true", extension="sgraph", units="Pixels")
?
Steffen
--------------000701020409000106060600
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: 7bit
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Hi,<br>
<br>
I haven't actually worked with Eugenia yet, so this could be wrong. But
could it be that <br>
<br>
On 04/03/2010 10:29, Ralf Nagel wrote:
<blockquote cite="mid:hmo21k$98v$1@build.eclipse.org" type="cite">@gmf.diagram(onefile="true",
diagram.extension="sgraph", units="Pixels")
<br>
</blockquote>
should really be<br>
<blockquote>
<pre>@gmf.diagram(onefile="true", extension="sgraph", units="Pixels")
</pre>
</blockquote>
?<br>
<br>
Steffen<br>
</body>
</html>
--------------000701020409000106060600--
|
|
|
Re: [Eugenia] @gmf.diagram Annotations ignored [message #518533 is a reply to message #518522] |
Thu, 04 March 2010 07:06   |
Eclipse User |
|
|
|
Hi Ralf,
What do you mean when you say that they are ignored i.e. what are the
symptoms you're observing?
Cheers,
Dimitris
Steffen Zschaler wrote:
> Hi,
>
> I haven't actually worked with Eugenia yet, so this could be wrong. But
> could it be that
>
> On 04/03/2010 10:29, Ralf Nagel wrote:
>> @gmf.diagram(onefile="true", diagram.extension="sgraph", units="Pixels")
> should really be
>
> @gmf.diagram(onefile="true", extension="sgraph", units="Pixels")
>
> ?
>
> Steffen
>
--
Spread the word: http://www.eclipse.org/gmt/epsilon/spreadtheword
Follow Epsilon on Twitter: http://twitter.com/epsilonews
|
|
| | |
Re: [Eugenia] @gmf.diagram Annotations ignored [message #518602 is a reply to message #518579] |
Thu, 04 March 2010 05:42   |
Eclipse User |
|
|
|
Hi Ralf,
Could it be the case that you're not performing the following step?
"Right click the generated .gmfgen model and select Eugenia->Synchronize
GMF gen model"
If this is not the case, could you please send me your .emf metamodel
(dskolovos _ gmail _ com) so that I can have a closer look?
Cheers,
Dimitris
Dr. No wrote:
> Steffen Zschaler wrote on Thu, 04 March 2010 06:33
>> Hi,
>>
>> I haven't actually worked with Eugenia yet, so this could be wrong.
>> But could it be that
>>
>> On 04/03/2010 10:29, Ralf Nagel wrote:
>> > @gmf.diagram(onefile="true", diagram.extension="sgraph",
>> units="Pixels")
>> should really be
>>
>> @gmf.diagram(onefile="true", extension="sgraph", units="Pixels")
>
> I'm referring to
> http://www.eclipse.org/gmt/epsilon/doc/articles/eugenia-gmf- tutorial/
> and there it says:
>
>
> gmf.diagram
> Denotes the root object of the metamodel. Only one (non-abstract) EClass
> must be annotated as gmf.diagram. Accepts the following details
>
> * onefile (optional) : a value of true specifies that the domain
> model and the diagram should be stored in the same file
> * model.extension (optional) : the file extension for the domain model
> * diagram.extension (optional) : the file extension for the diagram file
> * units (optional) : the units for the diagram (e.g. Pixels)
>
--
Spread the word: http://www.eclipse.org/gmt/epsilon/spreadtheword
Follow Epsilon on Twitter: http://twitter.com/epsilonews
|
|
| |
Re: [Eugenia] @gmf.diagram Annotations ignored [message #586977 is a reply to message #518505] |
Thu, 04 March 2010 06:33   |
Eclipse User |
|
|
|
This is a multi-part message in MIME format.
--------------000701020409000106060600
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Hi,
I haven't actually worked with Eugenia yet, so this could be wrong. But
could it be that
On 04/03/2010 10:29, Ralf Nagel wrote:
> @gmf.diagram(onefile="true", diagram.extension="sgraph", units="Pixels")
should really be
@gmf.diagram(onefile="true", extension="sgraph", units="Pixels")
?
Steffen
--------------000701020409000106060600
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: 7bit
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Hi,<br>
<br>
I haven't actually worked with Eugenia yet, so this could be wrong. But
could it be that <br>
<br>
On 04/03/2010 10:29, Ralf Nagel wrote:
<blockquote cite="mid:hmo21k$98v$1@build.eclipse.org" type="cite">@gmf.diagram(onefile="true",
diagram.extension="sgraph", units="Pixels")
<br>
</blockquote>
should really be<br>
<blockquote>
<pre>@gmf.diagram(onefile="true", extension="sgraph", units="Pixels")
</pre>
</blockquote>
?<br>
<br>
Steffen<br>
</body>
</html>
--------------000701020409000106060600--
|
|
|
Re: [Eugenia] @gmf.diagram Annotations ignored [message #586990 is a reply to message #518522] |
Thu, 04 March 2010 07:06   |
Eclipse User |
|
|
|
Hi Ralf,
What do you mean when you say that they are ignored i.e. what are the
symptoms you're observing?
Cheers,
Dimitris
Steffen Zschaler wrote:
> Hi,
>
> I haven't actually worked with Eugenia yet, so this could be wrong. But
> could it be that
>
> On 04/03/2010 10:29, Ralf Nagel wrote:
>> @gmf.diagram(onefile="true", diagram.extension="sgraph", units="Pixels")
> should really be
>
> @gmf.diagram(onefile="true", extension="sgraph", units="Pixels")
>
> ?
>
> Steffen
>
--
Spread the word: http://www.eclipse.org/gmt/epsilon/spreadtheword
Follow Epsilon on Twitter: http://twitter.com/epsilonews
|
|
| | |
Re: [Eugenia] @gmf.diagram Annotations ignored [message #587033 is a reply to message #518579] |
Thu, 04 March 2010 10:33   |
Eclipse User |
|
|
|
Hi Ralf,
Could it be the case that you're not performing the following step?
"Right click the generated .gmfgen model and select Eugenia->Synchronize
GMF gen model"
If this is not the case, could you please send me your .emf metamodel
(dskolovos _ gmail _ com) so that I can have a closer look?
Cheers,
Dimitris
Dr. No wrote:
> Steffen Zschaler wrote on Thu, 04 March 2010 06:33
>> Hi,
>>
>> I haven't actually worked with Eugenia yet, so this could be wrong.
>> But could it be that
>>
>> On 04/03/2010 10:29, Ralf Nagel wrote:
>> > @gmf.diagram(onefile="true", diagram.extension="sgraph",
>> units="Pixels")
>> should really be
>>
>> @gmf.diagram(onefile="true", extension="sgraph", units="Pixels")
>
> I'm referring to
> http://www.eclipse.org/gmt/epsilon/doc/articles/eugenia-gmf- tutorial/
> and there it says:
>
>
> gmf.diagram
> Denotes the root object of the metamodel. Only one (non-abstract) EClass
> must be annotated as gmf.diagram. Accepts the following details
>
> * onefile (optional) : a value of true specifies that the domain
> model and the diagram should be stored in the same file
> * model.extension (optional) : the file extension for the domain model
> * diagram.extension (optional) : the file extension for the diagram file
> * units (optional) : the units for the diagram (e.g. Pixels)
>
--
Spread the word: http://www.eclipse.org/gmt/epsilon/spreadtheword
Follow Epsilon on Twitter: http://twitter.com/epsilonews
|
|
|
Re: [Eugenia] @gmf.diagram Annotations ignored [message #587057 is a reply to message #587033] |
Thu, 04 March 2010 15:07  |
Eclipse User |
|
|
|
Dimitrios Kolovos wrote on Thu, 04 March 2010 05:42
> Hi Ralf,
>
> Could it be the case that you're not performing the following step?
>
> "Right click the generated .gmfgen model and select Eugenia->Synchronize
> GMF gen model"
Hi Dimitrios,
Oh, sh** ...
I remember having done this Synchronize step on the first day following the tutorial and forgot the step feeling familiar with the building process the next days. It's my fault, I'm sorry! Thanx for the help.
Cu - Ralf.
|
|
|
Goto Forum:
Current Time: Mon Jul 07 03:13:41 EDT 2025
Powered by FUDForum. Page generated in 0.05602 seconds
|