Commit | Line | Data |
---|---|---|
abfad0aa FC |
1 | /******************************************************************************* |
2 | * Copyright (c) 2009 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 | * Francois Chouinard - Initial API and implementation | |
11 | *******************************************************************************/ | |
12 | ||
13 | package org.eclipse.linuxtools.tmf.ui.views.project; | |
14 | ||
15 | import org.eclipse.core.resources.IProject; | |
16 | import org.eclipse.core.resources.IProjectNature; | |
17 | import org.eclipse.core.runtime.CoreException; | |
18 | ||
19 | /** | |
20 | * <b><u>TmfProjectNature</u></b> | |
21 | * <p> | |
22 | * This is really a marker for the Tmf projects. | |
23 | */ | |
24 | public class TmfProjectNature implements IProjectNature { | |
25 | ||
26 | public static final String ID = "org.eclipse.linuxtools.tmf.ui.views.project.TmfProjectNature"; | |
27 | ||
28 | private IProject fProject; | |
29 | ||
30 | /* (non-Javadoc) | |
31 | * @see org.eclipse.core.resources.IProjectNature#configure() | |
32 | */ | |
33 | public void configure() throws CoreException { | |
34 | // TODO Auto-generated method stub | |
35 | ||
36 | } | |
37 | ||
38 | /* (non-Javadoc) | |
39 | * @see org.eclipse.core.resources.IProjectNature#deconfigure() | |
40 | */ | |
41 | public void deconfigure() throws CoreException { | |
42 | // TODO Auto-generated method stub | |
43 | ||
44 | } | |
45 | ||
46 | /* (non-Javadoc) | |
47 | * @see org.eclipse.core.resources.IProjectNature#getProject() | |
48 | */ | |
49 | public IProject getProject() { | |
50 | return fProject; | |
51 | } | |
52 | ||
53 | /* (non-Javadoc) | |
54 | * @see org.eclipse.core.resources.IProjectNature#setProject(org.eclipse.core.resources.IProject) | |
55 | */ | |
56 | public void setProject(IProject project) { | |
57 | fProject = project; | |
58 | } | |
59 | ||
60 | } |