1 /**
  2  * Unused for now.
  3  * 
  4  * @constructor
  5  */
  6 mindmaps.NewDocumentView = function() {
  7 
  8 };
  9 
 10 /**
 11  * Creates a new NewDocumentPresenter. This presenter has no view associated
 12  * with it for now. It simply creates a new document. It could in the future
 13  * display a dialog where the user could chose options like document title and
 14  * such.
 15  * 
 16  * @constructor
 17  */
 18 mindmaps.NewDocumentPresenter = function(eventBus, mindmapModel, view) {
 19 
 20 	this.go = function() {
 21 		var doc = new mindmaps.Document();
 22 		mindmapModel.setDocument(doc);
 23 	};
 24 };