src/document/DocumentManager.js
function addToWorkingSet(file, index, forceRedraw) {
        DeprecationWarning.deprecationWarning("Use MainViewManager.addToWorkingSet() instead of DocumentManager.addToWorkingSet()", true);
        MainViewManager.addToWorkingSet(MainViewManager.ACTIVE_PANE, file, index, forceRedraw);
    }
function addToWorkingSet(file, index, forceRedraw) {
        DeprecationWarning.deprecationWarning("Use MainViewManager.addToWorkingSet() instead of DocumentManager.addToWorkingSet()", true);
        MainViewManager.addToWorkingSet(MainViewManager.ACTIVE_PANE, file, index, forceRedraw);
    }
function addToWorkingSet ( file , index , forceRedraw ) { DeprecationWarning . deprecationWarning ( "Use MainViewManager.addToWorkingSet() instead of DocumentManager.addToWorkingSet()" , true ) ; MainViewManager . addToWorkingSet ( MainViewManager . ACTIVE_PANE , file , index , forceRedraw ) ; }
Adds the given file to the end of the working set list.
@deprecated Use MainViewManager.addToWorkingSet() instead
@param {!File} file
@param {number=} index  Position to add to list (defaults to last); -1 is ignored
@param {boolean=} forceRedraw  If true, a working set change notification is always sent
(useful if suppressRedraw was used with removeFromWorkingSet() earlier)
Adds the given file to the end of the working set list .