use of com.android.tools.idea.gradle.project.sync.hyperlink.CustomNotificationListener in project android by JetBrains.
the class AndroidGradleNotification method showBalloon.
public void showBalloon(@NotNull String title, @NotNull String text, @NotNull NotificationType type, @NotNull NotificationGroup group, @NotNull NotificationHyperlink... hyperlinks) {
NotificationListener notificationListener = new CustomNotificationListener(myProject, hyperlinks);
String newText = addHyperlinksToText(text, hyperlinks);
showBalloon(title, newText, type, group, notificationListener);
}
use of com.android.tools.idea.gradle.project.sync.hyperlink.CustomNotificationListener in project android by JetBrains.
the class AndroidFacetImporterBase method reportCannotFindAndroidPlatformError.
private static void reportCannotFindAndroidPlatformError(String moduleName, @Nullable String apiLevel, Project project) {
final OpenAndroidSdkManagerHyperlink hyperlink = new OpenAndroidSdkManagerHyperlink();
AndroidUtils.reportImportErrorToEventLog("Cannot find appropriate Android platform" + (apiLevel != null ? " for API level " + apiLevel : "") + ". " + hyperlink.toHtml(), moduleName, project, new CustomNotificationListener(project, hyperlink));
}
Aggregations