|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.core.internal.resources.NatureManager
public class NatureManager
Maintains collection of known nature descriptors, and implements nature-related algorithms provided by the workspace.
Method Summary | |
---|---|
void |
configureNatures(Project project,
ProjectDescription oldDescription,
ProjectDescription newDescription,
org.eclipse.core.runtime.MultiStatus status)
Configures the natures for the given project. |
java.lang.String |
findNatureForBuilder(java.lang.String builderID)
Returns the ID of the project nature that claims ownership of the builder with the given ID. |
IProjectNatureDescriptor |
getNatureDescriptor(java.lang.String natureId)
|
IProjectNatureDescriptor[] |
getNatureDescriptors()
|
void |
handleEvent(LifecycleEvent event)
|
boolean |
isNatureEnabled(Project project,
java.lang.String id)
|
void |
shutdown(org.eclipse.core.runtime.IProgressMonitor monitor)
|
java.lang.String[] |
sortNatureSet(java.lang.String[] natureIds)
|
void |
startup(org.eclipse.core.runtime.IProgressMonitor monitor)
|
org.eclipse.core.runtime.IStatus |
validateLinkCreation(java.lang.String[] natureIds)
Validates whether a project with the given set of natures should allow linked resources. |
org.eclipse.core.runtime.IStatus |
validateNatureSet(java.lang.String[] natureIds)
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public IProjectNatureDescriptor getNatureDescriptor(java.lang.String natureId)
public IProjectNatureDescriptor[] getNatureDescriptors()
public void handleEvent(LifecycleEvent event)
handleEvent
in interface ILifecycleListener
public void configureNatures(Project project, ProjectDescription oldDescription, ProjectDescription newDescription, org.eclipse.core.runtime.MultiStatus status)
public java.lang.String findNatureForBuilder(java.lang.String builderID)
public boolean isNatureEnabled(Project project, java.lang.String id)
public void shutdown(org.eclipse.core.runtime.IProgressMonitor monitor)
shutdown
in interface IManager
public java.lang.String[] sortNatureSet(java.lang.String[] natureIds)
public void startup(org.eclipse.core.runtime.IProgressMonitor monitor)
startup
in interface IManager
public org.eclipse.core.runtime.IStatus validateLinkCreation(java.lang.String[] natureIds)
public org.eclipse.core.runtime.IStatus validateNatureSet(java.lang.String[] natureIds)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |