X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=bbtk_package_creaMiniTools%2Fbbs%2Fboxes%2FcommandMenu.bbs;h=584af2bd9050d570b65afbf7fad59fabdd28f28a;hb=341818031079611f7c3fa98b7ef475540371cb0e;hp=8df621f4923794441a9e7d9dc6ae49189144ca53;hpb=e40e9f0203d00008b8f0725c8f9f72b20dac821b;p=creaMiniTools.git diff --git a/bbtk_package_creaMiniTools/bbs/boxes/commandMenu.bbs b/bbtk_package_creaMiniTools/bbs/boxes/commandMenu.bbs index 8df621f..584af2b 100755 --- a/bbtk_package_creaMiniTools/bbs/boxes/commandMenu.bbs +++ b/bbtk_package_creaMiniTools/bbs/boxes/commandMenu.bbs @@ -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,110 +16,144 @@ description "Description ??" category "" -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 +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 LayoutLine Box22 - set Box22.Orientation H - set Box22.WinTitle "DevelTools" +new wx:StaticBox DScripts + set DScripts.BoxTitle "Scripts (bbg/bbs)" -new LayoutTab Box23 +new wx:LayoutLine ScriptsLayout + set ScriptsLayout.Orientation "V" -new CommandButton Box24 - set Box24.Label "Plug Package" +new wx:LayoutLine DCPPLayout + set DCPPLayout.Orientation "V" -new ExecSystemCommand Box25 - set Box25.In "bbi toolsbbtk/appli/GUIPlugPackage.bbs &" +new wx:LayoutLine DScriptsLayout + set DScriptsLayout.Orientation "V" -new CommandButton Box26 - set Box26.Label "Crea Development Manager" +new wx:LayoutSplit DeprecatedTools + set DeprecatedTools.Orientation "V" + set DeprecatedTools.Proportion "80" + set DeprecatedTools.WinTitle "DeprecatedTools" -new ExecSystemCommand Box27 - set Box27.In "creaDevManager &" +new wx:LayoutSplit ActiveTools + set ActiveTools.Orientation "V" + set ActiveTools.Proportion "33" + set ActiveTools.WinTitle "Active Tools" +new creaMiniTools:MiniToolsIcons Box29 -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 Box03.Widget Box21.Widget1 -connect Box11.Widget Box23.Widget1 -connect Box10.Widget Box22.Widget1 -connect Box23.Widget Box22.Widget2 -connect Box24.BoxChange Box25.BoxExecute -connect Box24.Widget Box21.Widget5 -connect Box13.Widget Box21.Widget4 -connect Box12.Widget Box21.Widget3 -connect Box26.BoxChange Box27.BoxExecute -connect Box26.Widget Box21.Widget2 +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 Box22.Widget " " +output CommandMenu Layout.Widget " " endefine