Re: [OpenMap Users] OMGraphicHandlerPlugIn and GestureResponsePolicy

From: Don Dietrick <>
Date: Thu, 2 Sep 2004 19:03:46 -0400

Hi Paul,

On Aug 27, 2004, at 12:33 AM, Chisholm, Paul wrote:

> Hi,
> I have an application where a layer is continually updated with data
> retrieved from a server, so I am handling it by subclassing
> OMGraphicHandlerPlugIn.
> I have previously used OMGraphicHandlerLayer which has convenience
> methods for things such as tooltips and menus (by implementing the
> GestureResponsePolicy interface). Is there already a way of accessing
> such functionality in an OMGraphicHandlerPlugIn subclass or do I have
> to
> implement GestureResponsePolicy myself.

Yeah, I didn't get around to that. You should be able to take the GRP
code from OMGraphicHandlerLayer, and set the PlugIn as the GRP in the

> Or would it be better to use OMGraphicHandlerLayer and deal with
> SwingWorker.

SwingWorker shouldn't be something to deal with, it's automatically
called, and should be pretty invisible to you. Just override the
prepare() method, and any other GRP methods you need

- Don

Don Dietrick,
BBN Technologies, Cambridge, MA

[To unsubscribe to this list send an email to ""
with the following text in the BODY of the message "unsubscribe openmap-users"]
Received on Thu Sep 02 2004 - 19:05:17 EDT

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