ChangeEditorFontSizeAction: DumbAware

This commit is contained in:
Yann Cébron
2015-06-18 12:13:43 +02:00
parent 859886de44
commit 01ab22e85c

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2000-2013 JetBrains s.r.o.
* Copyright 2000-2015 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -22,12 +22,13 @@ import com.intellij.openapi.actionSystem.CommonDataKeys;
import com.intellij.openapi.editor.Editor;
import com.intellij.openapi.editor.EditorBundle;
import com.intellij.openapi.editor.impl.EditorImpl;
import com.intellij.openapi.project.DumbAware;
import org.jetbrains.annotations.Nullable;
/**
* @author Konstantin Bulenkov
*/
public abstract class ChangeEditorFontSizeAction extends AnAction {
public abstract class ChangeEditorFontSizeAction extends AnAction implements DumbAware {
private final int myStep;
protected ChangeEditorFontSizeAction(@Nullable String text, int increaseStep) {