public class PortableViewDocumentManager extends AbstractDocumentManager
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
PERSISTENCE_PORTABLEVIEW_DOCUMENT_DEFINITION_NAME |
static java.lang.String |
TYPENAME |
NOTIFY_AFTER_CREATEDOCUMENT, NOTIFY_AFTER_CREATEMAINWINDOW, NOTIFY_AFTER_CREATEPROPERTIESWINDOW, NOTIFY_AFTER_GETMAINWINDOW, NOTIFY_AFTER_GETPROPERTIESWINDOW| Constructor and Description |
|---|
PortableViewDocumentManager() |
| Modifier and Type | Method and Description |
|---|---|
AbstractDocument |
createDocument()
Create a new ProjectDocument.
|
PortableViewDocument |
createDocument(PortableView portableView) |
AbstractDocument |
createDocumentByUser()
Uses a gui to be able from the characteristics that we want a
ProjectDocument
|
java.util.Iterator<? extends Document> |
createDocumentsByUser()
Uses a gui to be able from the characteristics that we want a
ProjectDocument
|
DynStruct |
getDefinition(java.lang.String className)
Returns the associated definition to the java class name
|
protected java.lang.Class |
getDocumentClass()
Return the class or interface for the documents managed by this factory.
|
PortableViewDocument |
getDocumentForMap(PortableView map)
Gets the first document which map is the specified
|
javax.swing.ImageIcon |
getIcon()
Returns the icon for the type of document.
|
javax.swing.ImageIcon |
getIconSelected()
Returns the icon for the type of document when is selected
|
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.
|
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 |
manages(java.lang.Object object)
Informs if
object is managed by this factory. |
static void |
register()
Registers in the points of extension the Factory with alias.
|
addObserver, create, create, create, createDocumentsByUser, createDocumentWindow, createFromState, deleteObserver, deleteObservers, existName, getClassOfDocument, getDefinitions, getDomainName, getDomainURL, getExtendedProperties, getMainComponent, getMainComponent, getMainWindow, getManagedClass, getManagedClass, getManagedClass, getManagedClasses, getManagedClassName, getPriority, getProperty, hasMainWindow, loadFromState, manages, manages, notifyObservers, notifyObservers, registerMainComponent, saveToState, setProperty, unregisterMainComponent, updatepublic static final java.lang.String PERSISTENCE_PORTABLEVIEW_DOCUMENT_DEFINITION_NAME
public static java.lang.String TYPENAME
public static void register()
public javax.swing.ImageIcon getIcon()
AbstractDocumentManagergetIcon in interface DocumentManagergetIcon in class AbstractDocumentManagerpublic javax.swing.ImageIcon getIconSelected()
AbstractDocumentManagergetIconSelected in interface DocumentManagergetIconSelected in class AbstractDocumentManagerpublic java.lang.String getTitle()
AbstractDocumentManagergetTitle in interface DocumentManagergetTitle in class AbstractDocumentManagerpublic java.lang.String getTypeName()
DocumentManagerpublic AbstractDocument createDocument()
DocumentManagerpublic PortableViewDocument createDocument(PortableView portableView)
public AbstractDocument createDocumentByUser()
DocumentManagercreateDocumentByUser in interface DocumentManagercreateDocumentByUser in class AbstractDocumentManagerpublic java.util.Iterator<? extends Document> createDocumentsByUser()
DocumentManagercreateDocumentsByUser in interface DocumentManagercreateDocumentsByUser in class AbstractDocumentManagerpublic IWindow getMainWindow(Document doc, WindowLayout layout)
DocumentManagergetMainWindow in interface DocumentManagergetMainWindow in class AbstractDocumentManagerpublic IWindow getPropertiesWindow(Document doc)
DocumentManagergetPropertiesWindow in interface DocumentManagergetPropertiesWindow in class AbstractDocumentManagerpublic java.lang.Class<? extends IDocumentWindow> getMainWindowClass()
DocumentManagerpublic boolean manages(java.lang.Object object)
PersistenceFactoryobject is managed by this factory.public DynStruct getDefinition(java.lang.String className)
PersistenceFactoryclassName - of a java Classprotected java.lang.Class getDocumentClass()
AbstractDocumentManagergetDocumentClass in class AbstractDocumentManagerpublic PortableViewDocument getDocumentForMap(PortableView map)
curMap -