public class ViewManager extends AbstractDocumentManager
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
TYPENAME |
NOTIFY_AFTER_CREATEDOCUMENT, NOTIFY_AFTER_CREATEMAINWINDOW, NOTIFY_AFTER_CREATEPROPERTIESWINDOW, NOTIFY_AFTER_GETMAINWINDOW, NOTIFY_AFTER_GETPROPERTIESWINDOW| Constructor and Description |
|---|
ViewManager() |
| Modifier and Type | Method and Description |
|---|---|
void |
addTOCContextAction(org.gvsig.andami.actioninfo.ActionInfo action) |
void |
addTOCContextAction(org.gvsig.andami.actioninfo.ActionInfo action,
java.lang.String group,
int groupOrder) |
void |
addTOCContextAction(java.lang.String theAction) |
void |
addTOCContextAction(java.lang.String id,
IContextMenuAction action) |
void |
addTOCContextAction(java.lang.String theAction,
java.lang.String group,
int groupOrder,
int order) |
void |
addTOCSeparator(java.lang.String group,
int groupOrder,
int order) |
AbstractDocument |
createDocument()
Create a new ProjectDocument.
|
boolean |
existsTOCContextMenuActions(java.lang.String name) |
org.gvsig.tools.dynobject.DynStruct |
getDefinition(java.lang.String className) |
protected java.lang.Class |
getDocumentClass()
Return the class or interface for the documents managed by this factory.
|
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
|
org.gvsig.andami.ui.mdiManager.IWindow |
getMainWindow(Document doc,
WindowLayout layout)
Return the main window asociated to the document.
|
java.lang.Class |
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.util.List<IContextMenuAction> |
getTOCContextMenuActions(org.gvsig.fmap.mapcontext.MapContext mapContext,
org.gvsig.fmap.mapcontext.layers.FLayer[] selecteds,
ITocItem nodeUserObject) |
java.lang.String |
getTypeName()
Returns the type name of the document factory.
|
boolean |
manages(java.lang.Object object) |
static void |
register()
Registers in the points of extension the Factory with alias.
|
addObserver, create, create, create, createDocumentByUser, createDocumentsByUser, createDocumentsByUser, createDocumentWindow, createFromState, deleteObserver, deleteObservers, existName, getClassOfDocument, getDefinitions, getDomainName, getDomainURL, getExtendedProperties, getMainComponent, getMainComponent, getMainWindow, getManagedClass, getManagedClass, getManagedClass, getManagedClasses, getManagedClassName, getProperty, hasMainWindow, loadFromState, manages, manages, notifyObservers, notifyObservers, registerMainComponent, saveToState, setProperty, unregisterMainComponent, updatepublic void addTOCContextAction(org.gvsig.andami.actioninfo.ActionInfo action)
public void addTOCContextAction(org.gvsig.andami.actioninfo.ActionInfo action,
java.lang.String group,
int groupOrder)
public void addTOCContextAction(java.lang.String theAction)
public void addTOCContextAction(java.lang.String id,
IContextMenuAction action)
id - action - public void addTOCContextAction(java.lang.String theAction,
java.lang.String group,
int groupOrder,
int order)
public void addTOCSeparator(java.lang.String group,
int groupOrder,
int order)
public AbstractDocument createDocument()
DocumentManagerpublic boolean existsTOCContextMenuActions(java.lang.String name)
public org.gvsig.tools.dynobject.DynStruct getDefinition(java.lang.String className)
protected java.lang.Class getDocumentClass()
AbstractDocumentManagergetDocumentClass in class AbstractDocumentManagerpublic javax.swing.ImageIcon getIcon()
AbstractDocumentManagergetIcon in interface DocumentManagergetIcon in class AbstractDocumentManagerpublic javax.swing.ImageIcon getIconSelected()
AbstractDocumentManagergetIconSelected in interface DocumentManagergetIconSelected in class AbstractDocumentManagerpublic org.gvsig.andami.ui.mdiManager.IWindow getMainWindow(Document doc, WindowLayout layout)
DocumentManagergetMainWindow in interface DocumentManagergetMainWindow in class AbstractDocumentManagerpublic java.lang.Class getMainWindowClass()
DocumentManagerpublic int getPriority()
AbstractDocumentManagergetPriority in interface DocumentManagergetPriority in class AbstractDocumentManagerpublic org.gvsig.andami.ui.mdiManager.IWindow getPropertiesWindow(Document doc)
DocumentManagergetPropertiesWindow in interface DocumentManagergetPropertiesWindow in class AbstractDocumentManagerpublic java.lang.String getTitle()
AbstractDocumentManagergetTitle in interface DocumentManagergetTitle in class AbstractDocumentManagerpublic java.util.List<IContextMenuAction> getTOCContextMenuActions(org.gvsig.fmap.mapcontext.MapContext mapContext, org.gvsig.fmap.mapcontext.layers.FLayer[] selecteds, ITocItem nodeUserObject)
public java.lang.String getTypeName()
DocumentManagerpublic boolean manages(java.lang.Object object)
public static void register()
Copyright © 2025 gvSIG Association. All rights reserved.