[OpenMap Users] Re: Extending SelectMouseMode

From: Adams Tan <nikida78_at_gmail.com>
Date: Wed, 4 Mar 2009 09:17:17 +0800

My mistake...

Found out that I changed the wrong properties file...
On Tue, Mar 3, 2009 at 9:44 AM, Adams Tan <nikida78_at_gmail.com> wrote:

> 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_at_bbn.com"
with the following text in the BODY of the message "unsubscribe openmap-users"]
Received on Tue Mar 03 2009 - 20:18:54 EST

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