Looks like I posted a little too soon. Here is what I was able to come up with, please help out if you have a more elegant way to do this:
My static HTML file with my menu looks like so:
<li><a href="#" id="manage_events">Manage Events</a></li>
I was able to register the mouse down event and listen for it by assigning it to that element. The main downside I see is that I have to do this for every menu item. Here is some code I came up with:
Element e = RootPanel.get("manage_events").getElement();
DOM.sinkEvents(e, com.google.gwt.user.client.Event.ONMOUSEDOWN);
DOM.setEventListener(e, new EventListener() {
@Override
public void onBrowserEvent(com.google.gwt.user.client.Event event) {
Log.debug("test");
}
});
Does anyone have a better way?