615616617618619620621622623624625
}); } break; case MAP_DRAG_HANDLER: { final MapDragHandler h = new MapDragHandler() { public void onDrag(MapDragEvent event) { textBox.setText(textBox.getText() + "onDrag()"); }
426427428429430431432433434435436
loadApi(new Runnable() { public void run() { final MapWidget m = new MapWidget(); RootPanel.get().add(m); m.addMapDragHandler(new MapDragHandler() { public void onDrag(MapDragEvent event) { assertEquals(event.getSender(), m); finishTest(); }