[OpenMap Users] Extending SelectMouseMode

From: Adams Tan <nikida78_at_email.domain.hidden>
Date: Mon Mar 02 2009 - 20:44:08 EST

Hi,

I need to change the MapMouseSupport tagged to the default SelectMouseMode.
Hence, I decided to extend SelectMouseMode and change the mouse support on
init (of the MouseMode).

However, after I change the selectMouseMode.class (in openmap.properties) to
reflect on my new class (ie. CustomSelectMouseMode), the new MouseMode is
not used when I run the app. In fact, the constructors aren't even called
(i've placed printout statements).

Anything that I missed? Or is there a better way to change the MouseSupport
used in the SelectMouseMode?

Adams Tan

--
[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 Mon Mar 2 20:50:33 2009

This archive was generated by hypermail 2.1.8 : Mon Mar 02 2009 - 20:50:34 EST