Commit | Line | Data |
---|---|---|
d18dd09b ASL |
1 | /******************************************************************************* |
2 | * Copyright (c) 2009, 2010 Ericsson | |
9b749023 | 3 | * |
d18dd09b ASL |
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 | |
9b749023 | 8 | * |
d18dd09b ASL |
9 | * Contributors: |
10 | * Francois Chouinard - Initial API and implementation | |
11 | *******************************************************************************/ | |
12 | ||
4918b8f2 | 13 | package org.eclipse.linuxtools.tmf.tests.stubs.component; |
d18dd09b | 14 | |
8fd82db5 | 15 | import org.eclipse.linuxtools.internal.tmf.core.component.TmfProviderManager; |
6c13869b FC |
16 | import org.eclipse.linuxtools.tmf.core.component.TmfComponent; |
17 | import org.eclipse.linuxtools.tmf.core.component.TmfDataProvider; | |
4918b8f2 | 18 | import org.eclipse.linuxtools.tmf.tests.stubs.event.TmfSyntheticEventStub; |
d18dd09b ASL |
19 | |
20 | /** | |
21 | * <b><u>TmfClientStub</u></b> | |
22 | * <p> | |
23 | * TODO: Implement me. Please. | |
24 | */ | |
54a7a54c | 25 | @SuppressWarnings({"nls","javadoc"}) |
d18dd09b ASL |
26 | public class TmfClientStub extends TmfComponent { |
27 | ||
6256d8ad | 28 | private TmfDataProvider[] fProviders; |
085d898f FC |
29 | |
30 | public TmfClientStub() { | |
31 | super("TmfClientStub"); | |
32 | } | |
33 | ||
085d898f | 34 | public void findProvider() { |
6256d8ad | 35 | fProviders = TmfProviderManager.getProviders(TmfSyntheticEventStub.class, TmfSyntheticEventProviderStub.class); |
085d898f FC |
36 | // TmfEventRequest<TmfEventStub> request; |
37 | System.out.println(fProviders.length); | |
38 | } | |
39 | ||
40 | public void triggeRequest() { | |
41 | // TmfEventRequest<TmfEventStub> request; | |
42 | } | |
d18dd09b ASL |
43 | |
44 | } |