[gme-users] handling ports in a decorator

Jeff Parsons parsons at isis.vanderbilt.edu
Thu Jun 10 17:53:50 CDT 2004


Hi,

1. Are ports drawn when their container is drawn or
   as separate steps?

2. The answer to 1 is only for me to know whether
   I should enter the decorator DLL name in the
   attribute panel for the port type or the container type.
   If container type, then I need some way to get the
   ports when in the decorator for the container, and if
   port type, then I need to know when I am in the decorator
   for the type as port and not for the type's occurrence
   in the editor or part browser.

3. If I supply an icon in the decorator to be drawn for
   the port, do I have to size it down myself, or will
   it happen automatically as it does if no port icon
   is specified in the metamodel?

4. In the decorator, how can I tell if the port will be
   drawn on the left or right side of its container?
   There must be a x-pixel boundary number in GME somewhere.


thanks,

Jeff Parsons


More information about the gme-users mailing list