|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.argouml.model.AbstractActivityGraphsHelperDecorator
The abstract Decorator for the ActivityGraphsHelper.
| 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. |
protected ActivityGraphsHelper |
getComponent()
The component we are decorating. |
boolean |
isAddingActivityGraphAllowed(Object context)
Returns true if an activitygraph may be added to the given context. |
void |
setInStates(Object classifierInState,
Collection newStates)
Replace the complete collection of states by the given new one. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
protected ActivityGraphsHelper getComponent()
public Object findClassifierByName(Object ofs,
String s)
ActivityGraphsHelper
findClassifierByName in interface ActivityGraphsHelperofs - the given ObjectFlowStates - the given String that represents
the name of the "type" Classifier
public Object findStateByName(Object c,
String s)
ActivityGraphsHelper
findStateByName in interface ActivityGraphsHelperc - 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)
ActivityGraphsHelperAn ActivityGraph specifies the dynamics of
isAddingActivityGraphAllowed in interface ActivityGraphsHelpercontext - the given context
public void addInState(Object classifierInState,
Object state)
addInState in interface ActivityGraphsHelperclassifierInState - the classifierInStatestate - the state that will be linked
public void setInStates(Object classifierInState,
Collection newStates)
ActivityGraphsHelper
setInStates in interface ActivityGraphsHelperclassifierInState - the ClassifierInState to be alterednewStates - the collection of states
|
|||||||||||
| 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 |