]> Creatis software - creaMiniTools.git/blob - bbtk_package_creaMiniTools/bbs/boxes/commandMenu.bbs
Feature #2003 DevTools Tab Redesign
[creaMiniTools.git] / bbtk_package_creaMiniTools / bbs / boxes / commandMenu.bbs
1 # ----------------------------------
2 # - BBTKGEditor v 1.4 BBS BlackBox Script (Complex Box)
3 # - /home/daniel/creatis/all/creatools_source/creaMiniTools/bbtk_package_creaMiniTools/bbs/boxes/commandMenu.bbs
4 # ----------------------------------
5
6 include std
7 include itkvtk
8 include wx
9 include std
10 include creaMiniTools
11
12 define CommandMenu creaMiniTools
13
14 author "Author ??"
15 description "Description ??"
16
17 category "<VOID>"
18
19 new CommandButton BBEditorButton
20   set BBEditorButton.Label "bbEditor (Graphical Pipeline Editor)"
21
22 new CommandButton BBIButton
23   set BBIButton.Label "bbi (Script Interpreter)"
24
25 new CommandButton BBStudioButton
26   set BBStudioButton.Label "bbStudio (Script Management)"
27
28 new CommandButton CreaNewProjectButton
29   set CreaNewProjectButton.Label "Crea New Project (Create a blank project)"
30
31 new ExecSystemCommand CreaNewProjectComm
32   set CreaNewProjectComm.In "creaNewProject &"
33
34 new ExecSystemCommand BBIComm
35   set BBIComm.In "bbi &"
36
37 new ExecSystemCommand BBStudioComm
38   set BBStudioComm.In "bbStudio &"
39
40 new ExecSystemCommand BBEditorComm
41   set BBEditorComm.In "bbEditor &"
42
43 new LayoutTab Tabs
44
45 new CommandButton CreatePackageBBTKButton
46   set CreatePackageBBTKButton.Label "Create Package BBTK"
47
48 new CommandButton CreateBoxBBTKButton
49   set CreateBoxBBTKButton.Label "Create Box BBTK"
50
51 new ExecSystemCommand CreatePackageBBTKComm
52   set CreatePackageBBTKComm.In "bbi toolsbbtk/appli/GUICreatePackage.bbs &"
53
54 new ExecSystemCommand CreateBoxBBTKComm
55   set CreateBoxBBTKComm.In "bbi toolsbbtk/appli/GUICreateBlackBox.bbs &"
56
57 new LayoutLine CPPLayout
58   set CPPLayout.Orientation "H"
59
60 new LayoutLine Layout
61   set Layout.Orientation "H"
62   set Layout.WinTitle "DevTools"
63
64 new CommandButton PlugPackageButton
65   set PlugPackageButton.Label "Plug Package (Link packages with BBTK)"
66
67 new ExecSystemCommand PlugPackageComm
68   set PlugPackageComm.In "bbi toolsbbtk/appli/GUIPlugPackage.bbs &"
69
70 new ExecSystemCommand CreaDevManagerComm
71   set CreaDevManagerComm.In "creaDevManager &"
72
73 new StaticBox CPP
74   set CPP.BoxTitle "C++"
75
76 new StaticBox Scripts
77   set Scripts.BoxTitle "Scripts (bbg/bbs)"
78
79 new StaticBox DCPP
80   set DCPP.BoxTitle "C++"
81
82 new StaticBox DScripts
83   set DScripts.BoxTitle "Scripts (bbg/bbs)"
84
85 new LayoutLine ScriptsLayout
86   set ScriptsLayout.Orientation "V"
87
88 new LayoutLine DCPPLayout
89   set DCPPLayout.Orientation "V"
90
91 new LayoutLine DScriptsLayout
92   set DScriptsLayout.Orientation "V"
93
94 new LayoutSplit DeprecatedTools
95   set DeprecatedTools.Orientation "V"
96   set DeprecatedTools.Proportion "80"
97   set DeprecatedTools.WinTitle "DeprecatedTools"
98
99 new LayoutSplit ActiveTools
100   set ActiveTools.Orientation "V"
101   set ActiveTools.Proportion "33"
102   set ActiveTools.WinTitle "Active Tools"
103
104 new MiniToolsIcons Box29
105
106 new BitmapButton Box30
107   set Box30.Label "Crea Development Manager"
108
109
110 connect BBIButton.BoxChange BBIComm.BoxExecute
111 connect CreaNewProjectButton.BoxChange CreaNewProjectComm.BoxExecute
112 connect BBStudioButton.BoxChange BBStudioComm.BoxExecute
113 connect BBEditorButton.BoxChange BBEditorComm.BoxExecute
114 connect CreatePackageBBTKButton.BoxChange CreatePackageBBTKComm.BoxExecute
115 connect CreateBoxBBTKButton.BoxChange CreateBoxBBTKComm.BoxExecute
116 connect Tabs.Widget Layout.Widget1
117 connect PlugPackageButton.BoxChange PlugPackageComm.BoxExecute
118 connect CPPLayout.Widget CPP.BoxContent
119 connect ScriptsLayout.Widget Scripts.BoxContent
120 connect DCPPLayout.Widget DCPP.BoxContent
121 connect DScriptsLayout.Widget DScripts.BoxContent
122 connect BBEditorButton.Widget ScriptsLayout.Widget1
123 connect BBIButton.Widget ScriptsLayout.Widget2
124 connect CreaNewProjectButton.Widget DCPPLayout.Widget1
125 connect CreatePackageBBTKButton.Widget DCPPLayout.Widget2
126 connect CreateBoxBBTKButton.Widget DCPPLayout.Widget3
127 connect PlugPackageButton.Widget DCPPLayout.Widget4
128 connect BBStudioButton.Widget DScriptsLayout.Widget1
129 connect DScripts.Widget DeprecatedTools.Widget2
130 connect DCPP.Widget DeprecatedTools.Widget1
131 connect DeprecatedTools.Widget Tabs.Widget2
132 connect ActiveTools.Widget Tabs.Widget1
133 connect CPP.Widget ActiveTools.Widget1
134 connect Scripts.Widget ActiveTools.Widget2
135 connect Box29.IconCreaDevManager Box30.Bitmap
136 connect Box30.Widget CPPLayout.Widget1
137 connect Box30.BoxChange CreaDevManagerComm.BoxExecute
138
139 # Complex input ports
140
141 # Complex output ports
142 output CommandMenu Layout.Widget " "
143
144
145 endefine