public interface IProjectNature
Clients may implement this interface.
Modifier and Type | Method and Description |
---|---|
void |
configure()
Configures this nature for its project.
|
void |
deconfigure()
De-configures this nature for its project.
|
IProject |
getProject()
Returns the project to which this project nature applies.
|
void |
setProject(IProject project)
Sets the project to which this nature applies.
|
void configure() throws CoreException
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.CoreException
- if this method fails.void deconfigure() throws CoreException
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.
*CoreException
- if this method fails.IProject getProject()
void setProject(IProject project)
IProject.create()
or
IProject.setDescription()
and should not be called directly by clients.project
- the project to which this nature applies
Copyright (c) 2000, 2015 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.