component.addPropertiesListener(myPropertiesListener); for (Iterator i = component.getProperties(); i.hasNext(); ) { Property p = (Property) i.next(); PropertyEvent event = new PropertyEvent(p, PropertyEvent.PROPERTY_ADDED); myPropertiesListener.propertyAdded(event);
if (doWorkspace) { component.addPropertiesListener(myPropertiesListener); for (Iterator i = component.getProperties(); i.hasNext(); ) { Property p = (Property) i.next(); PropertyEvent event = new PropertyEvent(p, PropertyEvent.PROPERTY_ADDED); myPropertiesListener.propertyAdded(event); }
  private void installListeners(ModifiableComponent component) {    component.addPropertiesListener(myPropertiesListener);    for (Iterator i = component.getProperties(); i.hasNext(); ) {      Property p = (Property) i.next();      PropertyEvent event = new PropertyEvent(p, PropertyEvent.PROPERTY_ADDED);      myPropertiesListener.propertyAdded(event);    }    component.addModificationListener(myModificationListener);  }