Subversion Repositories general

Compare Revisions

Ignore whitespace Rev 738 → Rev 739

/sun/xmleditor/trunk/src/document/DocumentFactory.java
4,10 → 4,10
* Coded by: Group 5, software practice summer 2003
* University of Bielefeld, Germany
*
* @version $Revision: 1.13 $
* @version $Revision: 1.14 $
*
* Last modification: $Date: 2003/07/21 17:43:36 $
* $Id: DocumentFactory.java,v 1.13 2003/07/21 17:43:36 smcsporr Exp $
* Last modification: $Date: 2003/07/22 18:01:14 $
* $Id: DocumentFactory.java,v 1.14 2003/07/22 18:01:14 smcsporr Exp $
*/
package src.document;
 
21,7 → 21,7
*
* @author H. Jakusch
*
* @version $Revision: 1.13 $ Last modification: $Date: 2003/07/21 17:43:36 $
* @version $Revision: 1.14 $ Last modification: $Date: 2003/07/22 18:01:14 $
*/
public class DocumentFactory {
40,25 → 40,17
logInterfaceReference = log;
}
// TODO true oder false, wo ist hier der Unterschied ???
/**
* The method <code>makeDocument</code> makes a new instance of <code>OurDocument</code>.
*
* @see src.document.OurDocument
*
* @param noEmptyDocument: <code>true</code> if no empty document should be made, false if an
* empty document should be made.
*/
public void makeDocument(boolean noEmptyDocument) {
if (noEmptyDocument == true){
public void makeDocument() {
OurDocument newDocument = new OurDocument(logInterfaceReference);
workingDocument = newDocument;
} else {
OurDocument newDocument = new OurDocument(logInterfaceReference);
workingDocument = newDocument;
}
}
/* Sends messages to the log panel. */
private void log(int i, String message) {
logInterfaceReference.log(i, message);