|
||||||||||
| 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.StateBodyNotation
org.argouml.notation.providers.uml.StateBodyNotationUml
public class StateBodyNotationUml
UML notation for the body of a state.
| Constructor Summary | |
|---|---|
StateBodyNotationUml(java.lang.Object state)
The constructor. |
|
| Method Summary | |
|---|---|
java.lang.String |
getParsingHelp()
|
void |
parse(java.lang.Object modelElement,
java.lang.String text)
Parses the given text, and adapts the modelElement and maybe related elements accordingly. |
protected void |
parseStateBody(java.lang.Object st,
java.lang.String s)
Parse user input for state bodies and assign the individual lines to according actions or transitions. |
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.providers.StateBodyNotation |
|---|
initialiseListener |
| Methods inherited from class org.argouml.notation.NotationProvider |
|---|
addElementListener, addElementListener, addElementListener, cleanListener, formatNameList, formatNameList, removeAllElementListeners, removeElementListener, updateListener |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public StateBodyNotationUml(java.lang.Object state)
state - the state represented by the notation| Method Detail |
|---|
public void parse(java.lang.Object modelElement,
java.lang.String text)
NotationProvider
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
protected void parseStateBody(java.lang.Object st,
java.lang.String s)
throws java.text.ParseException
action-label / action-expressionor the format of a regular transition - see parseTransition().
"action-label" stands for one of "entry", "do" and "exit". The words "entry", "do" and "exit" are case-independent.
st - The State object.s - The string to parse.
java.text.ParseException - when there is a syntax problem,
e.g. non-matching brackets () or []
|
||||||||||
| 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 |