@Override
  public void update(@NotNull final AnActionEvent e) {
    super.update(e);
    final RefactoringActionHandler handler = getHandler(e.getDataContext());
    if (handler instanceof TitledHandler) {
      e.getPresentation().setText(((TitledHandler) handler).getActionTitle());
    }
    else {
      e.getPresentation().setText(IdeBundle.messagePointer("action.presentation.ExtractIncludeAction.text"));
    }
  }
@Override
  public void update(@NotNull final AnActionEvent e)