code: @Override
  	public void onFeatureClicked(FeatureClickedEvent event) {
  		// Create feature info widget if this is the first time displaying a feature:
  		if (featureInfoWidget == null) {
  			// Create info widget with some actions:
  			FeatureInfoWidgetFactory factory = new FeatureInfoWidgetFactory();
  			featureInfoWidget = factory.getFeatureInfoWidgetWithActions(mapPresenter);
  			leftPanel.add(featureInfoWidget);
  		}
  
  		// (Over)write the feature of the widget:
  		List<Feature> featureList = event.getFeatures();
  		if (featureList != null && featureList.size() == 1 && featureList.get(0) != null) {
  			featureInfoWidget.setFeature(featureList.get(0));
  		}
  	}
docs: Action called when a feature is clicked. Displays the information of the clicked
  feature in the left panel of the sample, overwriting any feature info that may
  be already there.
  
  @param event {@link org.geomajas.gwt2.plugin
  .corewidget.example.client.sample.feature.controller.FeatureClickedEvent}