use of org.jetbrains.plugins.gradle.ui.GradleProjectCompositeSelectorDialog in project intellij-community by JetBrains.
the class GradleOpenProjectCompositeConfigurationAction method actionPerformed.
@Override
public void actionPerformed(AnActionEvent e) {
final Project project = getProject(e);
if (project == null)
return;
final ProjectNode projectNode = ExternalSystemDataKeys.SELECTED_PROJECT_NODE.getData(e.getDataContext());
if (projectNode == null || projectNode.getData() == null)
return;
new GradleProjectCompositeSelectorDialog(project, projectNode.getData().getLinkedExternalProjectPath()).showAndGet();
}
Aggregations