+# ---------------------------------------------------------------------
+#
+# 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.3 BBG BlackBox Diagram file
# - /home/daniel/Documents/TrabajosCreaTools/Proyectos/PlugPackageBBS/GUIPlugPackage.bbg
APP_START
CATEGORY:Core Script
-DESCRIPTION:Plug Package script
+DESCRIPTION:Plug Package Script
AUTHOR:Daniel Gonzalez
COMPLEXBOX:FALSE
-BOXES:7
+BOXES:10
BOX
wx:DirectorySelector:directorySelect
ISEXEC:TRUE
-86.305460:-39.244838:-900.000000
-28.745460:-49.244838:-900.000000
PORT
+WinHeight:"200"
+PORT
WinTitle:"Plug Package"
+PORT
+WinWidth:"500"
FIN_BOX
BOX
wx:OutputText:title
BOX
std:ExecSystemCommand:execution
ISEXEC:FALSE
--7.017895:-53.162212:-900.000000
-64.157105:-63.162212:-900.000000
+7.470713:-54.422091:-900.000000
+78.645713:-64.422091:-900.000000
FIN_BOX
BOX
wx:CommandButton:plugButton
-15.909874:12.084440:-900.000000
55.265126:2.084440:-900.000000
PORT
-In:"print $lineToExecute.Out$; exec execution;"
+In:"print $lineToExecute.Out$;"
PORT
Label:"Plug it!"
FIN_BOX
BOX
std:ConcatStrings:lineToExecute
ISEXEC:FALSE
--4.345134:-26.348428:-900.000000
-66.829866:-36.348428:-900.000000
+15.812930:-18.789154:-900.000000
+86.987930:-28.789154:-900.000000
PORT
In1:"bbPlugPackage "
FIN_BOX
-64.000751:12.249860:-900.000000
-18.425751:2.249860:-900.000000
FIN_BOX
-CONNECTIONS:6
+BOX
+std:StringSelect:resultString
+ISEXEC:FALSE
+-2.976464:-81.624410:-900.000000
+42.598536:-91.624410:-900.000000
+PORT
+In0:"Packaged Successfully Plugged"
+PORT
+In1:"An error occurred while plugging the package. Please check the command line."
+PORT
+In2:"An error 2 occurred while plugging the package. Please check the command line."
+PORT
+In3:"An error 3 occurred while plugging the package. Please check the command line."
+PORT
+In4:"An error 4 occurred while plugging the package. Please check the command line."
+PORT
+In5:"An error 5 occurred while plugging the package. Please check the command line."
+PORT
+In6:"An error 6 occurred while plugging the package. Please check the command line."
+PORT
+In7:"An error 7 occurred while plugging the package. Please check the command line."
+PORT
+In8:"An error 8 occurred while plugging the package. Please check the command line."
+PORT
+In9:"An error 9 occurred while plugging the package. Please check the command line."
+FIN_BOX
+BOX
+wx:LayoutLine:resultDialog
+ISEXEC:FALSE
+-45.213908:-131.484121:-900.000000
+12.346092:-141.484121:-900.000000
+PORT
+WinDialog:"true"
+PORT
+WinHeight:"100"
+PORT
+WinTitle:"Result"
+PORT
+WinWidth:"400"
+FIN_BOX
+BOX
+wx:OutputText:textLabel
+ISEXEC:FALSE
+-21.213212:-107.294445:-900.000000
+24.361788:-117.294445:-900.000000
+FIN_BOX
+CONNECTIONS:13
CONNECTION
title:Widget:Layout:Widget1
NumberOfControlPoints:0
CONNECTION
pathText:Widget:Layout:Widget2
NumberOfControlPoints:0
+CONNECTION
+plugButton:BoxChange:execution:BoxExecute
+NumberOfControlPoints:0
+CONNECTION
+textLabel:Widget:resultDialog:Widget1
+NumberOfControlPoints:0
+CONNECTION
+plugButton:BoxChange:resultDialog:BoxExecute
+NumberOfControlPoints:0
+CONNECTION
+plugButton:BoxChange:textLabel:BoxExecute
+NumberOfControlPoints:0
+CONNECTION
+execution:Return:resultString:In
+NumberOfControlPoints:0
+CONNECTION
+resultString:Out:textLabel:In
+NumberOfControlPoints:0
+CONNECTION
+plugButton:BoxChange:resultString:BoxExecute
+NumberOfControlPoints:0
APP_END