Merge branch 'master' into lttng-kepler
[deliverable/tracecompass.git] / org.eclipse.linuxtools.tmf.core / src / org / eclipse / linuxtools / tmf / core / TmfProjectNature.java
CommitLineData
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 13package org.eclipse.linuxtools.tmf.core;
abfad0aa
FC
14
15import org.eclipse.core.resources.IProject;
16import org.eclipse.core.resources.IProjectNature;
17import org.eclipse.core.runtime.CoreException;
18
19/**
8fd82db5
FC
20 * The TMF basic tracing project nature.
21 *
22 * @version 1.0
23 * @author Francois Chouinard
abfad0aa
FC
24 */
25public class TmfProjectNature implements IProjectNature {
26
8fd82db5
FC
27 // ------------------------------------------------------------------------
28 // Constants
29 // ------------------------------------------------------------------------
30
31 /**
32 * The nature ID
33 */
b9763f53 34 public static final String ID = "org.eclipse.linuxtools.tmf.project.nature"; //$NON-NLS-1$
abfad0aa 35
8fd82db5
FC
36 // ------------------------------------------------------------------------
37 // Attributes
38 // ------------------------------------------------------------------------
39
abfad0aa
FC
40 private IProject fProject;
41
8fd82db5
FC
42 // ------------------------------------------------------------------------
43 // Operations
44 // ------------------------------------------------------------------------
45
46 /* (non-Javadoc)
47 * @see org.eclipse.core.resources.IProjectNature#configure()
48 */
d4011df2 49 @Override
abfad0aa 50 public void configure() throws CoreException {
abfad0aa
FC
51 }
52
8fd82db5
FC
53 /* (non-Javadoc)
54 * @see org.eclipse.core.resources.IProjectNature#deconfigure()
55 */
d4011df2 56 @Override
abfad0aa 57 public void deconfigure() throws CoreException {
abfad0aa
FC
58 }
59
d4011df2 60 @Override
abfad0aa
FC
61 public IProject getProject() {
62 return fProject;
63 }
64
8fd82db5
FC
65 /* (non-Javadoc)
66 * @see org.eclipse.core.resources.IProjectNature#setProject(org.eclipse.core.resources.IProject)
67 */
d4011df2 68 @Override
abfad0aa
FC
69 public void setProject(IProject project) {
70 fProject = project;
71 }
72
73}
This page took 0.038743 seconds and 5 git commands to generate.