|
TPTP 4.5.0 Platform Project Public API Specification |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.eclipse.hyades.uml2sd.trace.loaders.BaseTraceInteractions
org.eclipse.hyades.uml2sd.trace.loaders.TraceInteractions
public class TraceInteractions
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 int |
CATEGORY_AGENT
|
static int |
CATEGORY_CARD
|
static int |
CATEGORY_CLASSES
Categories: - first one for classes - second one for instances of classes - third one for collapsed classes and/or objects |
static int |
CATEGORY_COLLAPSED
|
static int |
CATEGORY_NODE
|
static int |
CATEGORY_OBJECTS
|
static int |
CATEGORY_PROCESS
|
static int |
CATEGORY_THREAD
|
| Fields inherited from class org.eclipse.hyades.uml2sd.trace.loaders.BaseTraceInteractions |
|---|
ACTIONS_SHOWSTATTABLE |
| Fields inherited from interface org.eclipse.hyades.uml2sd.trace.preferences.ITraceInteractionPreferenceListener |
|---|
PAGE_SIZE |
| Fields inherited from interface org.eclipse.hyades.uml2sd.ui.actions.provider.ISDGraphNodeSupporter |
|---|
ASYNCMESSAGE, ASYNCMESSAGERETURN, LIFELINE, STOP, SYNCMESSAGE, SYNCMESSAGERETURN |
| Constructor Summary | |
|---|---|
TraceInteractions()
|
|
| Method Summary | |
|---|---|
void |
applyPreferences()
Implementation of ITraceInteractionPreferenceListener |
void |
backLastDrillDown()
|
void |
clearInternals()
|
void |
collapseCalledMessages(java.util.ArrayList graphNodes)
|
void |
collapseLifelines(java.util.List graphNodes)
|
void |
collapseTwoLifelines(Lifeline lifeline1,
Lifeline lifeline2)
Implementation of ISDCollapseProvider |
int |
currentPage()
|
void |
drillDown(java.util.ArrayList graphNodes)
|
void |
expandCalledMessages(java.util.ArrayList graphNodes)
|
void |
expandLifelines(java.util.List graphNodes)
|
void |
fillPage(org.eclipse.hyades.uml2sd.trace.loaders.internal.TraceInteractionUpdate update)
|
boolean |
filter(java.util.List filters)
Come back from the filters dialog |
void |
filterIn(java.util.ArrayList graphNodes)
|
void |
filterSelectedGraphNodes(java.util.ArrayList graphNodes)
|
void |
filterUpdated()
When a filter is selected or changed, this method is called to signal to the viewer that one of its filters have changed or updated. |
static void |
findInvocation(TRCMethodInvocation model,
boolean isReturn)
Try to find, select and display a given method invocation message or message return. |
org.eclipse.jface.action.Action |
getFilterAction()
|
java.lang.String[] |
getFilterScope()
Returns the filter scope associated with the IFilterViewer implementor. |
java.lang.String |
getFinalTitleString()
|
static TraceInteractions |
getInstance()
returns the firstly created instance of TraceInteractions |
boolean |
getInternalMessageFiltered()
Returns the current state for internal messages filtering, from loader |
ILifelineLoader |
getLifelineLoader()
|
java.lang.String |
getNodeName(int nodeType,
java.lang.String loaderClassName)
Return the name to use in dialogs Not called if isNodeSupported return false |
org.eclipse.ui.views.properties.IPropertySheetPage |
getPropertySheetEntry()
Implementation of ISDPropertiesProvider |
java.lang.String |
getTitleString()
This is the title |
boolean |
hasNextPage()
implementation of ISDPagingProvider |
boolean |
hasPrevPage()
Return true to enable the previous page button in the coolBar, false otherwise |
void |
highlightCallStack(java.util.ArrayList graphNodes)
Highlight call stack action |
java.lang.String |
itemsText()
|
int |
itemsTotalCount()
|
int |
maxItemsByPageCount()
Implementation of ISDAdvancedPagingProvider |
void |
nextPage()
Called back when next page button is pressed in the coolBar |
java.lang.String |
noItemsText()
|
boolean |
notFoundYet(Criteria toSearch)
Called when find in the current shown graph nodes returned an empty strings. |
java.lang.String |
oneItemText()
|
void |
onSetViewer()
Implementation of IUml2SDLoader |
void |
pageNumberChanged(int pageNumber_)
Instructs a load of the <pageNumber_>th page. |
int |
pagesCount()
|
void |
pageSettingsChanged(int maxItemsByPage_,
int pageNumber_)
Updates the number of items in a page and instructs a load of <pageNumber_>th page. |
void |
prevPage()
Called back when previous page button is pressed in the coolBar |
void |
resetDrillDown()
|
static void |
setExternalDateSelection(IDateSelection selection)
|
void |
setFilterQueryProvider(IFilterQueryProvider filterQueryProvider_)
When the action is created, this method is called providing the IFilterQueryProvider to the viewer. |
void |
setFrameName()
|
void |
setInternalMessageFiltered(boolean value)
Set internal messages filtering on/off Renames setFiltered @since 3.2 |
void |
setLifelineLoader(BaseLifelineLoader lifelineLoader_)
|
void |
setLifelineLoader(java.lang.String className)
|
void |
supplementCoolbarContent(org.eclipse.ui.IActionBars bar)
Extension of ISDExtendedActionBarProvider |
| Methods inherited from class org.eclipse.hyades.uml2sd.trace.loaders.BaseTraceInteractions |
|---|
aboutToBeReplaced, cancel, find, getView, handleProfileEvent, isNodeSupported, selectionChanged, setViewer, sortTraceThreadList |
| 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 |
|---|
isNodeSupported |
| Field Detail |
|---|
public static final int CATEGORY_CLASSES
public static final int CATEGORY_OBJECTS
public static final int CATEGORY_NODE
public static final int CATEGORY_AGENT
public static final int CATEGORY_PROCESS
public static final int CATEGORY_THREAD
public static final int CATEGORY_COLLAPSED
public static final int CATEGORY_CARD
| Constructor Detail |
|---|
public TraceInteractions()
| Method Detail |
|---|
public void onSetViewer()
onSetViewer in class BaseTraceInteractionspublic void clearInternals()
public void setFrameName()
setFrameName in class BaseTraceInteractionsprocess - public java.lang.String getTitleString()
public void fillPage(org.eclipse.hyades.uml2sd.trace.loaders.internal.TraceInteractionUpdate update)
fillPage in class BaseTraceInteractionsupdate -
public static void findInvocation(TRCMethodInvocation model,
boolean isReturn)
model - method invocation to look forisReturn - true if looking for the corresponding message return, false for the messagepublic static void setExternalDateSelection(IDateSelection selection)
selection - must contain a IDateSelection with an absolute time, the meaning NOW and
no need for getEObject() to return a process (a null EObject would be fine).public boolean hasNextPage()
hasNextPage in interface ISDPagingProviderpublic boolean hasPrevPage()
ISDPagingProvider
hasPrevPage in interface ISDPagingProviderpublic void nextPage()
ISDPagingProvider
nextPage in interface ISDPagingProviderpublic void prevPage()
ISDPagingProvider
prevPage in interface ISDPagingProviderpublic int maxItemsByPageCount()
maxItemsByPageCount in interface ISDAdvancedPagingProviderpublic int itemsTotalCount()
itemsTotalCount in interface ISDAdvancedPagingProviderpublic java.lang.String noItemsText()
noItemsText in interface ISDAdvancedPagingProviderpublic java.lang.String oneItemText()
oneItemText in interface ISDAdvancedPagingProviderpublic java.lang.String itemsText()
itemsText in interface ISDAdvancedPagingProviderpublic int currentPage()
currentPage in interface ISDAdvancedPagingProviderpublic int pagesCount()
pagesCount in interface ISDAdvancedPagingProvider
public void pageSettingsChanged(int maxItemsByPage_,
int pageNumber_)
ISDAdvancedPagingProvider
pageSettingsChanged in interface ISDAdvancedPagingProvidermaxItemsByPage_ - index of the page to loadpageNumber_ - index of the page to loadpublic void pageNumberChanged(int pageNumber_)
ISDAdvancedPagingProvider
pageNumberChanged in interface ISDAdvancedPagingProviderpageNumber_ - index of the page to loadpublic boolean notFoundYet(Criteria toSearch)
BaseTraceInteractions
notFoundYet in class BaseTraceInteractionsBaseTraceInteractions.notFoundYet(org.eclipse.hyades.uml2sd.ui.actions.widgets.Criteria)public void setInternalMessageFiltered(boolean value)
ISDInternalMesFilterProvider
setInternalMessageFiltered in interface ISDInternalMesFilterProviderpublic boolean getInternalMessageFiltered()
ISDInternalMesFilterProvider
getInternalMessageFiltered in interface ISDInternalMesFilterProviderpublic void filterSelectedGraphNodes(java.util.ArrayList graphNodes)
public boolean filter(java.util.List filters)
filter in interface ISDFilterProviderpublic org.eclipse.jface.action.Action getFilterAction()
getFilterAction in interface IExtendedFilterProviderIExtendedFilterProvider.getFilterAction()public void filterUpdated()
IFilterViewer
filterUpdated in interface IFilterViewerorg.eclipse.hyades.trace.ui.filters.IFilterViewer#filterUpdate(org.eclipse.hyades.models.hierarchy.extensions.SimpleSearchQuery)public void setFilterQueryProvider(IFilterQueryProvider filterQueryProvider_)
IFilterViewer
setFilterQueryProvider in interface IFilterViewerorg.eclipse.hyades.trace.ui.filters.IFilterViewer#setFilterQueryProvider(org.eclipse.hyades.trace.ui.filters.IFilterQueryProvider)public java.lang.String[] getFilterScope()
IFilterViewer
getFilterScope in interface IFilterViewerorg.eclipse.hyades.trace.ui.filters.IFilterViewer#getFilterScope()public void drillDown(java.util.ArrayList graphNodes)
public void backLastDrillDown()
public void resetDrillDown()
public void filterIn(java.util.ArrayList graphNodes)
public void collapseLifelines(java.util.List graphNodes)
public void expandLifelines(java.util.List graphNodes)
public void collapseTwoLifelines(Lifeline lifeline1,
Lifeline lifeline2)
collapseTwoLifelines in interface ISDCollapseProviderlifeline1 - - One of the lifeline to collapsepublic void collapseCalledMessages(java.util.ArrayList graphNodes)
public void expandCalledMessages(java.util.ArrayList graphNodes)
public void highlightCallStack(java.util.ArrayList graphNodes)
public void applyPreferences()
applyPreferences in interface ITraceInteractionPreferenceListenerpublic void supplementCoolbarContent(org.eclipse.ui.IActionBars bar)
supplementCoolbarContent in interface ISDExtendedActionBarProvidersupplementCoolbarContent in class BaseTraceInteractionsbar - the barpublic static TraceInteractions getInstance()
public void setLifelineLoader(java.lang.String className)
lifelineLoader - The lifelineLoader to set.public void setLifelineLoader(BaseLifelineLoader lifelineLoader_)
loader - public ILifelineLoader getLifelineLoader()
public java.lang.String getFinalTitleString()
org.eclipse.hyades.uml2sd.trace.loaders.BaseTraceInteractions#getFinalTitleString()
public java.lang.String getNodeName(int nodeType,
java.lang.String loaderClassName)
ISDGraphNodeSupporter
getNodeName in interface ISDGraphNodeSupporterpublic org.eclipse.ui.views.properties.IPropertySheetPage getPropertySheetEntry()
getPropertySheetEntry in interface ISDPropertiesProvider
|
TPTP 4.5.0 Platform Project Public API Specification |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||