com.ibm.ftt.projects.core.logical
Class LogicalSubProjectNatureManager

java.lang.Object
  extended by com.ibm.ftt.projects.core.logical.LogicalSubProjectNatureManager

public class LogicalSubProjectNatureManager
extends Object


Field Summary
static String COPY_RIGHT
           
 
Constructor Summary
LogicalSubProjectNatureManager()
           
 
Method Summary
 void configureNature(ILogicalSubProject subProject, String natureId)
          Sets up the nature so that it can be applied to a subproject.
 void deConfigureNature(ILogicalSubProject subProject, String natureId)
          Removes a nature from a subproject.
static LogicalSubProjectNatureManager getManager()
          Returns the singleton instance for this manager which should be used to configure and deconfigure natures for a subproject.
 

Field Detail

COPY_RIGHT

public static final String COPY_RIGHT
See Also:
Constant Field Values
Constructor Detail

LogicalSubProjectNatureManager

public LogicalSubProjectNatureManager()
Method Detail

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 org.eclipse.core.runtime.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 applied
natureId - a String containing the id of the nature
Throws:
org.eclipse.core.runtime.CoreException
See Also:
ILogicalSubProjectNature.configure(), ILogicalSubProject.addNatureId(String)

deConfigureNature

public void deConfigureNature(ILogicalSubProject subProject,
                              String natureId)
                       throws org.eclipse.core.runtime.CoreException
Removes a nature from a subproject.

Parameters:
subProject - the ILogicalSubProject from which the nature is to be removed
natureId - a String containing the id of the nature
Throws:
org.eclipse.core.runtime.CoreException
See Also:
ILogicalSubProjectNature.deconfigure(), ILogicalSubProject.removeNatureId(String)