Package fr.ifremer.isisfish
Class IsisFish
java.lang.Object
fr.ifremer.isisfish.IsisFish
This is the main class of
IsisFish
application.
Created: 1 aout 2005 18:37:25 CEST- Version:
- $Revision$ Last update: $Date$ by : $Author$
- Author:
- Benjamin POUSSIN <poussin@codelutin.com>, chemit
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected static boolean
Permet de faire une demande a l'utilisateur.protected static void
Look for duplicated file name in official repository and community repository and rename duplicated in community repository.static void
All main in other class must call this method, parse arguments, load configuration file, init language and load converter.static void
Initialise le VCS et check s'il y a des mises à jour pour prevenir l'utilisateur.static void
initVCS()
Initialise le VCS et check s'il y a des mises à jour pour prevenir l'utilisateur.static void
launchUI()
Initialise et lance l'interface graphique si elle a demandé a être lancée.static void
static void
quit()
ask for application quitprotected static void
We need to register watchers manually after checkout.protected static void
Start cron service (if enabled).protected static void
warnFileListDialog
(String dialogTitle, String labelTitle, List<File> conflictFiles) Display dialog with files list, and specifique label.
-
Field Details
-
config
-
vcs
-
communityVcs
-
-
Constructor Details
-
IsisFish
public IsisFish()
-
-
Method Details
-
quit
public static void quit()ask for application quit -
main
- Throws:
Exception
-
startCronService
protected static void startCronService()Start cron service (if enabled). -
init
All main in other class must call this method, parse arguments, load configuration file, init language and load converter.- Parameters:
args
- main args- Throws:
Exception
- if any exception while build configuration
-
ask
Permet de faire une demande a l'utilisateur. S'il repond annuler, on quit l'application- Parameters:
msg
- question to ask- Returns:
- true if user confirm question
-
initVCS
Initialise le VCS et check s'il y a des mises à jour pour prevenir l'utilisateur.- Throws:
VCSException
-
initCommunityVCS
Initialise le VCS et check s'il y a des mises à jour pour prevenir l'utilisateur.- Throws:
VCSException
-
checkDuplicatedFiles
protected static void checkDuplicatedFiles()Look for duplicated file name in official repository and community repository and rename duplicated in community repository. -
warnFileListDialog
protected static void warnFileListDialog(String dialogTitle, String labelTitle, List<File> conflictFiles) Display dialog with files list, and specifique label.- Parameters:
dialogTitle
- dialog titlelabelTitle
- labelTitleconflictFiles
- conflict files
-
launchUI
public static void launchUI()Initialise et lance l'interface graphique si elle a demandé a être lancée. -
registerWatchers
protected static void registerWatchers()We need to register watchers manually after checkout. Otherwize, directory are created empty by watcher and VCS think database is using a wrong protocole.
-