From: Alexandre Montplaisir Date: Fri, 27 Apr 2012 17:22:29 +0000 (-0400) Subject: lttng: Rework the trace type extension points X-Git-Url: http://git.efficios.com/?a=commitdiff_plain;h=f02ac915730731fd5040b81252804c6b68e4abca;p=deliverable%2Ftracecompass.git lttng: Rework the trace type extension points Move the LTTng 2.0 kernel type to lttng2.kernel.ui. Also add a "Generic CTF" trace type, which lives directly in tmf.ui, since TMF contains the CtfAdaptor, so it can read any kind of CTF trace (albeit with little specific information). Signed-off-by: Alexandre Montplaisir --- diff --git a/org.eclipse.linuxtools.lttng.ui/plugin.properties b/org.eclipse.linuxtools.lttng.ui/plugin.properties index a60152ed96..75b0dc7e61 100644 --- a/org.eclipse.linuxtools.lttng.ui/plugin.properties +++ b/org.eclipse.linuxtools.lttng.ui/plugin.properties @@ -23,7 +23,7 @@ project.propertyPage.tracelibPath = LTTng Trace Library Path action.set.label = LTTng Action Set action.set.description = LTTng Action Set -tracetype.category.lttng= LTTng +tracetype.category.lttng= LTTng 0.x tracetype.type.kernel = Kernel Trace #Commands and Menus diff --git a/org.eclipse.linuxtools.lttng.ui/plugin.xml b/org.eclipse.linuxtools.lttng.ui/plugin.xml index 55cbd7dfc1..88dd6d8b60 100644 --- a/org.eclipse.linuxtools.lttng.ui/plugin.xml +++ b/org.eclipse.linuxtools.lttng.ui/plugin.xml @@ -433,14 +433,6 @@ class="org.eclipse.linuxtools.internal.lttng.ui.views.events.EventsTable"> - - diff --git a/org.eclipse.linuxtools.lttng2.kernel.core/META-INF/MANIFEST.MF b/org.eclipse.linuxtools.lttng2.kernel.core/META-INF/MANIFEST.MF index c79dec738f..a103e0a163 100644 --- a/org.eclipse.linuxtools.lttng2.kernel.core/META-INF/MANIFEST.MF +++ b/org.eclipse.linuxtools.lttng2.kernel.core/META-INF/MANIFEST.MF @@ -9,5 +9,6 @@ Bundle-Activator: org.eclipse.linuxtools.internal.lttng2.kernel.core.Activator Bundle-ActivationPolicy: lazy Bundle-RequiredExecutionEnvironment: JavaSE-1.6 Require-Bundle: org.eclipse.core.runtime;bundle-version="3.7.0", + org.eclipse.core.resources;bundle-version="3.7.0", org.eclipse.linuxtools.tmf.core;bundle-version="0.5.0" Export-Package: org.eclipse.linuxtools.lttng2.kernel.core.trace diff --git a/org.eclipse.linuxtools.lttng2.kernel.ui/META-INF/MANIFEST.MF b/org.eclipse.linuxtools.lttng2.kernel.ui/META-INF/MANIFEST.MF index 7ac0a19127..7b95ff7021 100644 --- a/org.eclipse.linuxtools.lttng2.kernel.ui/META-INF/MANIFEST.MF +++ b/org.eclipse.linuxtools.lttng2.kernel.ui/META-INF/MANIFEST.MF @@ -12,4 +12,6 @@ Require-Bundle: org.eclipse.ui;bundle-version="3.7.0", org.eclipse.ui.ide;bundle-version="3.7.0", org.eclipse.core.runtime;bundle-version="3.7.0", org.eclipse.linuxtools.lttng2.core;bundle-version="0.1.0", + org.eclipse.linuxtools.lttng2.kernel.core;bundle-version="0.1.0", + org.eclipse.linuxtools.tmf.core;bundle-version="0.5.0", org.eclipse.linuxtools.tmf.ui;bundle-version="0.5.0" diff --git a/org.eclipse.linuxtools.lttng2.kernel.ui/plugin.properties b/org.eclipse.linuxtools.lttng2.kernel.ui/plugin.properties index 4a9cd44d0a..d7bf8832d1 100644 --- a/org.eclipse.linuxtools.lttng2.kernel.ui/plugin.properties +++ b/org.eclipse.linuxtools.lttng2.kernel.ui/plugin.properties @@ -33,7 +33,7 @@ project.propertyPage.tracelibPath = LTTng Trace Library Path action.set.label = LTTng Action Set action.set.description = LTTng Action Set -tracetype.category.lttng= LTTng +tracetype.category.lttng = LTTng 2.0 tracetype.type.kernel = Kernel Trace #Commands and Menus diff --git a/org.eclipse.linuxtools.lttng2.kernel.ui/plugin.xml b/org.eclipse.linuxtools.lttng2.kernel.ui/plugin.xml index 03eb85a579..d6403b8136 100644 --- a/org.eclipse.linuxtools.lttng2.kernel.ui/plugin.xml +++ b/org.eclipse.linuxtools.lttng2.kernel.ui/plugin.xml @@ -11,4 +11,18 @@ name="%perspective.category.name"> + + + + + + diff --git a/org.eclipse.linuxtools.tmf.ui/plugin.xml b/org.eclipse.linuxtools.tmf.ui/plugin.xml index 9d66f8c0b7..3f4d4f29ff 100644 --- a/org.eclipse.linuxtools.tmf.ui/plugin.xml +++ b/org.eclipse.linuxtools.tmf.ui/plugin.xml @@ -1117,5 +1117,19 @@ type="org.eclipse.linuxtools.tmf.ui.project.model.TmfTraceElement"> + + + + + +