Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » creating the node dynamically
creating the node dynamically [message #189300] Mon, 26 May 2008 07:21
Eclipse UserFriend
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
Previous Topic:Source and target feature also for nodes
Next Topic:Add Decoration to Custom Connection?
Goto Forum:
  


Current Time: Fri Sep 20 01:57:37 GMT 2024

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

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

Back to the top