TPTP 4.7.0 Tracing and Profiling Tools Project
Public API Specification

org.eclipse.hyades.uml2sd.trace.loaders
Class NodeInteractions

java.lang.Object
  extended by org.eclipse.hyades.uml2sd.trace.loaders.BaseLifelineLoader
      extended by org.eclipse.hyades.uml2sd.trace.loaders.NodeInteractions
All Implemented Interfaces:
ILifelineLoader, org.eclipse.hyades.uml2sd.ui.load.IUml2SDLoader

public class NodeInteractions
extends BaseLifelineLoader

This class aims to populate a Node (host) Interaction UML2 Sequence Diagram.


Constructor Summary
NodeInteractions()
          Constructor
 
Method Summary
 java.lang.String getDistinguishedLifeLineTitle(org.eclipse.emf.ecore.EObject eo, int rank)
          Returns the distinguishedtitle of a lifeline
 java.lang.String getFinalTitleString()
          This is the nose interactions, nothing else
 int getLifeLineCategory(org.eclipse.emf.ecore.EObject to)
          Get the category of a lifeline
 org.eclipse.emf.ecore.EObject getLifelineEObjectFromMethodInvocation(org.eclipse.hyades.models.trace.TRCFullMethodInvocation mi)
          Associates a EObject denoting a lifeline to a method invocation
 java.lang.String getLifeLineId(org.eclipse.emf.ecore.EObject eo)
          The host runtime id
 java.lang.String getLifeLineTitle(org.eclipse.emf.ecore.EObject to, boolean long_)
          Returns the title of a lifeline
 java.lang.String getLifelineType(org.eclipse.emf.ecore.EObject eObject)
           
 java.lang.String getLifelineTypeName()
           
 
Methods inherited from class org.eclipse.hyades.uml2sd.trace.loaders.BaseLifelineLoader
aboutToBeReplaced, drillDownEnabled, getMessageTypeName, getParent, getTitleString, setViewer
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NodeInteractions

public NodeInteractions()
Constructor

Method Detail

getLifelineEObjectFromMethodInvocation

public org.eclipse.emf.ecore.EObject getLifelineEObjectFromMethodInvocation(org.eclipse.hyades.models.trace.TRCFullMethodInvocation mi)
Description copied from interface: ILifelineLoader
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
See Also:
ILifelineLoader.getLifelineEObjectFromMethodInvocation(org.eclipse.hyades.models.trace.TRCFullMethodInvocation)

getLifeLineCategory

public int getLifeLineCategory(org.eclipse.emf.ecore.EObject to)
Description copied from interface: ILifelineLoader
Get the category of a lifeline

Returns:
the category
See Also:
ILifelineLoader.getLifeLineCategory(org.eclipse.emf.ecore.EObject)

getLifeLineTitle

public java.lang.String getLifeLineTitle(org.eclipse.emf.ecore.EObject to,
                                         boolean long_)
Description copied from interface: ILifelineLoader
Returns the title of a lifeline

long_ - long version if true, short string otherwise
Returns:
the title of the lifeline
See Also:
ILifelineLoader.getLifeLineTitle(org.eclipse.emf.ecore.EObject, boolean)

getDistinguishedLifeLineTitle

public 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

public java.lang.String getLifeLineId(org.eclipse.emf.ecore.EObject eo)
The host runtime id

Returns:
the title of the lifeline

getFinalTitleString

public java.lang.String getFinalTitleString()
This is the nose interactions, nothing else

Returns:
the title

getLifelineType

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

getLifelineTypeName

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

TPTP 4.7.0 Tracing and Profiling Tools Project
Public API Specification