ide/src/wombat/util/files/DocumentManager.java
public static DocumentManager init(MainFrame main, RootWindow root, StringViewMap views, TabWindow documents) {
    	if (me == null) {
	    	me = new DocumentManager();
	    	
	        me.lastIndex = 0;
	        
	        me.Main = main;
	        me.Root = root;
	        me.Views = views;
	        me.Documents = documents;
	        
	        me.allDocuments = new ArrayList<SchemeTextArea>();
    	}
        
        return me;
    }
/**
     * Manage documents.
     * 
     * @param main The main frame.
     * @param root The root window (for splitting when strange things happen).
     * @param views View map (holds all of the documents).
     * @param documents Document tab manager (holds open documents at first).
     */
Manage documents.

@param main The main frame.
@param root The root window (for splitting when strange things happen).
@param views View map (holds all of the documents).
@param documents Document tab manager (holds open documents at first).
Manage documents . @param main The main frame . @param root The root window ( for splitting when strange things happen ) . @param views View map ( holds all of the documents ) . @param documents Document tab manager ( holds open documents at first ) .
public static DocumentManager init(MainFrame main, RootWindow root, StringViewMap views, TabWindow documents) {
    	if (me == null) {
	    	me = new DocumentManager();
	        me.lastIndex = 0;
	        me.Main = main;
	        me.Root = root;
	        me.Views = views;
	        me.Documents = documents;
	        me.allDocuments = new ArrayList<SchemeTextArea>();
    	}
        return me;
    }
public static DocumentManager init ( MainFrame main , RootWindow root , StringViewMap views , TabWindow documents ) { if ( me == null ) { me = new DocumentManager ( ) ; me . lastIndex = 0 ; me . Main = main ; me . Root = root ; me . Views = views ; me . Documents = documents ; me . allDocuments = new ArrayList < SchemeTextArea > ( ) ; } return me ; }
Manage documents.
Manage documents .