Bug 565307 - [XY] Allow style definitions for XY views, without requiring assigning to entries
Summary: [XY] Allow style definitions for XY views, without requiring assigning to ent...
Status: NEW
Alias: None
Product: Tracecompass
Classification: Tools
Component: TMF (show other bugs)
Version: unspecified   Edit
Hardware: PC Linux
: P3 normal
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact: Project Inbox CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-07-17 13:22 EDT by Genevieve Bastien CLA
Modified: 2020-07-17 13:22 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Genevieve Bastien CLA 2020-07-17 13:22:43 EDT
The XY data provider can now implement the IOutputStyleProvider to provide styles for entries. But if so, the entries must explicitly select a style in the list of styles.

But since not all entries will be selected by the user, some of the nicer styles (usually the first in the list of styles) may not be seen.

It should be possible to provide styles, but return entries with no assigned styles. If so, as entries are selected, styles will be assigned in loop, so that the first selected entry will always have the same style.

Styles could also be grouped together.

Use case: Disk I/O activity view, there are read and write items, each with separate style arrays.