From 5e3ccd39f40f4d268ce5826b78b89d408e781c4d Mon Sep 17 00:00:00 2001 From: Dmitry Avdeev Date: Wed, 28 Jan 2015 12:40:30 +0300 Subject: [PATCH] missed DumbAware --- .../devkit/src/testAssistant/TestDataGroupEditorProvider.java | 3 ++- .../com/intellij/uiDesigner/editor/UIFormEditorProvider.java | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/plugins/devkit/src/testAssistant/TestDataGroupEditorProvider.java b/plugins/devkit/src/testAssistant/TestDataGroupEditorProvider.java index 75b17e33dcfc..1096b3fcb7d9 100644 --- a/plugins/devkit/src/testAssistant/TestDataGroupEditorProvider.java +++ b/plugins/devkit/src/testAssistant/TestDataGroupEditorProvider.java @@ -19,6 +19,7 @@ import com.intellij.openapi.fileEditor.FileEditor; import com.intellij.openapi.fileEditor.FileEditorPolicy; import com.intellij.openapi.fileEditor.FileEditorProvider; import com.intellij.openapi.fileEditor.FileEditorState; +import com.intellij.openapi.project.DumbAware; import com.intellij.openapi.project.Project; import com.intellij.openapi.util.Disposer; import com.intellij.openapi.vfs.VirtualFile; @@ -28,7 +29,7 @@ import org.jetbrains.annotations.NotNull; /** * @author yole */ -public class TestDataGroupEditorProvider implements FileEditorProvider { +public class TestDataGroupEditorProvider implements FileEditorProvider, DumbAware { public boolean accept(@NotNull Project project, @NotNull VirtualFile file) { return file instanceof TestDataGroupVirtualFile; } diff --git a/plugins/ui-designer/src/com/intellij/uiDesigner/editor/UIFormEditorProvider.java b/plugins/ui-designer/src/com/intellij/uiDesigner/editor/UIFormEditorProvider.java index 73f40c0aa8b2..1e043a3be4af 100644 --- a/plugins/ui-designer/src/com/intellij/uiDesigner/editor/UIFormEditorProvider.java +++ b/plugins/ui-designer/src/com/intellij/uiDesigner/editor/UIFormEditorProvider.java @@ -22,6 +22,7 @@ import com.intellij.openapi.fileEditor.FileEditorProvider; import com.intellij.openapi.fileEditor.FileEditorState; import com.intellij.openapi.fileTypes.StdFileTypes; import com.intellij.openapi.module.ModuleUtil; +import com.intellij.openapi.project.DumbAware; import com.intellij.openapi.project.Project; import com.intellij.openapi.util.Disposer; import com.intellij.openapi.vfs.VirtualFile; @@ -30,7 +31,7 @@ import com.intellij.util.ArrayUtil; import org.jdom.Element; import org.jetbrains.annotations.NotNull; -public final class UIFormEditorProvider implements FileEditorProvider { +public final class UIFormEditorProvider implements FileEditorProvider, DumbAware { private static final Logger LOG = Logger.getInstance("#com.intellij.uiDesigner.editor.UIFormEditorProvider"); public boolean accept(@NotNull final Project project, @NotNull final VirtualFile file){