]> Creatis software - creaMiniTools.git/blobdiff - bbtk_package_creaMiniToolsBase/bbs/boxes/registrationMenu.bbs
#2878 CreaMiniTools Bug New Normal - Box ExecSystemCommand blocking / not blocking
[creaMiniTools.git] / bbtk_package_creaMiniToolsBase / bbs / boxes / registrationMenu.bbs
index bede4808effb3b478d5509d0f16107c0229d9d55..c68e7f53ee3d6715041e51a93c8a3c1176c5767e 100644 (file)
@@ -1,31 +1,6 @@
-# ---------------------------------------------------------------------
-#
-# Copyright (c) CREATIS (Centre de Recherche en Acquisition et Traitement de l'Image
-#                        pour la Sant�)
-# Authors : Eduardo Davila, Frederic Cervenansky, Claire Mouton
-# Previous Authors : Laurent Guigues, Jean-Pierre Roux
-# CreaTools website : www.creatis.insa-lyon.fr/site/fr/creatools_accueil
-#
-#  This software is governed by the CeCILL-B license under French law and
-#  abiding by the rules of distribution of free software. You can  use,
-#  modify and/ or redistribute the software under the terms of the CeCILL-B
-#  license as circulated by CEA, CNRS and INRIA at the following URL
-#  http://www.cecill.info/licences/Licence_CeCILL-B_V1-en.html
-#  or in the file LICENSE.txt.
-#
-#  As a counterpart to the access to the source code and  rights to copy,
-#  modify and redistribute granted by the license, users are provided only
-#  with a limited warranty  and the software's author,  the holder of the
-#  economic rights,  and the successive licensors  have only  limited
-#  liability.
-#
-#  The fact that you are presently reading this means that you have had
-#  knowledge of the CeCILL-B license and that you accept its terms.
-# ------------------------------------------------------------------------ */
-
 # ----------------------------------
 # - BBTKGEditor v 1.4 BBS BlackBox Script (Complex Box)
-# - /Users/davila/Creatis/All5/creatools_source/creaMiniTools/bbtk_package_creaMiniToolsBase/bbs/boxes/registrationMenu.bbs
+# - /tmpEED/creaTools/creatools_source/creaMiniTools/bbtk_package_creaMiniToolsBase/bbs/boxes/registrationMenu.bbs
 # ----------------------------------
 
 include std
@@ -40,51 +15,68 @@ description "Description ??"
 
 category "<VOID>"
 
-new CommandButton Box00
+new wx:CommandButton Box00
   set Box00.Label "Registration 2D"
 
-new CommandButton Box01
+new wx:CommandButton Box01
   set Box01.Label "Registration 3D 1 Point"
 
-new CommandButton Box02
+new wx:CommandButton Box02
   set Box02.Label "Registration 3D 2 Points"
 
-new CommandButton Box03
+new wx:CommandButton Box03
   set Box03.Label "Registration 3D 3 Points"
 
-new ExecSystemCommand Box04
-  set Box04.In "bbi PackRecalage/appli/Recalage2D.bbs &"
+new std:ExecSystemCommand Box04
 
-new ExecSystemCommand Box05
-  set Box05.In "bbi PackRecalage/appli/ExampleRecalage3D1Point.bbs &"
+new std:ExecSystemCommand Box05
 
-new ExecSystemCommand Box06
-  set Box06.In "bbi PackRecalage/appli/ExampleRecalage3D2Points.bbs &"
+new std:ExecSystemCommand Box06
 
-new ExecSystemCommand Box07
-  set Box07.In "bbi PackRecalage/appli/ExampleRecalage3D3Points.bbs &"
+new std:ExecSystemCommand Box07
 
-new CommandButton Box10
+new wx:CommandButton Box10
   set Box10.Label "Registration 3D"
 
-new ExecSystemCommand Box11
-  set Box11.In "bbi PackRecalage/appli/ExampleReSlice3D.bbs &"
+new std:ExecSystemCommand Box11
 
-new LayoutTab Box13
+new wx:LayoutTab Box13
   set Box13.WinTitle "1 Image"
 
-new LayoutTab Box14
+new wx:LayoutTab Box14
 
-new LayoutLine Box15
+new wx:LayoutLine Box15
   set Box15.Orientation "H"
   set Box15.WinTitle "Registration"
 
-new LayoutLine Box16
+new wx:LayoutLine Box16
   set Box16.WinTitle "1 Image"
 
-new LayoutLine Box17
+new wx:LayoutLine Box17
   set Box17.WinTitle "2 Images"
 
+new std:Configuration Box18
+
+new std:StringSelect Box19
+  set Box19.In0 "bbi PackRecalage/appli/Recalage2D.bbs &"
+  set Box19.In1 "start /b bbi PackRecalage/appli/Recalage2D.bbs &"
+
+new std:StringSelect Box20
+  set Box20.In0 "bbi PackRecalage/appli/ExampleRecalage3D1Point.bbs &"
+  set Box20.In1 "start /b bbi PackRecalage/appli/ExampleRecalage3D1Point.bbs &"
+
+new std:StringSelect Box21
+  set Box21.In0 "bbi PackRecalage/appli/ExampleReSlice3D.bbs &"
+  set Box21.In1 "start /b bbi PackRecalage/appli/ExampleReSlice3D.bbs &"
+
+new std:StringSelect Box22
+  set Box22.In0 "bbi PackRecalage/appli/ExampleRecalage3D2Points.bbs &"
+  set Box22.In1 "start /b bbi PackRecalage/appli/ExampleRecalage3D2Points.bbs &"
+
+new std:StringSelect Box23
+  set Box23.In0 "bbi PackRecalage/appli/ExampleRecalage3D3Points.bbs &"
+  set Box23.In1 "start /b bbi PackRecalage/appli/ExampleRecalage3D3Points.bbs &"
+
 
 connect Box00.BoxChange Box04.BoxExecute
 connect Box01.BoxChange Box05.BoxExecute
@@ -100,11 +92,22 @@ connect Box17.Widget Box13.Widget1
 connect Box10.Widget Box16.Widget2
 connect Box01.Widget Box17.Widget1
 connect Box00.Widget Box16.Widget1
+connect Box18.SystemType Box19.In
+connect Box18.SystemType Box20.In
+connect Box18.SystemType Box21.In
+connect Box18.SystemType Box22.In
+connect Box18.SystemType Box23.In
+connect Box19.Out Box04.In
+connect Box21.Out Box11.In
+connect Box20.Out Box05.In
+connect Box22.Out Box06.In
+connect Box23.Out Box07.In
 
 # Complex input ports
 
 # Complex output ports
 output widget Box15.Widget " "
 
+message    
 
 endefine