Customizing ModeLink/Exeed Editor [message #962776] |
Mon, 29 October 2012 06:18  |
Eclipse User |
|
|
|
I want to customize the ModeLink editor for my purposes and got stuck with two problems:
(1) I want to provide the three Ecore models loaded in the three windows as read-only. Is this possible and how can I do it?
(2) If I drag-and-drop one EObject from one window into another, where does this event get recognized? I want to store drag-and-drop actions in a separate model. For example, if a user drags an Ecore object from model A into model B, I want to save this Ecore object (in a separate model). Thus, I have to know where I track the firing of the event.
Maybe someone from the community can point me to the respective code pieces?
Thank you!
-Bernhard
[Updated on: Mon, 29 October 2012 06:21] by Moderator
|
|
|
|
Re: Customizing ModeLink/Exeed Editor [message #964761 is a reply to message #962924] |
Tue, 30 October 2012 15:33  |
Eclipse User |
|
|
|
Thanks for the pointers.
Regarding (1), I tried to modify the editingDomain directly in the ExeedEditor class for testing purposes but it does not work. The read-only map contains the resource (getResourceToReadOnlyMap() returns the resource and the flag), but in the Exeed editor window it stays writeable. I did set the resource read-only in the createPages() method of ExeedEditor. As all methods return expected results, I think it has something to do with the load order? Do I have to refresh the editor or anything?
-Bernhard
|
|
|
Powered by
FUDForum. Page generated in 0.04095 seconds