]> Creatis software - creaMiniTools.git/blob - bbtk_package_creaMiniTools/bbs/boxes/commandMenu.bbs
5ef9f7c5be1c145d5b1f2ea21e603eb3a3cf5bc2
[creaMiniTools.git] / bbtk_package_creaMiniTools / bbs / boxes / commandMenu.bbs
1 # ----------------------------------
2 # - BBTKGEditor v 1.4 BBS BlackBox Script (Complex Box)
3 # - E:\creatis\creaToolsCompilation4\creatools_sources\creaMiniTools\bbtk_package_creaMiniTools\bbs\boxes\commandMenu.bbs
4 # ----------------------------------
5
6 include std
7 include itkvtk
8 include wx
9 include std
10 include creaMiniTools
11
12 define CommandMenu creaMiniTools
13
14 author "Author ??"
15 description "Description ??"
16
17 category "<VOID>"
18
19 new wx:CommandButton BBEditorButton
20   set BBEditorButton.Label "bbEditor (Graphical Pipeline Editor)"
21
22 new wx:CommandButton BBIButton
23   set BBIButton.Label "bbi (Script Interpreter)"
24
25 new wx:CommandButton BBStudioButton
26   set BBStudioButton.Label "bbStudio (Script Management)"
27
28 new wx:CommandButton CreaNewProjectButton
29   set CreaNewProjectButton.Label "Crea New Project (Create a blank project)"
30
31 new std:ExecSystemCommand CreaNewProjectComm
32   set CreaNewProjectComm.In "creaNewProject &"
33
34 new std:ExecSystemCommand BBIComm
35   set BBIComm.In "bbi &"
36
37 new std:ExecSystemCommand BBStudioComm
38   set BBStudioComm.In "bbStudio &"
39
40 new std:ExecSystemCommand BBEditorComm
41
42 new wx:LayoutTab Tabs
43
44 new wx:CommandButton CreatePackageBBTKButton
45   set CreatePackageBBTKButton.Label "Create Package BBTK"
46
47 new wx:CommandButton CreateBoxBBTKButton
48   set CreateBoxBBTKButton.Label "Create Box BBTK"
49
50 new std:ExecSystemCommand CreatePackageBBTKComm
51   set CreatePackageBBTKComm.In "bbi toolsbbtk/appli/GUICreatePackage.bbs &"
52
53 new std:ExecSystemCommand CreateBoxBBTKComm
54   set CreateBoxBBTKComm.In "bbi toolsbbtk/appli/GUICreateBlackBox.bbs &"
55
56 new wx:LayoutLine CPPLayout
57   set CPPLayout.Orientation "H"
58
59 new wx:LayoutLine Layout
60   set Layout.Orientation "H"
61   set Layout.WinTitle "DevTools"
62
63 new wx:CommandButton PlugPackageButton
64   set PlugPackageButton.Label "Plug Package (Link packages with BBTK)"
65
66 new std:ExecSystemCommand PlugPackageComm
67   set PlugPackageComm.In "bbi toolsbbtk/appli/GUIPlugPackage.bbs &"
68
69 new std:ExecSystemCommand CreaDevManagerComm
70
71 new wx:StaticBox CPP
72   set CPP.BoxTitle "C++"
73
74 new wx:StaticBox Scripts
75   set Scripts.BoxTitle "Scripts (bbg/bbs)"
76
77 new wx:StaticBox DCPP
78   set DCPP.BoxTitle "C++"
79
80 new wx:StaticBox DScripts
81   set DScripts.BoxTitle "Scripts (bbg/bbs)"
82
83 new wx:LayoutLine ScriptsLayout
84   set ScriptsLayout.Orientation "V"
85
86 new wx:LayoutLine DCPPLayout
87   set DCPPLayout.Orientation "V"
88
89 new wx:LayoutLine DScriptsLayout
90   set DScriptsLayout.Orientation "V"
91
92 new wx:LayoutSplit DeprecatedTools
93   set DeprecatedTools.Orientation "V"
94   set DeprecatedTools.Proportion "80"
95   set DeprecatedTools.WinTitle "DeprecatedTools"
96
97 new wx:LayoutSplit ActiveTools
98   set ActiveTools.Orientation "V"
99   set ActiveTools.Proportion "33"
100   set ActiveTools.WinTitle "Active Tools"
101
102 new creaMiniTools:MiniToolsIcons Box29
103
104 new wx:BitmapButton Box30
105   set Box30.Label "Crea Development Manager"
106
107 new std:Configuration Box31
108
109 new std:ConcatStrings Box32
110   set Box32.In2 "creaDevManager &"
111
112 new std:StringSelect Box33
113   set Box33.In1 "start /b "
114
115 new std:ConcatStrings Box34
116   set Box34.In2 "bbEditor &"
117
118
119 connect BBIButton.BoxChange BBIComm.BoxExecute
120 connect CreaNewProjectButton.BoxChange CreaNewProjectComm.BoxExecute
121 connect BBStudioButton.BoxChange BBStudioComm.BoxExecute
122 connect BBEditorButton.BoxChange BBEditorComm.BoxExecute
123 connect CreatePackageBBTKButton.BoxChange CreatePackageBBTKComm.BoxExecute
124 connect CreateBoxBBTKButton.BoxChange CreateBoxBBTKComm.BoxExecute
125 connect Tabs.Widget Layout.Widget1
126 connect PlugPackageButton.BoxChange PlugPackageComm.BoxExecute
127 connect CPPLayout.Widget CPP.BoxContent
128 connect ScriptsLayout.Widget Scripts.BoxContent
129 connect DCPPLayout.Widget DCPP.BoxContent
130 connect DScriptsLayout.Widget DScripts.BoxContent
131 connect BBEditorButton.Widget ScriptsLayout.Widget1
132 connect BBIButton.Widget ScriptsLayout.Widget2
133 connect CreaNewProjectButton.Widget DCPPLayout.Widget1
134 connect CreatePackageBBTKButton.Widget DCPPLayout.Widget2
135 connect CreateBoxBBTKButton.Widget DCPPLayout.Widget3
136 connect PlugPackageButton.Widget DCPPLayout.Widget4
137 connect BBStudioButton.Widget DScriptsLayout.Widget1
138 connect DScripts.Widget DeprecatedTools.Widget2
139 connect DCPP.Widget DeprecatedTools.Widget1
140 connect DeprecatedTools.Widget Tabs.Widget2
141 connect ActiveTools.Widget Tabs.Widget1
142 connect CPP.Widget ActiveTools.Widget1
143 connect Scripts.Widget ActiveTools.Widget2
144 connect Box29.IconCreaDevManager Box30.Bitmap
145 connect Box30.Widget CPPLayout.Widget1
146 connect Box30.BoxChange CreaDevManagerComm.BoxExecute
147 connect Box32.Out CreaDevManagerComm.In
148 connect Box31.SystemType Box33.In
149 connect Box33.Out Box32.In1
150 connect Box34.Out BBEditorComm.In
151 connect Box33.Out Box34.In1
152
153 # Complex input ports
154
155 # Complex output ports
156 output CommandMenu Layout.Widget " "
157
158 message    
159
160 endefine