过滤器的搜索按钮能否去掉重置过滤器这个下拉项

过滤器的搜索按钮下拉后会出现重置过滤器,我已经把过滤器设置为不可编辑了,这个选项如何能去掉?
image

我现在是这样处理的,如下:

@Override
    protected void addFiltersPopupActions() {
        if (userCanEditFilers()) {
            addResetFilterAction(filtersPopupButton);
        }

        filterEntities.sort(Comparator.comparing(this::getFilterCaption));

        Iterator<FilterEntity> it = filterEntities.iterator();
        int addedEntitiesCount = 0;
        if (filterEntities.size()<=1)
            filtersPopupButton.setVisible(false);
        while (filterEntities.size()>1 && it.hasNext() && addedEntitiesCount < clientConfig.getGenericFilterPopupListSize()) {
            final FilterEntity fe = it.next();
            addSetFilterEntityAction(filtersPopupButton, fe);
            addedEntitiesCount++;
        }

        if (filterEntities.size() > clientConfig.getGenericFilterPopupListSize()) {
            addShowMoreFilterEntitiesAction(filtersPopupButton);
        }
    }

当用户没有过滤器的编辑权限的时候,应该是不能做重置操作的,没有任何意义。所以这个地方增加一个判断,看官方觉得是否可以如此改进!