1 description "Creates a new bbtk package file structure on disk (Graphical user interface for the script bbCreatePackage)."
2 author "laurent.guigues at creatis.insa-lyon.fr"
8 new DirectorySelector dir
9 set dir.Title "Select the location of your new package"
13 set name.In "NEW_PACKAGE"
16 set author.Title "Author(s)"
17 set author.In "<author>"
19 new InputText description
20 set description.Title "Description"
21 set description.In "<description>"
24 connect name.Widget info.Widget1
25 connect author.Widget info.Widget2
26 connect description.Widget info.Widget3
28 set info.WinDialog true
31 new ConcatStrings concatStr
32 set concatStr.In1 "./bbCreatePackage "
33 connect dir.Out concatStr.In2
35 connect name.Out concatStr.In4
36 set concatStr.In5 " '"
37 connect author.Out concatStr.In6
38 set concatStr.In7 "' '"
39 connect description.Out concatStr.In8
43 new ExecSystemCommand command
44 connect concatStr.Out command.In