Mario Nuñez Jimenez wrote:

Hello,

Another question more to ask…

I want a layer specific not to be deleted and also have it always on top (for not lose its visibility with other layers above it) so I want to know which class I have to modify in order to do that.

I ask because I don’t have any idea of how begin with this task…

Thinking ... Emily just added the concept of a "Glass Pane" which is always on top and used to provide visual feedback; the Draw Commnads are the usual way to accomplish visual feedback (both these facilities are not even shown as a layer in the layer view).

Once again I am going to ask what you are trying to do :-) Normally people ask for a way to keep a layer always on the background ...

The simple answer is that the Layer View may not be the appropriate thing to show your users; it *exactly* shows what the layers are and in what their z-order is. If that is not what you want your users to do you should consider copying the view for your own application and changing your own copy to show or hide (or prevent the movement of) some of the layers.

That said I think you can watch for changes to the layers list; and undo any changes you do not like... but it would be preferable not to let the user make them.
Jody

Thank you!

------------------------------------------------------------------
This e-mail and the documents attached are confidential and intended
solely for the addressee; it may also be privileged. If you receive
this e-mail in error, please notify the sender immediately and destroy it.
As its integrity cannot be secured on the Internet, the Atos Origin
group liability cannot be triggered for the message content. Although
the sender endeavours to maintain a computer virus-free network,
the sender does not warrant that this transmission is virus-free and
will not be liable for any damages resulting from any virus transmitted.

Este mensaje y los ficheros adjuntos pueden contener informacion confidencial
destinada solamente a la(s) persona(s) mencionadas anteriormente
pueden estar protegidos por secreto profesional.
Si usted recibe este correo electronico por error, gracias por informar
inmediatamente al remitente y destruir el mensaje.
Al no estar asegurada la integridad de este mensaje sobre la red, Atos Origin no se hace responsable por su contenido. Su contenido no constituye ningun compromiso para el grupo Atos Origin, salvo ratificacion escrita por ambas partes. Aunque se esfuerza al maximo por mantener su red libre de virus, el emisor no puede garantizar nada al respecto y no sera responsable de cualesquiera
danos que puedan resultar de una transmision de virus.
------------------------------------------------------------------
------------------------------------------------------------------------

_______________________________________________
User-friendly Desktop Internet GIS (uDig)
http://udig.refractions.net
http://lists.refractions.net/mailman/listinfo/udig-devel

_______________________________________________
User-friendly Desktop Internet GIS (uDig)
http://udig.refractions.net
http://lists.refractions.net/mailman/listinfo/udig-devel

Reply via email to