org.argouml.notation.providers
Class AssociationNameNotation

java.lang.Object
  extended by org.argouml.notation.NotationProvider
      extended by org.argouml.notation.providers.AssociationNameNotation
Direct Known Subclasses:
AssociationNameNotationJava, AssociationNameNotationUml

public abstract class AssociationNameNotation
extends NotationProvider

This abstract class forms the basis of all Notation providers for the text shown above the association Fig. Subclass this for all languages.


Constructor Summary
AssociationNameNotation(java.lang.Object modelElement)
          The constructor.
 
Method Summary
 void initialiseListener(java.beans.PropertyChangeListener listener, java.lang.Object modelElement)
          Initialise the appropriate model change listeners for the given modelelement to the given listener.
 
Methods inherited from class org.argouml.notation.NotationProvider
addElementListener, addElementListener, addElementListener, cleanListener, formatNameList, formatNameList, getParsingHelp, parse, removeAllElementListeners, removeElementListener, toString, updateListener
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AssociationNameNotation

public AssociationNameNotation(java.lang.Object modelElement)
The constructor.

Parameters:
modelElement - the UML Association
Method Detail

initialiseListener

public void initialiseListener(java.beans.PropertyChangeListener listener,
                               java.lang.Object modelElement)
Description copied from class: NotationProvider
Initialise the appropriate model change listeners for the given modelelement to the given listener. Overrule this when you need more than listening to all events from the base modelelement.

Overrides:
initialiseListener in class NotationProvider
Parameters:
listener - the given listener
modelElement - the modelelement that we provide notation for


ArgoUML © 1996-2006ArgoUML HomepageArgoUML Developers' pageArgoUML Cookbook