[OpenMap Users] Layer Palette

From: Mariusz Chmielewski <mchmiel21_at_tlen.pl>
Date: Fri, 03 Jun 2005 23:41:08 +0200

I created a JTree component for viewing layers - extending the
LayerPanel but i have some problems managing the data concerning the
Layer Properties Panel - the layer palette - I would like to show popup
menu with showAttributes item enabled if there is a palette for layer or
disapled if there isn't. When i call

Container a = ((Layer) node.getUserObject()).getPalette();

a is always null even if the layer has got the palette. Is there a way
to determine if the layer has got a palette??


[To unsubscribe to this list send an email to "majdart_at_bbn.com"
with the following text in the BODY of the message "unsubscribe openmap-users"]
Received on Sun Jul 03 2005 - 18:04:36 EDT

This archive was generated by hypermail 2.3.0 : Tue Mar 28 2017 - 23:25:07 EDT