|
|
|
|
Re: Model navigator [message #227347 is a reply to message #227306] |
Fri, 24 April 2009 12:32 |
José Messages: 18 Registered: July 2009 |
Junior Member |
|
|
Jose Carlos escribió:
> exquisitus escribió:
>> Hi,
>>
>> I did the same thing recently (CNF + EMF + GMF) (successfully). If you
>> register a transactional editing domain, common to all views and
>> editors, then synchronization comes for free.
>>
>> regards.
>>
>> Jose Carlos a écrit :
>>> Hi all, I'm trying to develop a model navigator for a GMF diagram. I
>>> would like obtain a synchronization between EMF model instantiate by
>>> GMF diagram editor and my navigator. To obtain that, I'm using
>>> Common Navigator Framework and I'm implementing my own content and
>>> label providers.
>>> The way I've thought consists in get the GMF editing domain, obtain
>>> the resource set opened by the GMF graphical editor and finally,
>>> synchronize with it the navigator, but I don't know how to do this
>>> operation.
>>>
>>> Could someone help me or give the clues to perform the mentioned
>>> operation??
>>>
>>> Thanks to all
> That's exactly I've done and it's work fine. Thank you very much to all
> for the responses
Hi,
I've got another problem. Well, I want to synchronize the project
navigator with the resourceSet given by the EditingDomain when the file
is opened and when I close the file I would like to show the model tree
as usually in default explorer, i.e., using a different resourceSet
because the editingDomain resourceSet is only available when the file in
opened. Could you tell me the way to do that?? I've tried some things
but all reported me unexpected results.
Regards
|
|
|
Powered by
FUDForum. Page generated in 0.03106 seconds