[gme-users] Missing attributes

Akos Ledeczi akos.ledeczi at vanderbilt.edu
Wed Oct 3 08:30:47 CDT 2007


Hi,

in your metamodel, look at the attributes of the model you want to 
change this for. In the General Preferences attribute, include these 
lines, for example:

portLabelLength = 5
portLabelInside = false

I have not tried it, but something close to this should work.

Hope this helps,
Akos


Rico Steiner wrote:
> Hello list
> 
> In my metamodel (using metaGME) I have defined a <<Model>> that
> contains an <<Atom>>. The contained <<Atom>> has to be visible on the
> parent <<Model>> as a port. To do so I set attribute “Object is a
> port?” of the containment connection between the two elements to
> true.
> 
> If I instantiate this metamodel everything works fine. Then I noticed
> that both elements provide two additional attributes: “PortLabel shown
> inside container?” and “PortLabel Length”. I would like to define
> these two attributes in the metamodel. But unfortunately I can’t find
> them, neither on the <<Model>> nor on the <<Atom>> nor on the
> containment connection.
> 
> Is there a possibility to predefine the values of the mentioned
> attributes in the metamodel?
> 
> Best regards
> Rico
> 
> 
> ___________________________________
> 
> Rico Steiner
> Assistant
> HES-SO Valais
> Rte du Rawyl 47
> CH-1950 Sion 2
> 
> Tel. : +41 27 606 8744
> Fax : +41 27 606 8715
> E-mail : rico.steiner at hevs.ch 
> http://www.hevs.ch
> _______________________________________________
> 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