TPTP 4.6.0 Platform Project
Public API Specification

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

java.lang.Object
  extended by org.eclipse.hyades.uml2sd.trace.loaders.BaseLifelineLoader
All Implemented Interfaces:
ILifelineLoader, IUml2SDLoader
Direct Known Subclasses:
AgentInteractions, ClassInteractions, NodeInteractions, ObjectInteractions, ProcessInteractions, ThreadInteractions

public abstract class BaseLifelineLoader
extends java.lang.Object
implements ILifelineLoader, IUml2SDLoader

Base class for all the lifeline loaders (see ILifelineLoader) for Trace Interactions features.


Constructor Summary
BaseLifelineLoader()
           
 
Method Summary
 void aboutToBeReplaced()
          When another loader becomes the one the previous one is replaced It's time clean-up if needed (listeners to be removed for example)
 boolean drillDownEnabled(java.lang.String value)
          Default implementation for the lifeline loaders that does allow drill down
 java.lang.String getMessageTypeName()
           
 ILifelineLoader getParent()
           
 java.lang.String getTitleString()
          Title string for the UML2SD View when this loader is the one
 void setViewer(SDView viewer)
          Set the viewer object to the loader that has been reloaded at the beginning of a new workbench session
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.eclipse.hyades.uml2sd.trace.loaders.ILifelineLoader
getDistinguishedLifeLineTitle, getFinalTitleString, getLifeLineCategory, getLifelineEObjectFromMethodInvocation, getLifeLineId, getLifeLineTitle, getLifelineType, getLifelineTypeName
 

Constructor Detail

BaseLifelineLoader

public BaseLifelineLoader()
Method Detail

getParent

public ILifelineLoader getParent()
Specified by:
getParent in interface ILifelineLoader
Returns:
the parent lifeline loader or null if none

setViewer

public void setViewer(SDView viewer)
Description copied from interface: IUml2SDLoader
Set the viewer object to the loader that has been reloaded at the beginning of a new workbench session

Specified by:
setViewer in interface IUml2SDLoader
See Also:
IUml2SDLoader.setViewer(org.eclipse.hyades.uml2sd.ui.view.SDView)

getTitleString

public java.lang.String getTitleString()
Description copied from interface: IUml2SDLoader
Title string for the UML2SD View when this loader is the one

Specified by:
getTitleString in interface IUml2SDLoader
Returns:
the string convenient for this loader
See Also:
IUml2SDLoader.getTitleString()

aboutToBeReplaced

public void aboutToBeReplaced()
Description copied from interface: IUml2SDLoader
When another loader becomes the one the previous one is replaced It's time clean-up if needed (listeners to be removed for example)

Specified by:
aboutToBeReplaced in interface IUml2SDLoader
See Also:
IUml2SDLoader.aboutToBeReplaced()

drillDownEnabled

public boolean drillDownEnabled(java.lang.String value)
Default implementation for the lifeline loaders that does allow drill down

Specified by:
drillDownEnabled in interface ILifelineLoader
Parameters:
value - the value 'true' or 'false' to compare this property to
Returns:
true if value is aligned to the property

getMessageTypeName

public java.lang.String getMessageTypeName()
Specified by:
getMessageTypeName in interface ILifelineLoader
Returns:
a string carrying the message type

TPTP 4.6.0 Platform Project
Public API Specification