Loading ready event [message #331059] |
Fri, 22 August 2008 06:51  |
Eclipse User |
|
|
|
Hi,
If would like to write a kind of "OnEditorOpen" listener. It should be
implemented as an IPartListener. I found out how to register it like this:
PlatformUI.getWorkbench().getActiveWorkbenchWindow().addPart Listener(new
MyListener());
But I'm facing two problems now:
1) When I call this method too early, it crashes Eclipse. So I guess I can
only do the call when eclipse is loaded completely. How can I find out
that it is? Is there a hook or extension point?
2) If there is now extension point, how can I enforce that my plugin is
loaded?
Kind regards
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.02802 seconds