public class TemplateModuleBuilder extends ModuleBuilder
ModuleBuilder.ModuleConfigurationUpdater
EP_NAME, myJdk
Constructor and Description |
---|
TemplateModuleBuilder(ArchivedProjectTemplate template,
ModuleType<?> moduleType,
java.util.List<WizardInputField<?>> additionalFields) |
Modifier and Type | Method and Description |
---|---|
Module |
commitModule(Project project,
ModifiableModuleModel model) |
ModuleWizardStep[] |
createFinishingSteps(WizardContext wizardContext,
ModulesProvider modulesProvider) |
Module |
createModule(ModifiableModuleModel moduleModel) |
Project |
createProject(java.lang.String name,
java.lang.String path) |
ModuleWizardStep[] |
createWizardSteps(WizardContext wizardContext,
ModulesProvider modulesProvider) |
protected java.util.List<WizardInputField<?>> |
getAdditionalFields() |
java.lang.String |
getBuilderId() |
ModuleType<?> |
getModuleType() |
javax.swing.Icon |
getNodeIcon() |
boolean |
isSuitableSdkType(SdkTypeId sdkType) |
boolean |
isTemplateBased() |
acceptParameter, addListener, addModuleConfigurationUpdater, canCreateModule, commit, createAndCommitIfNeeded, deleteModuleFile, doAddContentEntry, getAllBuilders, getContentEntryPath, getDefaultAcceptableRole, getDescription, getGroupName, getIgnoredSteps, getModuleFileDirectory, getModuleFilePath, getModuleJdk, getModuleTypeName, getName, getParentGroup, getPresentableName, getProjectType, getWeight, isAvailable, isTemplate, modifyProjectTypeStep, modifySettingsStep, modifyStep, removeListener, setContentEntryPath, setModuleFilePath, setModuleJdk, setName, setProjectType, setupModule, setupRootModel, updateFrom
equals, getCustomOptionsStep, validateModuleName
cleanup, commit, isOpenProjectSettingsAfter, isSuitableSdk, isUpdate, validate
public TemplateModuleBuilder(ArchivedProjectTemplate template, ModuleType<?> moduleType, java.util.List<WizardInputField<?>> additionalFields)
public ModuleWizardStep[] createWizardSteps(WizardContext wizardContext, ModulesProvider modulesProvider)
createWizardSteps
in class ModuleBuilder
public ModuleWizardStep[] createFinishingSteps(WizardContext wizardContext, ModulesProvider modulesProvider)
createFinishingSteps
in class AbstractModuleBuilder
protected java.util.List<WizardInputField<?>> getAdditionalFields()
getAdditionalFields
in class ModuleBuilder
public Module commitModule(Project project, ModifiableModuleModel model)
commitModule
in class ModuleBuilder
public java.lang.String getBuilderId()
getBuilderId
in class ModuleBuilder
public ModuleType<?> getModuleType()
getModuleType
in class ModuleBuilder
public javax.swing.Icon getNodeIcon()
getNodeIcon
in class ModuleBuilder
public boolean isTemplateBased()
isTemplateBased
in class ModuleBuilder
public Module createModule(ModifiableModuleModel moduleModel) throws InvalidDataException, java.io.IOException, ModuleWithNameAlreadyExists, JDOMException, ConfigurationException
createModule
in class ModuleBuilder
InvalidDataException
java.io.IOException
ModuleWithNameAlreadyExists
JDOMException
ConfigurationException
public boolean isSuitableSdkType(SdkTypeId sdkType)
isSuitableSdkType
in class ProjectBuilder
public Project createProject(java.lang.String name, java.lang.String path)
createProject
in class ProjectBuilder