Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Eclipse rcp app doesn't close
Eclipse rcp app doesn't close [message #444475] Thu, 16 February 2006 11:31 Go to next message
Armen Polischuk is currently offline Armen PolischukFriend
Messages: 7
Registered: July 2009
Junior Member
I have several workbench windows. One of these is main window. And in =

WorkbenchWindowAdvisor for main workbench window
in method postWindowClose I closed others workbench windows:

public void postWindowClose() {
for(IWorkbnechWindow window: windows){
window.close();
}
}

So, when user close main window - other closes too. But application sti=
ll =

running (I see running process).
What's wrong?
Re: Eclipse rcp app doesn't close [message #444533 is a reply to message #444475] Fri, 17 February 2006 03:46 Go to previous messageGo to next message
Rohit Khariwal is currently offline Rohit KhariwalFriend
Messages: 114
Registered: July 2009
Senior Member
can it possible with window.dispose();
Re: Eclipse rcp app doesn't close [message #444545 is a reply to message #444533] Fri, 17 February 2006 10:50 Go to previous messageGo to next message
Armen Polischuk is currently offline Armen PolischukFriend
Messages: 7
Registered: July 2009
Junior Member
I've tried add shell.dispose():
window.close();
window.getShell().dispose();
- null pointer exception because shell already null and was disposed


If write like this
window.getShell().dispose();
window.close();
- exception (widget already disposed) was raised

if replace close() by shell.dispose() - same effect. No windows, but app=
=

is still running...
Re: Eclipse rcp app doesn't close [message #444711 is a reply to message #444545] Sat, 18 February 2006 21:01 Go to previous message
Eclipse UserFriend
Originally posted by: no.email.org

Hi,

I have the same problem. After moving to 3.2M5 my rcp app doesn't close.
It seems that the close event gets lost:

OS.WaitMessage() line: not available [native method]

In 3.1 it worked fine.

Any ideas?
Previous Topic:preventing plugin jar files from being expanded without using features
Next Topic:Running an executable inside an eclipse View?
Goto Forum:
  


Current Time: Thu Dec 12 19:29:25 GMT 2024

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

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

Back to the top