HEADER

ru.biosoft.gui
Class DocumentManager

com.developmentontheedge.application.DocumentManager
  |
  +--ru.biosoft.gui.DocumentManager

public class DocumentManager
extends DocumentManager

Specail document manager that supports sharing of View/EditorParts between several documents. For example if an application contains one instance of specific EditorPart it can be shared by several documents, the editor part will show the content of active document.


Constructor Summary
DocumentManager(DocumentFactory documentFactory)
           

Method Summary
 static DocumentgetActiveDocument(Component child)
           
 ListgetEditorList()
           
 voidregisterEditorPart(ViewPart viewPart)
          Registers editor part that can be shared by several documets.
 static voidsetActiveDocument(Document document, Component child)
           
 voidsetActiveDocument(ApplicationDocument document)
           

Methods inherited from class com.developmentontheedge.application.DocumentManager
getActiveDocument, getDocumentFactory

Constructor Detail

DocumentManager

public DocumentManager(DocumentFactory documentFactory)
Method Detail

getActiveDocument

public static Document getActiveDocument(Component child)

getEditorList

public List getEditorList()

registerEditorPart

public void registerEditorPart(ViewPart viewPart)
Registers editor part that can be shared by several documets.

setActiveDocument

public static void setActiveDocument(Document document, Component child)

setActiveDocument

public void setActiveDocument(ApplicationDocument document)

Association Links

to Class java.util.List


FOOTER

BOTTOM