1 # ---------------------------------------------------------------------
3 # Copyright (c) CREATIS (Centre de Recherche en Acquisition et Traitement de l'Image
5 # Authors : Eduardo Davila, Frederic Cervenansky, Claire Mouton
6 # Previous Authors : Laurent Guigues, Jean-Pierre Roux
7 # CreaTools website : www.creatis.insa-lyon.fr/site/fr/creatools_accueil
9 # This software is governed by the CeCILL-B license under French law and
10 # abiding by the rules of distribution of free software. You can use,
11 # modify and/ or redistribute the software under the terms of the CeCILL-B
12 # license as circulated by CEA, CNRS and INRIA at the following URL
13 # http://www.cecill.info/licences/Licence_CeCILL-B_V1-en.html
14 # or in the file LICENSE.txt.
16 # As a counterpart to the access to the source code and rights to copy,
17 # modify and redistribute granted by the license, users are provided only
18 # with a limited warranty and the software's author, the holder of the
19 # economic rights, and the successive licensors have only limited
22 # The fact that you are presently reading this means that you have had
23 # knowledge of the CeCILL-B license and that you accept its terms.
24 # ------------------------------------------------------------------------ */
27 # ----------------------------------
28 # - BBTKGEditor v 1.3 BBG BlackBox Diagram file
29 # - /home/daniel/Documents/TrabajosCreaTools/Proyectos/PlugPackageBBS/GUIPlugPackage.bbg
30 # ----------------------------------
34 DESCRIPTION:Plug Package Script
35 AUTHOR:Daniel Gonzalez
39 wx:DirectorySelector:directorySelect
41 -53.953613:46.374504:-900.000000
42 17.221387:36.374504:-900.000000
44 Message:"Select the location of the package"
46 Title:"Select Package"
51 -86.305460:-39.244838:-900.000000
52 -28.745460:-49.244838:-900.000000
56 WinTitle:"Plug Package"
63 -112.774918:11.953102:-900.000000
64 -67.199918:1.953102:-900.000000
66 In:"Plug package directory&&2P&& "
69 std:ExecSystemCommand:execution
71 7.470713:-54.422091:-900.000000
72 78.645713:-64.422091:-900.000000
75 wx:CommandButton:plugButton
77 -15.909874:12.084440:-900.000000
78 55.265126:2.084440:-900.000000
80 In:"print $lineToExecute.Out$;"
85 std:ConcatStrings:lineToExecute
87 15.812930:-18.789154:-900.000000
88 86.987930:-28.789154:-900.000000
93 wx:OutputText:pathText
95 -64.000751:12.249860:-900.000000
96 -18.425751:2.249860:-900.000000
99 std:StringSelect:resultString
101 -2.976464:-81.624410:-900.000000
102 42.598536:-91.624410:-900.000000
104 In0:"Packaged Successfully Plugged"
106 In1:"An error occurred while plugging the package. Please check the command line."
108 In2:"An error 2 occurred while plugging the package. Please check the command line."
110 In3:"An error 3 occurred while plugging the package. Please check the command line."
112 In4:"An error 4 occurred while plugging the package. Please check the command line."
114 In5:"An error 5 occurred while plugging the package. Please check the command line."
116 In6:"An error 6 occurred while plugging the package. Please check the command line."
118 In7:"An error 7 occurred while plugging the package. Please check the command line."
120 In8:"An error 8 occurred while plugging the package. Please check the command line."
122 In9:"An error 9 occurred while plugging the package. Please check the command line."
125 wx:LayoutLine:resultDialog
127 -45.213908:-131.484121:-900.000000
128 12.346092:-141.484121:-900.000000
139 wx:OutputText:textLabel
141 -21.213212:-107.294445:-900.000000
142 24.361788:-117.294445:-900.000000
146 title:Widget:Layout:Widget1
147 NumberOfControlPoints:0
149 lineToExecute:Out:execution:In
150 NumberOfControlPoints:0
152 plugButton:Widget:Layout:Widget3
153 NumberOfControlPoints:0
155 directorySelect:Out:lineToExecute:In2
156 NumberOfControlPoints:0
158 directorySelect:Out:pathText:In
159 NumberOfControlPoints:0
161 pathText:Widget:Layout:Widget2
162 NumberOfControlPoints:0
164 plugButton:BoxChange:execution:BoxExecute
165 NumberOfControlPoints:0
167 textLabel:Widget:resultDialog:Widget1
168 NumberOfControlPoints:0
170 plugButton:BoxChange:resultDialog:BoxExecute
171 NumberOfControlPoints:0
173 plugButton:BoxChange:textLabel:BoxExecute
174 NumberOfControlPoints:0
176 execution:Return:resultString:In
177 NumberOfControlPoints:0
179 resultString:Out:textLabel:In
180 NumberOfControlPoints:0
182 plugButton:BoxChange:resultString:BoxExecute
183 NumberOfControlPoints:0