]> Creatis software - creaMiniTools.git/blobdiff - bbtk_package_creaMiniTools/bbs/boxes/commandMenu.bbs
Feature #2003 DevTools Tab Redesign
[creaMiniTools.git] / bbtk_package_creaMiniTools / bbs / boxes / commandMenu.bbs
index db88993d0e47c35a9cd2ccbcc50a53bf603cbad1..fa88185c5aaf79feec6250358e1012c22b5eec17 100755 (executable)
@@ -1,12 +1,13 @@
 # ----------------------------------
-# - BBTKGEditor v 1.2 BBS BlackBox Script (Complex Box)
-# - /Users/davila/Creatis/All5/creatools_source/creaMiniTools/bbtk_package_creaMiniTools/bbs/boxes/commandMenu.bbs
+# - BBTKGEditor v 1.4 BBS BlackBox Script (Complex Box)
+# - /home/daniel/creatis/all/creatools_source/creaMiniTools/bbtk_package_creaMiniTools/bbs/boxes/commandMenu.bbs
 # ----------------------------------
 
 include std
 include itkvtk
 include wx
 include std
+include creaMiniTools
 
 define CommandMenu creaMiniTools
 
@@ -15,94 +16,130 @@ description "Description ??"
 
 category "<VOID>"
 
-new CommandButton Box00
-  set Box00.Label "bbEditor"
+new CommandButton BBEditorButton
+  set BBEditorButton.Label "bbEditor (Graphical Pipeline Editor)"
 
-new CommandButton Box01
-  set Box01.Label "bbi"
+new CommandButton BBIButton
+  set BBIButton.Label "bbi (Script Interpreter)"
 
-new CommandButton Box02
-  set Box02.Label "bbStudio"
+new CommandButton BBStudioButton
+  set BBStudioButton.Label "bbStudio (Script Management)"
 
-new CommandButton Box03
-  set Box03.Label "Create New Project"
+new CommandButton CreaNewProjectButton
+  set CreaNewProjectButton.Label "Crea New Project (Create a blank project)"
 
-new ExecSystemCommand Box04
-  set Box04.In "creaNewProject &"
+new ExecSystemCommand CreaNewProjectComm
+  set CreaNewProjectComm.In "creaNewProject &"
 
-new ExecSystemCommand Box05
-  set Box05.In "bbi &"
+new ExecSystemCommand BBIComm
+  set BBIComm.In "bbi &"
 
-new ExecSystemCommand Box06
-  set Box06.In "bbStudio &"
+new ExecSystemCommand BBStudioComm
+  set BBStudioComm.In "bbStudio &"
 
-new ExecSystemCommand Box07
-  set Box07.In "bbEditor &"
+new ExecSystemCommand BBEditorComm
+  set BBEditorComm.In "bbEditor &"
 
-new LayoutLine Box09
-  set Box09.Orientation H
-  set Box09.WinTitle "bbg/bbs"
+new LayoutTab Tabs
 
-new LayoutTab Box10
+new CommandButton CreatePackageBBTKButton
+  set CreatePackageBBTKButton.Label "Create Package BBTK"
 
-new LayoutLine Box11
-  set Box11.Orientation H
-  set Box11.WinTitle "C++"
+new CommandButton CreateBoxBBTKButton
+  set CreateBoxBBTKButton.Label "Create Box BBTK"
 
-new CommandButton Box12
-  set Box12.Label "Create Package BBTK"
+new ExecSystemCommand CreatePackageBBTKComm
+  set CreatePackageBBTKComm.In "bbi toolsbbtk/appli/GUICreatePackage.bbs &"
 
-new CommandButton Box13
-  set Box13.Label "Create Box BBTK"
+new ExecSystemCommand CreateBoxBBTKComm
+  set CreateBoxBBTKComm.In "bbi toolsbbtk/appli/GUICreateBlackBox.bbs &"
 
-new ExecSystemCommand Box14
-  set Box14.In "bbi toolsbbtk/appli/GUICreatePackage.bbs &"
+new LayoutLine CPPLayout
+  set CPPLayout.Orientation "H"
 
-new ExecSystemCommand Box15
-  set Box15.In "bbi toolsbbtk/appli/GUICreateBlackBox.bbs &"
+new LayoutLine Layout
+  set Layout.Orientation "H"
+  set Layout.WinTitle "DevTools"
 
-new LayoutLine Box16
+new CommandButton PlugPackageButton
+  set PlugPackageButton.Label "Plug Package (Link packages with BBTK)"
 
-new LayoutLine Box17
+new ExecSystemCommand PlugPackageComm
+  set PlugPackageComm.In "bbi toolsbbtk/appli/GUIPlugPackage.bbs &"
 
-new LayoutLine Box18
+new ExecSystemCommand CreaDevManagerComm
+  set CreaDevManagerComm.In "creaDevManager &"
 
-new LayoutLine Box19
+new StaticBox CPP
+  set CPP.BoxTitle "C++"
 
-new LayoutLine Box20
+new StaticBox Scripts
+  set Scripts.BoxTitle "Scripts (bbg/bbs)"
 
-new LayoutLine Box21
+new StaticBox DCPP
+  set DCPP.BoxTitle "C++"
 
-new LayoutLine Box22
-  set Box22.Orientation H
-  set Box22.WinTitle "DevelTools"
+new StaticBox DScripts
+  set DScripts.BoxTitle "Scripts (bbg/bbs)"
 
-new LayoutTab Box23
+new LayoutLine ScriptsLayout
+  set ScriptsLayout.Orientation "V"
 
+new LayoutLine DCPPLayout
+  set DCPPLayout.Orientation "V"
 
-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 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 Box17.Widget Box09.Widget2
-connect Box21.Widget Box11.Widget2
-connect Box13.Widget Box21.Widget3
-connect Box12.Widget Box21.Widget2
-connect Box03.Widget Box21.Widget1
-connect Box11.Widget Box23.Widget1
-connect Box10.Widget Box22.Widget1
-connect Box23.Widget Box22.Widget2
+new LayoutLine DScriptsLayout
+  set DScriptsLayout.Orientation "V"
 
+new LayoutSplit DeprecatedTools
+  set DeprecatedTools.Orientation "V"
+  set DeprecatedTools.Proportion "80"
+  set DeprecatedTools.WinTitle "DeprecatedTools"
+
+new LayoutSplit ActiveTools
+  set ActiveTools.Orientation "V"
+  set ActiveTools.Proportion "33"
+  set ActiveTools.WinTitle "Active Tools"
+
+new MiniToolsIcons Box29
+
+new BitmapButton Box30
+  set Box30.Label "Crea Development Manager"
+
+
+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
 
 # Complex input ports
 
 # Complex output ports
-output CommandMenu Box22.Widget " "
+output CommandMenu Layout.Widget " "
+
 
 endefine