se.kmr.scam.editor.impl
Class DocumentFactoryImpl
java.lang.Object
se.kmr.scam.editor.impl.DocumentFactoryImpl
- All Implemented Interfaces:
- DocumentFactory
- public class DocumentFactoryImpl
- extends Object
- implements DocumentFactory
TODO, add functionality for caching documents and detaching them via
listening to their removeFromModel requests (fire event in documentimpl).
- Author:
- matthias
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DocumentFactoryImpl
public DocumentFactoryImpl()
loadDocument
public Document loadDocument(String uri)
- Specified by:
loadDocument
in interface DocumentFactory
- See Also:
se.kmr.scam.editor.gui.DocumentFactory#loadDocument(String)
createDocument
public Document createDocument(int type)
- Specified by:
createDocument
in interface DocumentFactory
- See Also:
se.kmr.scam.editor.gui.DocumentFactory#createDocument(int)
createDocument
public Document createDocument(String baseUri)
- Specified by:
createDocument
in interface DocumentFactory
- See Also:
se.kmr.scam.editor.gui.DocumentFactory#createDocument(String)
createDocumentWithURI
public Document createDocumentWithURI(String uri)
- Specified by:
createDocumentWithURI
in interface DocumentFactory
- See Also:
se.kmr.scam.editor.gui.DocumentFactory#createDocumentWithURI(String)
createDocumentWithURI
public Document createDocumentWithURI(String uri,
int type)
- Specified by:
createDocumentWithURI
in interface DocumentFactory
- See Also:
se.kmr.scam.editor.gui.DocumentFactory#createDocumentWithURI(String, int)
createItemDocument
public Document createItemDocument(String baseUri)
- Specified by:
createItemDocument
in interface DocumentFactory
- See Also:
se.kmr.scam.editor.gui.DocumentFactory#createItemDocument(String)
createItemDocumentWithURI
public Document createItemDocumentWithURI(String uri)
- Specified by:
createItemDocumentWithURI
in interface DocumentFactory
- See Also:
se.kmr.scam.editor.gui.DocumentFactory#createItemDocumentWithURI(String)
setModelsForDocument
public void setModelsForDocument(Document d)
- Specified by:
setModelsForDocument
in interface DocumentFactory
- See Also:
se.kmr.scam.editor.gui.DocumentFactory#setModelsForDocument(Document)
Copyright © 2003 SCAM. All Rights Reserved.