/** @param np The notationProvider to set. */
 void setNotationProvider(NotationProvider np) {
   if (notationProvider != null) {
     notationProvider.cleanListener(this, getOwner());
   }
   this.notationProvider = np;
   initNotationArguments();
 }
 protected void initNotationProviders() {
   if (notationProvider != null) {
     notationProvider.cleanListener(this, getOwner());
   }
   if (getOwner() != null) {
     NotationName notation = Notation.findNotation(getNotationSettings().getNotationLanguage());
     notationProvider =
         NotationProviderFactory2.getInstance()
             .getNotationProvider(getNotationProviderType(), getOwner(), this, notation);
     initNotationArguments();
   }
 }
 @Override
 public void removeFromDiagram() {
   ArgoEventPump.removeListener(ArgoEventTypes.ANY_NOTATION_EVENT, this);
   notationProvider.cleanListener(this, getOwner());
   super.removeFromDiagram();
 }