TPTP 4.1.0 Tracing and Profiling Tools Project
Internal API Specification

org.eclipse.hyades.uml2sd.trace.loaders.internal
Class TraceLifeline

java.lang.Object
  extended byorg.eclipse.hyades.uml2sd.ui.core.GraphNode
      extended byorg.eclipse.hyades.uml2sd.ui.core.Lifeline
          extended byorg.eclipse.hyades.uml2sd.trace.loaders.internal.TraceLifeline
All Implemented Interfaces:
org.eclipse.ui.IActionFilter, org.eclipse.hyades.uml2sd.trace.selection.IEObjectSelection, IPropertiesMiner
Direct Known Subclasses:
TraceCollapsedLifelines

public class TraceLifeline
extends org.eclipse.hyades.uml2sd.ui.core.Lifeline
implements org.eclipse.hyades.uml2sd.trace.selection.IEObjectSelection, org.eclipse.ui.IActionFilter, IPropertiesMiner

Here is an helper to maintain correct execution occurences (overlay is not supported by the API)


Field Summary
 
Fields inherited from class org.eclipse.hyades.uml2sd.ui.core.Lifeline
category, eventOccurrence, hasTime, indexInFrame, LIFELINE_TAG
 
Fields inherited from class org.eclipse.hyades.uml2sd.ui.core.GraphNode
bnodes, bSort, endEventOccurrence, fnodes, fSort, hasChilds, indexes, nodes, prefId, startEventOccurrence
 
Constructor Summary
TraceLifeline()
           
 
Method Summary
 java.lang.String getDescription(java.lang.String propertyName)
           
 java.lang.String getDisplayName(java.lang.String propertyName)
           
 org.eclipse.emf.ecore.EObject getEObject()
           
 java.lang.String getValueAsString(java.lang.String propertyName)
           
 void setEObject(org.eclipse.emf.ecore.EObject eObject_)
           
 boolean testAttribute(java.lang.Object target, java.lang.String name, java.lang.String value)
           
 
Methods inherited from class org.eclipse.hyades.uml2sd.ui.core.Lifeline
addExecution, contains, draw, draw, drawName, getArrayId, getEventOccurrence, getExecOccurrenceDrawIndex, getExecutions, getFrame, getHeight, getIndex, getNewEventOccurrence, getNodeAt, getToolTipText, getWidth, getX, getY, hasTimeInfo, highlightExecOccurrenceRegion, isVisible, positiveDistanceToPoint, setCategory, setCurrentEventOccurrence, setFrame, setIndex, setTimeInfo
 
Methods inherited from class org.eclipse.hyades.uml2sd.ui.core.GraphNode
addNode, contains, drawChildsNodes, drawFocus, getBackComparator, getComparator, getEndOccurrence, getName, getNodeFromListAt, getNodeList, getStartOccurrence, hasFocus, isSameAs, isSelected, resetIndex, setFocused, setName, setSelected, updateIndex
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TraceLifeline

public TraceLifeline()
Method Detail

getEObject

public org.eclipse.emf.ecore.EObject getEObject()
Specified by:
getEObject in interface org.eclipse.hyades.uml2sd.trace.selection.IEObjectSelection
See Also:
IEObjectSelection.getEObject()

setEObject

public void setEObject(org.eclipse.emf.ecore.EObject eObject_)

testAttribute

public boolean testAttribute(java.lang.Object target,
                             java.lang.String name,
                             java.lang.String value)
Specified by:
testAttribute in interface org.eclipse.ui.IActionFilter
See Also:
property drillDownEnabled: true if the currentloader allows drill down

getDescription

public java.lang.String getDescription(java.lang.String propertyName)
Specified by:
getDescription in interface IPropertiesMiner
See Also:
IPropertiesMiner.getDescription(java.lang.String)

getDisplayName

public java.lang.String getDisplayName(java.lang.String propertyName)
Specified by:
getDisplayName in interface IPropertiesMiner
See Also:
IPropertiesMiner.getDisplayName(java.lang.String)

getValueAsString

public java.lang.String getValueAsString(java.lang.String propertyName)
Specified by:
getValueAsString in interface IPropertiesMiner
See Also:
IPropertiesMiner.getValueAsString(java.lang.String)

TPTP 4.1.0 Tracing and Profiling Tools Project
Internal API Specification