/*******************************************************************************
- * 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;
/**
* This class provides a common container for TMF constants.
- *
+ *
* @version 1.0
* @author Bernd Hufmann
*/
// ------------------------------------------------------------------------
// 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;
+
}