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 | ||
b9763f53 | 26 | public static final String ID = "org.eclipse.linuxtools.tmf.project.nature"; //$NON-NLS-1$ |
abfad0aa FC |
27 | |
28 | private IProject fProject; | |
29 | ||
30 | /* (non-Javadoc) | |
31 | * @see org.eclipse.core.resources.IProjectNature#configure() | |
32 | */ | |
d4011df2 | 33 | @Override |
abfad0aa FC |
34 | public void configure() throws CoreException { |
35 | // TODO Auto-generated method stub | |
36 | ||
37 | } | |
38 | ||
39 | /* (non-Javadoc) | |
40 | * @see org.eclipse.core.resources.IProjectNature#deconfigure() | |
41 | */ | |
d4011df2 | 42 | @Override |
abfad0aa FC |
43 | public void deconfigure() throws CoreException { |
44 | // TODO Auto-generated method stub | |
45 | ||
46 | } | |
47 | ||
48 | /* (non-Javadoc) | |
49 | * @see org.eclipse.core.resources.IProjectNature#getProject() | |
50 | */ | |
d4011df2 | 51 | @Override |
abfad0aa FC |
52 | public IProject getProject() { |
53 | return fProject; | |
54 | } | |
55 | ||
56 | /* (non-Javadoc) | |
57 | * @see org.eclipse.core.resources.IProjectNature#setProject(org.eclipse.core.resources.IProject) | |
58 | */ | |
d4011df2 | 59 | @Override |
abfad0aa FC |
60 | public void setProject(IProject project) { |
61 | fProject = project; | |
62 | } | |
63 | ||
64 | } |