com.ibm.ftt.projects.core.logical
Interface ILogicalSubProjectNature

All Known Implementing Classes:
BatchRuntimeNature, CICSRuntimeNature, IMSRuntimeNature, RuntimeNature, ZOSNature

public interface ILogicalSubProjectNature

A nature that can be associated with a subproject. Each nature is identified by a nature id which is defined via com.ibm.ftt.projects.core.natures extension point.

A nature can be used to associate an appropriate builder with the subproject, and can also be used for filtering contributed actions and other user interface elements.


Field Summary
static String COPY_RIGHT
           
 
Method Summary
 void configure()
          Configures this nature for its subproject, for example, by adding the associated builders to the subproject.
 void deconfigure()
          Unconfigures this nature for its subproject, for example, by removing the associated builders from the subproject.
 ILogicalSubProject getSubProject()
          Returns the subproject to which this subproject nature applies.
 void setSubProject(ILogicalSubProject subProject)
          Sets the subproject to which this nature applies.
 

Field Detail

COPY_RIGHT

static final String COPY_RIGHT
See Also:
Constant Field Values
Method Detail

configure

void configure()
               throws org.eclipse.core.runtime.CoreException
Configures this nature for its subproject, for example, by adding the associated builders to the subproject.

Throws:
org.eclipse.core.runtime.CoreException - if this method fails.

deconfigure

void deconfigure()
                 throws org.eclipse.core.runtime.CoreException
Unconfigures this nature for its subproject, for example, by removing the associated builders from the subproject.

Throws:
org.eclipse.core.runtime.CoreException - if this method fails.

getSubProject

ILogicalSubProject getSubProject()
Returns the subproject to which this subproject nature applies.

Returns:
the ILogicalSubProject associated with this nature

setSubProject

void setSubProject(ILogicalSubProject subProject)
Sets the subproject to which this nature applies.

Parameters:
subProject - the ILogicalSubProject to which this nature applies