Search in sources :

Example 1 with EditorNotifications

use of com.intellij.ui.EditorNotifications in project intellij-community by JetBrains.

the class NonProjectFileAccessTest method setUp.

@Override
public void setUp() throws Exception {
    super.setUp();
    EditorNotifications notifications = new EditorNotificationsImpl(getProject());
    ((ComponentManagerImpl) getProject()).registerComponentInstance(EditorNotifications.class, notifications);
    NonProjectFileWritingAccessProvider.enableChecksInTests(getProject());
    ProjectManagerEx.getInstanceEx().blockReloadingProjectOnExternalChanges();
}
Also used : EditorNotifications(com.intellij.ui.EditorNotifications) EditorNotificationsImpl(com.intellij.ui.EditorNotificationsImpl) ComponentManagerImpl(com.intellij.openapi.components.impl.ComponentManagerImpl)

Aggregations

ComponentManagerImpl (com.intellij.openapi.components.impl.ComponentManagerImpl)1 EditorNotifications (com.intellij.ui.EditorNotifications)1 EditorNotificationsImpl (com.intellij.ui.EditorNotificationsImpl)1