diff --git a/PluginsAndFeatures/azure-toolkit-for-intellij/src/com/microsoft/azure/hdinsight/jobs/framework/JobViewEditorProvider.java b/PluginsAndFeatures/azure-toolkit-for-intellij/src/com/microsoft/azure/hdinsight/jobs/framework/JobViewEditorProvider.java index d1e512ef28..946b482e62 100644 --- a/PluginsAndFeatures/azure-toolkit-for-intellij/src/com/microsoft/azure/hdinsight/jobs/framework/JobViewEditorProvider.java +++ b/PluginsAndFeatures/azure-toolkit-for-intellij/src/com/microsoft/azure/hdinsight/jobs/framework/JobViewEditorProvider.java @@ -23,6 +23,7 @@ import com.intellij.openapi.diagnostic.Logger; import com.intellij.openapi.fileEditor.*; +import com.intellij.openapi.project.DumbAware; import com.intellij.openapi.project.Project; import com.intellij.openapi.util.Disposer; import com.intellij.openapi.util.Key; @@ -34,7 +35,7 @@ /* All the tool window should implement interface FileEditorProvider. */ -public class JobViewEditorProvider implements FileEditorProvider { +public class JobViewEditorProvider implements FileEditorProvider, DumbAware { public static Key JOB_VIEW_KEY = new Key<>("com.microsoft.azure.hdinsight.jobview"); public static Key JOB_VIEW_UUID = new Key<>("com.microsoft.azure.hdinsight.jobview.uuid");