tracefw/tracecompiler/src/com.nokia.tracecompiler/src/com/nokia/tracecompiler/engine/project/TraceIDCache.java
equal
deleted
inserted
replaced
1 /* |
|
2 * Copyright (c) 2008 Nokia Corporation and/or its subsidiary(-ies). |
|
3 * All rights reserved. |
|
4 * This component and the accompanying materials are made available |
|
5 * under the terms of "Eclipse Public License v1.0" |
|
6 * which accompanies this distribution, and is available |
|
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
8 * |
|
9 * Initial Contributors: |
|
10 * Nokia Corporation - initial contribution. |
|
11 * |
|
12 * Contributors: |
|
13 * |
|
14 * Description: |
|
15 * |
|
16 * Cache file for storing trace and group identifiers |
|
17 * |
|
18 */ |
|
19 package com.nokia.tracecompiler.engine.project; |
|
20 |
|
21 import com.nokia.tracecompiler.project.TraceProjectFile; |
|
22 |
|
23 /** |
|
24 * Cache file for storing trace and group identifiers |
|
25 * |
|
26 */ |
|
27 public final class TraceIDCache extends TraceProjectFile { |
|
28 |
|
29 /** |
|
30 * Title shown in UI |
|
31 */ |
|
32 private static final String TITLE = Messages |
|
33 .getString("TraceIDCache.Title"); //$NON-NLS-1$ |
|
34 |
|
35 /** |
|
36 * Constructor |
|
37 * |
|
38 * @param cachePath |
|
39 * path to the cache file |
|
40 */ |
|
41 public TraceIDCache(String cachePath) { |
|
42 super(cachePath, ""); //$NON-NLS-1$ |
|
43 } |
|
44 |
|
45 /* |
|
46 * (non-Javadoc) |
|
47 * |
|
48 * @see com.nokia.tracecompiler.project.TraceProjectFile#getFileExtension() |
|
49 */ |
|
50 @Override |
|
51 protected String getFileExtension() { |
|
52 return ProjectConstants.FIXED_ID_DEFINITIONS_FILE_NAME; |
|
53 } |
|
54 |
|
55 /* |
|
56 * (non-Javadoc) |
|
57 * |
|
58 * @see com.nokia.tracecompiler.project.TraceProjectFile#getTitle() |
|
59 */ |
|
60 @Override |
|
61 public String getTitle() { |
|
62 return TITLE; |
|
63 } |
|
64 |
|
65 } |
|