|
Re: Register PespectiveListener [message #120208 is a reply to message #120196] |
Fri, 30 January 2009 17:34 |
|
Hi Markus,
Markus Krüger wrote:
> I would like to register PerspectiveListener an open an editor if a special
> perspective becomes activated.
> Normally I do this in my Activator.start() method. But I get the
> "IllegalStateException" because no context ist available. I also tried it
> with UICallBack.runNonUIThreadWithFakeContext() but since this method also
> needs a Display I get the same Exception.
> Am I doing something wrong? Is there a better place to register my Listener
> at where it works better?
Think again. Let's say you have 23 active users. How many workbench
instances do you have? And how many active bundles? How many of those
listeners do you need?
Ralf
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.06336 seconds