public class MapAppLogic
extends java.lang.Object
Copyright 2005-2009 Partner Software, Inc.
| Modifier and Type | Field and Description |
|---|---|
protected MapApp |
app |
protected MapConfigLogic |
configLogic |
protected MapConnectivityLogic |
connectivityLogic |
protected MapEditLogic |
editLogic |
protected MapFileLogic |
fileLogic |
protected MapFindLogic |
findLogic |
protected MapGpsLogic |
gpsLogic |
protected MapHelpLogic |
helpLogic |
protected MapPrintLogic |
printLogic |
protected MapQueryLogic |
queryLogic |
protected MapSelectionLogic |
selectionLogic |
protected MapSoundLogic |
soundLogic |
protected MapSpaceLogic |
spaceLogic |
protected MapStyleLogic |
styleLogic |
protected UndoStack |
undoStack |
protected Naming<java.lang.Object> |
variables
This was marked as deprecated, and was replaced by MapSet.variables.
|
protected MapViewLogic |
viewLogic |
protected MapWindowLogic |
windowLogic |
| Constructor and Description |
|---|
MapAppLogic(MapApp app) |
| Modifier and Type | Method and Description |
|---|---|
void |
applyMapSetPreferences() |
void |
checkForUpdates(boolean reportUnavailable)
Checks for updates, popping open a prompt dialog if updates are available.
|
void |
checkForUpdatesInBackground()
This is normally only called at application startup.
|
void |
editPreferences() |
void |
exitApp()
Closes the application.
|
void |
forceShutdown()
Shuts down the MapApp no matter what.
|
MapApp |
getApp() |
MapConfigLogic |
getConfigLogic() |
MapConnectivityLogic |
getConnectivityLogic() |
MapEditLogic |
getEditLogic() |
MapFileLogic |
getFileLogic() |
MapFindLogic |
getFindLogic() |
MapGpsLogic |
getGpsLogic() |
MapHelpLogic |
getHelpLogic() |
MapPrintLogic |
getPrintLogic() |
MapQueryLogic |
getQueryLogic() |
MapSelectionLogic |
getSelectionLogic() |
MapSoundLogic |
getSoundLogic() |
MapSpaceLogic |
getSpaceLogic() |
MapStyleLogic |
getStyleLogic() |
Naming |
getVariables()
Replaced by MapSet.variables.
|
MapViewLogic |
getViewLogic() |
MapWindowLogic |
getWindowLogic() |
void |
initialize()
Initializes the state from preferences and/or defaults.
|
void |
redo()
Redoes the last undone command (whatever it was).
|
void |
restartApp()
Restarts the application.
|
boolean |
runShutdowns()
Attempts to close the MapApp; returns false if it cannot for some reason (usually a confirmShutdownScript in a mapset).
|
void |
runStartups() |
void |
showError(java.lang.String errorMessage) |
void |
showError(java.lang.String errorMessage,
java.lang.Throwable error) |
void |
showHTMLReport(java.lang.String title,
java.lang.Object htmlContent)
Same as the other showHTMLReport(), but automagically runs toString() on
your contents object.
|
void |
showHTMLReport(java.lang.String title,
java.lang.String html)
Pops open a MapReportDialog with the given title and contents.
|
void |
undo()
Undoes the last command (whatever it was).
|
protected MapApp app
protected UndoStack undoStack
protected Naming<java.lang.Object> variables
protected MapWindowLogic windowLogic
protected MapViewLogic viewLogic
protected MapSelectionLogic selectionLogic
protected MapFindLogic findLogic
protected MapEditLogic editLogic
protected MapFileLogic fileLogic
protected MapGpsLogic gpsLogic
protected MapSpaceLogic spaceLogic
protected MapPrintLogic printLogic
protected MapConfigLogic configLogic
protected MapHelpLogic helpLogic
protected MapQueryLogic queryLogic
protected MapConnectivityLogic connectivityLogic
protected MapSoundLogic soundLogic
protected MapStyleLogic styleLogic
public MapAppLogic(MapApp app)
public void undo()
public void redo()
public void initialize()
public void exitApp()
public void restartApp()
public void runStartups()
public void applyMapSetPreferences()
public boolean runShutdowns()
public void forceShutdown()
public void showError(java.lang.String errorMessage)
public void showError(java.lang.String errorMessage,
java.lang.Throwable error)
public void showHTMLReport(java.lang.String title,
java.lang.String html)
public void showHTMLReport(java.lang.String title,
java.lang.Object htmlContent)
public void editPreferences()
public void checkForUpdatesInBackground()
public void checkForUpdates(boolean reportUnavailable)
reportUnavailable - public MapWindowLogic getWindowLogic()
public MapViewLogic getViewLogic()
public MapSelectionLogic getSelectionLogic()
public MapFindLogic getFindLogic()
public MapEditLogic getEditLogic()
public MapFileLogic getFileLogic()
public MapGpsLogic getGpsLogic()
public MapSpaceLogic getSpaceLogic()
public MapPrintLogic getPrintLogic()
public MapConfigLogic getConfigLogic()
public MapQueryLogic getQueryLogic()
public MapHelpLogic getHelpLogic()
public MapConnectivityLogic getConnectivityLogic()
public MapApp getApp()
public Naming getVariables()
public MapSoundLogic getSoundLogic()
public MapStyleLogic getStyleLogic()