Commit | Line | Data |
---|---|---|
86cf88b5 | 1 | /******************************************************************************* |
60ae41e1 | 2 | * Copyright (c) 2011, 2014 Ericsson |
b5a80fe7 | 3 | * |
86cf88b5 BH |
4 | * All rights reserved. This program and the accompanying materials are |
5 | * made available under the terms of the Eclipse Public License v1.0 which | |
6 | * accompanies this distribution, and is available at | |
7 | * http://www.eclipse.org/legal/epl-v10.html | |
b5a80fe7 | 8 | * |
86cf88b5 BH |
9 | * Contributors: |
10 | * Bernd Hufmann - Initial API and implementation | |
89730b51 | 11 | * Patrick Tasse - Add support for source location |
86cf88b5 | 12 | *******************************************************************************/ |
2bdf0193 | 13 | package org.eclipse.tracecompass.tmf.core; |
86cf88b5 BH |
14 | |
15 | import org.eclipse.core.runtime.QualifiedName; | |
16 | ||
17 | /** | |
18 | * This class provides a common container for TMF constants. | |
b5a80fe7 | 19 | * |
86cf88b5 BH |
20 | * @author Bernd Hufmann |
21 | */ | |
22 | public class TmfCommonConstants { | |
23 | ||
24 | // ------------------------------------------------------------------------ | |
25 | // Constants | |
26 | // ------------------------------------------------------------------------ | |
b5a80fe7 | 27 | |
86cf88b5 BH |
28 | /** |
29 | * The trace type ID persistent property of a trace resource. | |
30 | */ | |
31 | public static final QualifiedName TRACETYPE = new QualifiedName("org.eclipse.linuxtools.tmf", "tracetype.id"); //$NON-NLS-1$//$NON-NLS-2$ | |
2d64a788 | 32 | |
89730b51 PT |
33 | /** |
34 | * The source location persistent property of a trace resource. | |
89730b51 PT |
35 | */ |
36 | public static final QualifiedName SOURCE_LOCATION = new QualifiedName("org.eclipse.linuxtools.tmf", "source.location"); //$NON-NLS-1$//$NON-NLS-2$ | |
2d64a788 | 37 | |
86cf88b5 BH |
38 | /** |
39 | * The supplementary folder name persistent property of a trace resource. | |
40 | */ | |
41 | public static final QualifiedName TRACE_SUPPLEMENTARY_FOLDER = new QualifiedName("org.eclipse.linuxtools.tmf", "trace.suppl.folder"); //$NON-NLS-1$//$NON-NLS-2$ | |
2d64a788 | 42 | |
86cf88b5 | 43 | /** |
b5a80fe7 | 44 | * 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. |
86cf88b5 | 45 | */ |
b5e8ee95 | 46 | public static final String TRACE_SUPPLEMENTARY_FOLDER_NAME = ".tracing"; //$NON-NLS-1$ |
b5a80fe7 MAL |
47 | |
48 | /** | |
49 | * The name of the default project that can be created under various | |
50 | * conditions when there is no tracing project in the workspace. | |
b5a80fe7 MAL |
51 | */ |
52 | public static final String DEFAULT_TRACE_PROJECT_NAME = Messages.DefaultTraceProjectName; | |
2d64a788 | 53 | |
86cf88b5 | 54 | } |