Search in sources :

Example 11 with WizardContext

use of com.intellij.ide.util.projectWizard.WizardContext in project intellij by bazelbuild.

the class BlazeEditProjectViewImportWizardStep method updateDataModel.

@Override
public void updateDataModel() {
    BlazeNewProjectBuilder builder = getProjectBuilder();
    control.updateBuilder(builder);
    WizardContext wizardContext = getWizardContext();
    wizardContext.setProjectName(builder.getProjectName());
    wizardContext.setProjectFileDirectory(builder.getProjectDataDirectory());
}
Also used : WizardContext(com.intellij.ide.util.projectWizard.WizardContext)

Aggregations

WizardContext (com.intellij.ide.util.projectWizard.WizardContext)11 Project (com.intellij.openapi.project.Project)4 ModuleWizardStep (com.intellij.ide.util.projectWizard.ModuleWizardStep)3 Disposable (com.intellij.openapi.Disposable)3 VirtualFile (com.intellij.openapi.vfs.VirtualFile)3 NotNull (org.jetbrains.annotations.NotNull)3 StepSequence (com.intellij.ide.util.newProjectWizard.StepSequence)2 SettingsStep (com.intellij.ide.util.projectWizard.SettingsStep)2 ConfigurationException (com.intellij.openapi.options.ConfigurationException)2 ModulesProvider (com.intellij.openapi.roots.ui.configuration.ModulesProvider)2 File (java.io.File)2 ArrayList (java.util.ArrayList)2 ModuleImporter (com.android.tools.idea.gradle.project.ModuleImporter)1 ModelWizardStep (com.android.tools.idea.wizard.model.ModelWizardStep)1 FrameworkSupportInModuleProvider (com.intellij.framework.addSupport.FrameworkSupportInModuleProvider)1 ProjectCategory (com.intellij.ide.projectWizard.ProjectCategory)1 ProjectCategoryUsagesCollector (com.intellij.ide.projectWizard.ProjectCategoryUsagesCollector)1 PropertiesComponent (com.intellij.ide.util.PropertiesComponent)1 FrameworkRole (com.intellij.ide.util.frameworkSupport.FrameworkRole)1 FrameworkSupportUtil (com.intellij.ide.util.frameworkSupport.FrameworkSupportUtil)1