public class CoreProjectEnvironment
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected FileIndexFacade |
myFileIndexFacade |
protected MessageBus |
myMessageBus |
protected MockProject |
myProject |
protected PsiManagerImpl |
myPsiManager |
Constructor and Description |
---|
CoreProjectEnvironment(Disposable parentDisposable,
CoreApplicationEnvironment applicationEnvironment) |
Modifier and Type | Method and Description |
---|---|
<T> void |
addProjectExtension(ExtensionPointName<T> name,
T extension) |
protected FileIndexFacade |
createFileIndexFacade() |
protected MockProject |
createProject(PicoContainer parent,
Disposable parentDisposable) |
protected ProjectScopeBuilder |
createProjectScopeBuilder() |
protected ResolveScopeManager |
createResolveScopeManager(PsiManager psiManager) |
CoreApplicationEnvironment |
getEnvironment() |
Disposable |
getParentDisposable() |
MockProject |
getProject() |
protected void |
preregisterServices() |
<T> void |
registerProjectComponent(java.lang.Class<T> interfaceClass,
T implementation) |
<T> void |
registerProjectExtensionPoint(ExtensionPointName<T> extensionPointName,
java.lang.Class<? extends T> aClass) |
protected final FileIndexFacade myFileIndexFacade
protected final PsiManagerImpl myPsiManager
protected final MockProject myProject
protected final MessageBus myMessageBus
public CoreProjectEnvironment(Disposable parentDisposable, CoreApplicationEnvironment applicationEnvironment)
protected MockProject createProject(PicoContainer parent, Disposable parentDisposable)
protected ProjectScopeBuilder createProjectScopeBuilder()
protected void preregisterServices()
protected FileIndexFacade createFileIndexFacade()
protected ResolveScopeManager createResolveScopeManager(PsiManager psiManager)
public <T> void registerProjectExtensionPoint(ExtensionPointName<T> extensionPointName, java.lang.Class<? extends T> aClass)
public <T> void addProjectExtension(ExtensionPointName<T> name, T extension)
public <T> void registerProjectComponent(java.lang.Class<T> interfaceClass, T implementation)
public Disposable getParentDisposable()
public CoreApplicationEnvironment getEnvironment()
public MockProject getProject()