public Menu getContextMenu() {
if (menu == null) {
menu = new Menu();
menu.addItem(new NewFeatureAction(mapWidget, this));
menu.addItem(new EditFeatureAction(mapWidget, this));
menu.addItem(new DeleteFeatureAction(mapWidget, this));
menu.addItem(new MenuItemSeparator());
menu.addItem(new DeselectAllAction(mapWidget.getMapModel()));
}
return menu;