use of com.android.tools.idea.npw.deprecated.NewFormFactorModulePath in project android by JetBrains.
the class NewProjectWizardDynamic method addPaths.
/**
* Add the steps for this wizard
*/
private void addPaths() {
addPath(new ConfigureAndroidProjectPath(getDisposable()));
for (NewFormFactorModulePath path : NewFormFactorModulePath.getAvailableFormFactorModulePaths(getDisposable())) {
addPath(path);
}
addPath(new ConfigureCppSupportPath(getDisposable()));
}
use of com.android.tools.idea.npw.deprecated.NewFormFactorModulePath in project android by JetBrains.
the class NewFormFactorModulePathTest method setUp.
@Override
public void setUp() throws Exception {
super.setUp();
myPath = new NewFormFactorModulePath(MOBILE, new File("/"), getTestRootDisposable());
ScopedStateStore wizardState = new ScopedStateStore(WIZARD, null, null);
myPath.setState(new ScopedStateStore(PATH, wizardState, null));
}
use of com.android.tools.idea.npw.deprecated.NewFormFactorModulePath 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);
}
}
Aggregations