private void initialize(MWNamedSchemaComponent component) {
   this.qName = component.qName();
   this.qNameListener = this.buildQNameListener();
   component
       .getTargetNamespace()
       .addPropertyChangeListener(MWNamespace.NAMESPACE_PREFIX_PROPERTY, this.qNameListener);
 }
 public String displayString() {
   MWNamedSchemaComponent namedComponent = (MWNamedSchemaComponent) this.getComponent();
   String designator = (namedComponent.isReference()) ? "ref" : "name";
   return namedComponent.componentTypeName()
       + ": "
       + designator
       + "=\""
       + namedComponent.qName()
       + "\"";
 }