org.argouml.notation.providers
Class ModelElementNameNotation

java.lang.Object
  extended by org.argouml.notation.NotationProvider
      extended by org.argouml.notation.providers.ModelElementNameNotation
Direct Known Subclasses:
ModelElementNameNotationJava, ModelElementNameNotationUml

public abstract class ModelElementNameNotation
extends NotationProvider

This abstract class forms the basis of all Notation providers for the text shown in the Fig that represents the name of the modelelement. Subclass this for all languages.


Constructor Summary
ModelElementNameNotation(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

ModelElementNameNotation

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

Parameters:
modelElement - The modelelement we represent.
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