Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tracecompass-dev] Collapse/Expand all in Time Graph views

This is IMO the way to go, what we should do is before neon have a major
usability rundown. Make sure all widgets behave the same way and maybe
even come up with a design guideline, but that is not a problem for
today. The advantage of having all the stuff.

So if it is in a context sensitive menu though, wouldn't it be
interesting to be able to expand or collapse all children?

We can also have one button (collapse all) that changes to expand all
when pressed and vice versa.

Counterthoughts?

/Matthew

On 16-03-17 11:08 AM, Bernd Hufmann wrote:
> Hi
>
> We got the request to support collapsing/expanding all tree items in
> the time graph views like the Control Flow view.
>
> I did some investigation for the implementation of collapse / expand
> all feature in the Time graph views. Both the TimeGraphCombo and
> TimeGraphViewer have already an interface to do that. In the
> AbstractTimeGraphView, the ITimeGraphWrapper interface needs to be
> augmented to call these methods.
>
> The trigger these actions we could implement a  context-sensitive menu
> (right-mouse click), an entry into the toolbar menu or 2 separate
> buttons in the toolbar. However, the toolbar is already crowded with a
> lot of buttons and we should not add these buttons since they are not
> necessary used often.
>
> I propose to add them into the toolbar menu because they apply on the
> whole tree and not just on the current selection.
>
> Thoughts?
>
> /Bernd
> _______________________________________________
> tracecompass-dev mailing list
> tracecompass-dev@xxxxxxxxxxx
> To change your delivery options, retrieve your password, or
> unsubscribe from this list, visit
> https://dev.eclipse.org/mailman/listinfo/tracecompass-dev



Back to the top