[gme-users] Instances in Aspects
Larry Howard
larry.howard at vanderbilt.edu
Tue Jun 1 08:33:56 CDT 2010
Yes, I think an addon component could be an effective way to mediate the creation of an object from the Parts Browser. For the selected meta-object, the addon could offer the user a palette of supported types associated with the meta-object. The user's selection from this palette would then be used to complete the object creation operation by instancing the type. This approach essentially extends the drag and drop nature of the Parts Browser with type-based specialization.
I should mention that distinctive icons could be used with a fixed type system, as components can set an arbitrary icon for a GME object. This visual cueing could complement type information displayed in the GME interface when an object is selected on the modeling canvas. An alternative would be icon decoration using GME's decorator interface. But this approach, while powerful, is more involved and not where I'd start.
Regards,
lph
--
Larry Howard, Sr. Research Scientist
Institute for Software Integrated Systems, Vanderbilt University
On Jun 1, 2010, at 7:47 AM, KOUWER Jeroen wrote:
> Thanks for the answer.
>
> If I understand you correctly you advise me to use what is called in the help files: "The third types of these components are add-ons, i.e. components that can react to GME-events sent by the COM Mga-Layer. These components are very useful to make GME a run-time executional environment or to write more sophisticated paradigm dependent or independent extensions."
>
> I'll look into creating these kind of components and use the basic functionality as a starting point.
>
> Regards,
> Jeroen Kouwer
>
> From: gme-users-bounces at list.isis.vanderbilt.edu [mailto:gme-users-bounces at list.isis.vanderbilt.edu] On Behalf Of Larry Howard
> Sent: Tuesday, 01 June, 2010 14:02
> To: A list for GME users to share thoughts and discuss bugs and fixes.
> Subject: Re: [gme-users] Instances in Aspects
>
> GME provides all of the necessary support for creating and using palettes of types, it just doesn't provide it in a generalized facility as nicely integrated into the interface as Aspects. On the other hand, since Aspects conditionalize both the Parts browser and the modeling canvas, I don't think that Aspects give you precisely what you want either.
>
> One alternative is to provide your own support via GME components. I've attached a screenshot of such an approach from a GME environment called CAPE. On the left in the screenshot are meta-objects, and (for the selected meta-object) on the right is a palette of types (labeled "Templates"). The component supports instancing the types.
>
> Regards,
> lph
> --
> Larry Howard, Sr. Research Scientist
> Institute for Software Integrated Systems, Vanderbilt University
>
> <picture>
>
> On Jun 1, 2010, at 5:30 AM, KOUWER Jeroen wrote:
>
>
> Is there another way (besides Aspects) to force the use of instances only in a diagram / generated editor? Because I don't want to allow the users to change the definition.
>
> Regard,
> Jeroen Kouwer
>
> From: gme-users-bounces at list.isis.vanderbilt.edu [mailto:gme-users-bounces at list.isis.vanderbilt.edu] On Behalf Of Larry Howard
> Sent: Tuesday, 01 June, 2010 12:23
> To: A list for GME users to share thoughts and discuss bugs and fixes.
> Subject: Re: [gme-users] Instances in Aspects
>
> Aspects are defined on meta-objects. The Types and Instances facility addresses objects. So the answer to your first question is no.
>
> Types and Instances seems an appropriate approach to what you describe, but you must leave Aspects aside.
>
> Regards,
> lph
> --
> Larry Howard, Sr. Research Scientist
> Institute for Software Integrated Systems, Vanderbilt University
>
>
>
> On Jun 1, 2010, at 3:57 AM, KOUWER Jeroen wrote:
>
>
>
> Hello,
>
> I would like to have one team developing a variaty of objects (e.g. cars, computers, etc.). And I would like to create the ability for another group to use these objects (in e.g. car-park lists, network design, etc.). My first idea is to use instances of objects: have one group model the objects and allow another group to create instances of these objects. The manual explains how to create instences from an already created object, but is it possible to restrict the contents of an aspect to instences of a certain object?
>
> So my approach is to use instances, but should / can it be done with a different approach using GME?
>
> Groeten,
> Jeroen Kouwer
> --
> Architecture Engineer
> TBU Radar / Technical Unit Processing
> Thales Nederland B.V.
>
> Tel: +31 (0)74 248 2315
> Email: jeroen.kouwer at nl.thalesgroup.com
>
>
> ------------------------------------------------------------------------------------------------------------
> Disclaimer:
>
> If you are not the intended recipient of this email, please notify the sender and delete it.
> Any unauthorized copying, disclosure or distribution of this email or its attachment(s) is forbidden.
> Thales Nederland BV will not accept liability for any damage caused by this email or its attachment(s).
> Thales Nederland BV is seated in Hengelo and is registered at the Chamber of Commerce under number 06061578.
> ------------------------------------------------------------------------------------------------------------
>
> _______________________________________________
> gme-users mailing list
> gme-users at list.isis.vanderbilt.edu
> http://list.isis.vanderbilt.edu/mailman/listinfo/gme-users
>
>
> ------------------------------------------------------------------------------------------------------------
> Disclaimer:
>
> If you are not the intended recipient of this email, please notify the sender and delete it.
> Any unauthorized copying, disclosure or distribution of this email or its attachment(s) is forbidden.
> Thales Nederland BV will not accept liability for any damage caused by this email or its attachment(s).
> Thales Nederland BV is seated in Hengelo and is registered at the Chamber of Commerce under number 06061578.
> ------------------------------------------------------------------------------------------------------------
>
> _______________________________________________
> gme-users mailing list
> gme-users at list.isis.vanderbilt.edu
> http://list.isis.vanderbilt.edu/mailman/listinfo/gme-users
>
>
> ------------------------------------------------------------------------------------------------------------
> Disclaimer:
>
> If you are not the intended recipient of this email, please notify the sender and delete it.
> Any unauthorized copying, disclosure or distribution of this email or its attachment(s) is forbidden.
> Thales Nederland BV will not accept liability for any damage caused by this email or its attachment(s).
> Thales Nederland BV is seated in Hengelo and is registered at the Chamber of Commerce under number 06061578.
> ------------------------------------------------------------------------------------------------------------
>
> _______________________________________________
> 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/20100601/54201bfb/attachment.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2686 bytes
Desc: not available
Url : http://list.isis.vanderbilt.edu/pipermail/gme-users/attachments/20100601/54201bfb/attachment.bin
More information about the gme-users
mailing list