]> Creatis software - creaMiniTools.git/blobdiff - bbtk_package_creaMiniTools/bbs/boxes/commandMenu.bbs
#3418 merge vtk8itk5wx3-mingw64
[creaMiniTools.git] / bbtk_package_creaMiniTools / bbs / boxes / commandMenu.bbs
index 4a7d0e4f845e065ad64f41159fe87d712ea28975..584af2bd9050d570b65afbf7fad59fabdd28f28a 100755 (executable)
@@ -1,12 +1,13 @@
 # ----------------------------------
 # - BBTKGEditor v 1.4 BBS BlackBox Script (Complex Box)
-# - /home/daniel/creatis/all/creatools_source/creaMiniTools/bbtk_package_creaMiniTools/bbs/boxes/commandMenu.bbs
+# - 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
 
@@ -15,94 +16,105 @@ description "Description ??"
 
 category "<VOID>"
 
-new CommandButton BBEditorButton
+new wx:CommandButton BBEditorButton
   set BBEditorButton.Label "bbEditor (Graphical Pipeline Editor)"
 
-new CommandButton BBIButton
+new wx:CommandButton BBIButton
   set BBIButton.Label "bbi (Script Interpreter)"
 
-new CommandButton BBStudioButton
+new wx:CommandButton BBStudioButton
   set BBStudioButton.Label "bbStudio (Script Management)"
 
-new CommandButton CreaNewProjectButton
+new wx:CommandButton CreaNewProjectButton
   set CreaNewProjectButton.Label "Crea New Project (Create a blank project)"
 
-new ExecSystemCommand CreaNewProjectComm
+new std:ExecSystemCommand CreaNewProjectComm
   set CreaNewProjectComm.In "creaNewProject &"
 
-new ExecSystemCommand BBIComm
+new std:ExecSystemCommand BBIComm
   set BBIComm.In "bbi &"
 
-new ExecSystemCommand BBStudioComm
+new std:ExecSystemCommand BBStudioComm
   set BBStudioComm.In "bbStudio &"
 
-new ExecSystemCommand BBEditorComm
-  set BBEditorComm.In "bbEditor &"
+new std:ExecSystemCommand BBEditorComm
 
-new LayoutTab Tabs
+new wx:LayoutTab Tabs
 
-new CommandButton CreatePackageBBTKButton
+new wx:CommandButton CreatePackageBBTKButton
   set CreatePackageBBTKButton.Label "Create Package BBTK"
 
-new CommandButton CreateBoxBBTKButton
+new wx:CommandButton CreateBoxBBTKButton
   set CreateBoxBBTKButton.Label "Create Box BBTK"
 
-new ExecSystemCommand CreatePackageBBTKComm
+new std:ExecSystemCommand CreatePackageBBTKComm
   set CreatePackageBBTKComm.In "bbi toolsbbtk/appli/GUICreatePackage.bbs &"
 
-new ExecSystemCommand CreateBoxBBTKComm
+new std:ExecSystemCommand CreateBoxBBTKComm
   set CreateBoxBBTKComm.In "bbi toolsbbtk/appli/GUICreateBlackBox.bbs &"
 
-new LayoutLine CPPLayout
-  set CPPLayout.Orientation "V"
+new wx:LayoutLine CPPLayout
+  set CPPLayout.Orientation "H"
 
-new LayoutLine Layout
+new wx:LayoutLine Layout
   set Layout.Orientation "H"
   set Layout.WinTitle "DevTools"
 
-new CommandButton PlugPackageButton
+new wx:CommandButton PlugPackageButton
   set PlugPackageButton.Label "Plug Package (Link packages with BBTK)"
 
-new ExecSystemCommand PlugPackageComm
+new std:ExecSystemCommand PlugPackageComm
   set PlugPackageComm.In "bbi toolsbbtk/appli/GUIPlugPackage.bbs &"
 
-new CommandButton CreaDevManagerButton
-  set CreaDevManagerButton.Label "Crea Development Manager"
+new std:ExecSystemCommand CreaDevManagerComm
 
-new ExecSystemCommand CreaDevManagerComm
-  set CreaDevManagerComm.In "creaDevManager &"
-
-new StaticBox CPP
+new wx:StaticBox CPP
   set CPP.BoxTitle "C++"
 
-new StaticBox Scripts
+new wx:StaticBox Scripts
   set Scripts.BoxTitle "Scripts (bbg/bbs)"
 
-new StaticBox DCPP
+new wx:StaticBox DCPP
   set DCPP.BoxTitle "C++"
 
-new StaticBox DScripts
+new wx:StaticBox DScripts
   set DScripts.BoxTitle "Scripts (bbg/bbs)"
 
-new LayoutLine ScriptsLayout
+new wx:LayoutLine ScriptsLayout
   set ScriptsLayout.Orientation "V"
 
-new LayoutLine DCPPLayout
+new wx:LayoutLine DCPPLayout
   set DCPPLayout.Orientation "V"
 
-new LayoutLine DScriptsLayout
+new wx:LayoutLine DScriptsLayout
   set DScriptsLayout.Orientation "V"
 
-new LayoutSplit DeprecatedTools
+new wx:LayoutSplit DeprecatedTools
   set DeprecatedTools.Orientation "V"
   set DeprecatedTools.Proportion "80"
   set DeprecatedTools.WinTitle "DeprecatedTools"
 
-new LayoutSplit ActiveTools
+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
@@ -112,12 +124,10 @@ connect CreatePackageBBTKButton.BoxChange CreatePackageBBTKComm.BoxExecute
 connect CreateBoxBBTKButton.BoxChange CreateBoxBBTKComm.BoxExecute
 connect Tabs.Widget Layout.Widget1
 connect PlugPackageButton.BoxChange PlugPackageComm.BoxExecute
-connect CreaDevManagerButton.BoxChange CreaDevManagerComm.BoxExecute
 connect CPPLayout.Widget CPP.BoxContent
 connect ScriptsLayout.Widget Scripts.BoxContent
 connect DCPPLayout.Widget DCPP.BoxContent
 connect DScriptsLayout.Widget DScripts.BoxContent
-connect CreaDevManagerButton.Widget CPPLayout.Widget1
 connect BBEditorButton.Widget ScriptsLayout.Widget1
 connect BBIButton.Widget ScriptsLayout.Widget2
 connect CreaNewProjectButton.Widget DCPPLayout.Widget1
@@ -131,6 +141,14 @@ 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