# ----------------------------------
-# - BBTKGEditor v 1.2 BBS BlackBox Script (Complex Box)
-# - /Users/davila/Creatis/All3/creatools_source/creaMiniTools/bbtk_package_creaMiniTools/bbs/boxes/commandMenu.bbs
+# - BBTKGEditor v 1.4 BBS BlackBox Script (Complex Box)
+# - E:\creatis\creaToolsCompilation4\creatools_sources\creaMiniTools\bbtk_package_creaMiniTools\bbs\boxes\commandMenu.bbs
# ----------------------------------
include std
include itkvtk
include wx
include std
+include creaMiniTools
define CommandMenu creaMiniTools
category "<VOID>"
-new CommandButton Box00
- set Box00.Label "bbEditor"
+new wx:CommandButton BBEditorButton
+ set BBEditorButton.Label "bbEditor (Graphical Pipeline Editor)"
-new CommandButton Box01
- set Box01.Label "bbi"
+new wx:CommandButton BBIButton
+ set BBIButton.Label "bbi (Script Interpreter)"
-new CommandButton Box02
- set Box02.Label "bbStudio"
+new wx:CommandButton BBStudioButton
+ set BBStudioButton.Label "bbStudio (Script Management)"
-new CommandButton Box03
- set Box03.Label "Create New Project"
+new wx:CommandButton CreaNewProjectButton
+ set CreaNewProjectButton.Label "Crea New Project (Create a blank project)"
-new ExecSystemCommand Box04
- set Box04.In "creaNewProject &"
+new std:ExecSystemCommand CreaNewProjectComm
+ set CreaNewProjectComm.In "creaNewProject &"
-new ExecSystemCommand Box05
- set Box05.In "bbi &"
+new std:ExecSystemCommand BBIComm
+ set BBIComm.In "bbi &"
-new ExecSystemCommand Box06
- set Box06.In "bbStudio &"
+new std:ExecSystemCommand BBStudioComm
+ set BBStudioComm.In "bbStudio &"
-new ExecSystemCommand Box07
- set Box07.In "bbEditor &"
+new std:ExecSystemCommand BBEditorComm
-new LayoutLine Box09
- set Box09.Orientation H
- set Box09.WinTitle "bbg/bbs"
+new wx:LayoutTab Tabs
-new LayoutTab Box10
- set Box10.WinTitle "DevelTools"
+new wx:CommandButton CreatePackageBBTKButton
+ set CreatePackageBBTKButton.Label "Create Package BBTK"
-new LayoutLine Box11
- set Box11.Orientation H
- set Box11.WinTitle "C++"
+new wx:CommandButton CreateBoxBBTKButton
+ set CreateBoxBBTKButton.Label "Create Box BBTK"
-new CommandButton Box12
- set Box12.Label "Create Package BBTK"
+new std:ExecSystemCommand CreatePackageBBTKComm
+ set CreatePackageBBTKComm.In "bbi toolsbbtk/appli/GUICreatePackage.bbs &"
-new CommandButton Box13
- set Box13.Label "Create Box BBTK"
+new std:ExecSystemCommand CreateBoxBBTKComm
+ set CreateBoxBBTKComm.In "bbi toolsbbtk/appli/GUICreateBlackBox.bbs &"
-new ExecSystemCommand Box14
- set Box14.In "bbi toolsbbtk/appli/GUICreatePackage.bbs &"
+new wx:LayoutLine CPPLayout
+ set CPPLayout.Orientation "H"
-new ExecSystemCommand Box15
- set Box15.In "bbi toolsbbtk/appli/GUICreateBlackBox.bbs &"
+new wx:LayoutLine Layout
+ set Layout.Orientation "H"
+ set Layout.WinTitle "DevTools"
-new LayoutLine Box16
+new wx:CommandButton PlugPackageButton
+ set PlugPackageButton.Label "Plug Package (Link packages with BBTK)"
-new LayoutLine Box17
+new std:ExecSystemCommand PlugPackageComm
+ set PlugPackageComm.In "bbi toolsbbtk/appli/GUIPlugPackage.bbs &"
-new LayoutLine Box18
+new std:ExecSystemCommand CreaDevManagerComm
-new LayoutLine Box19
+new wx:StaticBox CPP
+ set CPP.BoxTitle "C++"
-new LayoutLine Box20
+new wx:StaticBox Scripts
+ set Scripts.BoxTitle "Scripts (bbg/bbs)"
-new LayoutLine Box21
+new wx:StaticBox DCPP
+ set DCPP.BoxTitle "C++"
+new wx:StaticBox DScripts
+ set DScripts.BoxTitle "Scripts (bbg/bbs)"
-connect Box01.BoxChange Box05.BoxExecute
-connect Box03.BoxChange Box04.BoxExecute
-connect Box02.BoxChange Box06.BoxExecute
-connect Box00.BoxChange Box07.BoxExecute
-connect Box09.Widget Box10.Widget1
-connect Box11.Widget Box10.Widget2
-connect Box12.BoxChange Box14.BoxExecute
-connect Box13.BoxChange Box15.BoxExecute
-connect Box01.Widget Box17.Widget3
-connect Box02.Widget Box17.Widget2
-connect Box00.Widget Box17.Widget1
-connect Box18.Widget Box09.Widget3
-connect Box17.Widget Box09.Widget2
-connect Box16.Widget Box09.Widget1
-connect Box20.Widget Box11.Widget1
-connect Box21.Widget Box11.Widget2
-connect Box19.Widget Box11.Widget3
-connect Box13.Widget Box21.Widget3
-connect Box12.Widget Box21.Widget2
-connect Box03.Widget Box21.Widget1
+new wx:LayoutLine ScriptsLayout
+ set ScriptsLayout.Orientation "V"
+new wx:LayoutLine DCPPLayout
+ set DCPPLayout.Orientation "V"
+
+new wx:LayoutLine DScriptsLayout
+ set DScriptsLayout.Orientation "V"
+
+new wx:LayoutSplit DeprecatedTools
+ set DeprecatedTools.Orientation "V"
+ set DeprecatedTools.Proportion "80"
+ set DeprecatedTools.WinTitle "DeprecatedTools"
+
+new wx:LayoutSplit ActiveTools
+ set ActiveTools.Orientation "V"
+ set ActiveTools.Proportion "33"
+ set ActiveTools.WinTitle "Active Tools"
+
+new creaMiniTools:MiniToolsIcons Box29
+
+new wx:BitmapButton Box30
+ set Box30.Label "Crea Development Manager"
+
+new std:Configuration Box31
+
+new std:ConcatStrings Box32
+ set Box32.In2 "creaDevManager &"
+
+new std:StringSelect Box33
+ set Box33.In1 "start /b "
+
+new std:ConcatStrings Box34
+ set Box34.In2 "bbEditor &"
+
+
+connect BBIButton.BoxChange BBIComm.BoxExecute
+connect CreaNewProjectButton.BoxChange CreaNewProjectComm.BoxExecute
+connect BBStudioButton.BoxChange BBStudioComm.BoxExecute
+connect BBEditorButton.BoxChange BBEditorComm.BoxExecute
+connect CreatePackageBBTKButton.BoxChange CreatePackageBBTKComm.BoxExecute
+connect CreateBoxBBTKButton.BoxChange CreateBoxBBTKComm.BoxExecute
+connect Tabs.Widget Layout.Widget1
+connect PlugPackageButton.BoxChange PlugPackageComm.BoxExecute
+connect CPPLayout.Widget CPP.BoxContent
+connect ScriptsLayout.Widget Scripts.BoxContent
+connect DCPPLayout.Widget DCPP.BoxContent
+connect DScriptsLayout.Widget DScripts.BoxContent
+connect BBEditorButton.Widget ScriptsLayout.Widget1
+connect BBIButton.Widget ScriptsLayout.Widget2
+connect CreaNewProjectButton.Widget DCPPLayout.Widget1
+connect CreatePackageBBTKButton.Widget DCPPLayout.Widget2
+connect CreateBoxBBTKButton.Widget DCPPLayout.Widget3
+connect PlugPackageButton.Widget DCPPLayout.Widget4
+connect BBStudioButton.Widget DScriptsLayout.Widget1
+connect DScripts.Widget DeprecatedTools.Widget2
+connect DCPP.Widget DeprecatedTools.Widget1
+connect DeprecatedTools.Widget Tabs.Widget2
+connect ActiveTools.Widget Tabs.Widget1
+connect CPP.Widget ActiveTools.Widget1
+connect Scripts.Widget ActiveTools.Widget2
+connect Box29.IconCreaDevManager Box30.Bitmap
+connect Box30.Widget CPPLayout.Widget1
+connect Box30.BoxChange CreaDevManagerComm.BoxExecute
+connect Box32.Out CreaDevManagerComm.In
+connect Box31.SystemType Box33.In
+connect Box33.Out Box32.In1
+connect Box34.Out BBEditorComm.In
+connect Box33.Out Box34.In1
# Complex input ports
# Complex output ports
-output CommandMenu Box10.Widget " "
+output CommandMenu Layout.Widget " "
+
endefine