Class IsisFish

java.lang.Object
fr.ifremer.isisfish.IsisFish

public class IsisFish extends Object
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

    Fields
    Modifier and Type
    Field
    Description
    static VCS
     
    static IsisConfig
     
    static VCS
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected static boolean
    ask(Object msg)
    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
    init(String... args)
    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
    Initialise le VCS et check s'il y a des mises à jour pour prevenir l'utilisateur.
    static void
    Initialise et lance l'interface graphique si elle a demandé a être lancée.
    static void
    main(String... args)
     
    static void
    ask for application quit
    protected 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.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • config

      public static IsisConfig config
    • vcs

      public static VCS vcs
    • communityVcs

      public static VCS communityVcs
  • Constructor Details

    • IsisFish

      public IsisFish()
  • Method Details

    • quit

      public static void quit()
      ask for application quit
    • main

      public static void main(String... args) throws Exception
      Throws:
      Exception
    • startCronService

      protected static void startCronService()
      Start cron service (if enabled).
    • init

      public static void init(String... args) throws Exception
      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

      protected static boolean ask(Object msg)
      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

      public static void initVCS() throws VCSException
      Initialise le VCS et check s'il y a des mises à jour pour prevenir l'utilisateur.
      Throws:
      VCSException
    • initCommunityVCS

      public static void initCommunityVCS() throws VCSException
      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 title
      labelTitle - labelTitle
      conflictFiles - 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.