Class ATLModelHandler
java.lang.Object
org.eclipse.m2m.atl.profiler.core.ATLModelHandler
Class that manage information from the ATL VM (via ATL profiler) linked with the profiling model.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionorg.eclipse.emf.ecore.EObjectgetATLName(String sfOpName) Get the real ATL name (from the ATL Model).org.eclipse.emf.ecore.EObjectgetATLOperationFromName(String sfOpName) Get ATL operation from a name.static ATLModelHandlerSingleton access.voidinit()Initialize components.static booleanisNativeOperation(String name) Check if the name refer to a atl asm native operation.voidregisterATLModel(org.eclipse.emf.ecore.EObject model) Register ATL model for operation registry.voidsetAtlModel(org.eclipse.emf.ecore.EObject atlModel)
-
Method Details
-
getInstance
Singleton access.- Returns:
- the
ATLModelHandlersingleton
-
init
public void init()Initialize components. -
registerATLModel
public void registerATLModel(org.eclipse.emf.ecore.EObject model) Register ATL model for operation registry.- Parameters:
model- the atl model
-
isNativeOperation
Check if the name refer to a atl asm native operation.- Parameters:
name- the operation name- Returns:
trueif the operation is native
-
getATLName
Get the real ATL name (from the ATL Model).- Parameters:
sfOpName- the operation name- Returns:
- the real ATL name
-
getATLOperationFromName
Get ATL operation from a name.- Parameters:
sfOpName- the operation name- Returns:
- the operation element
-
getAtlModel
public org.eclipse.emf.ecore.EObject getAtlModel() -
setAtlModel
public void setAtlModel(org.eclipse.emf.ecore.EObject atlModel)
-