Skip to content

Commit c562532

Browse files
committed
tmf: Introduce "MIME" data provider type
Followed by introducing the configurable reports data providers, this commit proposes a new data provider type called "MIME", which is related to different types of configurable MIME reports, such as images, HTML, text, pdf, excel, etc. [Added] A new data provider type called "MIME" Signed-off-by: Kaveh Shahedi <kaveh.shahedi@ericsson.com>
1 parent 501e408 commit c562532

1 file changed

Lines changed: 22 additions & 11 deletions

File tree

tmf/org.eclipse.tracecompass.tmf.core/src/org/eclipse/tracecompass/tmf/core/dataprovider/IDataProviderDescriptor.java

Lines changed: 22 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -29,14 +29,13 @@
2929
public interface IDataProviderDescriptor {
3030

3131
/**
32-
* The type of the data provider. The purpose of the type to indicate
33-
* to the clients the type of viewer to visualize or whether they can
34-
* share a common x-axis (e.g. time).
32+
* The type of the data provider. The purpose of the type to indicate to the
33+
* clients the type of viewer to visualize or whether they can share a
34+
* common x-axis (e.g. time).
3535
*
3636
* The following types share common x-axis/time axis:
3737
*
38-
* {@link #TREE_TIME_XY}
39-
* {@link #TIME_GRAPH}
38+
* {@link #TREE_TIME_XY} {@link #TIME_GRAPH}
4039
*
4140
* @author Loic Prieur-Drevon
4241
* @author Bernd Hufmann
@@ -47,22 +46,34 @@ public enum ProviderType {
4746
*/
4847
TABLE,
4948
/**
50-
* A provider for a tree, whose entries have XY series. The x-series is time.
49+
* A provider for a tree, whose entries have XY series. The x-series is
50+
* time.
5151
*/
5252
TREE_TIME_XY,
5353
/**
54-
* A provider for a Time Graph model, which has entries with a start and end
55-
* time, each entry has a series of states, arrows link from one series to
56-
* another
54+
* A provider for a Time Graph model, which has entries with a start and
55+
* end time, each entry has a series of states, arrows link from one
56+
* series to another
5757
*/
5858
TIME_GRAPH,
5959
/**
6060
* A provider for a data tree, which has entries (rows) and columns.
61+
*
6162
* @since 6.1
6263
*/
6364
DATA_TREE,
6465
/**
65-
* A provider with no data. Can be used for grouping purposes and/or as data provider configurator.
66+
* A provider for a MIME data provider, which can be an image, audio,
67+
* video, text, pdf, etc.
68+
* for a list of MIME types.
69+
*
70+
* @since 10.3
71+
*/
72+
MIME,
73+
/**
74+
* A provider with no data. Can be used for grouping purposes and/or as
75+
* data provider configurator.
76+
*
6677
* @since 9.5
6778
*/
6879
NONE
@@ -110,7 +121,7 @@ public enum ProviderType {
110121
* Gets the input configuration used to create this data provider.
111122
*
112123
* @return the {@link ITmfConfiguration} configuration use to create this
113-
* data provider, or null if not applicable
124+
* data provider, or null if not applicable
114125
* @since 9.5
115126
*/
116127
default @Nullable ITmfConfiguration getConfiguration() {

0 commit comments

Comments
 (0)