public abstract class ProjectManagerEx extends ProjectManager
TOPIC
Constructor and Description |
---|
ProjectManagerEx() |
Modifier and Type | Method and Description |
---|---|
void |
blockReloadingProjectOnExternalChanges()
Deprecated.
Use
StoreReloadManager#blockReloadingProjectOnExternalChanges() |
abstract boolean |
canClose(Project project) |
abstract boolean |
closeAndDispose(Project project)
Save, close and dispose project.
|
abstract boolean |
closeAndDisposeAllProjects(boolean checkCanClose) |
Project |
createProject(java.lang.String name,
java.lang.String path)
Create new project in given location.
|
abstract Project |
findOpenProjectByHash(java.lang.String locationHash) |
abstract boolean |
forceCloseProject(Project project)
The project and the app settings will be not saved.
|
abstract java.lang.String [] |
getAllExcludedUrls() |
static ProjectManagerEx |
getInstanceEx() |
static ProjectManagerEx |
getInstanceExIfCreated() |
abstract boolean |
isDefaultProjectInitialized() |
abstract boolean |
isProjectOpened(Project project) |
Project |
loadProject(java.nio.file.Path path) |
abstract Project |
loadProject(java.nio.file.Path file,
java.lang.String projectName) |
Project |
loadProject(java.lang.String filePath)
Deprecated.
|
abstract Project |
newProject(java.nio.file.Path file,
java.lang.String projectName,
OpenProjectTask options) |
abstract Project |
newProject(java.lang.String projectName,
java.lang.String filePath,
boolean useDefaultProjectSettings,
boolean isDummy) |
Project |
newProjectForTest(java.nio.file.Path file,
Disposable parentDisposable) |
abstract boolean |
openProject(Project project) |
abstract void |
openTestProject(Project project) |
void |
unblockReloadingProjectOnExternalChanges()
Deprecated.
Use
StoreReloadManager#blockReloadingProjectOnExternalChanges() |
addProjectManagerListener, addProjectManagerListener, addProjectManagerListener, addProjectManagerListener, closeProject, getDefaultProject, getInstance, getInstanceIfCreated, getOpenProjects, loadAndOpenProject, loadAndOpenProject, loadAndOpenProject, reloadProject, removeProjectManagerListener, removeProjectManagerListener, removeProjectManagerListener
public static ProjectManagerEx getInstanceEx()
public static ProjectManagerEx getInstanceExIfCreated()
public abstract Project newProject(java.lang.String projectName, java.lang.String filePath, boolean useDefaultProjectSettings, boolean isDummy)
filePath
- path to .ipr file or directory where .idea directory is locatedpublic final Project newProjectForTest(java.nio.file.Path file, Disposable parentDisposable)
public abstract Project newProject(java.nio.file.Path file, java.lang.String projectName, OpenProjectTask options)
@Deprecated public final Project loadProject(java.lang.String filePath)
loadProject(Path)
public final Project loadProject(java.nio.file.Path path)
public abstract Project loadProject(java.nio.file.Path file, java.lang.String projectName)
public abstract boolean openProject(Project project)
public abstract boolean isDefaultProjectInitialized()
public abstract boolean isProjectOpened(Project project)
public abstract boolean canClose(Project project)
@Deprecated public final void blockReloadingProjectOnExternalChanges()
StoreReloadManager#blockReloadingProjectOnExternalChanges()
@Deprecated public final void unblockReloadingProjectOnExternalChanges()
StoreReloadManager#blockReloadingProjectOnExternalChanges()
public abstract void openTestProject(Project project)
public abstract boolean forceCloseProject(Project project)
public abstract boolean closeAndDisposeAllProjects(boolean checkCanClose)
public abstract boolean closeAndDispose(Project project)
public Project createProject(java.lang.String name, java.lang.String path)
ProjectManager
createProject
in class ProjectManager
name
- project namepath
- project locationpublic abstract Project findOpenProjectByHash(java.lang.String locationHash)
public abstract java.lang.String [] getAllExcludedUrls()