|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.argouml.notation.NotationProvider
org.argouml.notation.providers.ComponentInstanceNotation
org.argouml.notation.providers.uml.ComponentInstanceNotationUml
public class ComponentInstanceNotationUml
UML notation for a component instance.
| Constructor Summary | |
|---|---|
ComponentInstanceNotationUml(java.lang.Object componentInstance)
The constructor. |
|
| Method Summary | |
|---|---|
java.lang.String |
getParsingHelp()
|
void |
parse(java.lang.Object modelElement,
java.lang.String text)
Parse a line of the form: "name : base-component". |
java.lang.String |
toString(java.lang.Object modelElement,
NotationSettings settings)
Generate a string representation for the given model element. |
| Methods inherited from class org.argouml.notation.NotationProvider |
|---|
addElementListener, addElementListener, addElementListener, cleanListener, formatNameList, formatNameList, initialiseListener, removeAllElementListeners, removeElementListener, updateListener |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ComponentInstanceNotationUml(java.lang.Object componentInstance)
componentInstance - the UML componentInstance| Method Detail |
|---|
public void parse(java.lang.Object modelElement,
java.lang.String text)
The base-component part is a comma separated list of Components.
Note that stereotypes are not supported. Parses the given text, and adapts the modelElement and maybe related elements accordingly.
parse in class NotationProvidermodelElement - the modelelement to adapttext - the string given by the user to be parsed
to adapt the modelpublic java.lang.String getParsingHelp()
getParsingHelp in class NotationProvider
public java.lang.String toString(java.lang.Object modelElement,
NotationSettings settings)
NotationProvider
toString in class NotationProvidermodelElement - the base UML elementsettings - settings that control rendering of the text
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
| ArgoUML © 1996-2006 | ArgoUML Homepage | ArgoUML Developers' page | ArgoUML Cookbook |