-# ---------------------------------------------------------------------
-#
-# Copyright (c) CREATIS (Centre de Recherche en Acquisition et Traitement de l'Image
-# pour la Sant�)
-# Authors : Eduardo Davila, Frederic Cervenansky, Claire Mouton
-# Previous Authors : Laurent Guigues, Jean-Pierre Roux
-# CreaTools website : www.creatis.insa-lyon.fr/site/fr/creatools_accueil
-#
-# This software is governed by the CeCILL-B license under French law and
-# abiding by the rules of distribution of free software. You can use,
-# modify and/ or redistribute the software under the terms of the CeCILL-B
-# license as circulated by CEA, CNRS and INRIA at the following URL
-# http://www.cecill.info/licences/Licence_CeCILL-B_V1-en.html
-# or in the file LICENSE.txt.
-#
-# As a counterpart to the access to the source code and rights to copy,
-# modify and redistribute granted by the license, users are provided only
-# with a limited warranty and the software's author, the holder of the
-# economic rights, and the successive licensors have only limited
-# liability.
-#
-# The fact that you are presently reading this means that you have had
-# knowledge of the CeCILL-B license and that you accept its terms.
-# ------------------------------------------------------------------------ */
-
# ----------------------------------
-# - BBTKGEditor v 1.3 BBS BlackBox Script (Complex Box)
-# - /home/daniel/creatis/All/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 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 CommandButton Box01
- set Box01.Label "bbi"
+new std:ExecSystemCommand BBIComm
+ set BBIComm.In "bbi &"
-new CommandButton Box02
- set Box02.Label "bbStudio"
+new std:ExecSystemCommand BBStudioComm
+ set BBStudioComm.In "bbStudio &"
-new CommandButton Box03
- set Box03.Label "Create New Project"
+new std:ExecSystemCommand BBEditorComm
-new ExecSystemCommand Box04
- set Box04.In "creaNewProject &"
+new wx:LayoutTab Tabs
-new ExecSystemCommand Box05
- set Box05.In "bbi &"
+new wx:CommandButton CreatePackageBBTKButton
+ set CreatePackageBBTKButton.Label "Create Package BBTK"
-new ExecSystemCommand Box06
- set Box06.In "bbStudio &"
+new wx:CommandButton CreateBoxBBTKButton
+ set CreateBoxBBTKButton.Label "Create Box BBTK"
-new ExecSystemCommand Box07
- set Box07.In "bbEditor &"
+new std:ExecSystemCommand CreatePackageBBTKComm
+ set CreatePackageBBTKComm.In "bbi toolsbbtk/appli/GUICreatePackage.bbs &"
-new LayoutLine Box09
- set Box09.Orientation H
- set Box09.WinTitle "bbg/bbs"
+new std:ExecSystemCommand CreateBoxBBTKComm
+ set CreateBoxBBTKComm.In "bbi toolsbbtk/appli/GUICreateBlackBox.bbs &"
-new LayoutTab Box10
+new wx:LayoutLine CPPLayout
+ set CPPLayout.Orientation "H"
-new LayoutLine Box11
- set Box11.Orientation H
- set Box11.WinTitle "C++"
+new wx:LayoutLine Layout
+ set Layout.Orientation "H"
+ set Layout.WinTitle "DevTools"
-new CommandButton Box12
- set Box12.Label "Create Package BBTK"
+new wx:CommandButton PlugPackageButton
+ set PlugPackageButton.Label "Plug Package (Link packages with BBTK)"
-new CommandButton Box13
- set Box13.Label "Create Box BBTK"
+new std:ExecSystemCommand PlugPackageComm
+ set PlugPackageComm.In "bbi toolsbbtk/appli/GUIPlugPackage.bbs &"
-new ExecSystemCommand Box14
- set Box14.In "bbi toolsbbtk/appli/GUICreatePackage.bbs &"
+new std:ExecSystemCommand CreaDevManagerComm
-new ExecSystemCommand Box15
- set Box15.In "bbi toolsbbtk/appli/GUICreateBlackBox.bbs &"
+new wx:StaticBox CPP
+ set CPP.BoxTitle "C++"
-new LayoutLine Box16
+new wx:StaticBox Scripts
+ set Scripts.BoxTitle "Scripts (bbg/bbs)"
-new LayoutLine Box17
+new wx:StaticBox DCPP
+ set DCPP.BoxTitle "C++"
-new LayoutLine Box18
+new wx:StaticBox DScripts
+ set DScripts.BoxTitle "Scripts (bbg/bbs)"
-new LayoutLine Box19
+new wx:LayoutLine ScriptsLayout
+ set ScriptsLayout.Orientation "V"
-new LayoutLine Box20
+new wx:LayoutLine DCPPLayout
+ set DCPPLayout.Orientation "V"
-new LayoutLine Box21
+new wx:LayoutLine DScriptsLayout
+ set DScriptsLayout.Orientation "V"
-new LayoutLine Box22
- set Box22.Orientation H
- set Box22.WinTitle "DevelTools"
+new wx:LayoutSplit DeprecatedTools
+ set DeprecatedTools.Orientation "V"
+ set DeprecatedTools.Proportion "80"
+ set DeprecatedTools.WinTitle "DeprecatedTools"
-new LayoutTab Box23
+new wx:LayoutSplit ActiveTools
+ set ActiveTools.Orientation "V"
+ set ActiveTools.Proportion "33"
+ set ActiveTools.WinTitle "Active Tools"
-new CommandButton Box24
- set Box24.Label "Plug Package"
+new creaMiniTools:MiniToolsIcons Box29
-new ExecSystemCommand Box25
- set Box25.In "bbi toolsbbtk/appli/GUIPlugPackage.bbs &"
+new wx:BitmapButton Box30
+ set Box30.Label "Crea Development Manager"
+new std:Configuration Box31
-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
-connect Box24.Widget Box21.Widget4
-connect Box24.BoxChange Box25.BoxExecute
+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