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 | ||
6c13869b | 13 | package org.eclipse.linuxtools.tmf.core; |
abfad0aa FC |
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> | |
12c155f5 | 22 | * This is really a marker for the tracing projects. |
abfad0aa FC |
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 | ||
d4011df2 | 30 | @Override |
abfad0aa | 31 | public void configure() throws CoreException { |
abfad0aa FC |
32 | } |
33 | ||
d4011df2 | 34 | @Override |
abfad0aa | 35 | public void deconfigure() throws CoreException { |
abfad0aa FC |
36 | } |
37 | ||
d4011df2 | 38 | @Override |
abfad0aa FC |
39 | public IProject getProject() { |
40 | return fProject; | |
41 | } | |
42 | ||
d4011df2 | 43 | @Override |
abfad0aa FC |
44 | public void setProject(IProject project) { |
45 | fProject = project; | |
46 | } | |
47 | ||
48 | } |