@Override
  public FileTemplate @NotNull [] getAllPatterns() {
    final Collection<FileTemplateBase> allTemplates = getSettings().getPatternsManager().getAllTemplates(false);
    return allTemplates.toArray(FileTemplate.EMPTY_ARRAY);
  }
@Override
  public FileTemplate @NotNull [] getAllPatterns()