Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » Updating existing diagrams when model changes
Updating existing diagrams when model changes [message #1004231] Tue, 22 January 2013 16:02 Go to previous message
Stephen Slaboda is currently offline Stephen Slaboda
Messages: 8
Registered: November 2012
Junior Member
Hi all,

I have a model I have been working on for awhile, and I've discovered that I needed to nest the current diagram root inside another class, which is now the diagram root. The model and diagram are in a single file, so I see a lot of references to 'xmi:id's that appear to be generated (UI?) IDs.

Is there a scriptable way to update existing diagrams that still have the old diagram root to insert this new element as the diagram root?

If it helps for context, the previous models do not use diagram partitioning, but the new one does (hence the need for the new root element).

Thanks,
-Stephen
 
Read Message
Read Message
Previous Topic:Delete Connection of a Node Programmatically
Next Topic:NPE on diagram close
Goto Forum:
  


Current Time: Wed May 22 11:07:16 EDT 2013

Powered by FUDForum. Page generated in 0.01563 seconds