[OpenMap Users] Layer Palette

From: Mariusz Chmielewski <mchmiel21@tlen.pl>
Date: Fri Jun 03 2005 - 17:41:08 EDT

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??

Mchmiel

--
[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 Sun Jul 3 18:06:08 2005

This archive was generated by hypermail 2.1.8 : Sun Jul 03 2005 - 18:06:10 EDT