public interface ApplicationManager
extends org.gvsig.andami.ui.mdiFrame.ThreadSafeDialogs, org.gvsig.tools.util.PropertiesSupport, org.gvsig.tools.util.GetItemByKey<java.lang.String,java.lang.Object>
| Modifier and Type | Method and Description |
|---|---|
void |
addMenu(org.gvsig.andami.actioninfo.ActionInfo action,
java.lang.String text) |
void |
addPropertiesObserver(org.gvsig.tools.observer.Observer o) |
void |
addSelectableTool(org.gvsig.andami.actioninfo.ActionInfo action,
java.lang.String toolBarName) |
void |
addTool(org.gvsig.andami.actioninfo.ActionInfo action,
java.lang.String toolBarName) |
void |
close(boolean quietly)
Close the application.
|
javax.swing.tree.TreeModel |
createProjectLayersTreeModel() |
javax.swing.tree.TreeModel |
createProjectStoresTreeModel() |
void |
deletePropertiesObserver(org.gvsig.tools.observer.Observer o) |
void |
deletePropertiesObservers() |
org.gvsig.about.AboutManager |
getAbout()
Utility method to obtain the AboutManager used in the application at this moment.
|
javax.swing.JComponent |
getActiveComponent(java.lang.Class<? extends Document> documentClass)
Returns the JComponent associated to the active document for the
specified type of document.
|
Document |
getActiveDocument()
Returns the active document of the application or null
if there is no active document.
|
Document |
getActiveDocument(java.lang.Class<? extends Document> documentClass)
Returns the active document of the application that is of the
requested type or null if there is no active document or the
active document is not of the requested type.
|
Document |
getActiveDocument(java.lang.String documentTypeName)
Returns the active document of the application that is of the
requested type or null if there is no active document or the
active document is not of the requested type.
|
org.gvsig.andami.ui.mdiManager.IWindow |
getActiveWindow()
Return the active window, IWindow, in the application.
|
org.gvsig.andami.ui.mdiManager.IWindow |
getActiveWindow(java.lang.Class<? extends Document> documentClass) |
org.gvsig.andami.Arguments |
getArguments()
Return the arguments passed to the application in the command line
|
org.gvsig.gui.ColorTablesFactory |
getColorTablesFactory() |
org.cresques.cts.IProjection |
getCRS(java.lang.String code)
Obtain the projection associated by the code of projection
Passed as parameter.
|
org.gvsig.fmap.mapcontext.layers.FLayer |
getCurrentLayer() |
Project |
getCurrentProject()
Return the project that is loaded and in use in the application.
|
org.gvsig.fmap.dal.DataManager |
getDataManager()
Utility method to obtain the DataManager used in the application at this moment.
|
org.gvsig.tools.dataTypes.DataTypesManager |
getDataTypesManager() |
org.gvsig.tools.dispose.DisposableManager |
getDisposableManager()
Utility method to obtain the DisposableManager used in the application at this moment.
|
IDocumentWindow |
getDocumentWindow(Document document)
Returns the window associated with the document passed as
parameter or null if there is no window associated with
the document.
|
org.gvsig.tools.dynobject.DynObjectManager |
getDynObjectManager()
Utility method to obtain the DynObjectManager used in the application at this moment.
|
org.gvsig.tools.extensionpoint.ExtensionPointManager |
getExtensionPointManager()
Utility method to obtain the ExtensionPointManager used in the application at this moment.
|
java.lang.String |
getFromClipboard()
Get the value of the system clipboard as a string.
|
org.gvsig.fmap.geom.GeometryManager |
getGeometryManager()
Utility method to obtain the GeometryManager used in the application at this moment.
|
org.gvsig.tools.swing.icontheme.IconThemeManager |
getIconThemeManager()
Utility method to obtain the IconThemeManager used in the application at this moment.
|
java.lang.String |
getLocaleLanguage() |
org.gvsig.andami.ui.mdiFrame.MainFrame |
getMainFrame() |
org.gvsig.fmap.mapcontext.MapContextManager |
getMapContextManager()
Utility method to obtain the MapContextManager used in the application at this moment.
|
org.gvsig.tools.persistence.PersistenceManager |
getPersistenceManager()
Utility method to obtain the PersistenceManager used in the application at this moment.
|
PreferencesNode |
getPreferences()
Return the root of the nodes of preferences in the application.
|
PreferencesNode |
getPreferences(java.lang.String nodeName)
Search and return the node of preferences required as nodeName.
|
ProjectManager |
getProjectManager()
Utility method to obtain the ProjectManager used in the application at this moment.
|
java.awt.Component |
getRootComponent() |
org.gvsig.andami.ui.mdiManager.MDIManager |
getUIManager()
Utility method to obtain the UIManager used in the application at this moment.
|
Version |
getVersion()
Return the version of the application.
|
java.util.List<WizardPanel> |
getWizardPanels() |
java.lang.String |
makeTitle(java.lang.String base,
java.lang.String docname1,
java.lang.String docname2)
Utility method to create uniforms window names.
|
org.gvsig.fmap.dal.DataStore |
pepareOpenDataSource(org.gvsig.fmap.dal.DataStore store,
PrepareContext context) |
org.gvsig.fmap.dal.DataStoreParameters |
prepareOpenDataStoreParameters(org.gvsig.fmap.dal.DataStoreParameters storeParameters,
PrepareContext context) |
java.util.List<org.gvsig.fmap.dal.DataStoreParameters> |
prepareOpenDataStoreParameters(java.util.List<org.gvsig.fmap.dal.DataStoreParameters> storeParameters,
PrepareContext context) |
org.gvsig.fmap.mapcontext.layers.FLayer |
prepareOpenLayer(org.gvsig.fmap.mapcontext.layers.FLayer layer,
PrepareContextView context) |
void |
putInClipboard(java.lang.String data)
Put the string value passed as parameter in the clipboard of
the system.
|
void |
refreshDocument(org.gvsig.fmap.dal.DataStoreParameters params) |
void |
refreshDocument(org.gvsig.fmap.dal.feature.FeatureStore store) |
void |
refreshMenusAndToolBars() |
void |
registerAddTableWizard(java.lang.String name,
java.lang.String description,
java.lang.Class<? extends WizardPanel> wpClass) |
void |
registerColorTablesFactory(org.gvsig.gui.ColorTablesFactory factory) |
void |
registerPrepareOpenDataStore(PrepareDataStore action) |
void |
registerPrepareOpenDataStoreParameters(PrepareDataStoreParameters action) |
void |
registerPrepareOpenLayer(PrepareLayer action) |
void |
showTextDialog(org.gvsig.tools.swing.api.windowmanager.WindowManager.MODE mode,
java.lang.String title,
java.lang.String htmlText) |
void |
showTextDialog(org.gvsig.tools.swing.api.windowmanager.WindowManager.MODE mode,
java.lang.String title,
java.lang.String htmlText,
javax.swing.event.HyperlinkListener hyperlinkListener) |
java.lang.String |
translate(java.lang.String message,
java.lang.String... args) |
confirmDialog, messageDialog, showDialogconfirmDialog, createComponent, createComponentWithParams, inputDialog, inputDialog, message, messageDialog, messageDialog, showChooserDialog, showChooserDialog, showChooserDialog, showOpenDirectoryDialog, showOpenFileDialog, showSaveFileDialogvoid addMenu(org.gvsig.andami.actioninfo.ActionInfo action,
java.lang.String text)
void addPropertiesObserver(org.gvsig.tools.observer.Observer o)
void addSelectableTool(org.gvsig.andami.actioninfo.ActionInfo action,
java.lang.String toolBarName)
void addTool(org.gvsig.andami.actioninfo.ActionInfo action,
java.lang.String toolBarName)
void close(boolean quietly)
quietly - javax.swing.tree.TreeModel createProjectLayersTreeModel()
javax.swing.tree.TreeModel createProjectStoresTreeModel()
void deletePropertiesObserver(org.gvsig.tools.observer.Observer o)
void deletePropertiesObservers()
org.gvsig.about.AboutManager getAbout()
javax.swing.JComponent getActiveComponent(java.lang.Class<? extends Document> documentClass)
documentClass - Document getActiveDocument()
Document getActiveDocument(java.lang.Class<? extends Document> documentClass)
documentClass, - class of the document requested.Document getActiveDocument(java.lang.String documentTypeName)
documentTypeName, - type name of the document requested.org.gvsig.andami.ui.mdiManager.IWindow getActiveWindow()
org.gvsig.andami.ui.mdiManager.IWindow getActiveWindow(java.lang.Class<? extends Document> documentClass)
org.gvsig.andami.Arguments getArguments()
org.gvsig.gui.ColorTablesFactory getColorTablesFactory()
org.cresques.cts.IProjection getCRS(java.lang.String code)
code - of the projection requestedorg.gvsig.fmap.mapcontext.layers.FLayer getCurrentLayer()
Project getCurrentProject()
org.gvsig.fmap.dal.DataManager getDataManager()
org.gvsig.tools.dataTypes.DataTypesManager getDataTypesManager()
org.gvsig.tools.dispose.DisposableManager getDisposableManager()
IDocumentWindow getDocumentWindow(Document document)
document - to search the windoworg.gvsig.tools.dynobject.DynObjectManager getDynObjectManager()
org.gvsig.tools.extensionpoint.ExtensionPointManager getExtensionPointManager()
java.lang.String getFromClipboard()
org.gvsig.fmap.geom.GeometryManager getGeometryManager()
org.gvsig.tools.swing.icontheme.IconThemeManager getIconThemeManager()
java.lang.String getLocaleLanguage()
org.gvsig.andami.ui.mdiFrame.MainFrame getMainFrame()
org.gvsig.fmap.mapcontext.MapContextManager getMapContextManager()
org.gvsig.tools.persistence.PersistenceManager getPersistenceManager()
PreferencesNode getPreferences()
PreferencesNode getPreferences(java.lang.String nodeName)
nodeName, - name of the node to returnProjectManager getProjectManager()
java.awt.Component getRootComponent()
org.gvsig.andami.ui.mdiManager.MDIManager getUIManager()
Version getVersion()
java.util.List<WizardPanel> getWizardPanels() throws java.lang.Exception
java.lang.Exceptionjava.lang.String makeTitle(java.lang.String base,
java.lang.String docname1,
java.lang.String docname2)
base - docname1 - docname2 - org.gvsig.fmap.dal.DataStore pepareOpenDataSource(org.gvsig.fmap.dal.DataStore store,
PrepareContext context)
throws java.lang.Exception
java.lang.Exceptionorg.gvsig.fmap.dal.DataStoreParameters prepareOpenDataStoreParameters(org.gvsig.fmap.dal.DataStoreParameters storeParameters,
PrepareContext context)
throws java.lang.Exception
java.lang.Exceptionjava.util.List<org.gvsig.fmap.dal.DataStoreParameters> prepareOpenDataStoreParameters(java.util.List<org.gvsig.fmap.dal.DataStoreParameters> storeParameters,
PrepareContext context)
throws java.lang.Exception
java.lang.Exceptionorg.gvsig.fmap.mapcontext.layers.FLayer prepareOpenLayer(org.gvsig.fmap.mapcontext.layers.FLayer layer,
PrepareContextView context)
throws java.lang.Exception
java.lang.Exceptionvoid putInClipboard(java.lang.String data)
data - to put in the clipboard.void refreshDocument(org.gvsig.fmap.dal.DataStoreParameters params)
void refreshDocument(org.gvsig.fmap.dal.feature.FeatureStore store)
void refreshMenusAndToolBars()
void registerAddTableWizard(java.lang.String name,
java.lang.String description,
java.lang.Class<? extends WizardPanel> wpClass)
void registerColorTablesFactory(org.gvsig.gui.ColorTablesFactory factory)
void registerPrepareOpenDataStore(PrepareDataStore action)
void registerPrepareOpenDataStoreParameters(PrepareDataStoreParameters action)
void registerPrepareOpenLayer(PrepareLayer action)
void showTextDialog(org.gvsig.tools.swing.api.windowmanager.WindowManager.MODE mode,
java.lang.String title,
java.lang.String htmlText)
void showTextDialog(org.gvsig.tools.swing.api.windowmanager.WindowManager.MODE mode,
java.lang.String title,
java.lang.String htmlText,
javax.swing.event.HyperlinkListener hyperlinkListener)
java.lang.String translate(java.lang.String message,
java.lang.String... args)
Copyright © 2024 gvSIG Association. All rights reserved.