<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> &lt;<a href="mailto:akos.ledeczi@vanderbilt.edu">
akos.ledeczi@vanderbilt.edu</a>&gt; 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>&gt; Hi Christian,<br>&gt;<br>&gt; I'm quite sure that that is not the correct way to use references.<br>&gt; However I did try it but without any luck. Thanks for the suggestion<br>&gt; though :)
<br>&gt;<br>&gt; -Nicki<br>&gt;<br>&gt; On 9/18/06, *Christian Brunette* &lt;<a href="mailto:Christian.Brunette@irisa.fr">Christian.Brunette@irisa.fr</a><br>&gt; &lt;mailto:<a href="mailto:Christian.Brunette@irisa.fr">Christian.Brunette@irisa.fr
</a>&gt;&gt; wrote:<br>&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; Hi,<br>&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; I think you have to put your connection between ReferenceToAtomB (not B)<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; and A.<br>&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; Christian<br>&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; Nicki Lehmann Møller wrote:
<br>&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&gt; Hi all!<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&gt; Could someone please help me solve my little aspect problem and tell<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&gt; me how to connect atoms placed in different models.<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&gt; As can seen on my metamodel (see attachment) I've created a reference
<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&gt; between the model-object (ModelA) and the &quot;external&quot; atom (AtomB)<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&gt; which means that I able to create the reference inside the<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&gt; model-object (ModelA). However when I'm using the metamodel and I try
<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&gt; to create a connection between two atoms (AtomA and<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; ReferenceToAtomB)<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&gt; I get a paradigm violation stating that I cannot create a connection<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&gt; in the current aspect (WholeAspect). I know that this indicates that
<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&gt; something is wrong with my aspect, but I have no clue on what<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; :(&nbsp;&nbsp;Any<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&gt; suggestions are therefore greatly appreciated.<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&gt; --<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&gt; Kind Regards,
<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&gt; Nicki<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; ------------------------------------------------------------------------<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&gt;------------------------------------------------------------------------
<br>&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&gt;_______________________________________________<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&gt;gme-users mailing list<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&gt;<a href="mailto:gme-users@list.isis.vanderbilt.edu">gme-users@list.isis.vanderbilt.edu
</a><br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; &lt;mailto:<a href="mailto:gme-users@list.isis.vanderbilt.edu">gme-users@list.isis.vanderbilt.edu</a>&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&gt; <a href="http://list.isis.vanderbilt.edu/mailman/listinfo/gme-users">http://list.isis.vanderbilt.edu/mailman/listinfo/gme-users
</a><br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&gt;<br>&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; --<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; Christian Brunette<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; Expert Engineer in the ESPRESSO team<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; IRISA-INRIA, Campus de Beaulieu, 35042 Rennes cedex, France<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; Phone: +33 (0) 2 99 84 72 31, Fax: +33 (0) 2 99 84 71 71
<br>&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; _______________________________________________<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; gme-users mailing list<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; <a href="mailto:gme-users@list.isis.vanderbilt.edu">gme-users@list.isis.vanderbilt.edu</a><br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; &lt;mailto:
<a href="mailto:gme-users@list.isis.vanderbilt.edu">gme-users@list.isis.vanderbilt.edu</a>&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; <a href="http://list.isis.vanderbilt.edu/mailman/listinfo/gme-users">http://list.isis.vanderbilt.edu/mailman/listinfo/gme-users
</a><br>&gt;<br>&gt;<br>&gt;<br>&gt;<br>&gt; --<br>&gt; Kind Regards,<br>&gt; Nicki<br>&gt;<br>&gt;<br>&gt; ------------------------------------------------------------------------<br>&gt;<br>&gt; _______________________________________________
<br>&gt; gme-users mailing list<br>&gt; <a href="mailto:gme-users@list.isis.vanderbilt.edu">gme-users@list.isis.vanderbilt.edu</a><br>&gt; <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