TPTP 4.5.0 Platform Project
Public API Specification

org.eclipse.hyades.uml2sd.trace.loaders
Interface ILifelineLoader

All Known Implementing Classes:
AgentInteractions, BaseLifelineLoader, ClassInteractions, NodeInteractions, ObjectInteractions, ProcessInteractions, ThreadInteractions

public interface ILifelineLoader

This interface caracterizes a lifeline loader: something that is able to decide what are two distinct lifelines.


Method Summary
 boolean drillDownEnabled(java.lang.String value)
          Enables drill down
 java.lang.String getDistinguishedLifeLineTitle(org.eclipse.emf.ecore.EObject eo, int rank)
          Returns the distinguishedtitle of a lifeline
 java.lang.String getFinalTitleString()
          Return the convenient title when this loader is the one
 int getLifeLineCategory(org.eclipse.emf.ecore.EObject eo)
          Get the category of a lifeline
 org.eclipse.emf.ecore.EObject getLifelineEObjectFromMethodInvocation(TRCFullMethodInvocation mi)
          Associates a EObject denoting a lifeline to a method invocation
 java.lang.String getLifeLineId(org.eclipse.emf.ecore.EObject eo)
          Returns the unique id of a lifeline
 java.lang.String getLifeLineTitle(org.eclipse.emf.ecore.EObject eo, boolean long_)
          Returns the title of a lifeline
 java.lang.String getLifelineType(org.eclipse.emf.ecore.EObject eObject)
           
 java.lang.String getLifelineTypeName()
           
 java.lang.String getMessageTypeName()
           
 ILifelineLoader getParent()
           
 

Method Detail

getParent

ILifelineLoader getParent()
Returns:
the parent lifeline loader or null if none

getLifelineEObjectFromMethodInvocation

org.eclipse.emf.ecore.EObject getLifelineEObjectFromMethodInvocation(TRCFullMethodInvocation mi)
Associates a EObject denoting a lifeline to a method invocation

Parameters:
mi - the method invocation
Returns:
the EObject denoting the lifeline that must contain this method invocation

getLifeLineCategory

int getLifeLineCategory(org.eclipse.emf.ecore.EObject eo)
Get the category of a lifeline

Parameters:
to - the EObject denoting this lifeline
Returns:
the category

getLifeLineTitle

java.lang.String getLifeLineTitle(org.eclipse.emf.ecore.EObject eo,
                                  boolean long_)
Returns the title of a lifeline

Parameters:
to - the EObject denoting this lifeline
long_ - long version if true, short string otherwise
Returns:
the title of the lifeline

getDistinguishedLifeLineTitle

java.lang.String getDistinguishedLifeLineTitle(org.eclipse.emf.ecore.EObject eo,
                                               int rank)
Returns the distinguishedtitle of a lifeline

Parameters:
eo - the EObject denoting this lifeline
rank - its rank
Returns:
the distinguished title of the lifeline

getLifeLineId

java.lang.String getLifeLineId(org.eclipse.emf.ecore.EObject eo)
Returns the unique id of a lifeline

Parameters:
to - the EObject denoting this lifeline
Returns:
the title of the lifeline

getFinalTitleString

java.lang.String getFinalTitleString()
Return the convenient title when this loader is the one

Returns:
the title

drillDownEnabled

boolean drillDownEnabled(java.lang.String value)
Enables drill down

Parameters:
value - the value 'true' or 'false' to compare this property to
Returns:
true if value is aligned to the property

getLifelineType

java.lang.String getLifelineType(org.eclipse.emf.ecore.EObject eObject)
Returns:
the kind of lifeline as a string for properties view

getLifelineTypeName

java.lang.String getLifelineTypeName()
Returns:
a string carrying the instance type

getMessageTypeName

java.lang.String getMessageTypeName()
Returns:
a string carrying the message type

TPTP 4.5.0 Platform Project
Public API Specification