[gme-users] hierarchie cross-references
Zoltan Molnar
zolmol at isis.vanderbilt.edu
Mon Jan 9 10:46:14 CST 2006
One model may own several aspects. But an aspect can't show elements
from several models.
I see two-three ways:
A) One-model, several aspects approach:
You might have one model containing Atom1s, and Atom2s. An aspect for
Atom1s, another for Atom2s, then have a common aspect in which you would
show Atom1s and Atom2s together, and connections could be made.
This process is the simplest.
B) Two models, with some mapping, using GME components:
Model1 contains just Atom1s, Model2 contains only Atom2s. To create
references automatically (i.e. in Model3) you would need a GME
component. Either an add-on to run in the background (whenever an Atom1
is inserted into Model1 it would create and insert a reference of Atom1
into Model3) , or an interpreter (launched by the user at a specific
point in time) would create them.
C)
However you could have Model1 showing Atom1s as ports, same for Model2
with Atom2, and then in the container (parent) of Model1, Model2, you
just connect Atom1s to Atom2s.
Zoli
> -----Original Message-----
> From: gme-users-bounces at list.isis.vanderbilt.edu
> [mailto:gme-users-bounces at list.isis.vanderbilt.edu] On Behalf
> Of Mirko Bleyh
> Sent: Monday, January 09, 2006 10:01 AM
> To: gme-users
> Subject: RE: [gme-users] hierarchie cross-references
>
>
>
> Well I aready thought of that idea, having a separate model
> for the mapping, but the problem with that solution is that I
> have to insert all references manually. I would like to have
> all available atoms from model A and model B in one aspect,
> and then connect them somehow.
>
> Thanks,
> Mirko
>
>
> "A list for GME users to share thoughts and discuss bugs and
> fixes." <gme-users at list.isis.vanderbilt.edu> schrieb am
> 09.01.06 16:28:34:
> >
> > Hi,
> >
> > Everything is possible in GME, i.e. what your metamodel allows. I
> > don't see in your metamodel the references, and the model
> containing
> > the references. I would insert a third model (called e.g.
> Connections
> > or Mapping), which would contain only reference kinds like
> R1 and R2.
> > R1 may point to any A1 atom kind, R2 may point to any A2 atom kind.
> > Then you could define a connection C1 being part of this
> ''Connections''
> > model, defined among R1-s and R2-s.
> >
> > Is that what you intend to have?
> > Br, Zoli
> >
> > > -----Original Message-----
> > > From: gme-users-bounces at list.isis.vanderbilt.edu
> > > [mailto:gme-users-bounces at list.isis.vanderbilt.edu] On Behalf
> > > Of Mirko Bleyh
> > > Sent: Monday, January 09, 2006 9:13 AM
> > > To: gme-users
> > > Subject: [gme-users] hierarchie cross-references
> > >
> > >
> > > Hello,
> > >
> > > I have a simple question, I hope someone can give me an answer:
> > >
> > > In my metamodel I have my root model element, which contains
> > > two other model elements. Each of these two models now
> > > contain one simple atom element. Thats the whole metamodel
> > > (simplyfied for this question). Now what I would like to do
> > > is make a reference from the two atom elements. I'm thinking
> > > of an aspect showing all atom elements from both models, and
> > > being able to connect them. Is that possible in GME?
> > >
> > > You can find attached the metamodel, maybe that makes it
> > > clearer. Thanks for any help! Mirko
> > > ______________________________________________________________
> > > Verschicken Sie romantische, coole und witzige Bilder per
> > > SMS! Jetzt bei WEB.DE FreeMail: http://f.web.de/?mc=021193
> > >
> > >
> > _______________________________________________
> > gme-users mailing list
> > gme-users at list.isis.vanderbilt.edu
> > http://list.isis.vanderbilt.edu/mailman/listinfo/gme-users
>
>
> ______________________________________________________________
> Verschicken Sie romantische, coole und witzige Bilder per
> SMS! Jetzt bei WEB.DE FreeMail: http://f.web.de/?mc=021193
>
> _______________________________________________
> gme-users mailing list
> gme-users at list.isis.vanderbilt.edu
> http://list.isis.vanderbilt.edu/mailman/listinfo/gme-users
>
More information about the gme-users
mailing list