Skip to main content


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
Hello,
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
Alex
Previous Topic:Selection tool for selection of those edit parts too which are not in the primary layer.
Next Topic:Simple layout policy question
Goto Forum:
  


Current Time: Sat Apr 27 02:29:05 GMT 2024

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

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

Back to the top