creating the node dynamically [message #189300] |
Mon, 26 May 2008 07:21 |
Eclipse User |
|
|
|
Originally posted by: aritz.galdos.iese.fraunhofer.de
Hello everybody!!
I am creating an editor by GMF and I want to create a component that the
size of one part depends on another part. It means that this second part
must be created dynamically.
I have a main rectangle with two "subelements". One of them is a label and
the other one is a line. The user will allways write something on the label.
So, depending on the label's x size, I want to have my line in the middle of
the node. How can I get it?
I have tried different things: extending the generated class of my node and
overriden that (but this can't be overrided); I tried to find some attribute
for that in the gmfgraph file but I didn't find anything... Can anybody help
me? It would be greateful!!!
Thank you in advance!!! and sorry because of my poor English!!
Aritz
|
|
|
Powered by
FUDForum. Page generated in 0.03840 seconds