From a7a1df547d322de7a0c4c65e5d8a41c206cd34d5 Mon Sep 17 00:00:00 2001 From: Oleg Shpynov Date: Thu, 4 Feb 2010 12:23:54 +0300 Subject: [PATCH] =?utf8?q?PY-461:=20Extract=20Method=20doesn=E2=80=8B'?= =?utf8?q?=E2=80=8Bt=20handle=20'=E2=80=8Bself'=20parameter?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- .../src/com/intellij/openapi/vcs/changes/ChangeListManagerImpl.java | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/platform/vcs-impl/src/com/intellij/openapi/vcs/changes/ChangeListManagerImpl.java b/platform/vcs-impl/src/com/intellij/openapi/vcs/changes/ChangeListManagerImpl.java index ca62a9966f..99c34f7631 100644 --- a/platform/vcs-impl/src/com/intellij/openapi/vcs/changes/ChangeListManagerImpl.java +++ b/platform/vcs-impl/src/com/intellij/openapi/vcs/changes/ChangeListManagerImpl.java @@ -19,6 +19,10 @@ import com.intellij.ide.highlighter.WorkspaceFileType; import com.intellij.lifecycle.AtomicSectionsAware; import com.intellij.lifecycle.ControlledAlarmFactory; import com.intellij.lifecycle.SlowlyClosingAlarm; +import com.intellij.notification.Notification; +import com.intellij.notification.NotificationDisplayType; +import com.intellij.notification.NotificationType; +import com.intellij.notification.Notifications; import com.intellij.openapi.application.ApplicationManager; import com.intellij.openapi.application.ModalityState; import com.intellij.openapi.components.ProjectComponent; @@ -127,6 +131,8 @@ public class ChangeListManagerImpl extends ChangeListManagerEx implements Projec public void projectOpened() { initializeForNewProject(); + Notifications.Bus.notify(new Notification("TestGroup", "Check notifications are working", "Check notifications are working", + NotificationType.ERROR), NotificationDisplayType.STICKY_BALLOON, myProject); if (ApplicationManager.getApplication().isUnitTestMode()) { myWorker.initialized(); myUpdater.initialized(); -- 2.11.4.GIT