com.ibm.ftt.projects.core.logical
Class LogicalSubProjectNatureManager
java.lang.Object
com.ibm.ftt.projects.core.logical.LogicalSubProjectNatureManager
public class LogicalSubProjectNatureManager
- extends Object
COPY_RIGHT
public static final String COPY_RIGHT
- See Also:
- Constant Field Values
LogicalSubProjectNatureManager
public LogicalSubProjectNatureManager()
getManager
public static LogicalSubProjectNatureManager getManager()
- Returns the singleton instance for this manager which should be used to
configure and deconfigure natures for a subproject.
- Returns:
- the
LogicalSubProjectNatureManager
configureNature
public void configureNature(ILogicalSubProject subProject,
String natureId)
throws CoreException
- Sets up the nature so that it can be applied to a subproject.
- Parameters:
subProject - the ILogicalSubProject to which the nature is to be
appliednatureId - a String containing the id of the nature
- Throws:
CoreException- See Also:
ILogicalSubProjectNature.configure(),
ILogicalSubProject.addNatureId(String)
deConfigureNature
public void deConfigureNature(ILogicalSubProject subProject,
String natureId)
throws CoreException
- Removes a nature from a subproject.
- Parameters:
subProject - the ILogicalSubProject from which the nature is to be
removednatureId - a String containing the id of the nature
- Throws:
CoreException- See Also:
ILogicalSubProjectNature.deconfigure(),
ILogicalSubProject.removeNatureId(String)