Package jetbrains.mps.core.platform
Class MPSCore
- java.lang.Object
 - 
- jetbrains.mps.components.ComponentPlugin
 - 
- jetbrains.mps.core.platform.MPSCore
 
 
 
- 
- All Implemented Interfaces:
 ComponentHost
public final class MPSCore extends ComponentPlugin implements ComponentHost
Core MPS functionality layer. Non-instantiable now, the only way to create MPS is viajetbrains.mps.core.platform.PlatformFactory. XXX Now is the only reasonableComponentHostimplementation, although any ComponentPlugin could be CH (and do this in a generic way, just need to record initialized instances and look them up inComponentHost.findComponent(Class)implementation. 
- 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddispose()<T extends CoreComponent>
TfindComponent(Class<T> componentClass)ClassLoaderManagergetClassLoaderManager()LanguageRegistrygetLanguageRegistry()FacetsFacadegetModuleFacetRegistry()PersistenceFacadegetPersistenceFacade()voidinit()- 
Methods inherited from class jetbrains.mps.components.ComponentPlugin
init 
 - 
 
 - 
 
- 
- 
Method Detail
- 
init
public void init()
- Overrides:
 initin classComponentPlugin
 
- 
dispose
public void dispose()
- Overrides:
 disposein classComponentPlugin
 
- 
getClassLoaderManager
@NotNull public ClassLoaderManager getClassLoaderManager()
 
- 
getPersistenceFacade
@NotNull public PersistenceFacade getPersistenceFacade()
 
- 
getLanguageRegistry
@NotNull public LanguageRegistry getLanguageRegistry()
 
- 
getModuleFacetRegistry
public FacetsFacade getModuleFacetRegistry()
 
- 
findComponent
@Nullable public <T extends CoreComponent> T findComponent(@NotNull Class<T> componentClass)
- Specified by:
 findComponentin interfaceComponentHost- Returns:
 - instance of specified component, if known to the host.
 
 
 - 
 
 -