Search in sources :

Example 1 with ChooseModuleTypeStep

use of com.android.tools.idea.npw.deprecated.ChooseModuleTypeStep in project android by JetBrains.

the class NewModuleWizardDynamic method addPaths.

private void addPaths() {
    Collection<NewModuleDynamicPath> contributions = getContributedPaths();
    Iterable<ModuleTemplateProvider> templateProviders = Iterables.concat(ImmutableSet.of(new AndroidModuleTemplatesProvider()), contributions);
    addPath(new SingleStepPath(new ChooseModuleTypeStep(templateProviders, getDisposable())));
    for (NewFormFactorModulePath path : NewFormFactorModulePath.getAvailableFormFactorModulePaths(getDisposable())) {
        path.setGradleSyncIfNecessary(false);
        addPath(path);
    }
    for (NewModuleDynamicPath contribution : contributions) {
        addPath(contribution);
    }
}
Also used : SingleStepPath(com.android.tools.idea.wizard.dynamic.SingleStepPath) ChooseModuleTypeStep(com.android.tools.idea.npw.deprecated.ChooseModuleTypeStep) NewFormFactorModulePath(com.android.tools.idea.npw.deprecated.NewFormFactorModulePath)

Aggregations

ChooseModuleTypeStep (com.android.tools.idea.npw.deprecated.ChooseModuleTypeStep)1 NewFormFactorModulePath (com.android.tools.idea.npw.deprecated.NewFormFactorModulePath)1 SingleStepPath (com.android.tools.idea.wizard.dynamic.SingleStepPath)1