public class ProjectDataManagerImpl extends java.lang.Object implements ProjectDataManager
registered data services
and provides entry points for project data management.Constructor and Description |
---|
ProjectDataManagerImpl() |
Modifier and Type | Method and Description |
---|---|
void |
ensureTheDataIsReadyToUse(DataNode startNode) |
java.util.List<ProjectDataService<?,?>> |
findService(Key<?> key) |
ExternalProjectInfo |
getExternalProjectData(Project project,
ProjectSystemId projectSystemId,
java.lang.String externalProjectPath) |
java.util.Collection<ExternalProjectInfo> |
getExternalProjectsData(Project project,
ProjectSystemId projectSystemId) |
static ProjectDataManagerImpl |
getInstance() |
void |
importData(java.util.Collection<DataNode<?>> nodes,
Project project,
IdeModifiableModelsProvider modelsProvider,
boolean synchronous) |
<T> void |
importData(java.util.Collection<DataNode<T>> nodes,
Project project,
boolean synchronous) |
<T> void |
importData(DataNode<T> node,
Project project,
boolean synchronous) |
<T> void |
importData(DataNode<T> node,
Project project,
IdeModifiableModelsProvider modelsProvider,
boolean synchronous) |
<E,I> void |
removeData(Key<E> key,
java.util.Collection<I> toRemove,
java.util.Collection<DataNode<E>> toIgnore,
ProjectData projectData,
Project project,
boolean synchronous) |
<E,I> void |
removeData(Key<E> key,
java.util.Collection<I> toRemove,
java.util.Collection<DataNode<E>> toIgnore,
ProjectData projectData,
Project project,
IdeModifiableModelsProvider modelsProvider,
boolean synchronous) |
void |
updateExternalProjectData(Project project,
ExternalProjectInfo externalProjectInfo) |
public static ProjectDataManagerImpl getInstance()
getInstance
in interface ProjectDataManager
public java.util.List<ProjectDataService<?,?>> findService(Key<?> key)
findService
in interface ProjectDataManager
public void importData(java.util.Collection<DataNode<?>> nodes, Project project, IdeModifiableModelsProvider modelsProvider, boolean synchronous)
importData
in interface ProjectDataManager
public <T> void importData(java.util.Collection<DataNode<T>> nodes, Project project, boolean synchronous)
importData
in interface ProjectDataManager
public <T> void importData(DataNode<T> node, Project project, IdeModifiableModelsProvider modelsProvider, boolean synchronous)
importData
in interface ProjectDataManager
public <T> void importData(DataNode<T> node, Project project, boolean synchronous)
importData
in interface ProjectDataManager
public void ensureTheDataIsReadyToUse(DataNode startNode)
ensureTheDataIsReadyToUse
in interface ProjectDataManager
public <E,I> void removeData(Key<E> key, java.util.Collection<I> toRemove, java.util.Collection<DataNode<E>> toIgnore, ProjectData projectData, Project project, IdeModifiableModelsProvider modelsProvider, boolean synchronous)
public <E,I> void removeData(Key<E> key, java.util.Collection<I> toRemove, java.util.Collection<DataNode<E>> toIgnore, ProjectData projectData, Project project, boolean synchronous)
public void updateExternalProjectData(Project project, ExternalProjectInfo externalProjectInfo)
public ExternalProjectInfo getExternalProjectData(Project project, ProjectSystemId projectSystemId, java.lang.String externalProjectPath)
getExternalProjectData
in interface ProjectDataManager
public java.util.Collection<ExternalProjectInfo> getExternalProjectsData(Project project, ProjectSystemId projectSystemId)
getExternalProjectsData
in interface ProjectDataManager