public abstract class ProjectImportProvider
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected ProjectImportBuilder |
myBuilder |
static ExtensionPointName<ProjectImportProvider> |
PROJECT_IMPORT_PROVIDER |
Modifier | Constructor and Description |
---|---|
protected |
ProjectImportProvider() |
protected |
ProjectImportProvider(ProjectImportBuilder builder) |
Modifier and Type | Method and Description |
---|---|
void |
addSteps(StepSequence sequence,
WizardContext context,
java.lang.String id) |
boolean |
canCreateNewProject() |
boolean |
canImport(VirtualFile fileOrDirectory,
Project project) |
protected boolean |
canImportFromFile(VirtualFile file) |
boolean |
canImportModule() |
ModuleWizardStep[] |
createSteps(WizardContext context) |
protected ProjectImportBuilder |
doGetBuilder() |
ProjectImportBuilder |
getBuilder() |
static java.lang.String |
getDefaultPath(VirtualFile file) |
java.lang.String |
getFileSample() |
javax.swing.Icon |
getIcon() |
java.lang.String |
getId() |
java.lang.String |
getName() |
java.lang.String |
getPathToBeImported(VirtualFile file) |
public static final ExtensionPointName<ProjectImportProvider> PROJECT_IMPORT_PROVIDER
protected ProjectImportBuilder myBuilder
protected ProjectImportProvider(ProjectImportBuilder builder)
protected ProjectImportProvider()
protected ProjectImportBuilder doGetBuilder()
public final ProjectImportBuilder getBuilder()
public java.lang.String getId()
public java.lang.String getName()
public javax.swing.Icon getIcon()
public boolean canImport(VirtualFile fileOrDirectory, Project project)
protected boolean canImportFromFile(VirtualFile file)
public java.lang.String getPathToBeImported(VirtualFile file)
public static java.lang.String getDefaultPath(VirtualFile file)
public boolean canCreateNewProject()
public boolean canImportModule()
public void addSteps(StepSequence sequence, WizardContext context, java.lang.String id)
public ModuleWizardStep[] createSteps(WizardContext context)
public java.lang.String getFileSample()