]> Creatis software - bbtk.git/blob - packages/toolsbbtk/bbs/appli/GUIPlugPackage.bbg
86372861ea9181f71ef982e5a266d9e04bb478f6
[bbtk.git] / packages / toolsbbtk / bbs / appli / GUIPlugPackage.bbg
1 # ----------------------------------
2 # - BBTKGEditor v 1.3 BBG BlackBox Diagram file
3 # - /home/daniel/Documents/TrabajosCreaTools/Proyectos/PlugPackageBBS/GUIPlugPackage.bbg
4 # ----------------------------------
5
6 APP_START
7 CATEGORY:Core Script
8 DESCRIPTION:Plug Package Script
9 AUTHOR:Daniel Gonzalez
10 COMPLEXBOX:FALSE
11 BOXES:10
12 BOX
13 wx:DirectorySelector:directorySelect
14 ISEXEC:TRUE
15 -53.953613:46.374504:-900.000000
16 17.221387:36.374504:-900.000000
17 PORT
18 Message:"Select the location of the package"
19 PORT
20 Title:"Select Package"
21 FIN_BOX
22 BOX
23 wx:LayoutLine:Layout
24 ISEXEC:TRUE
25 -86.305460:-39.244838:-900.000000
26 -28.745460:-49.244838:-900.000000
27 PORT
28 WinHeight:"200"
29 PORT
30 WinTitle:"Plug Package"
31 PORT
32 WinWidth:"500"
33 FIN_BOX
34 BOX
35 wx:OutputText:title
36 ISEXEC:FALSE
37 -112.774918:11.953102:-900.000000
38 -67.199918:1.953102:-900.000000
39 PORT
40 In:"Plug package directory&&2P&& "
41 FIN_BOX
42 BOX
43 std:ExecSystemCommand:execution
44 ISEXEC:FALSE
45 7.470713:-54.422091:-900.000000
46 78.645713:-64.422091:-900.000000
47 FIN_BOX
48 BOX
49 wx:CommandButton:plugButton
50 ISEXEC:FALSE
51 -15.909874:12.084440:-900.000000
52 55.265126:2.084440:-900.000000
53 PORT
54 In:"print $lineToExecute.Out$;"
55 PORT
56 Label:"Plug it!"
57 FIN_BOX
58 BOX
59 std:ConcatStrings:lineToExecute
60 ISEXEC:FALSE
61 15.812930:-18.789154:-900.000000
62 86.987930:-28.789154:-900.000000
63 PORT
64 In1:"bbPlugPackage "
65 FIN_BOX
66 BOX
67 wx:OutputText:pathText
68 ISEXEC:FALSE
69 -64.000751:12.249860:-900.000000
70 -18.425751:2.249860:-900.000000
71 FIN_BOX
72 BOX
73 std:StringSelect:resultString
74 ISEXEC:FALSE
75 -2.976464:-81.624410:-900.000000
76 42.598536:-91.624410:-900.000000
77 PORT
78 In0:"Packaged Successfully Plugged"
79 PORT
80 In1:"An error occurred while plugging the package. Please check the command line."
81 PORT
82 In2:"An error 2 occurred while plugging the package. Please check the command line."
83 PORT
84 In3:"An error 3 occurred while plugging the package. Please check the command line."
85 PORT
86 In4:"An error 4 occurred while plugging the package. Please check the command line."
87 PORT
88 In5:"An error 5 occurred while plugging the package. Please check the command line."
89 PORT
90 In6:"An error 6 occurred while plugging the package. Please check the command line."
91 PORT
92 In7:"An error 7 occurred while plugging the package. Please check the command line."
93 PORT
94 In8:"An error 8 occurred while plugging the package. Please check the command line."
95 PORT
96 In9:"An error 9 occurred while plugging the package. Please check the command line."
97 FIN_BOX
98 BOX
99 wx:LayoutLine:resultDialog
100 ISEXEC:FALSE
101 -45.213908:-131.484121:-900.000000
102 12.346092:-141.484121:-900.000000
103 PORT
104 WinDialog:"true"
105 PORT
106 WinHeight:"100"
107 PORT
108 WinTitle:"Result"
109 PORT
110 WinWidth:"400"
111 FIN_BOX
112 BOX
113 wx:OutputText:textLabel
114 ISEXEC:FALSE
115 -21.213212:-107.294445:-900.000000
116 24.361788:-117.294445:-900.000000
117 FIN_BOX
118 CONNECTIONS:13
119 CONNECTION
120 title:Widget:Layout:Widget1
121 NumberOfControlPoints:0
122 CONNECTION
123 lineToExecute:Out:execution:In
124 NumberOfControlPoints:0
125 CONNECTION
126 plugButton:Widget:Layout:Widget3
127 NumberOfControlPoints:0
128 CONNECTION
129 directorySelect:Out:lineToExecute:In2
130 NumberOfControlPoints:0
131 CONNECTION
132 directorySelect:Out:pathText:In
133 NumberOfControlPoints:0
134 CONNECTION
135 pathText:Widget:Layout:Widget2
136 NumberOfControlPoints:0
137 CONNECTION
138 plugButton:BoxChange:execution:BoxExecute
139 NumberOfControlPoints:0
140 CONNECTION
141 textLabel:Widget:resultDialog:Widget1
142 NumberOfControlPoints:0
143 CONNECTION
144 plugButton:BoxChange:resultDialog:BoxExecute
145 NumberOfControlPoints:0
146 CONNECTION
147 plugButton:BoxChange:textLabel:BoxExecute
148 NumberOfControlPoints:0
149 CONNECTION
150 execution:Return:resultString:In
151 NumberOfControlPoints:0
152 CONNECTION
153 resultString:Out:textLabel:In
154 NumberOfControlPoints:0
155 CONNECTION
156 plugButton:BoxChange:resultString:BoxExecute
157 NumberOfControlPoints:0
158 APP_END