|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.eclipse.xtext.builder.nature.XtextNature
public class XtextNature
Constructor Summary | |
---|---|
XtextNature()
|
Method Summary | |
---|---|
void |
configure()
Configures this nature for its project. |
void |
deconfigure()
De-configures this nature for its project. |
org.eclipse.core.resources.IProject |
getProject()
Returns the project to which this project nature applies. |
void |
setProject(org.eclipse.core.resources.IProject project)
Sets the project to which this nature applies. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public XtextNature()
Method Detail |
---|
public void configure() throws org.eclipse.core.runtime.CoreException
org.eclipse.core.resources.IProjectNature
IProject.setDescription
and should not be called directly by clients. The nature extension
id is added to the list of natures before this method is called,
and need not be added here.
Exceptions thrown by this method will be propagated back to the caller
of IProject.setDescription
, but the nature will remain in
the project description.
configure
in interface org.eclipse.core.resources.IProjectNature
org.eclipse.core.runtime.CoreException
- if this method fails.public void deconfigure() throws org.eclipse.core.runtime.CoreException
org.eclipse.core.resources.IProjectNature
IProject.setDescription
and should not be called directly by
clients. The nature extension id is removed from the list of natures before
this method is called, and need not be removed here.
Exceptions thrown by this method will be propagated back to the caller
of IProject.setDescription
, but the nature will still be
removed from the project description.
*
deconfigure
in interface org.eclipse.core.resources.IProjectNature
org.eclipse.core.runtime.CoreException
- if this method fails.public org.eclipse.core.resources.IProject getProject()
org.eclipse.core.resources.IProjectNature
getProject
in interface org.eclipse.core.resources.IProjectNature
public void setProject(org.eclipse.core.resources.IProject project)
org.eclipse.core.resources.IProjectNature
IProject.create()
or
IProject.setDescription()
and should not be called directly by clients.
setProject
in interface org.eclipse.core.resources.IProjectNature
project
- the project to which this nature applies
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |