[OpenMap Users] Tool panel & layer visibility interactions

From: Peter Solderitsch <psolderitsch@gestalt-llc.com>
Date: Wed Sep 22 2004 - 16:57:59 EDT

All,

This has probably been answered before, but as per my last message, I'm
currently unable to search the mailing list archives.

When enabling/disabling the Drawing layer in the standard OpenMap gui,
drawing-related tool buttons are added/removed dynamically based on that
layer's visibility. My question is: how does one go about adding similar
behaviors to a custom-written layer subclass?

I've been looking through the source and haven't been able to figure out
how this works. I know how to add a Tool unconditionally to the
ToolPanel, I just haven't figured out the preferred mechanism (if there
is one) of associating that tool (or a collection of tools) with a
particular layer's visibility.

Thanks!
-Peter

--
[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 Wed Sep 22 17:00:54 2004

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