Package org.gvsig.andami
Class Launcher.TerminationProcess
java.lang.Object
org.gvsig.andami.Launcher.TerminationProcess
- Enclosing class:
Launcher
Manages Andami termination process
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidFinishes the application without asking user if want or not to save unsaved data.intChecks if the extensions have some unsaved data, and shows a dialog to allow saving it.voidrun()void
-
Constructor Details
-
TerminationProcess
public TerminationProcess()
-
-
Method Details
-
run
public void run() -
closeAndami
public void closeAndami()Finishes the application without asking user if want or not to save unsaved data. -
saveAndamiConfig
public void saveAndamiConfig() -
getUnsavedDataPanel
-
manageUnsavedData
Checks if the extensions have some unsaved data, and shows a dialog to allow saving it. This dialog also allows to don't exit Andami.- Returns:
- true if the user confirmed he wishes to exit, false otherwise
- Throws:
Exception
-