public class ProjectAttachProcessor
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static ExtensionPointName<ProjectAttachProcessor> |
EP_NAME |
| Constructor and Description |
|---|
ProjectAttachProcessor() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
attachToProject(Project project,
java.nio.file.Path projectDir,
ProjectOpenedCallback callback)
Called to attach the directory projectDir as a module to the specified project.
|
void |
beforeDetach(Module module) |
static boolean |
canAttachToProject() |
public static final ExtensionPointName<ProjectAttachProcessor> EP_NAME
public boolean attachToProject(Project project, java.nio.file.Path projectDir, ProjectOpenedCallback callback)
project - the project to attach the directory to.projectDir - the directory to attach.callback - the callback to call on successful attachmentpublic void beforeDetach(Module module)
public static boolean canAttachToProject()