Package jetbrains.mps.components
Interface ComponentHost
- 
- All Known Subinterfaces:
 Platform
- All Known Implementing Classes:
 MPSCore,MPSFindUsages,MPSGenerator,MPSMake,MPSPersistence,MPSTypesystem
public interface ComponentHostThis is a group of components at a given layer of initialization. At the moment, there's only 1, application-wide layer (aka j.m.core.platform.Platform).ComponentPluginplugsCoreComponentand expose any/all of them through API ofComponentHost. In the future, however, we might want to make Project aComponentHostas well, and provide means to publish own components into layers (publish/withdraw). This is an attempt to fill the gaps in component story.- Since:
 - 3.4
 
 
- 
- 
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description <T extends CoreComponent>
TfindComponent(Class<T> componentClass) 
 - 
 
- 
- 
Method Detail
- 
findComponent
@Nullable <T extends CoreComponent> T findComponent(@NotNull Class<T> componentClass)
- Returns:
 - instance of specified component, if known to the host.
 
 
 - 
 
 -