|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.argouml.model.uml.UmlHelperImpl
Helper class for UML metamodel.
Field Summary | |
private static Logger |
LOG
Logger. |
private NSUMLModelImplementation |
nsmodel
The model implementation. |
Constructor Summary | |
(package private) |
UmlHelperImpl(NSUMLModelImplementation implementation)
Don't allow instantiation. |
Method Summary | |
protected void |
addListenersToMBase(Object mbase)
Internal recursive worker to add UmlModelListener. |
void |
addListenersToModel(Object model)
Ensures that all of the elements in a model are registered to the UmlModelListener. |
void |
deleteCollection(Collection col)
Utility method to quickly delete a collection of modelelements. |
org.argouml.model.ActivityGraphsHelper |
getActivityGraphs()
Returns the package helper for the UML package BehavioralElements::ActivityGraphs. |
org.argouml.model.CollaborationsHelper |
getCollaborations()
Returns the package helper for the UML package BehavioralElements::Collaborations. |
org.argouml.model.CommonBehaviorHelper |
getCommonBehavior()
Returns the package helper for the UML package BehavioralElements::CommonBehavior. |
org.argouml.model.CoreHelper |
getCore()
Returns the package helper for the UML package Foundation::Core. |
org.argouml.model.DataTypesHelper |
getDataTypes()
Returns the package helper for the UML package Foundation::DataTypes. |
Object |
getDestination(Object relationShip)
Returns the destination of some relationship. |
org.argouml.model.ExtensionMechanismsHelper |
getExtensionMechanisms()
Returns the package helper for the UML package Foundation::ExtensionMechanisms. |
Object |
getHelper(Object base)
Returns the correct helper on basis of the package of base. |
org.argouml.model.ModelManagementHelper |
getModelManagement()
Returns the package helper for the UML package ModelManagement. |
Object |
getOwner(Object handle)
Returns the owner of some modelelement object. |
Object |
getSource(Object relationShip)
Returns the source of some relationship. |
org.argouml.model.StateMachinesHelper |
getStateMachines()
Returns the package helper for the UML package BehavioralElements::StateMachines. |
org.argouml.model.UseCasesHelper |
getUseCases()
Returns the package helper for the UML package BehavioralElements::UseCases. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private static final Logger LOG
private NSUMLModelImplementation nsmodel
Constructor Detail |
UmlHelperImpl(NSUMLModelImplementation implementation)
implementation
- To get other helpers and factories.Method Detail |
public void addListenersToModel(Object model)
addListenersToModel
in interface org.argouml.model.UmlHelper
model
- the UML modelprotected void addListenersToMBase(Object mbase)
mbase
- the element to add listeners topublic org.argouml.model.ExtensionMechanismsHelper getExtensionMechanisms()
getExtensionMechanisms
in interface org.argouml.model.UmlHelper
public org.argouml.model.DataTypesHelper getDataTypes()
getDataTypes
in interface org.argouml.model.UmlHelper
public org.argouml.model.CoreHelper getCore()
getCore
in interface org.argouml.model.UmlHelper
public org.argouml.model.CommonBehaviorHelper getCommonBehavior()
getCommonBehavior
in interface org.argouml.model.UmlHelper
public org.argouml.model.UseCasesHelper getUseCases()
getUseCases
in interface org.argouml.model.UmlHelper
public org.argouml.model.StateMachinesHelper getStateMachines()
getStateMachines
in interface org.argouml.model.UmlHelper
public org.argouml.model.CollaborationsHelper getCollaborations()
getCollaborations
in interface org.argouml.model.UmlHelper
public org.argouml.model.ActivityGraphsHelper getActivityGraphs()
getActivityGraphs
in interface org.argouml.model.UmlHelper
public org.argouml.model.ModelManagementHelper getModelManagement()
getModelManagement
in interface org.argouml.model.UmlHelper
public Object getHelper(Object base)
getHelper
in interface org.argouml.model.UmlHelper
base
- the modelelement
public Object getOwner(Object handle)
getOwner
in interface org.argouml.model.UmlHelper
handle
- the modelelement
public void deleteCollection(Collection col)
deleteCollection
in interface org.argouml.model.UmlHelper
col
- a collection of modelelementspublic Object getSource(Object relationShip)
getSource
in interface org.argouml.model.UmlHelper
relationShip
- the relationship to be tested
public Object getDestination(Object relationShip)
getDestination
in interface org.argouml.model.UmlHelper
relationShip
- the relationship to be tested
|
|||||||||||
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 |