summaryrefslogtreecommitdiff
path: root/platform/platform-api/src/com/intellij/notification/NotificationGroup.java
diff options
context:
space:
mode:
Diffstat (limited to 'platform/platform-api/src/com/intellij/notification/NotificationGroup.java')
-rw-r--r--platform/platform-api/src/com/intellij/notification/NotificationGroup.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/platform/platform-api/src/com/intellij/notification/NotificationGroup.java b/platform/platform-api/src/com/intellij/notification/NotificationGroup.java
index 7285a8e1ffd6..df68daff1584 100644
--- a/platform/platform-api/src/com/intellij/notification/NotificationGroup.java
+++ b/platform/platform-api/src/com/intellij/notification/NotificationGroup.java
@@ -66,6 +66,10 @@ public final class NotificationGroup {
return new NotificationGroup(displayId, NotificationDisplayType.TOOL_WINDOW, logByDefault, toolWindowId);
}
+ public static NotificationGroup toolWindowGroup(@NotNull String displayId, @NotNull String toolWindowId) {
+ return toolWindowGroup(displayId, toolWindowId, true);
+ }
+
public String getDisplayId() {
return myDisplayId;
}