~ubuntu-branches/ubuntu/wily/eclipse-linuxtools/wily

« back to all changes in this revision

Viewing changes to lttng/org.eclipse.linuxtools.tmf.core.tests/stubs/org/eclipse/linuxtools/tmf/tests/stubs/component/TmfClientStub.java

  • Committer: Package Import Robot
  • Author(s): Jakub Adam, Jakub Adam, tony mancill
  • Date: 2014-10-11 11:44:05 UTC
  • mfrom: (1.2.4)
  • Revision ID: package-import@ubuntu.com-20141011114405-yazjvxfzzhmi5sgj
Tags: 3.1.0-1
[ Jakub Adam ]
* New upstream release (Closes: #761524).
* Refreshed d/patches.
* Don't build removed feature org.eclipse.linuxtools.tools.launch
  - merged into org.eclipse.linuxtools.profiling.
* Use javac target 1.7.
* Build new feature org.eclipse.linuxtools.dataviewers.feature
  - required by Valgrind integration.
* Build-depend on eclipse-remote-services-api and eclipse-cdt-autotools.
* Bump Standards-Version to 3.9.6.
* Override incompatible-java-bytecode-format - linuxtools needs Java 7.
* Remove unused codeless-jar override.

[ tony mancill ]
* Tweak short package description to make lintian happy.

Show diffs side-by-side

added added

removed removed

Lines of Context:
14
14
 
15
15
import org.eclipse.linuxtools.internal.tmf.core.component.TmfProviderManager;
16
16
import org.eclipse.linuxtools.tmf.core.component.TmfComponent;
17
 
import org.eclipse.linuxtools.tmf.core.component.TmfDataProvider;
 
17
import org.eclipse.linuxtools.tmf.core.component.TmfEventProvider;
18
18
import org.eclipse.linuxtools.tmf.tests.stubs.event.TmfSyntheticEventStub;
19
19
 
20
20
/**
25
25
@SuppressWarnings("javadoc")
26
26
public class TmfClientStub extends TmfComponent {
27
27
 
28
 
    private TmfDataProvider[] fProviders;
 
28
    private TmfEventProvider[] fProviders;
29
29
 
30
30
    public TmfClientStub() {
31
31
        super("TmfClientStub");
33
33
 
34
34
    public void findProvider() {
35
35
        fProviders = TmfProviderManager.getProviders(TmfSyntheticEventStub.class, TmfSyntheticEventProviderStub.class);
36
 
        //              TmfEventRequest<TmfEventStub> request;
 
36
        //        TmfEventRequest<TmfEventStub> request;
37
37
        System.out.println(fProviders.length);
38
38
    }
39
39
 
40
40
    public void triggeRequest() {
41
 
        //              TmfEventRequest<TmfEventStub> request;
 
41
        //        TmfEventRequest<TmfEventStub> request;
42
42
    }
43
43
 
44
44
}