public class ExternalProjectsWorkspaceImpl extends java.lang.Object implements PersistentStateComponent<com.intellij.openapi.externalSystem.service.project.ExternalProjectsWorkspaceImpl.State>
Modifier and Type | Class and Description |
---|---|
static interface |
ExternalProjectsWorkspaceImpl.Contributor |
Constructor and Description |
---|
ExternalProjectsWorkspaceImpl() |
Modifier and Type | Method and Description |
---|---|
ModifiableWorkspace |
createModifiableWorkspace(AbstractIdeModifiableModelsProvider modelsProvider) |
com.intellij.openapi.externalSystem.service.project.ExternalProjectsWorkspaceImpl.State |
getState() |
static boolean |
isDependencySubstitutionEnabled() |
void |
loadState(com.intellij.openapi.externalSystem.service.project.ExternalProjectsWorkspaceImpl.State state)
This method is called when new component state is loaded.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
initializeComponent, noStateLoaded
public com.intellij.openapi.externalSystem.service.project.ExternalProjectsWorkspaceImpl.State getState()
getState
in interface PersistentStateComponent<com.intellij.openapi.externalSystem.service.project.ExternalProjectsWorkspaceImpl.State>
null
value indicates
that the returned state won't be stored, as a result previously stored state will be used.XmlSerializer
public void loadState(com.intellij.openapi.externalSystem.service.project.ExternalProjectsWorkspaceImpl.State state)
PersistentStateComponent
State object should be used directly, defensive copying is not required.
loadState
in interface PersistentStateComponent<com.intellij.openapi.externalSystem.service.project.ExternalProjectsWorkspaceImpl.State>
state
- loaded component stateXmlSerializerUtil.copyBean(Object, Object)
public static boolean isDependencySubstitutionEnabled()
public ModifiableWorkspace createModifiableWorkspace(AbstractIdeModifiableModelsProvider modelsProvider)