| 1 | /******************************************************************************* |
| 2 | * Copyright (c) 2011 Ericsson |
| 3 | * |
| 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 |
| 8 | * |
| 9 | * Contributors: |
| 10 | * Bernd Hufmann - Initial API and implementation |
| 11 | *******************************************************************************/ |
| 12 | package org.eclipse.linuxtools.tmf.core; |
| 13 | |
| 14 | import org.eclipse.core.runtime.QualifiedName; |
| 15 | |
| 16 | /** |
| 17 | * This class provides a common container for TMF constants. |
| 18 | * |
| 19 | * @version 1.0 |
| 20 | * @author Bernd Hufmann |
| 21 | */ |
| 22 | public class TmfCommonConstants { |
| 23 | |
| 24 | // ------------------------------------------------------------------------ |
| 25 | // Constants |
| 26 | // ------------------------------------------------------------------------ |
| 27 | |
| 28 | /** |
| 29 | * The trace type bundle persistent property of a trace resource. |
| 30 | */ |
| 31 | public static final QualifiedName TRACEBUNDLE = new QualifiedName("org.eclipse.linuxtools.tmf", "tracetype.bundle"); //$NON-NLS-1$//$NON-NLS-2$ |
| 32 | /** |
| 33 | * The trace type ID persistent property of a trace resource. |
| 34 | */ |
| 35 | public static final QualifiedName TRACETYPE = new QualifiedName("org.eclipse.linuxtools.tmf", "tracetype.id"); //$NON-NLS-1$//$NON-NLS-2$ |
| 36 | /** |
| 37 | * The trace type icon persistent property of a trace resource. |
| 38 | */ |
| 39 | public static final QualifiedName TRACEICON = new QualifiedName("org.eclipse.linuxtools.tmf", "tracetype.icon"); //$NON-NLS-1$//$NON-NLS-2$ |
| 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$ |
| 44 | /** |
| 45 | * 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. |
| 46 | */ |
| 47 | public static final String TRACE_SUPPLEMENATARY_FOLDER_NAME = ".tracing"; //$NON-NLS-1$ |
| 48 | |
| 49 | } |