Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » EMF BasicCommandStackListener in multi instances RAP APP.
EMF BasicCommandStackListener in multi instances RAP APP. [message #1412181] Mon, 25 August 2014 13:41
Phil Wim is currently offline Phil WimFriend
Messages: 89
Registered: October 2013
Member
Hi there,

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
Philippe
Previous Topic:ProgressMonitorDialog
Next Topic:downgrade from JRE7 to JRE6
Goto Forum:
  


Current Time: Thu Feb 27 12:38:38 GMT 2020

Powered by FUDForum. Page generated in 0.01735 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top