|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.argouml.model.uml.ActivityGraphsHelperImpl
Helper class for UML BehavioralElements::ActivityGraphs Package. Current implementation is a placeholder.
Field Summary | |
private NSUMLModelImplementation |
nsmodel
The model implementation. |
Constructor Summary | |
(package private) |
ActivityGraphsHelperImpl(NSUMLModelImplementation implementation)
Don't allow instantiation. |
Method Summary | |
void |
addInState(Object classifierInState,
Object state)
|
Object |
findClassifierByName(Object ofs,
String s)
Finds the Classifier to which a given ObjectFlowState refers by its given name. |
Object |
findStateByName(Object c,
String s)
Find a state of a Classifier by its name. |
boolean |
isAddingActivityGraphAllowed(Object context)
Returns true if an activitygraph may be added to the given context. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private NSUMLModelImplementation nsmodel
Constructor Detail |
ActivityGraphsHelperImpl(NSUMLModelImplementation implementation)
implementation
- To get other helpers and factories.Method Detail |
public Object findClassifierByName(Object ofs, String s)
findClassifierByName
in interface org.argouml.model.ActivityGraphsHelper
ofs
- the given ObjectFlowStates
- the given String that represents
the name of the "type" Classifier
public Object findStateByName(Object c, String s)
findStateByName
in interface org.argouml.model.ActivityGraphsHelper
c
- the Classifier. If this is not a Classifier, then
IllegalArgumentException is thrown.s
- the string that represents the name of
the state we are looking for. If "" or null, then
null is returned straight away.
public boolean isAddingActivityGraphAllowed(Object context)
An ActivityGraph specifies the dynamics of
isAddingActivityGraphAllowed
in interface org.argouml.model.ActivityGraphsHelper
context
- the given context
public void addInState(Object classifierInState, Object state)
addInState
in interface org.argouml.model.ActivityGraphsHelper
classifierInState
- the classifierInStatestate
- the state that will be linked
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ArgoUML © 1996-2004 (20050222) | ArgoUML Homepage | ArgoUML Developers' page | ArgoUML Cookbook |