public class ExternalProjectsManagerImpl extends java.lang.Object implements ExternalProjectsManager, PersistentStateComponent<ExternalProjectsState>, Disposable
Modifier and Type | Class and Description |
---|---|
static interface |
ExternalProjectsManagerImpl.ExternalProjectsStateProvider |
Disposable.Parent
Constructor and Description |
---|
ExternalProjectsManagerImpl(Project project) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
initializeComponent, noStateLoaded
public ExternalProjectsManagerImpl(Project project)
public static ExternalProjectsManagerImpl getInstance(Project project)
getInstance
in interface ExternalProjectsManager
public void setStoreExternally(boolean value)
public Project getProject()
getProject
in interface ExternalProjectsManager
public ExternalSystemShortcutsManager getShortcutsManager()
public ExternalSystemTaskActivator getTaskActivator()
public ExternalSystemProjectsWatcher getExternalProjectsWatcher()
getExternalProjectsWatcher
in interface ExternalProjectsManager
public void registerView(ExternalProjectsView externalProjectsView)
public ExternalProjectsView getExternalProjectsView(ProjectSystemId systemId)
public void init()
public void refreshProject(java.lang.String externalProjectPath, ImportSpec importSpec)
refreshProject
in interface ExternalProjectsManager
public void runWhenInitialized(java.lang.Runnable runnable)
runWhenInitialized
in interface ExternalProjectsManager
public void updateExternalProjectData(ExternalProjectInfo externalProject)
public void forgetExternalProjectData(ProjectSystemId projectSystemId, java.lang.String linkedProjectPath)
public ExternalProjectsState getState()
getState
in interface PersistentStateComponent<ExternalProjectsState>
null
value indicates
that the returned state won't be stored, as a result previously stored state will be used.XmlSerializer
public ExternalProjectsManagerImpl.ExternalProjectsStateProvider getStateProvider()
public boolean isIgnored(ProjectSystemId systemId, java.lang.String projectPath)
isIgnored
in interface ExternalProjectsManager
public void setIgnored(DataNode<?> dataNode, boolean isIgnored)
setIgnored
in interface ExternalProjectsManager
public void loadState(ExternalProjectsState state)
PersistentStateComponent
State object should be used directly, defensive copying is not required.
loadState
in interface PersistentStateComponent<ExternalProjectsState>
state
- loaded component stateXmlSerializerUtil.copyBean(Object, Object)
public void dispose()
Disposable
dispose
in interface Disposable