Search in sources :

Example 6 with AndroidProjectStructureConfigurable

use of com.android.tools.idea.gradle.structure.AndroidProjectStructureConfigurable in project android by JetBrains.

the class AndroidTemplateProjectStructureAction method actionPerformed.

@Override
public void actionPerformed(final AnActionEvent e) {
    Project project = ProjectManagerEx.getInstanceEx().getDefaultProject();
    AndroidProjectStructureConfigurable configurable = AndroidProjectStructureConfigurable.getInstance(project);
    ShowSettingsUtil settings = ShowSettingsUtil.getInstance();
    settings.editConfigurable(project, SettingsDialog.DIMENSION_KEY, configurable, true);
}
Also used : Project(com.intellij.openapi.project.Project) ShowSettingsUtil(com.intellij.openapi.options.ShowSettingsUtil) AndroidProjectStructureConfigurable(com.android.tools.idea.gradle.structure.AndroidProjectStructureConfigurable)

Example 7 with AndroidProjectStructureConfigurable

use of com.android.tools.idea.gradle.structure.AndroidProjectStructureConfigurable in project android by JetBrains.

the class AndroidProjectSettingsService method openAndSelectDependency.

public void openAndSelectDependency(@NotNull Module module, @NotNull GradleCoordinate dependency) {
    AndroidProjectStructureConfigurable configurable = AndroidProjectStructureConfigurable.getInstance(myProject);
    configurable.showDialogAndSelectDependency(module, dependency);
}
Also used : AndroidProjectStructureConfigurable(com.android.tools.idea.gradle.structure.AndroidProjectStructureConfigurable)

Example 8 with AndroidProjectStructureConfigurable

use of com.android.tools.idea.gradle.structure.AndroidProjectStructureConfigurable in project android by JetBrains.

the class AndroidProjectSettingsService method openSigningConfiguration.

public void openSigningConfiguration(@NotNull Module module) {
    AndroidProjectStructureConfigurable configurable = AndroidProjectStructureConfigurable.getInstance(myProject);
    configurable.showDialogAndOpenSigningConfiguration(module);
}
Also used : AndroidProjectStructureConfigurable(com.android.tools.idea.gradle.structure.AndroidProjectStructureConfigurable)

Aggregations

AndroidProjectStructureConfigurable (com.android.tools.idea.gradle.structure.AndroidProjectStructureConfigurable)8 ShowSettingsUtil (com.intellij.openapi.options.ShowSettingsUtil)1 Project (com.intellij.openapi.project.Project)1