tmf: annotate TmfContext#location as nullable
[deliverable/tracecompass.git] / tmf / org.eclipse.tracecompass.tmf.core / src / org / eclipse / tracecompass / tmf / core / TmfProjectNature.java
CommitLineData
abfad0aa 1/*******************************************************************************
ed902a2b 2 * Copyright (c) 2009, 2014 Ericsson
11252342 3 *
abfad0aa
FC
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
11252342 8 *
abfad0aa
FC
9 * Contributors:
10 * Francois Chouinard - Initial API and implementation
11 *******************************************************************************/
12
2bdf0193 13package org.eclipse.tracecompass.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 20 * The TMF basic tracing project nature.
11252342 21 *
8fd82db5
FC
22 * @version 1.0
23 * @author Francois Chouinard
abfad0aa
FC
24 */
25public class TmfProjectNature implements IProjectNature {
26
8fd82db5
FC
27 // ------------------------------------------------------------------------
28 // Constants
29 // ------------------------------------------------------------------------
30
11252342
AM
31 /**
32 * The nature ID
33 */
34 public static final String ID = "org.eclipse.linuxtools.tmf.project.nature"; //$NON-NLS-1$
abfad0aa 35
8fd82db5
FC
36 // ------------------------------------------------------------------------
37 // Attributes
38 // ------------------------------------------------------------------------
39
11252342
AM
40 private IProject fProject;
41
8fd82db5
FC
42 // ------------------------------------------------------------------------
43 // Operations
44 // ------------------------------------------------------------------------
45
11252342
AM
46 @Override
47 public void configure() throws CoreException {
48 }
abfad0aa 49
11252342
AM
50 @Override
51 public void deconfigure() throws CoreException {
52 }
abfad0aa 53
11252342
AM
54 @Override
55 public IProject getProject() {
56 return fProject;
57 }
abfad0aa 58
11252342
AM
59 @Override
60 public void setProject(IProject project) {
61 fProject = project;
62 }
abfad0aa
FC
63
64}
This page took 0.106692 seconds and 5 git commands to generate.