Re: [OpenMap Users] error handling multiple mouse modes

From: Don Dietrick <dietrick_at_bbn.com>
Date: Thu, 12 Jul 2007 14:05:13 -0400

Hi Matt,

Thanks for pointing this out, it's been fixed for the next release.

Best regards,

Don

On Jul 6, 2007, at 6:51 AM, Matt Brennan wrote:

> hey there,
> in OMGraphicsHandler layer, there is a bug when handling
> multiple mouse modes from props:
>
> in public void setProperties(String prefix, Properties props):
>
> --
>
> String mmString = props.getProperty(realPrefix +
> MouseModesProperty);
> if (mmString != null) {
> Vector mmv = PropUtils.parseSpacedMarkers(mmString);
> if (mmv.size() > 0) {
> String[] mm = new String[mmv.size()];
> Iterator it = mmv.iterator();
> int i = 0;
> while (it.hasNext()) {
> mm[i] = (String) it.next();
> }
> setMouseModeIDsForEvents(mm);
> }
> }
>
> --
>
> the array index 'i' fails to increment... small beer but important
> if a layer has more than one mouse mode...
>
> cheers,
>
> matt
> --
> -- Matt Brennan || classForge Pty Ltd || 0403 355 602
> --
>
> --
> [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"]



=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Don Dietrick, dietrick_at_bbn.com
BBN Technologies, Cambridge, MA
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=


--
[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 Thu Jul 12 2007 - 14:05:23 EDT

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