public abstract class ProjectOpenProcessorBase<T extends ProjectImportBuilder<?>> extends ProjectOpenProcessor
EXTENSION_POINT_NAME
Modifier | Constructor and Description |
---|---|
protected |
ProjectOpenProcessorBase() |
protected |
ProjectOpenProcessorBase(T builder)
Deprecated.
Override
doGetBuilder() and use ProjectImportBuilder.EXTENSIONS_POINT_NAME.findExtensionOrFail(yourClass.class) . |
Modifier and Type | Method and Description |
---|---|
protected static boolean |
canOpenFile(VirtualFile file,
java.lang.String [] supported) |
boolean |
canOpenProject(VirtualFile file) |
protected T |
doGetBuilder() |
Project |
doOpenProject(VirtualFile virtualFile,
Project projectToClose,
boolean forceOpenInNewFrame) |
protected boolean |
doQuickImport(VirtualFile file,
WizardContext wizardContext) |
T |
getBuilder() |
javax.swing.Icon |
getIcon() |
java.lang.String |
getName() |
abstract java.lang.String [] |
getSupportedExtensions() |
static java.lang.String |
getUrl(java.lang.String path) |
askConfirmationForOpeningProject, canImportProjectAfterwards, getIcon, getImportProvider, getImportProvider, importProjectAfterwards, isProjectFile, isStrongProjectInfoHolder, lookForProjectsInDirectory
@Deprecated protected ProjectOpenProcessorBase(T builder)
doGetBuilder()
and use ProjectImportBuilder.EXTENSIONS_POINT_NAME.findExtensionOrFail(yourClass.class)
.protected ProjectOpenProcessorBase()
protected T doGetBuilder()
public java.lang.String getName()
getName
in class ProjectOpenProcessor
public javax.swing.Icon getIcon()
getIcon
in class ProjectOpenProcessor
public boolean canOpenProject(VirtualFile file)
canOpenProject
in class ProjectOpenProcessor
protected static boolean canOpenFile(VirtualFile file, java.lang.String [] supported)
protected boolean doQuickImport(VirtualFile file, WizardContext wizardContext)
public T getBuilder()
public abstract java.lang.String [] getSupportedExtensions()
public Project doOpenProject(VirtualFile virtualFile, Project projectToClose, boolean forceOpenInNewFrame)
doOpenProject
in class ProjectOpenProcessor
public static java.lang.String getUrl(java.lang.String path)