|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ComponentManager
Provides access to components. Servers as a base interface for Application
and Project.
ApplicationComponent,
ProjectComponent,
Application,
Project| Method Summary | ||
|---|---|---|
|
getComponent(java.lang.Class<T> interfaceClass)
Gets the component by its interface class. |
|
|
getComponent(java.lang.Class<T> interfaceClass,
T defaultImplementationIfAbsent)
Gets the component by its interface class but returns a specified default implementation if the actualt component doesn't exist in the container. |
|
BaseComponent |
getComponent(java.lang.String name)
Gets the component by its name |
|
java.lang.Class[] |
getComponentInterfaces()
Gets interface classes for all available components. |
|
|
getComponents(java.lang.Class<T> baseInterfaceClass)
Gets all components whose interface class is derived from baseInterfaceClass. |
|
org.picocontainer.PicoContainer |
getPicoContainer()
|
|
boolean |
hasComponent(java.lang.Class interfaceClass)
Checks whether there is a component with the specified interface class. |
|
| Methods inherited from interface com.intellij.openapi.util.UserDataHolder |
|---|
getUserData, putUserData |
| Method Detail |
|---|
BaseComponent getComponent(java.lang.String name)
name - the name of the component
<T> T getComponent(java.lang.Class<T> interfaceClass)
interfaceClass - the interface class of the component
<T> T getComponent(java.lang.Class<T> interfaceClass,
T defaultImplementationIfAbsent)
interfaceClass - the interface class of the componentdefaultImplementationIfAbsent - the default implementation
java.lang.Class[] getComponentInterfaces()
boolean hasComponent(java.lang.Class interfaceClass)
interfaceClass - interface class of component to be checked
true if there is a component with the specified interface class;
false otherwise<T> T[] getComponents(java.lang.Class<T> baseInterfaceClass)
baseInterfaceClass.
baseInterfaceClass - base class
org.picocontainer.PicoContainer getPicoContainer()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||