# ---------------------------------- # - 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 author "Author ??" description "Description ??" category "" new wx:CommandButton BBEditorButton set BBEditorButton.Label "bbEditor (Graphical Pipeline Editor)" new wx:CommandButton BBIButton set BBIButton.Label "bbi (Script Interpreter)" new wx:CommandButton BBStudioButton set BBStudioButton.Label "bbStudio (Script Management)" new wx:CommandButton CreaNewProjectButton set CreaNewProjectButton.Label "Crea New Project (Create a blank project)" new std:ExecSystemCommand CreaNewProjectComm set CreaNewProjectComm.In "creaNewProject &" new std:ExecSystemCommand BBIComm set BBIComm.In "bbi &" new std:ExecSystemCommand BBStudioComm set BBStudioComm.In "bbStudio &" new std:ExecSystemCommand BBEditorComm new wx:LayoutTab Tabs new wx:CommandButton CreatePackageBBTKButton set CreatePackageBBTKButton.Label "Create Package BBTK" new wx:CommandButton CreateBoxBBTKButton set CreateBoxBBTKButton.Label "Create Box BBTK" new std:ExecSystemCommand CreatePackageBBTKComm set CreatePackageBBTKComm.In "bbi toolsbbtk/appli/GUICreatePackage.bbs &" new std:ExecSystemCommand CreateBoxBBTKComm set CreateBoxBBTKComm.In "bbi toolsbbtk/appli/GUICreateBlackBox.bbs &" new wx:LayoutLine CPPLayout set CPPLayout.Orientation "H" new wx:LayoutLine Layout set Layout.Orientation "H" set Layout.WinTitle "DevTools" new wx:CommandButton PlugPackageButton set PlugPackageButton.Label "Plug Package (Link packages with BBTK)" new std:ExecSystemCommand PlugPackageComm set PlugPackageComm.In "bbi toolsbbtk/appli/GUIPlugPackage.bbs &" new std:ExecSystemCommand CreaDevManagerComm new wx:StaticBox CPP set CPP.BoxTitle "C++" new wx:StaticBox Scripts set Scripts.BoxTitle "Scripts (bbg/bbs)" new wx:StaticBox DCPP set DCPP.BoxTitle "C++" new wx:StaticBox DScripts set DScripts.BoxTitle "Scripts (bbg/bbs)" 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 Layout.Widget " " endefine