Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[udig-devel] Disabling Workbench SaveState

Hi,

This is probably an eclipse thing more than a udig thing but I'm hoping
somebody can point me in the right direction here.

We've developed on top of the udig platform to provide the extra
functionality required for our needs. One of the required features
required for the app is allowing the user to save the state of the
workbench on exit, by choice.

Here's the process
1)The user chooses exit
2)The user sees a prompt 'Save workbench state YES\NO'
3)Then workbench closes either saving the workbench or not depending on
outcome of 2.

Our App extends the UDIGWorkbenchAdvisor class and overrides the
initialize method.
In there I've tried setting configurer.setSaveAndRestore(false);
but the workbench state still gets saved on exit. I can't find a way to
stop the workbench from saving.
Any Idea's?



Matt









---

Maelgwn House
Parc Caer Seion
Conwy
North Wales
LL32 8FA
United Kingdom
Tel:  01492 564500
Fax: 01492 564545

General Email: info@xxxxxxxxxxxxxx

Website: www.fugro-data.com

This email and any attachments are confidential. They may
contain privileged information and are intended for the named
addressee(s) only. They must not be distributed without our
consent. If you are not the intended recipient, please notify us
immediately and do not disclose, distribute, or retain this
email or any part of it. Unless expressly stated, opinions in
this email are those of the individual sender, and not of Fugro
Data Solutions Ltd. We believe but do not warrant that this
e-mail and any attachments are virus free. You must therefore
take full responsibility for virus checking. Fugro Data
Solutions Ltd and its subsidiaries may monitor email traffic
data and also the content of email for the purposes of security.

Fugro Data Solutions Limited is a limited company registered in
England and Wales (Reg No. 5583527) at Maelgwn House,
Parc Caer Seion, Conwy, North Wales, LL32 8FA
VAT No. GB901440962.


Back to the top