Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » eRCP » eRCP application WorkbenchAdvisor
eRCP application WorkbenchAdvisor [message #499636] Mon, 23 November 2009 15:23
pragun@imcsystemsuk.com is currently offline pragun@imcsystemsuk.comFriend
Messages: 8
Registered: July 2009
Junior Member
Hi,

I am developing eRCP workbench application. I want to ask confirmation message when user close application by closing window.

In plug-in project it is simple to use ApplicationWorkbenchAdvisor which extends WorkbenchAdvisor and overrides preShutdown() method. But in my eRCP application, I only have Activator class.

I tried to use some code in my View class (which extends ViewPart) to handle ShellListener::shellClosed(ShellEvent ev) but not worked.

How should I use WorkbenchAdvisor in my eRCP application ?
or
Any ways to ask user when they closes application window to close application ?

Any sugestions much appreciated Smile
Many thanks in advance.

-Pragun.
Previous Topic:Newbie: eRCP and Android
Next Topic:eRCP application WorkbenchAdvisor
Goto Forum:
  


Current Time: Wed Apr 24 23:08:35 GMT 2024

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

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

Back to the top