function _doFindInWorkingSet(paneId, fullPath, method) {
        var result = -1;
        _forEachPaneOrPanes(paneId, function (pane) {
            var index = pane[method].call(pane, fullPath);
            if (index >= 0) {
                result = index;
                return false;
            }
        });
        return result;
    }
Helper to abastract the common working set search functions
@param {!string} paneId - id of the pane to search or ALL_PANES to search all panes
@param {!string} fullPath - path of the file to locate
@param {!string} method - name of the method to use for searching
      "findInViewList", "findInViewListAddedOrder" or "FindInViewListMRUOrder"

@private