@Override
  public boolean isSafeDeleteAvailable(@NotNull PsiElement element) {
    return element instanceof XPathVariable ||
            element instanceof XsltTemplate;
  }
@Override
  public boolean isSafeDeleteAvailable(@NotNull PsiElement element)