Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » Link question
Link question [message #119100] Fri, 13 April 2007 09:54 Go to next message
Eclipse UserFriend
Originally posted by: snej_NO-SPAM_.esuark.de

Hi again,

i have an item ErrorMessage, and several items which could link to this.
Do i have to create 20 link mappings in my .gmfmap file, each for every
item i have in my ecore that contains an ErrorMessage?

regards
jens k.
Re: Link question [message #119153 is a reply to message #119100] Fri, 13 April 2007 11:04 Go to previous message
Alexander Shatalin is currently offline Alexander ShatalinFriend
Messages: 2928
Registered: July 2009
Senior Member
Hello Jens,

> i have an item ErrorMessage, and several items which could link to
> this. Do i have to create 20 link mappings in my .gmfmap file, each
> for every item i have in my ecore that contains an ErrorMessage?
Yes. Another option - You can Create super-class "ErrorMessageReferencer"
and extend if by all 20 items. Finally you will end up with only one link
mapping describing the link from EddotMessageReferencer to ErrorMessage.

-----------------
Alex Shatalin
Previous Topic:How to get the IResource corresponding to the GMF diagram
Next Topic:Reload objects after SAVE?
Goto Forum:
  


Current Time: Thu Jul 25 18:51:08 GMT 2024

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

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

Back to the top