[
https://issues.apache.org/jira/browse/HTRACE-186?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14584345#comment-14584345
]
Colin Patrick McCabe commented on HTRACE-186:
---------------------------------------------
This patch makes some steps towards being able to click the down or up arrows
on spans to get either children or parents, respectively.
searchResultsView: store a list of SpanTreeNode objects rather than a simple
list of spans.
widgets system: rework the widgets system to be more generic. Now there is
only one event handler function that each widget must implement, named
{{handle}}. The "type" argument in the passed-in event object determines the
type of event. Widgets now register and unregister themselves for listening
for each type of event. For example, a TriangleButton will always be
registered for mouseDown events. When it is clicked, it will also register for
mouseMove, mouseUp, and mouseOut events so that it can highlight itself
appropriately while the mouse button is down.
span.js: implement {{reifyParents}} and {{reifyChildren}}. These functions
contact the server to determine the parents and children of the span ,
respectively. These are hooked into the up and down arrow buttons for each
span, so that you can now press those buttons and see the results of the server
query.
The next step is to hook this into some code which creates new span widgets
when the server returns the new parents and children.
Add owl.png since it got missed in the last checkin somehow.
> gui: steps towards being able to expand span groups
> ---------------------------------------------------
>
> Key: HTRACE-186
> URL: https://issues.apache.org/jira/browse/HTRACE-186
> Project: HTrace
> Issue Type: Improvement
> Affects Versions: 3.3.0
> Reporter: Colin Patrick McCabe
> Assignee: Colin Patrick McCabe
> Attachments: HTRACE-186.001.patch
>
>
> gui: some steps towards being able to expand span groups
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)