@Override
 protected ActionGroup getActionGroup(boolean inToolbar) {
   DefaultActionGroup actionGroup = new DefaultActionGroup();
   actionGroup.add(new RefreshAction());
   actionGroup.add(Separator.getInstance());
   actionGroup.add(new ActionInstallPlugin(this, installed));
   if (inToolbar) {
     actionGroup.add(new SortByStatusAction("Sort Installed First"));
     actionGroup.add(new MyFilterRepositoryAction());
     actionGroup.add(new MyFilterCategoryAction());
   }
   return actionGroup;
 }
  @NotNull
  protected ArrayList<AnAction> createActions(final boolean fromPopup) {
    final ArrayList<AnAction> result = new ArrayList<AnAction>();
    AbstractAddGroup addAction = createAddAction();
    if (addAction != null) {
      result.add(addAction);
    }
    result.add(new MyRemoveAction());

    final List<? extends AnAction> copyActions = createCopyActions(fromPopup);
    result.addAll(copyActions);
    result.add(Separator.getInstance());

    result.add(new MyFindUsagesAction(myTree));

    return result;
  }