Re: [OpenMap Users] menus on select from OMGraphicHandlerLayer subclass

From: Robert Najlis <rnajlis@cs.indiana.edu>
Date: Sat Sep 18 2004 - 16:13:33 EDT

Don,

I am trying to figure out what to put inside the
getitemsForOMGraphicMenu. You need a list of JMenuItems, right? In
the example below, I added a LocationMenuItem, but how do I tell it to
do anything?

Thanks.

Robert

public java.util.List getItemsForOMGraphicMenu(OMGraphic omg) {
         System.out.println("-------getItemsForOMGraphicMenu");
         ArrayList list = new ArrayList();
         LocationMenuItem propertiesMenuItem = new
LocationMenuItem("Properties");

         list.add(propertiesMenuItem);
         return list;
     }

--
[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 Sat Sep 18 16:19:00 2004

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