Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » Creation of a node without link to the model
Creation of a node without link to the model [message #207434] Tue, 30 September 2008 08:55 Go to next message
Patrick Tessier is currently offline Patrick TessierFriend
Messages: 341
Registered: July 2009
Location: Paris Saclay, France
Senior Member
Hi,
I would like to create a node that is purely graphic, not linked to the
model. for example exactly as your Note element.

How can I do that?
I have an idea :
- create a mapping with a element of the model, and then modify the
generated code and remove the link to the model and add another id.
Patrick
Re: Creation of a node without link to the model [message #207443 is a reply to message #207434] Tue, 30 September 2008 09:08 Go to previous messageGo to next message
Alexander Shatalin is currently offline Alexander ShatalinFriend
Messages: 2928
Registered: July 2009
Senior Member
Hello Patrick,

You can create .gmfmap file without any references to the domain model. As
a reault you should have "pure notation" diagram.

-----------------
Alex Shatalin
Re: Creation of a node without link to the model [message #207712 is a reply to message #207443] Thu, 02 October 2008 13:04 Go to previous messageGo to next message
Patrick Tessier is currently offline Patrick TessierFriend
Messages: 341
Registered: July 2009
Location: Paris Saclay, France
Senior Member
Hi,

I created a TopNode Reference , there are no references at children feature
and containment feature.
then a create a node mapping where I reference only :
-related diagrams
-Diagram node
-tool.
The validation of thegmf map is ok but at the generation the following
message is displayed: "Errors while creating generator model".
There is nothing in the log.


"Alex Shatalin" <vano@borland.com> a
Re: Creation of a node without link to the model [message #207735 is a reply to message #207712] Thu, 02 October 2008 14:56 Go to previous messageGo to next message
Matthias Erche is currently offline Matthias ErcheFriend
Messages: 19
Registered: July 2009
Junior Member
Hi Patrick,

do you have any link mappings referring to a model element? There is a
bug in GMF:

https://bugs.eclipse.org/bugs/show_bug.cgi?id=219409

Maybe you could vote for it?

Best regards,

Matthias

Patrick Tessier wrote:
> Hi,
>
> I created a TopNode Reference , there are no references at children feature
> and containment feature.
> then a create a node mapping where I reference only :
> -related diagrams
> -Diagram node
> -tool.
> The validation of thegmf map is ok but at the generation the following
> message is displayed: "Errors while creating generator model".
> There is nothing in the log.
>
>
> "Alex Shatalin" <vano@borland.com> a écrit dans le message de news:
> 3c3172e6270cb8caf103f414ba46@news.eclipse.org...
>> Hello Patrick,
>>
>> You can create .gmfmap file without any references to the domain model. As
>> a reault you should have "pure notation" diagram.
>>
>> -----------------
>> Alex Shatalin
>>
>>
>
>
Re: Creation of a node without link to the model [message #207766 is a reply to message #207735] Fri, 03 October 2008 07:52 Go to previous message
Patrick Tessier is currently offline Patrick TessierFriend
Messages: 341
Registered: July 2009
Location: Paris Saclay, France
Senior Member
Thanks,
Patrick

"Matthias Erche" <erche@ikv.de> a
Previous Topic:save button is not enable
Next Topic:Constraint problem (one instance constraint)
Goto Forum:
  


Current Time: Fri Apr 19 21:03:37 GMT 2024

Powered by FUDForum. Page generated in 0.03125 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top