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 BH |
12 | *******************************************************************************/ |
13 | package org.eclipse.linuxtools.tmf.core; | |
14 | ||
15 | import org.eclipse.core.runtime.QualifiedName; | |
16 | ||
17 | /** | |
18 | * This class provides a common container for TMF constants. | |
b5a80fe7 | 19 | * |
8fd82db5 | 20 | * @version 1.0 |
86cf88b5 BH |
21 | * @author Bernd Hufmann |
22 | */ | |
23 | public class TmfCommonConstants { | |
24 | ||
25 | // ------------------------------------------------------------------------ | |
26 | // Constants | |
27 | // ------------------------------------------------------------------------ | |
b5a80fe7 | 28 | |
86cf88b5 BH |
29 | /** |
30 | * The trace type ID persistent property of a trace resource. | |
31 | */ | |
32 | public static final QualifiedName TRACETYPE = new QualifiedName("org.eclipse.linuxtools.tmf", "tracetype.id"); //$NON-NLS-1$//$NON-NLS-2$ | |
2d64a788 | 33 | |
89730b51 PT |
34 | /** |
35 | * The source location persistent property of a trace resource. | |
36 | * @since 3.0 | |
37 | */ | |
38 | public static final QualifiedName SOURCE_LOCATION = new QualifiedName("org.eclipse.linuxtools.tmf", "source.location"); //$NON-NLS-1$//$NON-NLS-2$ | |
2d64a788 | 39 | |
86cf88b5 BH |
40 | /** |
41 | * The supplementary folder name persistent property of a trace resource. | |
42 | */ | |
43 | public static final QualifiedName TRACE_SUPPLEMENTARY_FOLDER = new QualifiedName("org.eclipse.linuxtools.tmf", "trace.suppl.folder"); //$NON-NLS-1$//$NON-NLS-2$ | |
2d64a788 | 44 | |
86cf88b5 | 45 | /** |
b5a80fe7 | 46 | * 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. |
b5e8ee95 | 47 | * @since 3.0 |
86cf88b5 | 48 | */ |
b5e8ee95 | 49 | public static final String TRACE_SUPPLEMENTARY_FOLDER_NAME = ".tracing"; //$NON-NLS-1$ |
b5a80fe7 MAL |
50 | |
51 | /** | |
52 | * The name of the default project that can be created under various | |
53 | * conditions when there is no tracing project in the workspace. | |
54 | * | |
55 | * @since 2.2 | |
56 | */ | |
57 | public static final String DEFAULT_TRACE_PROJECT_NAME = Messages.DefaultTraceProjectName; | |
2d64a788 | 58 | |
86cf88b5 | 59 | } |