[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [udig-devel] Taking control of Application Exit Event.
|
Can you make your own application? For Eclipse 3.3 they changed the
super class to extend for an Application; perhaps you should review the
new OSGi contract that UDIGApplication must meet?
Jody
Javier Sánchez Ramírez wrote:
Hi,
We are trying to avoid application exit under certain circumstances.
In order to achive this, our plugin class implements
IWorkbenchListener preShutdown method, to decide if exiting is allowed
or not, returning ‘false’ in case is not. However the workbench
closes, and we also have the ‘side-effect’ that the udig process
remains running in Windows OS.
This implementation worked in our extension integrated with previous
uDig releases, but It didn´t work anymore some releases ago.
Which is the way of taking control of closing application event, to
avoid workbench closing programmatically?
Currently working on Eclipse 3.3.1 & uDig 1.1.rc13
Thanks in advance for any help.
Javi.
www.jsgisdev.wordpress.com <http://www.jsgisdev.wordpress.com>
----------------------------------------------
Javier Sánchez Ramírez
Genasys II Spain, S.A.
Project Manager
Ventura de la Vega, 5
28014 - Madrid, SPAIN
Phone + 34 91 364 91 00
Fax + 34 91 364 91 19
GSM + 34 619413878
Email jsanchez@xxxxxxxxxxx
www.genasys.com <http://www.genasys.com/>
----------------------------------------------
Este mensaje se dirige exclusivamente a su destinatario y puede
contener información privilegiada o confidencial. Si no es vd. el
destinatario indicado, queda notificado que la utilización,
divulgacion y/o copia sin autorización está prohibida en virtud de la
legislación vigente. Si ha recibido este mensaje por error, le rogamos
nos lo comunique inmediatamente por esta misma vía y proceda a su
destrucción.
This message is intended exclusively for its addressee and may contain
information that is confidential and protected by professional
privilege. If you are not the intended recipient you are hereby
notified that any dissemination, copy or disclosure of this
communication is strictly prohibited by law. If this message has been
received in error, please inmediately notify us via e-mail and delete it.
----------------------------------------------
------------------------------------------------------------------------
_______________________________________________
User-friendly Desktop Internet GIS (uDig)
http://udig.refractions.net
http://lists.refractions.net/mailman/listinfo/udig-devel