Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: 71c00b462055f99e47bdd0cdd0d33fccdd268f8e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
/*******************************************************************************
 * Copyright (c) 2010-2013 Nokia Siemens Networks Oyj, Finland.
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 * 
 * Contributors:
 *      Nokia Siemens Networks - initial implementation
 *      Petri Tuononen - Initial implementation
 *******************************************************************************/
package org.eclipse.cdt.managedbuilder.llvm.ui;

import org.eclipse.core.resources.IProject;
import org.eclipse.core.resources.IProjectNature;
import org.eclipse.core.runtime.CoreException;

/**
 * Implements project nature for LLVM projects.
 * 
 */
public class LlvmProjectNature implements IProjectNature {

	private IProject project;

	/**
	 * Configure the project which have this project nature.
	 */
	public void configure() throws CoreException {
		// Add nature-specific information
        // for the project, such as adding a builder
        // to a project's build spec.
	}

	/**
	 * Deconfigure those projects which have this project nature.
	 */
	public void deconfigure() throws CoreException {
		// Remove the nature-specific information.
	}

	/**
	 * Return the project.
	 * 
	 * @return IProject
	 */
	public IProject getProject() {
		return this.project;
	}

	/**
	 * Set the project.
	 * 
	 * @param proj IProject
	 */
	public void setProject(IProject proj) {
		this.project = proj;
	}

}

Back to the top