public void collectAndSetProperties(){
  if (propertyConsumer != null) {
    String prefix=propertyConsumer.getPropertyPrefix();
    Properties props=collectProperties();
    propertyConsumer.setProperties(prefix,props);
  }
}

public void collectAndSetProperties ( ) { if ( propertyConsumer != null ) { String prefix = propertyConsumer . getPropertyPrefix ( ) ; Properties props = collectProperties ( ) ; propertyConsumer . setProperties ( prefix , props ) ; } }
tells the inspector to collect the properties from the editors and set them on its propertyconsumer .
