Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Ecore Tools » Ecore Diagrams and Loaded resources(How to get Ecore Diagrams persisting visual references to elements from other .ecore files?)
Ecore Diagrams and Loaded resources [message #673743] Tue, 24 May 2011 15:31
Christy Haragan is currently offline Christy HaraganFriend
Messages: 1
Registered: May 2011
Location: UK
Junior Member
Hi all,

I have the following scenario:

- Two .ecore models Parent and Child where Child references elements from Parent.

- A .ecorediag diagram with Child as its Domain Model

I would like to display classes from Parent on the canvas of the Child diagram and have them persisted so that subsequent views of the diagram show these foreign classes.

As things currently are, I can drag classes from Parent onto the canvas and they are shown (with a "from Parent" annotation) and add references and inheritance relationships. However, when the diagram is saved - although the domain model is updated correctly - the diagram no longer shows these foreign classes on the canvas.

What would be required to change the behaviour of the editor to persist these foreign classes on the canvas of the diagram?

Thanks Smile


PS: I'm using version 0.10.0 of the Ecore Tools SDK on Eclipse 3.6.1

[Updated on: Tue, 24 May 2011 15:37]

Report message to a moderator

Previous Topic:[EMF4Net] What ist the status of the project? Anyone still interested?
Next Topic:Ecore models for download
Goto Forum:

Current Time: Fri Sep 25 01:53:08 GMT 2020

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

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

Back to the top