Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexandre Montplaisir2012-05-14 20:36:48 +0000
committerAlexandre Montplaisir2012-05-14 20:58:50 +0000
commita2c9386ada81b79fe4a9caca4056d763d04e9409 (patch)
tree1b66be44ffc90cc1a3a3cf26bfe252781d830e15 /lttng/org.eclipse.linuxtools.lttng.ui
parent9717105d88b99b6cac0afd66fa70f6cbeb03df06 (diff)
downloadorg.eclipse.linuxtools-a2c9386ada81b79fe4a9caca4056d763d04e9409.tar.gz
org.eclipse.linuxtools-a2c9386ada81b79fe4a9caca4056d763d04e9409.tar.xz
org.eclipse.linuxtools-a2c9386ada81b79fe4a9caca4056d763d04e9409.zip
Revert "Use supplementary directory for state history tree"
This reverts commit 9716e61fa1550422463f938cf0767a0130187ef5. A new TmfCommonConstants file was missing from it. Unfortunately the author is gone for today, so we'll temporarily revert this commit so the thing keeps building.
Diffstat (limited to 'lttng/org.eclipse.linuxtools.lttng.ui')
-rw-r--r--lttng/org.eclipse.linuxtools.lttng.ui/src/org/eclipse/linuxtools/internal/lttng/ui/tracecontrol/actions/ImportToProject.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/lttng/org.eclipse.linuxtools.lttng.ui/src/org/eclipse/linuxtools/internal/lttng/ui/tracecontrol/actions/ImportToProject.java b/lttng/org.eclipse.linuxtools.lttng.ui/src/org/eclipse/linuxtools/internal/lttng/ui/tracecontrol/actions/ImportToProject.java
index 75329030c5..34bb52653e 100644
--- a/lttng/org.eclipse.linuxtools.lttng.ui/src/org/eclipse/linuxtools/internal/lttng/ui/tracecontrol/actions/ImportToProject.java
+++ b/lttng/org.eclipse.linuxtools.lttng.ui/src/org/eclipse/linuxtools/internal/lttng/ui/tracecontrol/actions/ImportToProject.java
@@ -33,7 +33,7 @@ import org.eclipse.linuxtools.internal.lttng.core.tracecontrol.model.TraceResour
import org.eclipse.linuxtools.internal.lttng.ui.Activator;
import org.eclipse.linuxtools.internal.lttng.ui.tracecontrol.Messages;
import org.eclipse.linuxtools.internal.lttng.ui.tracecontrol.dialogs.ImportTraceDialog;
-import org.eclipse.linuxtools.tmf.core.TmfCommonConstants;
+import org.eclipse.linuxtools.tmf.ui.project.model.TmfTraceElement;
import org.eclipse.rse.core.RSECorePlugin;
import org.eclipse.rse.core.model.IHost;
import org.eclipse.rse.core.subsystems.ISubSystem;
@@ -271,9 +271,9 @@ public class ImportToProject implements IObjectActionDelegate, IWorkbenchWindowA
folder.createLink(sourceFolder.toURI(), IResource.REPLACE, null);
// Set the trace properties for this resource
// FIXME: update from extension point properties
- folder.setPersistentProperty(TmfCommonConstants.TRACEBUNDLE, Activator.PLUGIN_ID);
- folder.setPersistentProperty(TmfCommonConstants.TRACETYPE, "org.eclipse.linuxtools.lttng.tracetype.kernel"); //$NON-NLS-1$
- folder.setPersistentProperty(TmfCommonConstants.TRACEICON, "icons/obj16/tux2.png"); //$NON-NLS-1$
+ folder.setPersistentProperty(TmfTraceElement.TRACEBUNDLE, Activator.PLUGIN_ID);
+ folder.setPersistentProperty(TmfTraceElement.TRACETYPE, "org.eclipse.linuxtools.lttng.tracetype.kernel"); //$NON-NLS-1$
+ folder.setPersistentProperty(TmfTraceElement.TRACEICON, "icons/obj16/tux2.png"); //$NON-NLS-1$
} catch (CoreException e) {
MessageDialog.openWarning(shell,
Messages.ImportToProject_ImportFailed,

Back to the top