|EMF BasicCommandStackListener in multi instances RAP APP. [message #1412181]
||Mon, 25 August 2014 13:41
| Phil Wim
Registered: October 2013
i have problems with my multiuser rap app. I have a global EMF resource which is connected to an AdapterFactoryEditingDomain which includes an BacisCommandStack.
Since I need a CommandstackListener for checking if my eobject has changed I get trouble with "invaliud thread access" when I have multiple browser instances loaded.
Sure I'm registering the listener to a global basiccommandstack. And if it's not removed on both instances, it tries to fire it into those instances which is not allowed.
But I def. need a global editing domain. Because I want to see changes immediately after creating in all other browser instances.
How do I have to design the basiccommandstack listener to avoid this problem?
Thanks in advance
Powered by FUDForum
. Page generated in 0.02266 seconds