package org.jetbrains.plugins.sample;

import com.intellij.openapi.actionSystem.AnAction;
import com.intellij.openapi.actionSystem.AnActionEvent;
import org.jetbrains.annotations.NotNull;

/**
 * @author Anna Bulenkova
 */
public class SimpleAction extends AnAction {
    @Override
    public void actionPerformed(@NotNull AnActionEvent anActionEvent) {

    }
}

@@ -347,16 +347,179 @@
 vent) %7B%0A
+    %7D%0A%0A    @Override%0A    public void update(@NotNull AnActionEvent e) %7B%0A        e.getPresentation().setVisible(true);%0A        e.getPresentation().setEnabled(true);
 %0A    %7D%0A%7D

action.update set to true