Re-structure LTTng sub-project as per the Linux Tools guidelines
[deliverable/tracecompass.git] / org.eclipse.linuxtools.tmf.core.tests / stubs / org / eclipse / linuxtools / tmf / stubs / component / TmfClientStub.java
1 /*******************************************************************************
2 * Copyright (c) 2009, 2010 Ericsson
3 *
4 * All rights reserved. This program and the accompanying materials are
5 * made available under the terms of the Eclipse Public License v1.0 which
6 * accompanies this distribution, and is available at
7 * http://www.eclipse.org/legal/epl-v10.html
8 *
9 * Contributors:
10 * Francois Chouinard - Initial API and implementation
11 *******************************************************************************/
12
13 package org.eclipse.linuxtools.tmf.stubs.component;
14
15 import org.eclipse.linuxtools.tmf.core.component.TmfComponent;
16 import org.eclipse.linuxtools.tmf.core.component.TmfDataProvider;
17 import org.eclipse.linuxtools.tmf.core.component.TmfProviderManager;
18 import org.eclipse.linuxtools.tmf.stubs.event.TmfSyntheticEventStub;
19
20 /**
21 * <b><u>TmfClientStub</u></b>
22 * <p>
23 * TODO: Implement me. Please.
24 */
25 @SuppressWarnings("nls")
26 public class TmfClientStub extends TmfComponent {
27
28 private TmfDataProvider<TmfSyntheticEventStub>[] fProviders;
29
30 public TmfClientStub() {
31 super("TmfClientStub");
32 }
33
34 @SuppressWarnings("unchecked")
35 public void findProvider() {
36 fProviders = (TmfDataProvider<TmfSyntheticEventStub>[]) TmfProviderManager.getProviders(TmfSyntheticEventStub.class, TmfSyntheticEventProviderStub.class);
37 // TmfEventRequest<TmfEventStub> request;
38 System.out.println(fProviders.length);
39 }
40
41 public void triggeRequest() {
42 // TmfEventRequest<TmfEventStub> request;
43 }
44
45 }
This page took 0.030174 seconds and 5 git commands to generate.