TPTP 4.6.0 Platform Project
Public API Specification

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

java.lang.Object
  extended by org.eclipse.hyades.uml2sd.trace.loaders.BaseTraceInteractions
All Implemented Interfaces:
java.util.EventListener, IProfileEventListener, ISDExtendedActionBarProvider, ISDFindProvider, ISDGraphNodeSupporter, org.eclipse.ui.ISelectionListener
Direct Known Subclasses:
TraceInteractions

public abstract class BaseTraceInteractions
extends java.lang.Object
implements org.eclipse.ui.ISelectionListener, ISDFindProvider, IProfileEventListener, ISDExtendedActionBarProvider

The abstract trace loader. It is based on the parsing of MethodInvocations from the model. Lifelines attribution is made by the concrete classes.


Field Summary
static java.lang.String ACTIONS_SHOWSTATTABLE
           
 
Fields inherited from interface org.eclipse.hyades.uml2sd.ui.actions.provider.ISDGraphNodeSupporter
ASYNCMESSAGE, ASYNCMESSAGERETURN, LIFELINE, STOP, SYNCMESSAGE, SYNCMESSAGERETURN
 
Constructor Summary
BaseTraceInteractions()
           
 
Method Summary
 void aboutToBeReplaced()
           
 void cancel()
          Called when dialog is closed
abstract  void fillPage(org.eclipse.hyades.uml2sd.trace.loaders.internal.TraceInteractionUpdate update)
           
 boolean find(Criteria toSearch_)
          implementation of ISDFindProvider
 SDView getView()
          Let's share the view...
 void handleProfileEvent(ProfileEvent event)
          Implementation of IProfileEventListener
 boolean isNodeSupported(int nodeType)
          Implementation of ISDGraphNodeSupporter
abstract  boolean notFoundYet(Criteria toSearch)
          Called when find in the current shown graph nodes returned an empty strings.
abstract  void onSetViewer()
           
 void selectionChanged(org.eclipse.ui.IWorkbenchPart part, org.eclipse.jface.viewers.ISelection selection)
          Implementation of ISelectionListener
abstract  void setFrameName()
           
 void setViewer(SDView view_)
          Implementation of IUml2SDLoader
 void sortTraceThreadList(org.eclipse.hyades.uml2sd.trace.loaders.internal.TraceCallStack tcs)
           
 void supplementCoolbarContent(org.eclipse.ui.IActionBars bar)
          Implementation of ISDExtendedActionBarProvider
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.eclipse.hyades.uml2sd.ui.actions.provider.ISDGraphNodeSupporter
getNodeName
 

Field Detail

ACTIONS_SHOWSTATTABLE

public static final java.lang.String ACTIONS_SHOWSTATTABLE
See Also:
Constant Field Values
Constructor Detail

BaseTraceInteractions

public BaseTraceInteractions()
Method Detail

setViewer

public void setViewer(SDView view_)
Implementation of IUml2SDLoader


onSetViewer

public abstract void onSetViewer()

aboutToBeReplaced

public void aboutToBeReplaced()

getView

public SDView getView()
Let's share the view...

Returns:
the view or null if the loader is not associated to a view currently

setFrameName

public abstract void setFrameName()
Parameters:
process -

fillPage

public abstract void fillPage(org.eclipse.hyades.uml2sd.trace.loaders.internal.TraceInteractionUpdate update)

sortTraceThreadList

public void sortTraceThreadList(org.eclipse.hyades.uml2sd.trace.loaders.internal.TraceCallStack tcs)
Parameters:
tcs -

selectionChanged

public void selectionChanged(org.eclipse.ui.IWorkbenchPart part,
                             org.eclipse.jface.viewers.ISelection selection)
Implementation of ISelectionListener

Specified by:
selectionChanged in interface org.eclipse.ui.ISelectionListener

handleProfileEvent

public void handleProfileEvent(ProfileEvent event)
Implementation of IProfileEventListener

Specified by:
handleProfileEvent in interface IProfileEventListener
Parameters:
event - the profile event

isNodeSupported

public boolean isNodeSupported(int nodeType)
Implementation of ISDGraphNodeSupporter

Specified by:
isNodeSupported in interface ISDGraphNodeSupporter
Returns:
true to enable this options, false otherwise

find

public boolean find(Criteria toSearch_)
implementation of ISDFindProvider

Specified by:
find in interface ISDFindProvider
Returns:
true if the find got a non empty result

cancel

public void cancel()
Description copied from interface: ISDFindProvider
Called when dialog is closed

Specified by:
cancel in interface ISDFindProvider
See Also:
ISDFindProvider.cancel()

supplementCoolbarContent

public void supplementCoolbarContent(org.eclipse.ui.IActionBars bar)
Implementation of ISDExtendedActionBarProvider

Specified by:
supplementCoolbarContent in interface ISDExtendedActionBarProvider
Parameters:
bar - the bar

notFoundYet

public abstract boolean notFoundYet(Criteria toSearch)
Called when find in the current shown graph nodes returned an empty strings.
It's the moment to search in other pages if any.

Returns:

TPTP 4.6.0 Platform Project
Public API Specification