public interface DocumentManager
extends org.gvsig.tools.extensionpoint.ExtensionBuilder, org.gvsig.tools.persistence.PersistenceFactory, org.gvsig.tools.observer.WeakReferencingObservable, org.gvsig.fmap.mapcontext.layers.ExtendedPropertiesSupport
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
NOTIFY_AFTER_CREATEDOCUMENT |
static java.lang.String |
NOTIFY_AFTER_CREATEMAINWINDOW |
static java.lang.String |
NOTIFY_AFTER_CREATEPROPERTIESWINDOW |
static java.lang.String |
NOTIFY_AFTER_GETMAINWINDOW |
static java.lang.String |
NOTIFY_AFTER_GETPROPERTIESWINDOW |
| Modifier and Type | Method and Description |
|---|---|
AbstractDocument |
createDocument()
Create a new ProjectDocument.
|
java.util.Iterator<? extends Document> |
createDocumentsByUser()
Uses a gui to be able from the characteristics that we want a
ProjectDocument
|
java.util.Iterator<? extends Document> |
createDocumentsByUser(org.gvsig.tools.util.Invocable whenDocumentsLoaded) |
java.lang.Class |
getClassOfDocument() |
javax.swing.ImageIcon |
getIcon()
Returns tdocumenthe icon for the type of document.
|
javax.swing.ImageIcon |
getIconSelected()
Returns the icon for the type of document when is selected
|
javax.swing.JComponent |
getMainComponent(Document doc)
Devuelbe el JComponent que se corresponde con el documento indicado.
|
javax.swing.JComponent |
getMainComponent(DocumentsContainer container,
Document doc)
Create a new JComponent for the document or if already exists
in the specified container, return this.
|
org.gvsig.andami.ui.mdiManager.IWindow |
getMainWindow(Document doc)
Return the main window asociated to the passed document.
|
org.gvsig.andami.ui.mdiManager.IWindow |
getMainWindow(Document doc,
WindowLayout layout)
Return the main window asociated to the document.
|
java.lang.Class<? extends IDocumentWindow> |
getMainWindowClass()
Return the class that implement the main window for this type of
documents.
|
int |
getPriority()
Returns the type of document priority.
|
org.gvsig.andami.ui.mdiManager.IWindow |
getPropertiesWindow(Document doc)
Return the windows properties asociated to the document.
|
java.lang.String |
getTitle()
Returns the title of type of document.
|
java.lang.String |
getTypeName()
Returns the type name of the document factory.
|
boolean |
hasMainWindow(Document doc) |
void |
registerMainComponent(DocumentsContainer container,
Document document,
javax.swing.JComponent component) |
void |
unregisterMainComponent(DocumentsContainer container,
Document document) |
create, create, createcreateFromState, getDefinition, getDefinitions, getDomainName, getDomainURL, getManagedClass, getManagedClass, getManagedClass, getManagedClasses, getManagedClassName, loadFromState, manages, manages, manages, saveToStatestatic final java.lang.String NOTIFY_AFTER_CREATEDOCUMENT
static final java.lang.String NOTIFY_AFTER_CREATEMAINWINDOW
static final java.lang.String NOTIFY_AFTER_CREATEPROPERTIESWINDOW
static final java.lang.String NOTIFY_AFTER_GETMAINWINDOW
static final java.lang.String NOTIFY_AFTER_GETPROPERTIESWINDOW
AbstractDocument createDocument()
java.util.Iterator<? extends Document> createDocumentsByUser()
java.util.Iterator<? extends Document> createDocumentsByUser(org.gvsig.tools.util.Invocable whenDocumentsLoaded)
java.lang.Class getClassOfDocument()
javax.swing.ImageIcon getIcon()
javax.swing.ImageIcon getIconSelected()
javax.swing.JComponent getMainComponent(Document doc)
doc - javax.swing.JComponent getMainComponent(DocumentsContainer container, Document doc)
container - doc - org.gvsig.andami.ui.mdiManager.IWindow getMainWindow(Document doc)
doc - org.gvsig.andami.ui.mdiManager.IWindow getMainWindow(Document doc, WindowLayout layout)
doc, - layoutlayout - java.lang.Class<? extends IDocumentWindow> getMainWindowClass()
int getPriority()
org.gvsig.andami.ui.mdiManager.IWindow getPropertiesWindow(Document doc)
doc - java.lang.String getTitle()
java.lang.String getTypeName()
boolean hasMainWindow(Document doc)
void registerMainComponent(DocumentsContainer container, Document document, javax.swing.JComponent component)
void unregisterMainComponent(DocumentsContainer container, Document document)
Copyright © 2025 gvSIG Association. All rights reserved.