[gme-users] Metamodel composition ?
Matthew J. Emerson
mjemerson at isis.vanderbilt.edu
Sun Apr 24 18:42:15 CDT 2005
Hi Vamshi.
GME provides a light-weight mechanism for extending modeling languages
called GME Type Inheritance. It's a way of treating domain model
artifacts as types. You can then instantiate or subtype those types.
To continue in the example you provided, you could use the low-level
signal flow concepts from P1 to design discrete components for each of
the more complex guitar effects you would like to see in P2. Then, you
could treat each of those components as a new type belonging to P1. You
don't actually build a new modeling language, you simply add
higher-level reusable modeling constructs to your old one.
You can read all about GME type inheritance on pg. 37 of the GME User's
manual.
--Matt
> -----Original Message-----
> From: Vamshi Raghu [mailto:vamshi.raghu at mail.mcgill.ca]
> Sent: Friday, April 22, 2005 9:06 PM
> To: gme-users
> Subject: [gme-users] Metamodel composition ?
>
> Hi!
> I have a question about metamodel composition that is not clear in the
> documentation:
> 1)
> Let us say I have created a paradigm similar to signalflow (say "P1"),
> in which I can drag and drop delay and gain components and connect
them
> to describe signal processing operations.
> 2)
> I generate a customized GME GUI for modeling using this paradigm (say
> "GME-GUI-P1").
> 3)
> Now, I want to define a new *paradigm* for describing guitar effects
> like phasor, flanger, delay and sustain, using P1. Say P2. I don't
want
> to define this in MetaGME and the associated visual environment of
> GME-GUI-MetaGME, but want to do it using P1 in the GME-GUI-P1
> environment, and use this to generate GME-GUI-P2 which will inherit
all
> features from GME-GUI-P1 + extra features as defined as part of the
> definition of P2.
>
> Is this possible? Am I missing something in the UI/documentation that
> permits me to do this? Using libraries didn't seem like the same thing
> (The visual environment is still GME-GUI-MetaGME).
> Thanks!
> -Vamshi
>
> _______________________________________________
> gme-users mailing list
> gme-users at list.isis.vanderbilt.edu
> http://list.isis.vanderbilt.edu/mailman/listinfo/gme-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://list.isis.vanderbilt.edu/pipermail/gme-users/attachments/20050424/840b0414/attachment.htm
More information about the gme-users
mailing list