public class MapSheetsProjectMapFactory extends DefaultLayoutManager
MapSheetsProjectMap
Modifier and Type | Field and Description |
---|---|
static String |
TYPENAME |
PERSISTENCE_LAYOUT_DOCUMENT_DEFINITION_NAME
TEMPLATE_FILE_POINTEXT
NOTIFY_AFTER_CREATEDOCUMENT, NOTIFY_AFTER_GETMAINWINDOW, NOTIFY_AFTER_GETPROPERTIESWINDOW
Modifier and Type | Method and Description |
---|---|
AbstractDocument |
create(Project project) |
AbstractDocument |
createDocument()
Create a new ProjectDocument.
|
AbstractDocument |
createDocumentByUser()
Uses a gui to be able from the characteristics that we want a
ProjectDocument
|
Iterator<? extends Document> |
createDocumentsByUser()
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 image of button.
|
ImageIcon |
getIconSelected()
Returns image of selected button.
|
IWindow |
getMainWindow(Document doc)
Return the main window asociated to the passed document.
|
IWindow |
getMainWindow(Document doc,
WindowLayout layout)
Return the main window asociated to the document.
|
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.
|
String |
getTitle()
Returns the name of ProjectDocument.
|
String |
getTypeName()
Returns the name of registration in the point of extension.
|
boolean |
manages(Object object)
Informs if
object is managed by this factory. |
static void |
register() |
createFFrameDialog, createFFrameDialog, createFrame, createLayoutMenuActions, getDefaultAdjustToGrid, getDefaultShowGrid, getDefaultShowInitialPageConfigDialog, getDefaultShowRulers, getPriority, registerFFrameDialog, registerFrameFactory, registerFrameFactory, registerLayoutMenuAction, setDefaultAdjustToGrid, setDefaultShowGrid, setDefaultShowRulers
addObserver, create, create, create, createDocumentWindow, createFromState, deleteObserver, deleteObservers, existName, getDefinitions, getDomainName, getDomainURL, getMainComponent, getMainComponent, getManagedClass, getManagedClass, getManagedClass, getManagedClasses, getManagedClassName, loadFromState, manages, manages, notifyObservers, notifyObservers, registerMainComponent, saveToState, unregisterMainComponent, update
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
existName, getMainComponent, getMainComponent, registerMainComponent, unregisterMainComponent
create, create, create
createFromState, getDefinitions, getDomainName, getDomainURL, getManagedClass, getManagedClass, getManagedClass, getManagedClasses, getManagedClassName, loadFromState, manages, manages, saveToState
addObserver, deleteObserver, deleteObservers
public static String TYPENAME
public AbstractDocument create(Project project)
public AbstractDocument createDocument()
DocumentManager
createDocument
in interface DocumentManager
createDocument
in class DefaultLayoutManager
public IWindow getMainWindow(Document doc)
DocumentManager
getMainWindow
in interface DocumentManager
getMainWindow
in class AbstractDocumentManager
public IWindow getMainWindow(Document doc, WindowLayout layout)
DocumentManager
getMainWindow
in interface DocumentManager
getMainWindow
in class DefaultLayoutManager
public AbstractDocument createDocumentByUser()
DocumentManager
createDocumentByUser
in interface DocumentManager
createDocumentByUser
in class AbstractDocumentManager
public Iterator<? extends Document> createDocumentsByUser()
DocumentManager
createDocumentsByUser
in interface DocumentManager
createDocumentsByUser
in class AbstractDocumentManager
public String getTypeName()
DefaultLayoutManager
getTypeName
in interface DocumentManager
getTypeName
in class DefaultLayoutManager
public IWindow getPropertiesWindow(Document doc)
DocumentManager
getPropertiesWindow
in interface DocumentManager
getPropertiesWindow
in class DefaultLayoutManager
public Class<? extends IDocumentWindow> getMainWindowClass()
DocumentManager
getMainWindowClass
in interface DocumentManager
getMainWindowClass
in class DefaultLayoutManager
public boolean manages(Object object)
PersistenceFactory
object
is managed by this factory.manages
in interface PersistenceFactory
manages
in class DefaultLayoutManager
public DynStruct getDefinition(String className)
PersistenceFactory
getDefinition
in interface PersistenceFactory
getDefinition
in class DefaultLayoutManager
className
- of a java Classprotected Class getDocumentClass()
AbstractDocumentManager
getDocumentClass
in class DefaultLayoutManager
public static void register()
public ImageIcon getIcon()
DefaultLayoutManager
getIcon
in interface DocumentManager
getIcon
in class DefaultLayoutManager
public ImageIcon getIconSelected()
DefaultLayoutManager
getIconSelected
in interface DocumentManager
getIconSelected
in class DefaultLayoutManager
public String getTitle()
DefaultLayoutManager
getTitle
in interface DocumentManager
getTitle
in class DefaultLayoutManager