public class ProjectRootManagerComponent extends ProjectRootManagerImpl implements ProjectComponent, Disposable
ProjectRootManagerImpl.BatchSession
ProjectRootManagerEx.ProjectJdkListener
Disposable.Parent
isFiringEvent, myFileTypesChanged, myProject, myRootsChanged, myStartupActivityPerformed
EVER_CHANGED, NEVER_CHANGED
Constructor and Description |
---|
ProjectRootManagerComponent(Project project) |
Modifier and Type | Method and Description |
---|---|
protected void |
clearScopesCaches() |
void |
clearScopesCachesForModules() |
void |
dispose()
Usually not invoked directly, see class javadoc.
|
protected void |
fireBeforeRootsChangeEvent(boolean fileTypes) |
protected void |
fireRootsChangedEvent(boolean fileTypes) |
VirtualFilePointerListener |
getRootsValidityChangedListener() |
void |
markRootsForRefresh() |
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.
|
addProjectJdkListener, assertListenersAreDisposed, extractLocalPath, getActionToRunWhenProjectJdkChanges, getBatchSession, getContentRoots, getContentRootsFromAllModules, getContentRootUrls, getContentSourceRoots, getFileIndex, getInstanceImpl, getModuleSourceRoots, getProject, getProjectSdk, getProjectSdkName, getProjectSdkTypeName, getState, loadState, makeRootsChange, mergeRootsChangesDuring, noStateLoaded, orderEntries, orderEntries, projectJdkChanged, removeProjectJdkListener, setProjectSdk, setProjectSdkName, setProjectSdkName
getInstanceEx
getInstance
getModificationCount, incModificationCount
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
disposeComponent, initComponent
getComponentName
initializeComponent
public ProjectRootManagerComponent(Project project)
public void projectOpened()
ProjectComponent
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).
projectOpened
in interface ProjectComponent
public void projectClosed()
ProjectComponent
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
in interface ProjectComponent
protected void fireBeforeRootsChangeEvent(boolean fileTypes)
fireBeforeRootsChangeEvent
in class ProjectRootManagerImpl
protected void fireRootsChangedEvent(boolean fileTypes)
fireRootsChangedEvent
in class ProjectRootManagerImpl
protected void clearScopesCaches()
clearScopesCaches
in class ProjectRootManagerImpl
public void clearScopesCachesForModules()
clearScopesCachesForModules
in class ProjectRootManagerImpl
public void markRootsForRefresh()
markRootsForRefresh
in class ProjectRootManagerImpl
public void dispose()
Disposable
dispose
in interface Disposable
public VirtualFilePointerListener getRootsValidityChangedListener()
getRootsValidityChangedListener
in class ProjectRootManagerImpl