code: public static Window createDefaultFeatureDetailWindow(Feature feature, Layer<?> layer, boolean editingAllowed) {
  		if (layer instanceof VectorLayer) {
  			FeatureAttributeWindow w = new FeatureAttributeWindow(feature, editingAllowed);
  			customize(w, feature);
  			return w;
  		} else {
  			return new RasterLayerAttributeWindow(feature);
  		}
  	}
docs: Overrule configuration and create Geomajas default FeatureAttributeWindow.
  
  @param feature
  @param editingAllowed
  @return