Commit 1ca2e07
committed
tmf.core: Introduce base data provider ITmfDataProvider interface
Add methods in IDataProviderFactory to create provider returning only
this new ITmfDataProvider interface.
Deprecate existing createDataProvider methods in IDataProviderFactory.
Add new methods to fetch and create data providers implementing
ITmfDataProvider interface.
Deprecate existing get and create methods for data providers in
DataProviderManager.
[Added] base data provider ITmfDataProvider interface
[Added] IDataProviderFactory.create(ITmfTrace)
[Added] IDataProviderFactory.create(ITmfTrace, String)
[Added] DataProviderManager.fetchExistingDataProvider(ITmfTrace, String,
Class)
[Added] DataProviderManager.fetchOrCreateDataProvider(ITmfTrace, String,
Class)
[Deprecated] IDataProviderFactory.createProvider(ITmfTrace)
[Deprecated] IDataProviderFactory.createProvider(ITmfTrace, String)
[Deprecated] DataProviderManager.getExistingDataProvider(ITmfTrace,
String, Class)
[Deprecated] DataProviderManager.getOrCreateDataProvider(ITmfTrace,
String, Class)
Signed-off-by: Bernd Hufmann <bernd.hufmann@ericsson.com>1 parent 212fcef commit 1ca2e07
5 files changed
Lines changed: 121 additions & 91 deletions
File tree
- releng/org.eclipse.tracecompass.integration.core.tests/src/org/eclipse/tracecompass/integration/core/tests/dataproviders
- tmf/org.eclipse.tracecompass.tmf.core/src/org/eclipse/tracecompass/tmf/core
- dataprovider
- model
- tree
Lines changed: 39 additions & 11 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
415 | 415 | | |
416 | 416 | | |
417 | 417 | | |
418 | | - | |
419 | | - | |
420 | | - | |
421 | | - | |
422 | | - | |
423 | | - | |
424 | | - | |
425 | | - | |
426 | | - | |
427 | | - | |
428 | | - | |
| 418 | + | |
| 419 | + | |
| 420 | + | |
| 421 | + | |
| 422 | + | |
| 423 | + | |
| 424 | + | |
| 425 | + | |
| 426 | + | |
| 427 | + | |
| 428 | + | |
| 429 | + | |
| 430 | + | |
| 431 | + | |
| 432 | + | |
| 433 | + | |
| 434 | + | |
| 435 | + | |
| 436 | + | |
| 437 | + | |
| 438 | + | |
| 439 | + | |
| 440 | + | |
| 441 | + | |
| 442 | + | |
| 443 | + | |
| 444 | + | |
| 445 | + | |
| 446 | + | |
| 447 | + | |
| 448 | + | |
| 449 | + | |
| 450 | + | |
| 451 | + | |
| 452 | + | |
| 453 | + | |
| 454 | + | |
| 455 | + | |
| 456 | + | |
429 | 457 | | |
430 | 458 | | |
431 | 459 | | |
| |||
Lines changed: 23 additions & 44 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
220 | 220 | | |
221 | 221 | | |
222 | 222 | | |
| 223 | + | |
| 224 | + | |
223 | 225 | | |
| 226 | + | |
224 | 227 | | |
225 | | - | |
226 | | - | |
227 | | - | |
228 | | - | |
229 | | - | |
230 | | - | |
231 | | - | |
232 | | - | |
233 | | - | |
234 | | - | |
235 | | - | |
236 | | - | |
237 | | - | |
238 | | - | |
239 | | - | |
240 | | - | |
241 | | - | |
242 | | - | |
243 | | - | |
244 | | - | |
245 | | - | |
246 | | - | |
247 | | - | |
248 | | - | |
249 | | - | |
| 228 | + | |
250 | 229 | | |
251 | 230 | | |
252 | 231 | | |
| |||
262 | 241 | | |
263 | 242 | | |
264 | 243 | | |
| 244 | + | |
| 245 | + | |
265 | 246 | | |
266 | 247 | | |
267 | | - | |
| 248 | + | |
268 | 249 | | |
269 | | - | |
270 | | - | |
| 250 | + | |
| 251 | + | |
271 | 252 | | |
272 | | - | |
| 253 | + | |
273 | 254 | | |
274 | 255 | | |
275 | 256 | | |
| |||
279 | 260 | | |
280 | 261 | | |
281 | 262 | | |
282 | | - | |
283 | | - | |
| 263 | + | |
| 264 | + | |
284 | 265 | | |
285 | | - | |
| 266 | + | |
286 | 267 | | |
287 | 268 | | |
288 | 269 | | |
| |||
291 | 272 | | |
292 | 273 | | |
293 | 274 | | |
294 | | - | |
295 | 275 | | |
296 | 276 | | |
297 | 277 | | |
| |||
312 | 292 | | |
313 | 293 | | |
314 | 294 | | |
| 295 | + | |
315 | 296 | | |
| 297 | + | |
316 | 298 | | |
317 | | - | |
318 | | - | |
319 | | - | |
320 | | - | |
321 | | - | |
322 | | - | |
| 299 | + | |
323 | 300 | | |
324 | 301 | | |
325 | 302 | | |
326 | 303 | | |
327 | | - | |
| 304 | + | |
328 | 305 | | |
329 | 306 | | |
330 | 307 | | |
| |||
338 | 315 | | |
339 | 316 | | |
340 | 317 | | |
| 318 | + | |
| 319 | + | |
341 | 320 | | |
342 | | - | |
| 321 | + | |
343 | 322 | | |
344 | | - | |
| 323 | + | |
345 | 324 | | |
346 | | - | |
347 | | - | |
| 325 | + | |
| 326 | + | |
348 | 327 | | |
349 | 328 | | |
350 | 329 | | |
| |||
Lines changed: 14 additions & 10 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| |||
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
| 44 | + | |
44 | 45 | | |
45 | | - | |
| 46 | + | |
| 47 | + | |
46 | 48 | | |
47 | 49 | | |
48 | 50 | | |
49 | 51 | | |
50 | | - | |
| 52 | + | |
51 | 53 | | |
52 | 54 | | |
53 | 55 | | |
54 | 56 | | |
55 | 57 | | |
56 | | - | |
| 58 | + | |
57 | 59 | | |
58 | | - | |
59 | | - | |
| 60 | + | |
| 61 | + | |
60 | 62 | | |
61 | 63 | | |
62 | 64 | | |
63 | | - | |
| 65 | + | |
64 | 66 | | |
65 | 67 | | |
66 | 68 | | |
| |||
75 | 77 | | |
76 | 78 | | |
77 | 79 | | |
| 80 | + | |
78 | 81 | | |
| 82 | + | |
79 | 83 | | |
80 | 84 | | |
81 | 85 | | |
| |||
95 | 99 | | |
96 | 100 | | |
97 | 101 | | |
98 | | - | |
| 102 | + | |
99 | 103 | | |
100 | | - | |
101 | | - | |
| 104 | + | |
| 105 | + | |
102 | 106 | | |
103 | 107 | | |
104 | 108 | | |
| |||
Lines changed: 45 additions & 21 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | 14 | | |
21 | | - | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
22 | 60 | | |
23 | 61 | | |
24 | 62 | | |
| |||
29 | 67 | | |
30 | 68 | | |
31 | 69 | | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | 70 | | |
47 | 71 | | |
48 | 72 | | |
| |||
Lines changed: 0 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | 46 | | |
52 | 47 | | |
53 | 48 | | |
0 commit comments