From: <de...@us...> - 2012-06-26 10:23:51
|
Revision: 7404 http://fudaa.svn.sourceforge.net/fudaa/?rev=7404&view=rev Author: deniger Date: 2012-06-26 10:23:40 +0000 (Tue, 26 Jun 2012) Log Message: ----------- Modified Paths: -------------- trunk/soft/fudaa-prepro/ui/src/main/java/org/fudaa/fudaa/tr/TrLauncherDefault.java Modified: trunk/soft/fudaa-prepro/ui/src/main/java/org/fudaa/fudaa/tr/TrLauncherDefault.java =================================================================== --- trunk/soft/fudaa-prepro/ui/src/main/java/org/fudaa/fudaa/tr/TrLauncherDefault.java 2012-06-26 10:22:22 UTC (rev 7403) +++ trunk/soft/fudaa-prepro/ui/src/main/java/org/fudaa/fudaa/tr/TrLauncherDefault.java 2012-06-26 10:23:40 UTC (rev 7404) @@ -1,9 +1,6 @@ /** - * @creation 24 mai 2004 - * @modification $Date: 2007-12-04 09:09:26 $ - * @license GNU General Public License 2 - * @copyright (c)1998-2001 CETMEF 2 bd Gambetta F-60231 Compiegne - * @mail de...@fu... + * @creation 24 mai 2004 @modification $Date: 2007-12-04 09:09:26 $ @license GNU General Public License 2 @copyright (c)1998-2001 + * CETMEF 2 bd Gambetta F-60231 Compiegne @mail de...@fu... */ package org.fudaa.fudaa.tr; @@ -77,8 +74,8 @@ infoSoft = new BuInformationsSoftware(); infoSoft.name = "prepro"; - infoSoft.version = "1.2RC8"; - infoSoft.date = "2012-06-12"; + infoSoft.version = "1.2RC9"; + infoSoft.date = "2012-06-26"; infoSoft.rights = TrResource.getS("Tous droits r\xE9serv\xE9s") + ". CETMEF (c)2003-2009"; infoSoft.contact = "fre...@fu..."; infoSoft.license = "GPL2"; @@ -94,10 +91,10 @@ } else { infoSoft.man = manUrl.toString() + '/'; } - infoSoft.authors = new String[] { "Fr\xE9d\xE9ric Deniger", "Nicolas Clavreul" }; - infoSoft.contributors = new String[] { "Equipes Dodico, Ebli et Fudaa" }; - infoSoft.documentors = new String[] { "" }; - infoSoft.testers = new String[] { "Fr\xE9d\xE9ric Deniger, Patrick Gomi, Vanessya Laborie", "Andr\xE9 Paquier", "Didier Roug\xE9" }; + infoSoft.authors = new String[]{"Fr\xE9d\xE9ric Deniger", "Nicolas Clavreul"}; + infoSoft.contributors = new String[]{"Equipes Dodico, Ebli et Fudaa"}; + infoSoft.documentors = new String[]{""}; + infoSoft.testers = new String[]{"Fr\xE9d\xE9ric Deniger, Patrick Gomi, Vanessya Laborie", "Andr\xE9 Paquier", "Didier Roug\xE9"}; infoSoft.citation = ""; FudaaSaveLib.configureDb4o(); } @@ -146,17 +143,11 @@ return _impl; } - protected FollowApp tail_; - TrImplHelperAbstract helper_; - private TrRefluxImplHelper refluxImplHelper_; - private TrTelemacImplHelper telemacImplHelper_; - private TrRubarImplHelper rubarImplHelper_; - protected TrSupervisorImplementation supervisor_; /** @@ -214,7 +205,7 @@ @Override public String[] getDefaultArgs() { - return new String[] { "--no_splash", "--no_log" }; + return new String[]{"--no_splash", "--no_log"}; } @Override @@ -254,7 +245,7 @@ * @return les choix */ public static String[] getChoices() { - return new String[] { FileFormatSoftware.REFLUX_IS.name, FileFormatSoftware.RUBAR_IS.name, FileFormatSoftware.TELEMAC_IS.name }; + return new String[]{FileFormatSoftware.REFLUX_IS.name, FileFormatSoftware.RUBAR_IS.name, FileFormatSoftware.TELEMAC_IS.name}; } /** @@ -265,7 +256,8 @@ final String init = TrPreferences.TR.getStringProperty("tr.code.id", null); final String[] choix = getChoices(); final BuDialogChoice dialc = new BuDialogChoice(null, TrEditorImplementation.informationsSoftware(), - TrResource.getS("Configuration cha\xEEne de calcul"), TrResource.getS("Veuillez s\xE9lectionner la cha\xEEne de calcul utilis\xE9e"), choix); + TrResource.getS("Configuration cha\xEEne de calcul"), TrResource.getS( + "Veuillez s\xE9lectionner la cha\xEEne de calcul utilis\xE9e"), choix); dialc.setSize(200, 200); if (init != null) { dialc.setValue(init); @@ -402,7 +394,6 @@ post.cmdOuvrirLayoutFile(_f, forceRecompute); } } - }); return post; @@ -437,7 +428,6 @@ } } - }); return post; @@ -467,7 +457,6 @@ post.cmdOuvrirFile(_f); } } - }); return post; @@ -525,7 +514,8 @@ public void ouvrirHydEditor(final String _hydId, final File _projectFile) { final TrEditorImplementation alreadyOpened = findImplWithOpenedFile(_projectFile); if (alreadyOpened != null) { - alreadyOpened.warn(TrResource.getS("Ouverture"), TrResource.getS("Le fichier {0} est d\xE9j\xE0 ouvert", _projectFile.getName()), false); + alreadyOpened.warn(TrResource.getS("Ouverture"), TrResource.getS("Le fichier {0} est d\xE9j\xE0 ouvert", _projectFile.getName()), + false); alreadyOpened.getFrame().setVisible(true); alreadyOpened.getFrame().setState(Frame.NORMAL); alreadyOpened.getFrame().requestFocus(); @@ -533,10 +523,13 @@ } BuLib.invokeNow(new Runnable() { + @Override public void run() { - final TrEditorImplementation impl = (TrEditorImplementation) launch(null, TrLauncherDefault.this, new TrEditorImplementation()); + final TrEditorImplementation impl = (TrEditorImplementation) launch(null, TrLauncherDefault.this, + new TrEditorImplementation()); BuLib.invokeLater(new Runnable() { + @Override public void run() { if (_projectFile != null) { @@ -548,7 +541,6 @@ }); } - static JDialog updateDial_; @Override @@ -581,5 +573,4 @@ public static BuInformationsSoftware getInfosSoftware() { return infoSoft; } - } \ No newline at end of file This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |