tracesrv/tracecompiler/src/com.nokia.tracecompiler/src/com/nokia/tracecompiler/engine/project/TraceCompilerProject.java
changeset 56 aa2539c91954
equal deleted inserted replaced
54:a151135b0cf9 56:aa2539c91954
       
     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 * TraceCompiler project file properties
       
    17 *
       
    18 */
       
    19 package com.nokia.tracecompiler.engine.project;
       
    20 
       
    21 import com.nokia.tracecompiler.project.TraceProjectFile;
       
    22 
       
    23 /**
       
    24  * TraceCompiler project file properties
       
    25  * 
       
    26  */
       
    27 final class TraceCompilerProject extends TraceProjectFile {
       
    28 
       
    29 	/**
       
    30 	 * Title shown in UI
       
    31 	 */
       
    32 	private static final String TITLE = Messages
       
    33 			.getString("TraceCompilerProject.Title"); //$NON-NLS-1$
       
    34 
       
    35 	/**
       
    36 	 * Constructor
       
    37 	 * 
       
    38 	 * @param absolutePath
       
    39 	 *            the path to the file, including file name
       
    40 	 */
       
    41 	TraceCompilerProject(String absolutePath) {
       
    42 		super(absolutePath, true);
       
    43 	}
       
    44 
       
    45 	/**
       
    46 	 * Constructor
       
    47 	 * 
       
    48 	 * @param path
       
    49 	 *            the path to the file
       
    50 	 * @param name
       
    51 	 *            the file name
       
    52 	 */
       
    53 	TraceCompilerProject(String path, String name) {
       
    54 		super(path, name);
       
    55 	}
       
    56 
       
    57 	/*
       
    58 	 * (non-Javadoc)
       
    59 	 * 
       
    60 	 * @see com.nokia.tracecompiler.project.TraceProjectFile#getFileExtension()
       
    61 	 */
       
    62 	@Override
       
    63 	protected String getFileExtension() {
       
    64 		return null;
       
    65 	}
       
    66 
       
    67 	/*
       
    68 	 * (non-Javadoc)
       
    69 	 * 
       
    70 	 * @see com.nokia.tracecompiler.project.TraceProjectFile#getTitle()
       
    71 	 */
       
    72 	@Override
       
    73 	public String getTitle() {
       
    74 		return TITLE;
       
    75 	}
       
    76 
       
    77 }