Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Epsilon » [EuGENia | EOL] Adding new label problem
[EuGENia | EOL] Adding new label problem [message #579811] Fri, 28 August 2009 13:44
Mihir is currently offline MihirFriend
Messages: 83
Registered: July 2009
Member
Hello,

I'm trying to add a new label to the compartment of XXX node. But it is
not working out.


var label = new GmfGraph!Label("temp");
CompartmentFigure.children.add(label);

If I do this then it allows me to all blank label where I want but, when
I try to add name and text to label it is not working.

var label = new GmfGraph!Label;
label.name = "RuleNacsCompartmentFigureLabel";
label.text = "NACs Compartment";
CompartmentFigure.children.add(label);


Please help me with this.

Many thanks,
Mihir
Previous Topic:EMF ChangeRecorder in eol
Next Topic:[EuGENia | EOL] Adding new label problem
Goto Forum:
  


Current Time: Thu Apr 25 23:13:03 GMT 2024

Powered by FUDForum. Page generated in 0.02751 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top