Revision 41070
trunk/org.gvsig.desktop/org.gvsig.desktop.framework/org.gvsig.andami/src/main/java/org/gvsig/andami/Launcher.java | ||
---|---|---|
630 | 630 |
} |
631 | 631 |
}); |
632 | 632 |
|
633 |
/* |
|
634 |
* Initialize local repository folders of the installer |
|
635 |
*/ |
|
636 |
splashWindow.process(translate("SplashWindow.initializing_local_addon_repository_folders")); |
|
637 |
initializeLocalAddOnRepositoryFolders(); |
|
638 |
|
|
639 |
splashWindow.process(translate("SplashWindow.initializing_server_data_persistence")); |
|
640 |
ServerDataPersistence.registerPersistence(); |
|
641 |
|
|
633 | 642 |
// Se instalan las etiquetas de las extensiones de los plugins |
634 | 643 |
splashWindow.process(translate("SplashWindow.installing_extensions_labels")); |
635 | 644 |
SwingUtilities.invokeAndWait(new Runnable() { |
... | ... | |
642 | 651 |
splashWindow.process(translate("creating_main_window")); |
643 | 652 |
frame.setVisible(true); |
644 | 653 |
|
645 |
/* |
|
646 |
* Initialize local repository folders of the installer |
|
647 |
*/ |
|
648 |
splashWindow.process(translate("SplashWindow.initializing_local_addon_repository_folders")); |
|
649 |
initializeLocalAddOnRepositoryFolders(); |
|
650 |
|
|
651 |
// Se ejecuta el postInitialize |
|
652 |
splashWindow.process(translate("SplashWindow.post_initializing_extensions")); |
|
653 |
SwingUtilities.invokeAndWait(new Runnable() { |
|
654 |
public void run() { |
|
655 |
postInitializeExtensions(); |
|
656 |
} |
|
657 |
}); |
|
658 |
|
|
659 |
splashWindow.process(translate("SplashWindow.initializing_server_data_persistence")); |
|
660 |
ServerDataPersistence.registerPersistence(); |
|
661 |
|
|
662 | 654 |
// Definimos un KeyEventDispatcher global para que las extensiones |
663 | 655 |
// puedan registrar sus "teclas rapidas". |
664 | 656 |
splashWindow.process(translate("SplashWindow.initializing_accelerator_keys")); |
... | ... | |
671 | 663 |
frame.enableControls(); |
672 | 664 |
} |
673 | 665 |
}); |
666 |
|
|
667 |
splashWindow.close(); |
|
668 |
|
|
669 |
// Se ejecuta el postInitialize |
|
670 |
// splashWindow.process(translate("SplashWindow.post_initializing_extensions")); |
|
671 |
SwingUtilities.invokeAndWait(new Runnable() { |
|
672 |
public void run() { |
|
673 |
frame.message(translate("SplashWindow.post_initializing_extensions"), JOptionPane.INFORMATION_MESSAGE); |
|
674 |
postInitializeExtensions(); |
|
675 |
} |
|
676 |
}); |
|
677 |
|
|
678 |
// splashWindow.process(translate("SplashWindow.enable_controls")); |
|
679 |
SwingUtilities.invokeAndWait(new Runnable() { |
|
680 |
public void run() { |
|
681 |
frame.message(translate("SplashWindow.enable_controls"), JOptionPane.INFORMATION_MESSAGE); |
|
682 |
frame.enableControls(); |
|
683 |
frame.message(translate("StatusBar.Aplicacion_iniciada"), JOptionPane.INFORMATION_MESSAGE); |
|
684 |
} |
|
685 |
}); |
|
674 | 686 |
|
675 |
frame.message(translate("StatusBar.Aplicacion_iniciada"), JOptionPane.INFORMATION_MESSAGE); |
|
676 | 687 |
|
677 |
splashWindow.close(); |
|
678 |
|
|
679 | 688 |
if (launcherrors != null) { |
680 | 689 |
NotificationManager.addError(launcherrors); |
681 | 690 |
} |
Also available in: Unified diff