Commit | Line | Data |
---|---|---|
6e651d8b MAL |
1 | /******************************************************************************* |
2 | * Copyright (c) 2013 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 | * Marc-Andre Laperle - Initial API and implementation | |
11 | *******************************************************************************/ | |
12 | ||
13 | package org.eclipse.linuxtools.internal.tmf.ui.project.wizards.tracepkg; | |
14 | ||
15 | /** | |
16 | * Constants used in the trace package (XML attribute and element names, etc). | |
17 | * | |
18 | * @author Marc-Andre Laperle | |
19 | */ | |
20 | public interface ITracePackageConstants { | |
21 | ||
22 | /** | |
23 | * The file name for the package manifest file | |
24 | */ | |
25 | public static final String MANIFEST_FILENAME = "export-manifest.xml"; //$NON-NLS-1$ | |
26 | ||
27 | /** | |
28 | * The root element of an export | |
29 | */ | |
30 | public static final String TMF_EXPORT_ELEMENT = "tmf-export"; //$NON-NLS-1$ | |
31 | ||
32 | /** | |
33 | * Element representing a single trace | |
34 | */ | |
35 | public static final String TRACE_ELEMENT = "trace"; //$NON-NLS-1$ | |
36 | ||
37 | /** | |
38 | * Attribute for the name of a trace | |
39 | */ | |
40 | public static final String TRACE_NAME_ATTRIB = "name"; //$NON-NLS-1$ | |
41 | ||
42 | /** | |
43 | * Attribute for the type of a trace | |
44 | */ | |
45 | public static final String TRACE_TYPE_ATTRIB = "type"; //$NON-NLS-1$ | |
46 | ||
47 | /** | |
48 | * Element representing a single supplementary file | |
49 | */ | |
50 | public static final String SUPPLEMENTARY_FILE_ELEMENT = "supplementary-file"; //$NON-NLS-1$ | |
51 | ||
52 | /** | |
53 | * Attribute for the name of a supplementary file | |
54 | */ | |
55 | public static final String SUPPLEMENTARY_FILE_NAME_ATTRIB = "name"; //$NON-NLS-1$ | |
56 | ||
57 | /** | |
58 | * Element representing a trace file or folder | |
59 | */ | |
60 | public static final String TRACE_FILE_ELEMENT = "file"; //$NON-NLS-1$ | |
61 | ||
62 | /** | |
63 | * Attribute for the name of the file | |
64 | */ | |
65 | public static final String TRACE_FILE_NAME_ATTRIB = "name"; //$NON-NLS-1$ | |
66 | ||
67 | /** | |
68 | * Element representing the bookmarks of a trace | |
69 | */ | |
70 | public static final String BOOKMARKS_ELEMENT = "bookmarks"; //$NON-NLS-1$ | |
71 | ||
72 | /** | |
73 | * Element representing a single bookmark of a trace | |
74 | */ | |
75 | public static final String BOOKMARK_ELEMENT = "bookmark"; //$NON-NLS-1$ | |
76 | } |