]> SALOME platform Git repositories - modules/homard.git/commitdiff
Salome HOME
Pilotage de la langue des messages de l'exécutable HOMARD
authorGerald Nicolas <D68518@dsp0677846.(none)>
Thu, 25 Sep 2014 13:58:55 +0000 (15:58 +0200)
committerGerald Nicolas <D68518@dsp0677846.(none)>
Thu, 25 Sep 2014 13:58:55 +0000 (15:58 +0200)
doc/en/tui_homard.rst
doc/fr/tui_homard.rst
idl/Gen.xml
idl/HOMARD_Gen.idl
resources/HOMARDCatalog.xml.in

index b43da942b0e9e46e6fed204858197881fcdb15ed..b8aab2ad0db515ad98671c8c6dc24c595ffd018c 100644 (file)
@@ -6,6 +6,25 @@ The computation
 Methods of the class homard
 ***************************
 
++---------------------------------------------------------------+
++---------------------------------------------------------------+
+| .. module:: SetLanguageShort                                  |
+|                                                               |
+| **SetLanguageShort(lang)**                                    |
+|     Gives the language of the messages. If the choice is      |
+|     uncorrect, english is choosen.                            |
+|                                                               |
+|     - ``lang`` : the language of the messages.                |
+|                                                               |
+|         * 'fr' : francais                                     |
+|         * 'en' : anglais                                      |
++---------------------------------------------------------------+
+| .. module:: GetLanguageShort                                  |
+|                                                               |
+| **GetLanguageShort()**                                        |
+|     Returns the language of the messages.                     |
++---------------------------------------------------------------+
+
 
 Example
 *******
index d81278b0e06765520e9e269585886545bf231635..ef3ef5579f3e921a4e2f89f5991907a6233ea780 100644 (file)
@@ -6,6 +6,25 @@ Le calcul
 Méthodes de la classe homard
 ****************************
 
++---------------------------------------------------------------+
++---------------------------------------------------------------+
+| .. module:: SetLanguageShort                                  |
+|                                                               |
+| **SetLanguageShort(lang)**                                    |
+|     Affecte la langue des messages. Si le choix transmis est  |
+|     incorrect, l'anglais est utilisé.                         |
+|                                                               |
+|     - ``lang`` : la langue des messages sous forme courte.    |
+|                                                               |
+|         * 'fr' : francais                                     |
+|         * 'en' : anglais                                      |
++---------------------------------------------------------------+
+| .. module:: GetLanguageShort                                  |
+|                                                               |
+| **GetLanguageShort()**                                        |
+|     Retourne la langue des messages sous forme courte.        |
++---------------------------------------------------------------+
+
 
 Exemple
 *******
index be9297ea859f9bbe1682728aa3fe55914f931475..ad286aa71fbd50834010b2d474dcc8db799a024c 100644 (file)
                         <outParameter-list></outParameter-list>
                         <DataStream-list></DataStream-list>
                     </component-service>
+                    <component-service>
+                        <service-name>SetLanguageShort</service-name>
+                        <service-author>EDF</service-author>
+                        <service-version>1.6</service-version>
+                        <service-comment>unknown</service-comment>
+                        <service-by-default>0</service-by-default>
+                        <inParameter-list>
+                            <inParameter>
+                                <inParameter-name>LanguageShort</inParameter-name>
+                                <inParameter-type>string</inParameter-type>
+                                <inParameter-comment>unknown</inParameter-comment>
+                            </inParameter>
+                        </inParameter-list>
+                        <outParameter-list></outParameter-list>
+                        <DataStream-list></DataStream-list>
+                    </component-service>
+                    <component-service>
+                        <service-name>GetLanguageShort</service-name>
+                        <service-author>EDF</service-author>
+                        <service-version>1.6</service-version>
+                        <service-comment>unknown</service-comment>
+                        <service-by-default>0</service-by-default>
+                        <inParameter-list></inParameter-list>
+                        <outParameter-list>
+                            <outParameter>
+                                <outParameter-name>return</outParameter-name>
+                                <outParameter-type>string</outParameter-type>
+                                <outParameter-comment>unknown</outParameter-comment>
+                            </outParameter>
+                        </outParameter-list>
+                        <DataStream-list></DataStream-list>
+                    </component-service>
                 </component-service-list>
             </component-interface-list>
         </component>
index ca138c49b13eb1de1ae85297ac0a8ad398be83e2..32b7353da0db529f84d6396b0e0211383dd3635a 100644 (file)
@@ -146,6 +146,11 @@ module HOMARD
     SALOMEDS::Study GetCurrentStudy()                      raises (SALOME::SALOME_Exception);
     long GetCurrentStudyID()                               raises (SALOME::SALOME_Exception);
 //
+// A.4. Les caracteristiques generales
+//
+    void SetLanguageShort (in string LanguageShort)        raises (SALOME::SALOME_Exception);
+    string GetLanguageShort ()                             raises (SALOME::SALOME_Exception);
+//
 // B. Les methodes qui suivent n'apparaissent pas dans le composant HOMARD dans YACS
 //    L'utilisateur ne devrait pas les connaitre (ni s'en servir, a fortiori)
 //
@@ -210,8 +215,6 @@ module HOMARD
 
 //
 //  Les preferences
-    void SetLanguageShort (in string LanguageShort)        raises (SALOME::SALOME_Exception);
-    string GetLanguageShort ()                             raises (SALOME::SALOME_Exception);
     void SetPublisMesh (in long PublisMeshIN, in long PublisMeshOUT)
     raises (SALOME::SALOME_Exception);
     long GetPublisMeshIN ()                                raises (SALOME::SALOME_Exception);
index a609914b10b141688ea6939d6b44cd0e79ce242c..e90a4b0e4b2ed37de8706fdf0bc2a1f48c74ca5a 100644 (file)
                         <outParameter-list></outParameter-list>
                         <DataStream-list></DataStream-list>
                     </component-service>
+                    <component-service>
+                        <service-name>SetLanguageShort</service-name>
+                        <service-author>HOMARD team - EDF RD</service-author>
+                        <service-version>1.1</service-version>
+                        <service-comment>unknown</service-comment>
+                        <service-by-default>0</service-by-default>
+                        <inParameter-list>
+                            <inParameter>
+                                <inParameter-name>LanguageShort</inParameter-name>
+                                <inParameter-type>string</inParameter-type>
+                                <inParameter-comment>unknown</inParameter-comment>
+                            </inParameter>
+                        </inParameter-list>
+                        <outParameter-list></outParameter-list>
+                        <DataStream-list></DataStream-list>
+                    </component-service>
+                    <component-service>
+                        <service-name>GetLanguageShort</service-name>
+                        <service-author>HOMARD team - EDF RD</service-author>
+                        <service-version>1.1</service-version>
+                        <service-comment>unknown</service-comment>
+                        <service-by-default>0</service-by-default>
+                        <inParameter-list></inParameter-list>
+                        <outParameter-list>
+                            <outParameter>
+                                <outParameter-name>return</outParameter-name>
+                                <outParameter-type>string</outParameter-type>
+                                <outParameter-comment>unknown</outParameter-comment>
+                            </outParameter>
+                        </outParameter-list>
+                        <DataStream-list></DataStream-list>
+                    </component-service>
                 </component-service-list>
             </component-interface-list>
         </component>