public class ChartDocumentManager extends AbstractDocumentManager implements DocumentManager
| Modifier and Type | Field and Description |
|---|---|
static String |
PERSISTENCE_CHART_DOCUMENT_DEFINITION_NAME |
static String |
TYPENAME |
NOTIFY_AFTER_CREATEDOCUMENT, NOTIFY_AFTER_GETMAINWINDOW, NOTIFY_AFTER_GETPROPERTIESWINDOW| Constructor and Description |
|---|
ChartDocumentManager() |
| Modifier and Type | Method and Description |
|---|---|
AbstractDocument |
createDocument()
Create a new ProjectDocument.
|
AbstractDocument |
createDocumentByUser()
Uses a gui to be able from the characteristics that we want a
ProjectDocument
|
DynStruct |
getDefinition(String className)
Returns the associated definition to the java class name
|
protected Class |
getDocumentClass()
Return the class or interface for the documents managed by this factory.
|
ImageIcon |
getIcon()
Returns the icon for the type of document.
|
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.
|
Class |
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.
|
String |
getTitle()
Returns the title of type of document.
|
String |
getTypeName()
Returns the type name of the document factory.
|
boolean |
manages(Object object)
Informs if
object is managed by this factory. |
static void |
register() |
addObserver, create, create, create, createDocumentsByUser, createDocumentWindow, createFromState, deleteObserver, deleteObservers, existName, getDefinitions, getDomainName, getDomainURL, getMainComponent, getMainComponent, getMainWindow, getManagedClass, getManagedClass, getManagedClass, getManagedClasses, getManagedClassName, getPriority, loadFromState, manages, manages, notifyObservers, notifyObservers, registerMainComponent, saveToState, unregisterMainComponent, updateclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreateDocumentsByUser, existName, getMainComponent, getMainComponent, getMainWindow, getPriority, registerMainComponent, unregisterMainComponentcreate, create, createcreateFromState, getDefinitions, getDomainName, getDomainURL, getManagedClass, getManagedClass, getManagedClass, getManagedClasses, getManagedClassName, loadFromState, manages, manages, saveToStateaddObserver, deleteObserver, deleteObserverspublic static final String PERSISTENCE_CHART_DOCUMENT_DEFINITION_NAME
public static String TYPENAME
public DynStruct getDefinition(String className)
PersistenceFactorygetDefinition in interface PersistenceFactoryclassName - of a java Classpublic AbstractDocument createDocument()
DocumentManagercreateDocument in interface DocumentManagerpublic String getTypeName()
DocumentManagergetTypeName in interface DocumentManagerpublic ImageIcon getIcon()
AbstractDocumentManagergetIcon in interface DocumentManagergetIcon in class AbstractDocumentManagerpublic ImageIcon getIconSelected()
AbstractDocumentManagergetIconSelected in interface DocumentManagergetIconSelected in class AbstractDocumentManagerpublic String getTitle()
AbstractDocumentManagergetTitle in interface DocumentManagergetTitle 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 AbstractDocumentManagerprotected Class getDocumentClass()
AbstractDocumentManagergetDocumentClass in class AbstractDocumentManagerpublic static void register()
public AbstractDocument createDocumentByUser()
DocumentManagercreateDocumentByUser in interface DocumentManagercreateDocumentByUser in class AbstractDocumentManagerpublic boolean manages(Object object)
PersistenceFactoryobject is managed by this factory.manages in interface PersistenceFactorypublic Class getMainWindowClass()
DocumentManagergetMainWindowClass in interface DocumentManager