Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » [RCP] Accessing WorkbenchAdvisor from Plugin
[RCP] Accessing WorkbenchAdvisor from Plugin [message #266060] Mon, 09 August 2004 09:32
Eclipse UserFriend
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
Previous Topic:Running eclipse-based applciation as standalone?
Next Topic:Detect when eclipse startup is complete?
Goto Forum:
  


Current Time: Sat May 10 21:18:59 EDT 2025

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

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

Back to the top