1 # ----------------------------------
2 # - BBTKGEditor v 1.4 BBS BlackBox Script (Complex Box)
3 # - /home/daniel/creatis/all/creatools_source/creaMiniTools/bbtk_package_creaMiniTools/bbs/boxes/commandMenu.bbs
4 # ----------------------------------
12 define CommandMenu creaMiniTools
15 description "Description ??"
19 new CommandButton BBEditorButton
20 set BBEditorButton.Label "bbEditor (Graphical Pipeline Editor)"
22 new CommandButton BBIButton
23 set BBIButton.Label "bbi (Script Interpreter)"
25 new CommandButton BBStudioButton
26 set BBStudioButton.Label "bbStudio (Script Management)"
28 new CommandButton CreaNewProjectButton
29 set CreaNewProjectButton.Label "Crea New Project (Create a blank project)"
31 new ExecSystemCommand CreaNewProjectComm
32 set CreaNewProjectComm.In "creaNewProject &"
34 new ExecSystemCommand BBIComm
35 set BBIComm.In "bbi &"
37 new ExecSystemCommand BBStudioComm
38 set BBStudioComm.In "bbStudio &"
40 new ExecSystemCommand BBEditorComm
41 set BBEditorComm.In "bbEditor &"
45 new CommandButton CreatePackageBBTKButton
46 set CreatePackageBBTKButton.Label "Create Package BBTK"
48 new CommandButton CreateBoxBBTKButton
49 set CreateBoxBBTKButton.Label "Create Box BBTK"
51 new ExecSystemCommand CreatePackageBBTKComm
52 set CreatePackageBBTKComm.In "bbi toolsbbtk/appli/GUICreatePackage.bbs &"
54 new ExecSystemCommand CreateBoxBBTKComm
55 set CreateBoxBBTKComm.In "bbi toolsbbtk/appli/GUICreateBlackBox.bbs &"
57 new LayoutLine CPPLayout
58 set CPPLayout.Orientation "H"
61 set Layout.Orientation "H"
62 set Layout.WinTitle "DevTools"
64 new CommandButton PlugPackageButton
65 set PlugPackageButton.Label "Plug Package (Link packages with BBTK)"
67 new ExecSystemCommand PlugPackageComm
68 set PlugPackageComm.In "bbi toolsbbtk/appli/GUIPlugPackage.bbs &"
70 new ExecSystemCommand CreaDevManagerComm
71 set CreaDevManagerComm.In "creaDevManager &"
74 set CPP.BoxTitle "C++"
77 set Scripts.BoxTitle "Scripts (bbg/bbs)"
80 set DCPP.BoxTitle "C++"
82 new StaticBox DScripts
83 set DScripts.BoxTitle "Scripts (bbg/bbs)"
85 new LayoutLine ScriptsLayout
86 set ScriptsLayout.Orientation "V"
88 new LayoutLine DCPPLayout
89 set DCPPLayout.Orientation "V"
91 new LayoutLine DScriptsLayout
92 set DScriptsLayout.Orientation "V"
94 new LayoutSplit DeprecatedTools
95 set DeprecatedTools.Orientation "V"
96 set DeprecatedTools.Proportion "80"
97 set DeprecatedTools.WinTitle "DeprecatedTools"
99 new LayoutSplit ActiveTools
100 set ActiveTools.Orientation "V"
101 set ActiveTools.Proportion "33"
102 set ActiveTools.WinTitle "Active Tools"
104 new MiniToolsIcons Box29
106 new BitmapButton Box30
107 set Box30.Label "Crea Development Manager"
110 connect BBIButton.BoxChange BBIComm.BoxExecute
111 connect CreaNewProjectButton.BoxChange CreaNewProjectComm.BoxExecute
112 connect BBStudioButton.BoxChange BBStudioComm.BoxExecute
113 connect BBEditorButton.BoxChange BBEditorComm.BoxExecute
114 connect CreatePackageBBTKButton.BoxChange CreatePackageBBTKComm.BoxExecute
115 connect CreateBoxBBTKButton.BoxChange CreateBoxBBTKComm.BoxExecute
116 connect Tabs.Widget Layout.Widget1
117 connect PlugPackageButton.BoxChange PlugPackageComm.BoxExecute
118 connect CPPLayout.Widget CPP.BoxContent
119 connect ScriptsLayout.Widget Scripts.BoxContent
120 connect DCPPLayout.Widget DCPP.BoxContent
121 connect DScriptsLayout.Widget DScripts.BoxContent
122 connect BBEditorButton.Widget ScriptsLayout.Widget1
123 connect BBIButton.Widget ScriptsLayout.Widget2
124 connect CreaNewProjectButton.Widget DCPPLayout.Widget1
125 connect CreatePackageBBTKButton.Widget DCPPLayout.Widget2
126 connect CreateBoxBBTKButton.Widget DCPPLayout.Widget3
127 connect PlugPackageButton.Widget DCPPLayout.Widget4
128 connect BBStudioButton.Widget DScriptsLayout.Widget1
129 connect DScripts.Widget DeprecatedTools.Widget2
130 connect DCPP.Widget DeprecatedTools.Widget1
131 connect DeprecatedTools.Widget Tabs.Widget2
132 connect ActiveTools.Widget Tabs.Widget1
133 connect CPP.Widget ActiveTools.Widget1
134 connect Scripts.Widget ActiveTools.Widget2
135 connect Box29.IconCreaDevManager Box30.Bitmap
136 connect Box30.Widget CPPLayout.Widget1
137 connect Box30.BoxChange CreaDevManagerComm.BoxExecute
139 # Complex input ports
141 # Complex output ports
142 output CommandMenu Layout.Widget " "