[RCP] Accessing WorkbenchAdvisor from Plugin [message #266060] |
Mon, 09 August 2004 09:32 |
Eclipse User |
|
|
|
Originally posted by: jw.jwi.de
Hi,
in WorkbenchAdvisor.preShutdown() I ask all my Views if the RCP can be
shut down, the views in turn ask the user (no, I cannot use an editor as
long as there is no way from stopping an editor from being closed by the
user).
The views I find via
configurer.getWindow().getActivePage().findView(IDVIEW);
This works, but results in a dependency of RCPWorkbenchAdvisor to the
views. So I thought of having the views register themselves in
RCPWorkbenchAdvisor. But I did not find a way to access the
RCPWorkbenchAdvisor from the views. Is there?
Thanks,
Juergen
|
|
|
Powered by
FUDForum. Page generated in 0.03302 seconds