org.argouml.notation.providers.uml
Class ObjectFlowStateTypeNotationUml
java.lang.Object
org.argouml.notation.NotationProvider
org.argouml.notation.providers.ObjectFlowStateTypeNotation
org.argouml.notation.providers.uml.ObjectFlowStateTypeNotationUml
public class ObjectFlowStateTypeNotationUml
- extends ObjectFlowStateTypeNotation
|
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 java.lang.Object |
parseObjectFlowState1(java.lang.Object objectFlowState,
java.lang.String s)
Do the actual parsing. |
java.lang.String |
toString(java.lang.Object modelElement,
NotationSettings settings)
Generate a string representation for the given model element. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ObjectFlowStateTypeNotationUml
public ObjectFlowStateTypeNotationUml(java.lang.Object objectflowstate)
- The constructor.
- Parameters:
objectflowstate - the ObjectFlowState represented by this notation
parse
public void parse(java.lang.Object modelElement,
java.lang.String text)
- Description copied from class:
NotationProvider
- Parses the given text, and adapts the modelElement and
maybe related elements accordingly.
- Specified by:
parse in class NotationProvider
- Parameters:
modelElement - the modelelement to adapttext - the string given by the user to be parsed
to adapt the model
parseObjectFlowState1
protected java.lang.Object parseObjectFlowState1(java.lang.Object objectFlowState,
java.lang.String s)
throws java.text.ParseException
- Do the actual parsing.
This method does create a Class
if a Classifier with the given name is not encountered.
See for explanation issue 4382.
- Parameters:
objectFlowState - the given element to be altereds - the new string
- Returns:
- the altered ObjectFlowState
- Throws:
java.text.ParseException - when the given text was rejected
getParsingHelp
public java.lang.String getParsingHelp()
- Specified by:
getParsingHelp in class NotationProvider
- Returns:
- a i18 key that represents a help string
giving an explanation to the user of the syntax
toString
public java.lang.String toString(java.lang.Object modelElement,
NotationSettings settings)
- Description copied from class:
NotationProvider
- Generate a string representation for the given model element.
- Specified by:
toString in class NotationProvider
- Parameters:
modelElement - the base UML elementsettings - settings that control rendering of the text
- Returns:
- the string written in the correct notation