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 11:31
Christy Haragan is currently offline Christy Haragan
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

Christy



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

[Updated on: Tue, 24 May 2011 11: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: Thu Aug 21 22:00:13 EDT 2014

Powered by FUDForum. Page generated in 0.01963 seconds