make toggle soft wraps actions DumbAware
authorpeter <peter@jetbrains.com>
Mon, 23 Feb 2015 07:57:55 +0000 (08:57 +0100)
committerpeter <peter@jetbrains.com>
Tue, 24 Feb 2015 09:21:40 +0000 (10:21 +0100)
platform/platform-impl/src/com/intellij/openapi/editor/actions/AbstractToggleUseSoftWrapsAction.java

index b5662c6ab49f8823b4c079d36fb1f06c3686c84b..69e4f7b2991e665d1192d7e34c0be24a563bbf8d 100644 (file)
@@ -17,12 +17,12 @@ package com.intellij.openapi.editor.actions;
 
 import com.intellij.openapi.actionSystem.AnActionEvent;
 import com.intellij.openapi.actionSystem.CommonDataKeys;
-import com.intellij.openapi.actionSystem.PlatformDataKeys;
 import com.intellij.openapi.actionSystem.ToggleAction;
 import com.intellij.openapi.editor.Editor;
 import com.intellij.openapi.editor.ex.EditorEx;
 import com.intellij.openapi.editor.ex.EditorSettingsExternalizable;
 import com.intellij.openapi.editor.impl.softwrap.SoftWrapAppliancePlaces;
+import com.intellij.openapi.project.DumbAware;
 import org.jetbrains.annotations.NotNull;
 import org.jetbrains.annotations.Nullable;
 
@@ -32,7 +32,7 @@ import org.jetbrains.annotations.Nullable;
  * @author Denis Zhdanov
  * @since Aug 23, 2010 11:33:35 AM
  */
-public abstract class AbstractToggleUseSoftWrapsAction extends ToggleAction {
+public abstract class AbstractToggleUseSoftWrapsAction extends ToggleAction implements DumbAware {
 
   private final SoftWrapAppliancePlaces myAppliancePlace;
   private final boolean myGlobal;