com.intellij.openapi.module
Interface ModuleComponent

All Superinterfaces:
BaseComponent
All Known Implementing Classes:
J2EEModuleBuildDescriptor, J2EEModuleProperties

public interface ModuleComponent
extends BaseComponent

Base interface for module-level components. The constructor of the classes implementing this interface can accept as parameters the module instance and any application-, project- or module-level components this component depends on.


Method Summary
 void moduleAdded()
          Invoked when the module corresponding to this component instance has been completely loaded and added to the project.
 void projectClosed()
          Invoked when the project corresponding to this component instance is closed.
 void projectOpened()
          Invoked when the project corresponding to this component instance is opened.
 
Methods inherited from interface com.intellij.openapi.components.BaseComponent
disposeComponent, getComponentName, initComponent
 

Method Detail

projectOpened

void projectOpened()
Invoked when the project corresponding to this component instance is opened.

Note that components may be created for even unopened projects and this method can be never invoked for a particular component instance (for example for default project).


projectClosed

void projectClosed()
Invoked when the project corresponding to this component instance is closed.

Note that components may be created for even unopened projects and this method can be never invoked for a particular component instance (for example for default project).


moduleAdded

void moduleAdded()
Invoked when the module corresponding to this component instance has been completely loaded and added to the project.