<div>Hi Akos and Christian, <br><br>Thanks a bunch. I got it to work
once I deleted my current aspect (and used the default) and made the
connection go through the reference just like Christian stated (Sorry
Christian for not listening :))
<br><br>Thanks to you both.<br><br>-Nicki</div><span class="e" id="q_10dc4b38ed645746_1"><br></span><br><div><span class="gmail_quote">On 9/18/06, <b class="gmail_sendername">Akos Ledeczi</b> <<a href="mailto:akos.ledeczi@vanderbilt.edu">
akos.ledeczi@vanderbilt.edu</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Nicki,<br><br>Christian is right, you need to have the connection point to the
<br>reference. So, you probably have another issue such as not adding the<br>connection itself to the aspect, if this does not help. BTW, an easy way<br>to not having to worry about aspects for a while, is to delete your only
<br>aspect and then the metainterpreter will insert a default one for you<br>and it'll also make sure that everybody is added to it.<br><br>Now, back to references. If you have an atom that shows up as a port of<br>some model and you can make a connection to the model through that port
<br>than the same is true for a reference to the model. In that case, it is<br>true that you make the connection to the atom in the metamodel and it'll<br>work for models and references to those models as long as the atom is a
<br>port of them. But in your example, I do not see any indication that that<br>is what you are trying to do. Again, if you are connecting directly to<br>atoms and directly to references (not thru ports) than you need to have
<br>the connection in the meta allow both. We typically use an abstract fco<br>in the metamodel, make the connection to it and have an atom and a ref<br>to it inherit from the fco.<br><br>Hope this helps,<br>Akos<br><br><br>
Nicki Lehmann Møller wrote:<br>> Hi Christian,<br>><br>> I'm quite sure that that is not the correct way to use references.<br>> However I did try it but without any luck. Thanks for the suggestion<br>> though :)
<br>><br>> -Nicki<br>><br>> On 9/18/06, *Christian Brunette* <<a href="mailto:Christian.Brunette@irisa.fr">Christian.Brunette@irisa.fr</a><br>> <mailto:<a href="mailto:Christian.Brunette@irisa.fr">Christian.Brunette@irisa.fr
</a>>> wrote:<br>><br>> Hi,<br>><br>> I think you have to put your connection between ReferenceToAtomB (not B)<br>> and A.<br>><br>> Christian<br>><br>> Nicki Lehmann Møller wrote:
<br>><br>> > Hi all!<br>> ><br>> > Could someone please help me solve my little aspect problem and tell<br>> > me how to connect atoms placed in different models.<br>> > As can seen on my metamodel (see attachment) I've created a reference
<br>> > between the model-object (ModelA) and the "external" atom (AtomB)<br>> > which means that I able to create the reference inside the<br>> > model-object (ModelA). However when I'm using the metamodel and I try
<br>> > to create a connection between two atoms (AtomA and<br>> ReferenceToAtomB)<br>> > I get a paradigm violation stating that I cannot create a connection<br>> > in the current aspect (WholeAspect). I know that this indicates that
<br>> > something is wrong with my aspect, but I have no clue on what<br>> :( Any<br>> > suggestions are therefore greatly appreciated.<br>> ><br>> > --<br>> > Kind Regards,
<br>> > Nicki<br>> ><br>> ------------------------------------------------------------------------<br>> ><br>> >------------------------------------------------------------------------
<br>><br>> ><br>> >_______________________________________________<br>> >gme-users mailing list<br>> ><a href="mailto:gme-users@list.isis.vanderbilt.edu">gme-users@list.isis.vanderbilt.edu
</a><br>> <mailto:<a href="mailto:gme-users@list.isis.vanderbilt.edu">gme-users@list.isis.vanderbilt.edu</a>><br>> > <a href="http://list.isis.vanderbilt.edu/mailman/listinfo/gme-users">http://list.isis.vanderbilt.edu/mailman/listinfo/gme-users
</a><br>> ><br>> ><br>><br>> --<br>> Christian Brunette<br>> Expert Engineer in the ESPRESSO team<br>> IRISA-INRIA, Campus de Beaulieu, 35042 Rennes cedex, France<br>> Phone: +33 (0) 2 99 84 72 31, Fax: +33 (0) 2 99 84 71 71
<br>><br>> _______________________________________________<br>> gme-users mailing list<br>> <a href="mailto:gme-users@list.isis.vanderbilt.edu">gme-users@list.isis.vanderbilt.edu</a><br>> <mailto:
<a href="mailto:gme-users@list.isis.vanderbilt.edu">gme-users@list.isis.vanderbilt.edu</a>><br>> <a href="http://list.isis.vanderbilt.edu/mailman/listinfo/gme-users">http://list.isis.vanderbilt.edu/mailman/listinfo/gme-users
</a><br>><br>><br>><br>><br>> --<br>> Kind Regards,<br>> Nicki<br>><br>><br>> ------------------------------------------------------------------------<br>><br>> _______________________________________________
<br>> gme-users mailing list<br>> <a href="mailto:gme-users@list.isis.vanderbilt.edu">gme-users@list.isis.vanderbilt.edu</a><br>> <a href="http://list.isis.vanderbilt.edu/mailman/listinfo/gme-users">http://list.isis.vanderbilt.edu/mailman/listinfo/gme-users
</a><br><br>_______________________________________________<br>gme-users mailing list<br><a href="mailto:gme-users@list.isis.vanderbilt.edu">gme-users@list.isis.vanderbilt.edu</a><br><a href="http://list.isis.vanderbilt.edu/mailman/listinfo/gme-users">
http://list.isis.vanderbilt.edu/mailman/listinfo/gme-users</a><br></blockquote></div><br><br clear="all"><br>-- <br>Kind Regards, <br>Nicki