code: public void setFeature(Feature feature) {
  		if (feature != null) {
  			this.feature = feature;
  			copyToForm(this.feature);
  		} else {
  			this.feature = null;
  			featureForm.clear();
  		}
  	}
docs: Apply a new feature onto this widget. The feature will be immediately shown on the attribute form.
  
  @param feature
  feature