[gme-users] general preferences on connections/atoms

Peter Volgyesi peter.volgyesi at vanderbilt.edu
Mon Feb 16 18:39:51 CST 2004


The format of the label string is quite restricted. You can only use the 
  attributes of the connection (%attrname%), the kind (%kind%) and the 
role (%role%) of the connection. That's it.
If you want to show something special (dynamic content) on an object, 
you should create a decorator (a short intro can be found in the user 
manual, and a sample decorator skeleton is a good starting point int the 
SDK directory).
--
peter


> Peter,
> 
> I know that one can display an attribute of a connection on the line 
> itself by adding the “labelFormatStr = %attrName%” in the general 
> preferences of the connection class in the meta-model. Is there a way I 
> can show an attribute of the src (or dest) object of a connection, 
> something like (“labelFormatStr = %src.attr%”)? Also similar to 
> connections can I show an attribute of an atom on the icon of the atom?
> 
>  
> 
> Thanks
> 
> Sandeep
> 
>  
> 
> --
> 
> Sandeep Neema
> 
> Research Scientist,
> 
> Institute of Software Integrated Systems, Vanderbilt University
> 
> Phone: 615-343-9996
> 
> Email: sandeep.k.neema at vanderbilt.edu 
> <mailto:sandeep.k.neema at vanderbilt.edu>
> 
>  
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> 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