Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » Proper handling of model references
Proper handling of model references [message #671287] Tue, 17 May 2011 11:44
Alexander Mack is currently offline Alexander MackFriend
Messages: 100
Registered: July 2009
Senior Member
I am working on an model editor based on GEF.
I can create some model objects with children etc.
Further I am able to drag model objects from one diagram to another.
So the question is, how to handle these links properly.
First I want the link not to be editable.
Second, the link should use all the editparts of the original element.
And at least the link should not be saved like the original element, instead it should be saved as kind of a reference to the original element. The consequence is, that if the diagram with the linked element is reloaded, the link can refresh itself.

I am not able to find a proper way to implement this concern. My current solution is creating mock-objects and is improvable.

I would appreciate any suggestions!

Kind regards
Previous Topic:Simple layout policy question
Next Topic:z-order of children edit parts
Goto Forum:

Current Time: Sun Apr 22 18:34:47 GMT 2018

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

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