code: @Override
  	public void onActivate() {
  		menu = new Menu();
  		menu.addItem(new ToggleSelectionAction(mapWidget, pixelTolerance));
  		menu.addItem(new DeselectAllAction(mapWidget.getMapModel()));
  		mapWidget.setContextMenu(menu);
  	}
docs: -------------------------------------------------------------------------