Java Code Examples for com.intellij.ui.EditorNotifications#Provider
The following examples show how to use
com.intellij.ui.EditorNotifications#Provider .
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: CMakeNotificationFilter.java From intellij with Apache License 2.0 | 5 votes |
public static void overrideProjectExtension(Project project) { ExtensionPoint<EditorNotifications.Provider> ep = Extensions.getArea(project).getExtensionPoint(EDITOR_NOTIFICATIONS_EPNAME); for (EditorNotifications.Provider<?> editorNotificationsProvider : ep.getExtensions()) { if (editorNotificationsProvider instanceof CMakeNotificationProvider) { ep.unregisterExtension(editorNotificationsProvider); } } ep.registerExtension(new CMakeNotificationFilter(project)); }
Example 2
Source File: BaseSdkCompat.java From intellij with Apache License 2.0 | 4 votes |
/** #api193: made public in 2020.1. */ @Nullable public static ProjectExtensionPointName<EditorNotifications.Provider<?>> getEditorNotificationsEp() { return null; }
Example 3
Source File: BaseSdkCompat.java From intellij with Apache License 2.0 | 4 votes |
/** #api193: made public in 2020.1. */ public static ProjectExtensionPointName<EditorNotifications.Provider<?>> getEditorNotificationsEp() { return EditorNotificationsImpl.EP_PROJECT; }