void (@NotNull Presentation presentation, @NotNull Project project, @NotNull Editor editor, @NotNull PsiFile file, @NotNull DataContext dataContext, @Nullable String actionPlace) { super.update(presentation, project, editor, file, dataContext, actionPlace); if (myHandler instanceof ContextAwareActionHandler && presentation.isEnabled()) { presentation.setEnabled(((ContextAwareActionHandler)myHandler).isAvailableForQuickList(editor, file, dataContext)); } }