tmf : Add Leaf nodes to the History Tree
[deliverable/tracecompass.git] / org.eclipse.linuxtools.tmf.core / src / org / eclipse / linuxtools / tmf / core / TmfCommonConstants.java
index 285018650dc273aca7909bbb05e5c486f8904b06..2d90110e0193439b6edc8a534c68b781edc72e60 100644 (file)
@@ -1,13 +1,14 @@
 /*******************************************************************************
- * Copyright (c) 2011 Ericsson
- * 
+ * Copyright (c) 2011, 2014 Ericsson
+ *
  * All rights reserved. This program and the accompanying materials are
  * made available under the terms of the Eclipse Public License v1.0 which
  * accompanies this distribution, and is available at
  * http://www.eclipse.org/legal/epl-v10.html
- * 
+ *
  * Contributors:
  *   Bernd Hufmann - Initial API and implementation
+ *   Patrick Tasse - Add support for source location
  *******************************************************************************/
 package org.eclipse.linuxtools.tmf.core;
 
@@ -15,7 +16,7 @@ import org.eclipse.core.runtime.QualifiedName;
 
 /**
  *  This class provides a common container for TMF constants.
- *  
+ *
  * @version 1.0
  *  @author Bernd Hufmann
  */
@@ -24,26 +25,35 @@ public class TmfCommonConstants {
     // ------------------------------------------------------------------------
     // Constants
     // ------------------------------------------------------------------------
-    
-    /**
-     * The trace type bundle persistent property of a trace resource.
-     */
-    public static final QualifiedName TRACEBUNDLE = new QualifiedName("org.eclipse.linuxtools.tmf", "tracetype.bundle"); //$NON-NLS-1$//$NON-NLS-2$
+
     /**
      * The trace type ID persistent property of a trace resource.
      */
     public static final QualifiedName TRACETYPE = new QualifiedName("org.eclipse.linuxtools.tmf", "tracetype.id"); //$NON-NLS-1$//$NON-NLS-2$
+
     /**
-     * The trace type icon persistent property of a trace resource.
+     * The source location persistent property of a trace resource.
+     * @since 3.0
      */
-    public static final QualifiedName TRACEICON = new QualifiedName("org.eclipse.linuxtools.tmf", "tracetype.icon"); //$NON-NLS-1$//$NON-NLS-2$
+    public static final QualifiedName SOURCE_LOCATION = new QualifiedName("org.eclipse.linuxtools.tmf", "source.location"); //$NON-NLS-1$//$NON-NLS-2$
+
     /**
      * The supplementary folder name persistent property of a trace resource.
      */
     public static final QualifiedName TRACE_SUPPLEMENTARY_FOLDER = new QualifiedName("org.eclipse.linuxtools.tmf", "trace.suppl.folder"); //$NON-NLS-1$//$NON-NLS-2$
+
     /**
-     * The name of the parent folder for storing trace specific supplementary data. Each trace will have a sub-directory underneath with folder name equal to the trace name.    
+     * The name of the parent folder for storing trace specific supplementary data. Each trace will have a sub-directory underneath with folder name equal to the trace name.
+     * @since 3.0
      */
-    public static final String TRACE_SUPPLEMENATARY_FOLDER_NAME = ".tracing"; //$NON-NLS-1$
-    
+    public static final String TRACE_SUPPLEMENTARY_FOLDER_NAME = ".tracing"; //$NON-NLS-1$
+
+    /**
+     * The name of the default project that can be created under various
+     * conditions when there is no tracing project in the workspace.
+     *
+     * @since 2.2
+     */
+    public static final String DEFAULT_TRACE_PROJECT_NAME = Messages.DefaultTraceProjectName;
+
 }
This page took 0.026983 seconds and 5 git commands to generate.