[CDO] Cross model references [message #1716178] |
Tue, 01 December 2015 19:21  |
Eclipse User |
|
|
|
I cannot find a way to add a cross model reference in the CDO editor.
Using Eclipse Mars, I checked out a project that has two models from a local CDO repository using the offline mode. The project showed in project explorer. I then opened the CDO editor on one model and tried to load the other model in the same editor using "Load Resource..." action. In there, I selected the "Browse workspace" button, but I did not find the checked out project in the selections. I also noticed the "Import Roots" action in the CDO editor, but it is always greyed out for me.
How is this supposed to work?
Maged
|
|
|
|
|
Re: [CDO] Cross model references [message #1742587 is a reply to message #1716335] |
Mon, 05 September 2016 10:54  |
Eclipse User |
|
|
|
Hi CDO Team,
First, thank you for providing CDO... It is a terrific framework, and I'm using it extensively !
I 'reopen' this thread, since I have the same behaviour (conf. neon & CDO 4.5) : EObjects from other resources in a repository are not presented as candidates for linking. Only EObjects owned by the current edited resource are proposed...
I tried 3 editors (CDOEditor, ECPEditor and a custom one...), they all behave the same way...
I did not find in the source code of cdo where these 'other-resources-eobjects-candidates' are taken into account (looked around CDOItemProvider and CDOItemDescriptor...).
Where should I put a breakpoint to see why other resources are not considered by the CDOEditor ?
Kind regards,
Romain
[Updated on: Mon, 05 September 2016 10:55] by Moderator
|
|
|
Powered by
FUDForum. Page generated in 0.06164 seconds