add CoffeeNature; CoffeeFileWizard; update plugins.xml · Nodeclipse/nodeclipse@bd6a2d2 · GitHub
Skip to content

Commit bd6a2d2

Browse files
committed
add CoffeeNature; CoffeeFileWizard; update plugins.xml
1 parent 2506288 commit bd6a2d2

4 files changed

Lines changed: 410 additions & 0 deletions

File tree

‎org.nodeclipse.ui/plugin.xml‎

Lines changed: 17 additions & 0 deletions
Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
1+
package org.nodeclipse.ui.nature;
2+
3+
import org.eclipse.core.resources.IProject;
4+
import org.eclipse.core.resources.IProjectNature;
5+
import org.eclipse.core.runtime.CoreException;
6+
7+
/**
8+
* CoffeeNature is for CoffeeScript support.
9+
* It is added to Node project to indicate, that some (.coffee) files need to be compiled.
10+
*
11+
* @author Paul Verest
12+
* @since 0.5
13+
*
14+
* TODO move to org.nodeclipse.core.nature
15+
*/
16+
public class CoffeeNature implements IProjectNature {
17+
18+
/**
19+
* ID of this project nature
20+
*/
21+
public static final String NATURE_ID = "org.nodeclipse.core.CoffeeNature";
22+
23+
private IProject project;
24+
25+
/*
26+
* (non-Javadoc)
27+
*
28+
* @see org.eclipse.core.resources.IProjectNature#configure()
29+
*/
30+
public void configure() throws CoreException {
31+
32+
}
33+
34+
/*
35+
* (non-Javadoc)
36+
*
37+
* @see org.eclipse.core.resources.IProjectNature#deconfigure()
38+
*/
39+
public void deconfigure() throws CoreException {
40+
41+
}
42+
43+
/*
44+
* (non-Javadoc)
45+
*
46+
* @see org.eclipse.core.resources.IProjectNature#getProject()
47+
*/
48+
public IProject getProject() {
49+
return project;
50+
}
51+
52+
/*
53+
* (non-Javadoc)
54+
*
55+
* @see org.eclipse.core.resources.IProjectNature#setProject(org.eclipse.core.resources.IProject)
56+
*/
57+
public void setProject(IProject project) {
58+
this.project = project;
59+
}
60+
61+
}
Lines changed: 146 additions & 0 deletions

0 commit comments

Comments
 (0)