org.argouml.notation.providers
Class AssociationRoleNotation

java.lang.Object
  extended by org.argouml.notation.NotationProvider
      extended by org.argouml.notation.providers.AssociationRoleNotation
Direct Known Subclasses:
AssociationRoleNotationUml

public abstract class AssociationRoleNotation
extends NotationProvider

This abstract class forms the basis of all Notation providers for the name of an association-role. Subclass this for all languages.


Constructor Summary
AssociationRoleNotation(java.lang.Object role)
          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

AssociationRoleNotation

public AssociationRoleNotation(java.lang.Object role)
The constructor.

Parameters:
role - the given associationRole
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