Re: [OpenMap Users] OpenMap 4.6 changes [layer no-delete]

From: Adrian Lumsden <Adrian.Lumsden@sss.co.nz>
Date: Tue Jul 29 2003 - 17:28:49 EDT

Hello,

I too would like to have the ability to mark a layer as being undeletable.
I was going to do this by setting a flag in my layers (which extend the OM
layers) and not using the OM layer management tools.

I haven't had a look at the code but I don't suppose it would be too
difficult to implement the no-delete property. I think the major amount of
work would be in deciding what the GUI tools should do. Do they disable
the delete option when an undeletable layer is selected; do they allow the
delete button to be pressed and generate an error or do they just silently
ignore the request?

I'm going to have to resolve the issue soon'ish so I'm prepared to do some
work on the code if there's a consensus on the way to go.

regards,

Adrian
_____________________________________________

Adrian Lumsden
Product Specialist
Scientific Software and Systems Limited

Tel: +64 4 917-6680 (direct)
        +64 4 917-6670 (reception)
Fax: +64 4 917-6671
E-mail: Adrian.Lumsden@sss.co.nz

Visit us on the Web at: http://www.sss.co.nz
_____________________________________________

This e-mail passed SSS's content security scan.
It is covered by the confidentiality clauses at
http://www.sss.co.nz/content_and_confidentiality

Piotr Kamiński <Piotr.Kaminski@ctm.gdynia.pl>
Sent by: owner-openmap-users@bbn.com
29/07/03 18:17
Please respond to Piotr Kamiński

 
        To: openmap-users@bbn.com
        cc:
        Subject: [OpenMap Users] OpenMap 4.6 changes

Hi,

[...SNIP...]

I have a problem in my application. A few layer must not be removed
by user. How to stop user from deleting layer? Doas layer has any
property 'removable' or something? If not I'd like to add such
feature to Layer class and hadle it in LayersPanel. Maybe I should
go another way?

Regards,
Piotr Kaminski

--
[To unsubscribe to this list send an email to "majdart@bbn.com"
with the following text in the BODY of the message "unsubscribe openmap-users"]
Received on Tue Jul 29 18:15:42 2003

This archive was generated by hypermail 2.1.8 : Thu May 12 2005 - 07:18:36 EDT