Skip to main content



      Home
Home » Modeling » GMF (Graphical Modeling Framework) » Update attributes when a figure is create
Update attributes when a figure is create [message #148984] Wed, 05 September 2007 06:39
Eclipse UserFriend
Originally posted by: maikel6_9.hotmail.com

Hi another time !!

I want to edit a figure property when I create it in the graphic editor.

I have 2 elements:
- a menu (that contains separators) and
- a separator

what I want is to edit the id property of the separator element when I
create it into the menu.
To do this, I have to get a variable that the menu father has, that is,
((menu)separator.eContainer()).getNextId().

I try to do it in the constructor of the separator element but I get that
in this moment, the separator haven't got eContainer.

Can I do this?¿?

Where have I to do?¿?
Previous Topic:How to handler a Enum in properties view
Next Topic:Problem with changing attributes in the diagram
Goto Forum:
  


Current Time: Sat Jun 21 14:00:38 EDT 2025

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

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

Back to the top