Skip to content

Commit 0e08c85

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 <[email protected]>
1 parent 501e408 commit 0e08c85

File tree

2 files changed

+21
-12
lines changed

2 files changed

+21
-12
lines changed

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

Lines changed: 20 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,32 @@ 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, report, text, file, etc.
67+
*
68+
* @since 10.3
69+
*/
70+
MIME,
71+
/**
72+
* A provider with no data. Can be used for grouping purposes and/or as
73+
* data provider configurator.
74+
*
6675
* @since 9.5
6776
*/
6877
NONE
@@ -110,7 +119,7 @@ public enum ProviderType {
110119
* Gets the input configuration used to create this data provider.
111120
*
112121
* @return the {@link ITmfConfiguration} configuration use to create this
113-
* data provider, or null if not applicable
122+
* data provider, or null if not applicable
114123
* @since 9.5
115124
*/
116125
default @Nullable ITmfConfiguration getConfiguration() {

tmf/org.eclipse.tracecompass.tmf.core/src/org/eclipse/tracecompass/tmf/core/model/DataProviderDescriptor.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -240,4 +240,4 @@ public IDataProviderDescriptor build() {
240240
}
241241

242242
}
243-
}
243+
}

0 commit comments

Comments
 (0)