author | Claus Gittinger <cg@exept.de> |
Wed, 31 Jul 2019 17:12:55 +0200 | |
changeset 3744 | 71fa6500e535 |
parent 3651 | 9fc108cad4bf |
child 3788 | f15afc1c9b20 |
permissions | -rw-r--r-- |
3520 | 1 |
"{ Encoding: utf8 }" |
2 |
||
2742 | 3 |
" |
4 |
COPYRIGHT (c) 2009 by eXept Software AG |
|
5 |
All Rights Reserved |
|
6 |
||
7 |
This software is furnished under a license and may be used |
|
8 |
only in accordance with the terms of that license and with the |
|
9 |
inclusion of the above copyright notice. This software may not |
|
10 |
be provided or otherwise made available to, or used by, any |
|
11 |
other person. No title to or ownership of the software is |
|
12 |
hereby transferred. |
|
13 |
" |
|
2636 | 14 |
"{ Package: 'stx:libtool2' }" |
15 |
||
16 |
"{ NameSpace: Tools }" |
|
17 |
||
18 |
AssistantApplication subclass:#ProjectBuilderAssistantApplication |
|
2687
66343568f2b2
changed: #fileBrowserInstance
Claus Gittinger <cg@exept.de>
parents:
2686
diff
changeset
|
19 |
instanceVariableNames:'packageToBuildHolder projectType projectTypeHolder |
66343568f2b2
changed: #fileBrowserInstance
Claus Gittinger <cg@exept.de>
parents:
2686
diff
changeset
|
20 |
selectedProjectIndexHolder selectedProjectDefinition |
66343568f2b2
changed: #fileBrowserInstance
Claus Gittinger <cg@exept.de>
parents:
2686
diff
changeset
|
21 |
listOfMatchingProjects listOfMatchingPackageIds |
66343568f2b2
changed: #fileBrowserInstance
Claus Gittinger <cg@exept.de>
parents:
2686
diff
changeset
|
22 |
selectedProjectsComment hasProjectSelectedHolder newProjectsName |
66343568f2b2
changed: #fileBrowserInstance
Claus Gittinger <cg@exept.de>
parents:
2686
diff
changeset
|
23 |
hideSTXProjects hideOtherApplicationClasses |
66343568f2b2
changed: #fileBrowserInstance
Claus Gittinger <cg@exept.de>
parents:
2686
diff
changeset
|
24 |
hideOtherStartupClasses startMakeButtonEnabled |
66343568f2b2
changed: #fileBrowserInstance
Claus Gittinger <cg@exept.de>
parents:
2686
diff
changeset
|
25 |
stopMakeButtonVisible makeOutputHolder newApplicationsName |
66343568f2b2
changed: #fileBrowserInstance
Claus Gittinger <cg@exept.de>
parents:
2686
diff
changeset
|
26 |
listOfApplicationsInProject selectedApplicationIndexHolder |
66343568f2b2
changed: #fileBrowserInstance
Claus Gittinger <cg@exept.de>
parents:
2686
diff
changeset
|
27 |
selectedApplication hasApplicationSelectedHolder |
66343568f2b2
changed: #fileBrowserInstance
Claus Gittinger <cg@exept.de>
parents:
2686
diff
changeset
|
28 |
listOfStartupClassesInProject selectedStartupClassIndexHolder |
66343568f2b2
changed: #fileBrowserInstance
Claus Gittinger <cg@exept.de>
parents:
2686
diff
changeset
|
29 |
selectedStartupClass hasStartupClassSelectedHolder |
66343568f2b2
changed: #fileBrowserInstance
Claus Gittinger <cg@exept.de>
parents:
2686
diff
changeset
|
30 |
selectedApplicationsComment buildDirectoryHolder makeProcess |
66343568f2b2
changed: #fileBrowserInstance
Claus Gittinger <cg@exept.de>
parents:
2686
diff
changeset
|
31 |
listOfClassesInProject makeOutputWindow projectBuilder |
2705 | 32 |
newStartupClassName usedCompilerHolder listOfNewProjectsName |
2724 | 33 |
newProjectsNameListExtendedComboBox productNameHolder |
34 |
companyNameHolder compilerWarnMessageHolder |
|
2910 | 35 |
compilerWarnMessageVisibleHolder listOfPrerequisitesInProject |
2919 | 36 |
nameOfUsedCompilerSuiteHolder usedCompilerIndexHolder' |
2959
ab140a3e5eb6
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
2930
diff
changeset
|
37 |
classVariableNames:'LastUsedCompiler Debugging' |
2687
66343568f2b2
changed: #fileBrowserInstance
Claus Gittinger <cg@exept.de>
parents:
2686
diff
changeset
|
38 |
poolDictionaries:'' |
66343568f2b2
changed: #fileBrowserInstance
Claus Gittinger <cg@exept.de>
parents:
2686
diff
changeset
|
39 |
category:'System-Support-Projects' |
2636 | 40 |
! |
41 |
||
2668 | 42 |
!ProjectBuilderAssistantApplication class methodsFor:'documentation'! |
43 |
||
2742 | 44 |
copyright |
45 |
" |
|
46 |
COPYRIGHT (c) 2009 by eXept Software AG |
|
47 |
All Rights Reserved |
|
48 |
||
49 |
This software is furnished under a license and may be used |
|
50 |
only in accordance with the terms of that license and with the |
|
51 |
inclusion of the above copyright notice. This software may not |
|
52 |
be provided or otherwise made available to, or used by, any |
|
53 |
other person. No title to or ownership of the software is |
|
54 |
hereby transferred. |
|
55 |
" |
|
56 |
! |
|
57 |
||
2668 | 58 |
documentation |
59 |
" |
|
60 |
a user friendly interface to the build process. |
|
61 |
Simply wraps up existing tools like the CodeGeneratorTool, the browsers |
|
62 |
and the ProjetBuilder |
|
63 |
||
64 |
[see also:] |
|
65 |
CodeGeneratorTool |
|
66 |
ProjectBuilder |
|
67 |
ProjectDefinition |
|
68 |
||
69 |
[author:] |
|
70 |
Claus Gittinger |
|
71 |
" |
|
2721 | 72 |
! |
73 |
||
74 |
help |
|
2825 | 75 |
" |
76 |
Packager - A Standalone-Executable Builder and Packager |
|
2721 | 77 |
|
3320 | 78 |
This assistant-application allows for standalone applications to be built very easily. |
79 |
It will generate all required classes, files, start the compilation process, |
|
80 |
generate a self-installable executable with a few mouse clicks. |
|
2825 | 81 |
|
82 |
A simple demo application like the famous 'Hello World' can be generated in a few minutes. |
|
83 |
||
84 |
Prerequisites |
|
85 |
||
86 |
* Windows Users: |
|
3320 | 87 |
Please install either the 'Borland Free Commandline Compiler Tools (bcc32)' |
88 |
or the 'Microsoft Visual-C++' package (also free). |
|
2825 | 89 |
In addition, the 'NullSoft NSIS-Installer Package' is required. |
90 |
||
3320 | 91 |
Due to limitations and bugs in the Visual-C++ compiler (limit on the size of |
92 |
string-constants), some Smalltalk code is still not compilable |
|
93 |
(currently, this affects classes which contain image-resource methods for big images). |
|
94 |
Although microsoft is doing their best (a relative measure) to make things better |
|
95 |
(they increase the string-limit with every new release), they still seem to be unable |
|
96 |
to figure out how ti use malloc for string-data). |
|
97 |
We are patiently waiting for a real fix and still using bcc in the meanwhile. |
|
98 |
Therefore, we recommend using the borland compiler suite. |
|
99 |
Please install it at its standard location ('C:\Borland') as our makefiles might |
|
100 |
still contain hard-coded paths (yes, we are ashamed about this). |
|
2825 | 101 |
|
102 |
* Unix Users: |
|
3320 | 103 |
You should already have the gcc compile suite (including all required header files) |
104 |
installed and ready to use. For a lack of time on our side, there is currently no |
|
105 |
self-installer support for Unix. The packager will generate a zipped tar file, |
|
2825 | 106 |
which must be deployed and unpacked for use. This may change in the near future. |
107 |
||
108 |
Packages, Projects, PackageIDs and ProjectDefinitions |
|
109 |
||
110 |
Smalltalk basically uses two objects for packaging: |
|
111 |
||
112 |
* PackageIDs (also called ProjectID's occasionally) |
|
3320 | 113 |
* ProjectDefinitions |
114 |
||
115 |
Older ST/X versions used instances of a Project class - this is now obsolete and |
|
116 |
removed from the system (although there are still some minor uses of it, |
|
117 |
which might remain there for backward compatibility for some time, as some customers |
|
2825 | 118 |
have built their own packaging scheme around it). |
119 |
||
120 |
PackageIDs |
|
121 |
||
3320 | 122 |
These are simple symbols and are attached to classes and methods. If a method has |
2825 | 123 |
a packageID different from its class, it is called an extension method. |
3320 | 124 |
PackageIDs must have a certain fixed format: they always contain exactly two parts, |
125 |
which are separated by a colon character: the module and the directory part. |
|
126 |
The module is used as main-selector on where and how the source code repository is |
|
127 |
accessed. The directory is a path below that repository. If checked out into the local |
|
128 |
filesystem, the module defines the top-level directory. Thus, if a packageID is |
|
129 |
'stx:libbasic', the corresponding sources will be found in the repository associated |
|
130 |
to the 'stx' module, under the directory 'libbasic'. |
|
131 |
In the local file system, it will be found under 'stx/libbasic'. |
|
132 |
As another example, if the packageID is 'exept:expecco/plugins/foo', |
|
133 |
the repository is whichever is associated with the 'exept' module, and the subdirectory |
|
134 |
is 'expecco/plugins/foo'. The local path to the sourcefiles would be |
|
2825 | 135 |
'exept/expecco/plugins/foo'. |
136 |
||
3320 | 137 |
Please notice that it does make sense to associate different repositories to different |
138 |
modules: for example, you could setup the sourceCodeManager to use CVS access to the |
|
139 |
exept repository for everything under the 'stx' module, |
|
140 |
and at the same time, use a local SVN repository for everything under the 'myCompany' |
|
2825 | 141 |
module. |
142 |
||
143 |
ProjectDefinitions |
|
144 |
||
3320 | 145 |
These describe the contents of a project, such as the classes to include, |
146 |
the set of extension methods, any additional compilation information. |
|
2825 | 147 |
ProjectDefinitions come in 3 flavours: |
148 |
||
149 |
* GUI Application Definition |
|
150 |
* non-GUI Application Definition |
|
3320 | 151 |
* ClassLibrary Definition |
152 |
||
153 |
ProjectDefinitions are stored and managed as class-instances, located as subclasses |
|
154 |
of one of ApplicationDefinition or LibraryDefinition. |
|
155 |
As classes, they are themself managed, compiled and packaged as part of the project |
|
156 |
(and also have the same PackageID as their components). |
|
2825 | 157 |
They are also treated like any other class w.r.t. source code management. |
158 |
||
159 |
Packaging |
|
160 |
||
3320 | 161 |
All classes and extension methods belonging to a single package are supposed to be |
162 |
loaded (and possibly unloaded) together. They are also usually deployed inside a single |
|
163 |
dynamic link library ('dll', for short). In the Unix world, these are called |
|
164 |
'shared object' or 'so'. |
|
165 |
Finally, they are stored in a common directory both on the local file system and in a |
|
2825 | 166 |
source code repository (CVS, SVN, etc.). |
167 |
||
168 |
Structure of a Project |
|
169 |
||
170 |
The artefacts as manipulated by the packager are: |
|
171 |
||
172 |
* the ProjectDefinition class |
|
3320 | 173 |
This defines the type of application (GUI / non-GUI), |
174 |
its contents (i.e. the set of classes to be included in the binary itself and |
|
175 |
the set of library-dll's to be included in the deployed package), |
|
2825 | 176 |
and some other metadata, such as icon, title etc. |
177 |
||
178 |
* the ApplicationModel class |
|
179 |
This defines the GUI, and is typically created using the UI-Painter. |
|
180 |
||
181 |
* the Startup class |
|
3320 | 182 |
This is the first class which gets control when the executable is started; |
183 |
it can analyze the command line arguments, read patches or updates, |
|
184 |
start background ptocesses, and will eventually open the applications GUI. |
|
2825 | 185 |
|
186 |
Build Procedure |
|
187 |
||
3320 | 188 |
All of the three components above can be generated by the packager to provide an |
2825 | 189 |
initial framework for further work. |
190 |
||
3320 | 191 |
After the definition of those classes, all required files are stored in a temporary |
192 |
build directory. This means that the above classes are filed out, |
|
2825 | 193 |
and make- and other support files are generated. |
194 |
||
3320 | 195 |
Finally, the actual build process is started. This requires an external C-compiler. |
196 |
Under windows, both Borland-C (free download available via the internet) and Microsoft's |
|
2825 | 197 |
Visual-C++ (also available for free) can be used (the later with some limitations as explained above). |
198 |
||
3320 | 199 |
A self-installing executable is built using the NullSoft NSIS package. |
2825 | 200 |
This is also required to be installed before the packager is started. |
201 |
||
3320 | 202 |
After the build, all required files are packaged in a single install-file. |
203 |
This is called 'MyApplicationSetup.exe' and found in the project-specific subdirectory |
|
204 |
of the build directory. For deployment, this single file has to be delivered to a customer |
|
2825 | 205 |
and executed there. |
206 |
||
3320 | 207 |
Summary: It has NEVER been easier to create a GUI application with Smalltalk. |
2825 | 208 |
" |
2668 | 209 |
! ! |
2636 | 210 |
|
2670 | 211 |
!ProjectBuilderAssistantApplication class methodsFor:'defaults'! |
212 |
||
213 |
defaultIcon |
|
2838 | 214 |
<resource: #programImage> |
215 |
||
2670 | 216 |
^ ToolbarIconLibrary projectBuilderIcon |
217 |
! |
|
218 |
||
219 |
windowLabelTemplate |
|
220 |
^ 'ST/X Packager: %1' |
|
221 |
! ! |
|
222 |
||
2703 | 223 |
!ProjectBuilderAssistantApplication class methodsFor:'help'! |
224 |
||
3520 | 225 |
helpSpec |
2703 | 226 |
<resource: #help> |
227 |
||
3520 | 228 |
^ super helpSpec addPairsFrom:#( |
2703 | 229 |
|
2706 | 230 |
#'projectType' |
3126
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
231 |
'Choose the type of Project you are about to deploy' |
2706 | 232 |
|
233 |
#existingProjects |
|
3126
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
234 |
'Projects with an existing ProjectDefinition of the chosen type (above)' |
2703 | 235 |
|
2968 | 236 |
#nameOfApplicationClass |
237 |
'For GUI applications: the name of your application class (subclass of ApplicationModel). |
|
3004
014368fad35b
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3002
diff
changeset
|
238 |
This will be opened by the startup sequence and defines the UI. |
014368fad35b
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3002
diff
changeset
|
239 |
(Usually, these are named "XXXApplication" or "XXXApp") |
3126
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
240 |
Click on the "Create"-button to create a simple helloWorld app to start with' |
2968 | 241 |
|
242 |
#createNewApplication |
|
243 |
'Create a new simple dummy application (HelloWorld-like). |
|
3126
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
244 |
Press this button to get some template code to play with - but enter a name first' |
2968 | 245 |
|
246 |
#nameOfStartupClass |
|
247 |
'This class contains the main method, in which the show starts when the executable runs. |
|
248 |
Its main task is to parse command line arguments (if any) and fire up the real application. |
|
3004
014368fad35b
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3002
diff
changeset
|
249 |
It should inherit from StandaloneStartup. |
014368fad35b
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3002
diff
changeset
|
250 |
(Usually, these are named "XXXStart" or "XXXStartup") |
014368fad35b
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3002
diff
changeset
|
251 |
Click on the "Create"-button to create something to start with (will launch your application)' |
2968 | 252 |
|
253 |
#createNewStartupClass |
|
254 |
'Create a new simple startup class which fires up the defined application. |
|
255 |
Press this button to get a standard startup class which does not care for command line args. |
|
3126
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
256 |
But enter a name first' |
2968 | 257 |
|
2706 | 258 |
#browseSelectedProject |
3126
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
259 |
'Open a SystemBrowser on the selected Project' |
2706 | 260 |
|
261 |
#hideSTXBasePackages |
|
3126
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
262 |
'Only show packages which are not already included in the basic ST/X delivery' |
2703 | 263 |
|
264 |
#'listOfNewProjectsName' |
|
2706 | 265 |
'PackageID (module:directory). |
3126
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
266 |
The pull-down list contains packageIDs for which no ProjectDefinition exists (yet)' |
2706 | 267 |
|
268 |
#'createNewProject' |
|
269 |
'PackageID (module:directory). |
|
3126
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
270 |
Click to create a new (empty) ProjectDefinition for the given PackageID' |
2703 | 271 |
|
2922 | 272 |
#clearBuildDirectory |
3126
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
273 |
'Clear the build directory' |
2922 | 274 |
|
275 |
#makeAll |
|
3126
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
276 |
'Build a self-installing deployable package' |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
277 |
|
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
278 |
#makeApp |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
279 |
'Build the app only (for test-running)' |
2922 | 280 |
|
281 |
#makeExe |
|
3126
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
282 |
'Build the executable only (for test-running)' |
2922 | 283 |
|
2973 | 284 |
#makeExeQuick |
285 |
'Quick build the executable only (for test-running). |
|
3126
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
286 |
Does not regenerate the header files. Only the target package files are recreated' |
2973 | 287 |
|
2922 | 288 |
#makeOutput |
3126
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
289 |
'Displays the output of the build process (make command)' |
2922 | 290 |
|
291 |
#openExplorer |
|
3126
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
292 |
'Open a Windows Explorer on the build directory. You can double-click on the built executable there' |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
293 |
|
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
294 |
#openFinder |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
295 |
'Open a Finder on the build directory. You can double-click on the built executable there' |
2922 | 296 |
|
297 |
#openFileBrowser |
|
3126
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
298 |
'Open a Filebrowser on the build directory' |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
299 |
|
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
300 |
#openTerminal |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
301 |
'Open a terminal (console) in the build directory' |
2922 | 302 |
|
303 |
#stopMake |
|
3126
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
304 |
'Abort the ongoing build process. Please clear the build directory afterwards to remove any leftover garbage' |
2922 | 305 |
|
2994
1606aca78699
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
2993
diff
changeset
|
306 |
#hideOtherStartupClasses |
1606aca78699
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
2993
diff
changeset
|
307 |
'Hide startup classes from other packages. Uncheck to see them.\(Notice: the startup class really should be in the same package)' |
1606aca78699
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
2993
diff
changeset
|
308 |
|
2703 | 309 |
) |
2922 | 310 |
|
311 |
"Modified: / 06-09-2012 / 16:09:10 / cg" |
|
2703 | 312 |
! ! |
313 |
||
2636 | 314 |
!ProjectBuilderAssistantApplication class methodsFor:'interface specs'! |
315 |
||
2645 | 316 |
page1_projectTypeSelectionSpec |
2636 | 317 |
"This resource specification was automatically generated |
318 |
by the UIPainter of ST/X." |
|
319 |
||
320 |
"Do not manually edit this!! If it is corrupted, |
|
321 |
the UIPainter may not be able to read the specification." |
|
322 |
||
323 |
" |
|
2648 | 324 |
UIPainter new openOnClass:Tools::ProjectBuilderAssistantApplication andSelector:#page1_projectTypeSelectionSpec |
325 |
Tools::ProjectBuilderAssistantApplication new openInterface:#page1_projectTypeSelectionSpec |
|
2636 | 326 |
" |
327 |
||
328 |
<resource: #canvas> |
|
329 |
||
330 |
^ |
|
331 |
#(FullSpec |
|
2645 | 332 |
name: #'page1_projectTypeSelectionSpec' |
2636 | 333 |
window: |
334 |
(WindowSpec |
|
335 |
label: 'Project Selection' |
|
336 |
name: 'Project Selection' |
|
337 |
min: (Point 0 0) |
|
338 |
bounds: (Rectangle 0 0 626 394) |
|
339 |
) |
|
340 |
component: |
|
341 |
(SpecCollection |
|
342 |
collection: ( |
|
343 |
(FramedBoxSpec |
|
2706 | 344 |
label: 'Project Type' |
2636 | 345 |
name: 'FramedBox1' |
2698
64d179f1eae7
changed: #page1_projectTypeSelectionSpec
Claus Gittinger <cg@exept.de>
parents:
2697
diff
changeset
|
346 |
layout: (LayoutFrame 0 0.0 0 0 4 1.0 120 0) |
2706 | 347 |
activeHelpKey: projectType |
2636 | 348 |
labelPosition: topLeft |
349 |
translateLabel: true |
|
350 |
component: |
|
351 |
(SpecCollection |
|
352 |
collection: ( |
|
353 |
(VerticalPanelViewSpec |
|
354 |
name: 'VerticalPanel1' |
|
355 |
layout: (LayoutFrame 0 0.0 0 0.0 0 1.0 0 1.0) |
|
356 |
horizontalLayout: leftSpace |
|
357 |
verticalLayout: topSpace |
|
358 |
horizontalSpace: 3 |
|
359 |
verticalSpace: 3 |
|
360 |
component: |
|
361 |
(SpecCollection |
|
362 |
collection: ( |
|
363 |
(ViewSpec |
|
364 |
name: 'Box1' |
|
365 |
extent: (Point 10 10) |
|
366 |
) |
|
367 |
(RadioButtonSpec |
|
368 |
label: 'GUI Application' |
|
369 |
name: 'RadioButton1' |
|
370 |
translateLabel: true |
|
2659 | 371 |
model: projectTypeHolder |
2636 | 372 |
isTriggerOnDown: true |
373 |
onCallBackSelector: projectTypeChanged |
|
2897 | 374 |
select: #'GUI-Application' |
2990
66833743333c
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
2988
diff
changeset
|
375 |
extent: (Point 294 22) |
2636 | 376 |
) |
377 |
(RadioButtonSpec |
|
378 |
label: 'Non-GUI Application' |
|
379 |
name: 'RadioButton2' |
|
380 |
translateLabel: true |
|
2659 | 381 |
model: projectTypeHolder |
2636 | 382 |
isTriggerOnDown: true |
383 |
onCallBackSelector: projectTypeChanged |
|
2897 | 384 |
select: #'NonGUI-Application' |
2990
66833743333c
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
2988
diff
changeset
|
385 |
extent: (Point 294 22) |
2636 | 386 |
) |
387 |
(RadioButtonSpec |
|
388 |
label: 'Class Library' |
|
389 |
name: 'RadioButton3' |
|
390 |
translateLabel: true |
|
2659 | 391 |
model: projectTypeHolder |
2636 | 392 |
isTriggerOnDown: true |
393 |
onCallBackSelector: projectTypeChanged |
|
2990
66833743333c
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
2988
diff
changeset
|
394 |
select: Library |
66833743333c
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
2988
diff
changeset
|
395 |
extent: (Point 294 22) |
2636 | 396 |
) |
397 |
) |
|
398 |
||
399 |
) |
|
400 |
) |
|
401 |
) |
|
402 |
||
403 |
) |
|
404 |
) |
|
405 |
(FramedBoxSpec |
|
2726
7263301b5216
changed: #page1_projectTypeSelectionSpec
Claus Gittinger <cg@exept.de>
parents:
2725
diff
changeset
|
406 |
label: 'Existing Projects of this Type (PackageIDs)' |
2636 | 407 |
name: 'FramedBox2' |
2698
64d179f1eae7
changed: #page1_projectTypeSelectionSpec
Claus Gittinger <cg@exept.de>
parents:
2697
diff
changeset
|
408 |
layout: (LayoutFrame 0 0.0 123 0 4 1.0 0 1) |
2706 | 409 |
activeHelpKey: existingProjects |
2636 | 410 |
labelPosition: topLeft |
411 |
translateLabel: true |
|
412 |
component: |
|
413 |
(SpecCollection |
|
414 |
collection: ( |
|
415 |
(VariableHorizontalPanelSpec |
|
416 |
name: 'VariableHorizontalPanel1' |
|
417 |
layout: (LayoutFrame 0 0 4 0 0 1 -26 1) |
|
418 |
component: |
|
419 |
(SpecCollection |
|
420 |
collection: ( |
|
421 |
(SequenceViewSpec |
|
422 |
name: 'List1' |
|
423 |
model: selectedProjectIndexHolder |
|
424 |
hasHorizontalScrollBar: true |
|
425 |
hasVerticalScrollBar: true |
|
426 |
useIndex: true |
|
2686
5a19c21dada0
ensure starup and application are in the classList of the projectDef
Claus Gittinger <cg@exept.de>
parents:
2685
diff
changeset
|
427 |
sequenceList: listOfMatchingPackageIds |
2636 | 428 |
) |
429 |
(TextEditorSpec |
|
430 |
name: 'TextEditor1' |
|
431 |
model: selectedProjectsComment |
|
432 |
hasHorizontalScrollBar: true |
|
433 |
hasVerticalScrollBar: true |
|
434 |
isReadOnly: true |
|
435 |
hasKeyboardFocusInitially: false |
|
436 |
) |
|
437 |
) |
|
438 |
||
439 |
) |
|
440 |
handles: (Any 0.34560327198364 1.0) |
|
441 |
) |
|
442 |
(CheckBoxSpec |
|
443 |
label: 'Hide ST/X Base Packages' |
|
444 |
name: 'CheckBox1' |
|
2659 | 445 |
layout: (LayoutFrame -1 0 -18 1 0 1 4 1) |
2706 | 446 |
activeHelpKey: hideSTXBasePackages |
2636 | 447 |
model: hideSTXProjects |
448 |
translateLabel: true |
|
449 |
) |
|
450 |
) |
|
451 |
||
452 |
) |
|
453 |
) |
|
454 |
) |
|
455 |
||
456 |
) |
|
457 |
) |
|
458 |
! |
|
459 |
||
2645 | 460 |
page2_projectSelectionSpec |
2636 | 461 |
"This resource specification was automatically generated |
462 |
by the UIPainter of ST/X." |
|
463 |
||
464 |
"Do not manually edit this!! If it is corrupted, |
|
465 |
the UIPainter may not be able to read the specification." |
|
466 |
||
467 |
" |
|
2648 | 468 |
UIPainter new openOnClass:Tools::ProjectBuilderAssistantApplication andSelector:#page2_projectSelectionSpec |
469 |
Tools::ProjectBuilderAssistantApplication new openInterface:#page2_projectSelectionSpec |
|
2636 | 470 |
" |
471 |
||
472 |
<resource: #canvas> |
|
473 |
||
474 |
^ |
|
3337 | 475 |
#(FullSpec |
476 |
name: #'page2_projectSelectionSpec' |
|
477 |
window: |
|
478 |
(WindowSpec |
|
479 |
label: 'Project Selection' |
|
480 |
name: 'Project Selection' |
|
481 |
min: (Point 0 0) |
|
482 |
bounds: (Rectangle 0 0 521 453) |
|
483 |
) |
|
484 |
component: |
|
485 |
(SpecCollection |
|
486 |
collection: ( |
|
487 |
(FramedBoxSpec |
|
488 |
label: 'New Project''s PackageID' |
|
489 |
name: 'FramedBox3' |
|
490 |
layout: (LayoutFrame 0 0.0 5 0 4 1.0 72 0) |
|
491 |
labelPosition: topLeft |
|
492 |
translateLabel: true |
|
493 |
component: |
|
494 |
(SpecCollection |
|
495 |
collection: ( |
|
496 |
(ExtendedComboBoxSpec |
|
497 |
name: 'NewProjectsNameListExtendedComboBox' |
|
498 |
layout: (LayoutFrame 1 0 6 0 -113 1 34 0) |
|
499 |
activeHelpKey: listOfNewProjectsName |
|
500 |
model: newProjectsName |
|
501 |
readOnly: false |
|
502 |
miniScrollerHorizontal: true |
|
503 |
postBuildCallback: postBuildNewProjectsNameListExtendedComboBox: |
|
504 |
) |
|
505 |
(ActionButtonSpec |
|
506 |
label: 'Create' |
|
507 |
name: 'Button1' |
|
508 |
layout: (LayoutFrame -100 1 6 0 2 1 34 0) |
|
509 |
activeHelpKey: createNewProject |
|
510 |
translateLabel: true |
|
511 |
model: createNewProject |
|
2636 | 512 |
) |
3337 | 513 |
) |
514 |
||
515 |
) |
|
516 |
) |
|
517 |
(FramedBoxSpec |
|
518 |
label: 'Existing Projects with ProjectDefinition' |
|
519 |
name: 'FramedBox4' |
|
520 |
layout: (LayoutFrame 0 0.0 70 0 4 1.0 -34 1) |
|
521 |
labelPosition: topLeft |
|
522 |
translateLabel: true |
|
523 |
component: |
|
524 |
(SpecCollection |
|
525 |
collection: ( |
|
526 |
(VariableHorizontalPanelSpec |
|
527 |
name: 'VariableHorizontalPanel2' |
|
528 |
layout: (LayoutFrame 0 0 4 0 0 1 -26 1) |
|
529 |
component: |
|
530 |
(SpecCollection |
|
531 |
collection: ( |
|
532 |
(SequenceViewSpec |
|
533 |
name: 'List2' |
|
534 |
model: selectedProjectIndexHolder |
|
535 |
hasHorizontalScrollBar: true |
|
536 |
hasVerticalScrollBar: true |
|
537 |
useIndex: true |
|
538 |
sequenceList: listOfMatchingPackageIds |
|
539 |
) |
|
540 |
(TextEditorSpec |
|
541 |
name: 'TextEditor2' |
|
542 |
model: selectedProjectsComment |
|
543 |
hasHorizontalScrollBar: true |
|
544 |
hasVerticalScrollBar: true |
|
545 |
isReadOnly: true |
|
546 |
hasKeyboardFocusInitially: false |
|
547 |
viewClassName: 'TextView' |
|
2636 | 548 |
) |
3337 | 549 |
) |
550 |
||
551 |
) |
|
552 |
handles: (Any 0.35000000000000003 1.0) |
|
553 |
) |
|
554 |
(CheckBoxSpec |
|
555 |
label: 'Hide ST/X Base Packages' |
|
556 |
name: 'CheckBox1' |
|
557 |
layout: (LayoutFrame -1 0 -17 1 0 1 5 1) |
|
558 |
activeHelpKey: hideSTXBasePackages |
|
559 |
model: hideSTXProjects |
|
560 |
translateLabel: true |
|
2636 | 561 |
) |
3337 | 562 |
) |
563 |
||
564 |
) |
|
565 |
) |
|
566 |
(HorizontalPanelViewSpec |
|
567 |
name: 'HorizontalPanel1' |
|
568 |
layout: (LayoutFrame 0 0 -34 1 0 1 0 1) |
|
569 |
horizontalLayout: leftSpace |
|
570 |
verticalLayout: center |
|
571 |
horizontalSpace: 3 |
|
572 |
verticalSpace: 3 |
|
573 |
component: |
|
574 |
(SpecCollection |
|
575 |
collection: ( |
|
576 |
(ActionButtonSpec |
|
577 |
label: 'Browse Selected Project' |
|
578 |
name: 'Button3' |
|
579 |
activeHelpKey: browseSelectedProject |
|
580 |
translateLabel: true |
|
581 |
model: doBrowseProject |
|
582 |
enableChannel: hasProjectSelectedHolder |
|
583 |
useDefaultExtent: true |
|
2648 | 584 |
) |
3337 | 585 |
) |
586 |
||
587 |
) |
|
2636 | 588 |
) |
3337 | 589 |
) |
590 |
||
591 |
) |
|
592 |
) |
|
2636 | 593 |
! |
594 |
||
2645 | 595 |
page3_applicationSelectionSpec |
2636 | 596 |
"This resource specification was automatically generated |
597 |
by the UIPainter of ST/X." |
|
598 |
||
599 |
"Do not manually edit this!! If it is corrupted, |
|
600 |
the UIPainter may not be able to read the specification." |
|
601 |
||
602 |
" |
|
2648 | 603 |
UIPainter new openOnClass:Tools::ProjectBuilderAssistantApplication andSelector:#page3_applicationSelectionSpec |
604 |
Tools::ProjectBuilderAssistantApplication new openInterface:#page3_applicationSelectionSpec |
|
2636 | 605 |
" |
606 |
||
607 |
<resource: #canvas> |
|
608 |
||
609 |
^ |
|
3337 | 610 |
#(FullSpec |
611 |
name: #'page3_applicationSelectionSpec' |
|
612 |
window: |
|
613 |
(WindowSpec |
|
614 |
label: 'Application Selection' |
|
615 |
name: 'Application Selection' |
|
616 |
min: (Point 0 0) |
|
617 |
bounds: (Rectangle 0 0 519 406) |
|
618 |
) |
|
619 |
component: |
|
620 |
(SpecCollection |
|
621 |
collection: ( |
|
622 |
(FramedBoxSpec |
|
623 |
label: 'New Application Class' |
|
624 |
name: 'FramedBox3' |
|
625 |
layout: (LayoutFrame 0 0.0 5 0 4 1.0 70 0) |
|
626 |
labelPosition: topLeft |
|
627 |
translateLabel: true |
|
628 |
component: |
|
629 |
(SpecCollection |
|
630 |
collection: ( |
|
631 |
(InputFieldSpec |
|
632 |
name: 'EntryField1' |
|
633 |
layout: (LayoutFrame 1 0 6 0 -113 1 34 0) |
|
634 |
activeHelpKey: nameOfApplicationClass |
|
635 |
model: newApplicationsName |
|
636 |
acceptOnReturn: true |
|
637 |
acceptOnTab: true |
|
638 |
acceptOnLostFocus: true |
|
639 |
acceptOnPointerLeave: true |
|
640 |
emptyFieldReplacementText: 'MyApplication' |
|
641 |
) |
|
642 |
(ActionButtonSpec |
|
643 |
label: 'Create' |
|
644 |
name: 'Button1' |
|
645 |
layout: (LayoutFrame -100 1 6 0 1 1 34 0) |
|
646 |
activeHelpKey: createNewApplication |
|
647 |
translateLabel: true |
|
648 |
model: createNewApplication |
|
2636 | 649 |
) |
3337 | 650 |
) |
651 |
||
652 |
) |
|
653 |
) |
|
654 |
(FramedBoxSpec |
|
655 |
label: 'Existing Applications' |
|
656 |
name: 'FramedBox4' |
|
657 |
layout: (LayoutFrame 0 0.0 72 0 4 1.0 -34 1) |
|
658 |
labelPosition: topLeft |
|
659 |
translateLabel: true |
|
660 |
component: |
|
661 |
(SpecCollection |
|
662 |
collection: ( |
|
663 |
(VariableHorizontalPanelSpec |
|
664 |
name: 'VariableHorizontalPanel2' |
|
665 |
layout: (LayoutFrame 0 0 4 0 0 1 -26 1) |
|
666 |
component: |
|
667 |
(SpecCollection |
|
668 |
collection: ( |
|
669 |
(SequenceViewSpec |
|
670 |
name: 'List2' |
|
671 |
model: selectedApplicationIndexHolder |
|
672 |
hasHorizontalScrollBar: true |
|
673 |
hasVerticalScrollBar: true |
|
674 |
useIndex: true |
|
675 |
sequenceList: listOfApplicationsInProject |
|
676 |
ignoreReselect: false |
|
677 |
) |
|
678 |
(TextEditorSpec |
|
679 |
name: 'TextEditor2' |
|
680 |
model: selectedApplicationsComment |
|
681 |
hasHorizontalScrollBar: true |
|
682 |
hasVerticalScrollBar: true |
|
683 |
isReadOnly: true |
|
684 |
hasKeyboardFocusInitially: false |
|
685 |
viewClassName: 'TextView' |
|
2636 | 686 |
) |
3337 | 687 |
) |
688 |
||
689 |
) |
|
690 |
handles: (Any 0.35000000000000003 1.0) |
|
691 |
) |
|
692 |
(CheckBoxSpec |
|
693 |
label: 'Hide other Application Classes' |
|
694 |
name: 'CheckBox1' |
|
695 |
layout: (LayoutFrame -1 0 -18 1 0 1 4 1) |
|
696 |
model: hideOtherApplicationClasses |
|
697 |
translateLabel: true |
|
2636 | 698 |
) |
3337 | 699 |
) |
700 |
||
701 |
) |
|
702 |
) |
|
703 |
(HorizontalPanelViewSpec |
|
704 |
name: 'HorizontalPanel1' |
|
705 |
layout: (LayoutFrame 0 0 -34 1 0 1 0 1) |
|
706 |
horizontalLayout: leftSpace |
|
707 |
verticalLayout: center |
|
708 |
horizontalSpace: 3 |
|
709 |
verticalSpace: 3 |
|
710 |
component: |
|
711 |
(SpecCollection |
|
712 |
collection: ( |
|
713 |
(ActionButtonSpec |
|
714 |
label: 'Browse Selected App' |
|
715 |
name: 'Button3' |
|
716 |
translateLabel: true |
|
717 |
model: doBrowseApplication |
|
718 |
enableChannel: hasApplicationSelectedHolder |
|
719 |
useDefaultExtent: true |
|
2648 | 720 |
) |
3337 | 721 |
(ActionButtonSpec |
722 |
label: 'Launch Selected App' |
|
723 |
name: 'Button4' |
|
724 |
translateLabel: true |
|
725 |
model: doLaunchApplication |
|
726 |
enableChannel: hasApplicationSelectedHolder |
|
727 |
useDefaultExtent: true |
|
728 |
) |
|
729 |
) |
|
730 |
||
731 |
) |
|
2636 | 732 |
) |
3337 | 733 |
) |
734 |
||
735 |
) |
|
736 |
) |
|
2636 | 737 |
! |
738 |
||
2656 | 739 |
page4_startupClassSelectionSpec |
2636 | 740 |
"This resource specification was automatically generated |
741 |
by the UIPainter of ST/X." |
|
742 |
||
743 |
"Do not manually edit this!! If it is corrupted, |
|
744 |
the UIPainter may not be able to read the specification." |
|
745 |
||
746 |
" |
|
2656 | 747 |
UIPainter new openOnClass:Tools::ProjectBuilderAssistantApplication andSelector:#page4_startupClassSelectionSpec |
748 |
Tools::ProjectBuilderAssistantApplication new openInterface:#page4_startupClassSelectionSpec |
|
2636 | 749 |
" |
750 |
||
751 |
<resource: #canvas> |
|
752 |
||
753 |
^ |
|
3337 | 754 |
#(FullSpec |
755 |
name: #'page4_startupClassSelectionSpec' |
|
756 |
window: |
|
757 |
(WindowSpec |
|
758 |
label: 'Startup Class Selection' |
|
759 |
name: 'Startup Class Selection' |
|
760 |
min: (Point 0 0) |
|
761 |
bounds: (Rectangle 0 0 521 408) |
|
762 |
) |
|
763 |
component: |
|
764 |
(SpecCollection |
|
765 |
collection: ( |
|
766 |
(FramedBoxSpec |
|
767 |
label: 'New Startup Class' |
|
768 |
name: 'FramedBox3' |
|
769 |
layout: (LayoutFrame 0 0.0 5 0 4 1.0 70 0) |
|
770 |
labelPosition: topLeft |
|
771 |
translateLabel: true |
|
772 |
component: |
|
773 |
(SpecCollection |
|
774 |
collection: ( |
|
775 |
(InputFieldSpec |
|
776 |
name: 'EntryField1' |
|
777 |
layout: (LayoutFrame 1 0 6 0 -113 1 34 0) |
|
778 |
activeHelpKey: nameOfStartupClass |
|
779 |
model: newStartupClassName |
|
780 |
acceptOnReturn: true |
|
781 |
acceptOnTab: true |
|
782 |
acceptOnLostFocus: true |
|
783 |
acceptOnPointerLeave: true |
|
784 |
emptyFieldReplacementText: 'MyStandAloneStartup' |
|
785 |
) |
|
786 |
(ActionButtonSpec |
|
787 |
label: 'Create' |
|
788 |
name: 'Button1' |
|
789 |
layout: (LayoutFrame -100 1 6 0 1 1 34 0) |
|
790 |
activeHelpKey: createNewStartupClass |
|
791 |
translateLabel: true |
|
792 |
model: createNewStartupClass |
|
2656 | 793 |
) |
3337 | 794 |
) |
795 |
||
796 |
) |
|
797 |
) |
|
798 |
(FramedBoxSpec |
|
799 |
label: 'Existing Startup Classes' |
|
800 |
name: 'FramedBox4' |
|
801 |
layout: (LayoutFrame 0 0.0 72 0 4 1.0 -34 1) |
|
802 |
labelPosition: topLeft |
|
803 |
translateLabel: true |
|
804 |
component: |
|
805 |
(SpecCollection |
|
806 |
collection: ( |
|
807 |
(VariableHorizontalPanelSpec |
|
808 |
name: 'VariableHorizontalPanel2' |
|
809 |
layout: (LayoutFrame 0 0 4 0 0 1 -26 1) |
|
810 |
component: |
|
811 |
(SpecCollection |
|
812 |
collection: ( |
|
813 |
(SequenceViewSpec |
|
814 |
name: 'List2' |
|
815 |
model: selectedStartupClassIndexHolder |
|
816 |
hasHorizontalScrollBar: true |
|
817 |
hasVerticalScrollBar: true |
|
818 |
useIndex: true |
|
819 |
sequenceList: listOfStartupClassesInProject |
|
820 |
) |
|
821 |
(TextEditorSpec |
|
822 |
name: 'TextEditor2' |
|
823 |
model: selectedStartupClassesComment |
|
824 |
hasHorizontalScrollBar: true |
|
825 |
hasVerticalScrollBar: true |
|
826 |
isReadOnly: true |
|
827 |
hasKeyboardFocusInitially: false |
|
828 |
viewClassName: 'TextView' |
|
2656 | 829 |
) |
3337 | 830 |
) |
831 |
||
832 |
) |
|
833 |
handles: (Any 0.35000000000000003 1.0) |
|
834 |
) |
|
835 |
(CheckBoxSpec |
|
836 |
label: 'Hide other Startup Classes' |
|
837 |
name: 'CheckBox1' |
|
838 |
layout: (LayoutFrame -1 0 -20 1 0 1 2 1) |
|
839 |
activeHelpKey: hideOtherStartupClasses |
|
840 |
model: hideOtherStartupClasses |
|
841 |
translateLabel: true |
|
2656 | 842 |
) |
3337 | 843 |
) |
844 |
||
845 |
) |
|
846 |
) |
|
847 |
(HorizontalPanelViewSpec |
|
848 |
name: 'HorizontalPanel1' |
|
849 |
layout: (LayoutFrame 0 0 -34 1 0 1 0 1) |
|
850 |
horizontalLayout: leftSpace |
|
851 |
verticalLayout: center |
|
852 |
horizontalSpace: 3 |
|
853 |
verticalSpace: 3 |
|
854 |
component: |
|
855 |
(SpecCollection |
|
856 |
collection: ( |
|
857 |
(ActionButtonSpec |
|
858 |
label: 'Browse Selected StartupClass' |
|
859 |
name: 'Button3' |
|
860 |
translateLabel: true |
|
861 |
model: doBrowseStartupClass |
|
862 |
enableChannel: hasStartupClassSelectedHolder |
|
863 |
useDefaultExtent: true |
|
2656 | 864 |
) |
3337 | 865 |
) |
866 |
||
867 |
) |
|
2656 | 868 |
) |
3337 | 869 |
) |
870 |
||
871 |
) |
|
872 |
) |
|
2656 | 873 |
! |
874 |
||
875 |
page5_specifyIncludedClasses |
|
876 |
"This resource specification was automatically generated |
|
877 |
by the UIPainter of ST/X." |
|
878 |
||
879 |
"Do not manually edit this!! If it is corrupted, |
|
880 |
the UIPainter may not be able to read the specification." |
|
881 |
||
882 |
" |
|
883 |
UIPainter new openOnClass:Tools::ProjectBuilderAssistantApplication andSelector:#page5_specifyIncludedClasses |
|
884 |
Tools::ProjectBuilderAssistantApplication new openInterface:#page5_specifyIncludedClasses |
|
885 |
" |
|
886 |
||
887 |
<resource: #canvas> |
|
888 |
||
889 |
^ |
|
3337 | 890 |
#(FullSpec |
891 |
name: #'page5_specifyIncludedClasses' |
|
892 |
window: |
|
893 |
(WindowSpec |
|
894 |
label: 'Project Selection' |
|
895 |
name: 'Project Selection' |
|
896 |
min: (Point 0 0) |
|
897 |
bounds: (Rectangle 0 0 521 400) |
|
898 |
) |
|
899 |
component: |
|
900 |
(SpecCollection |
|
901 |
collection: ( |
|
902 |
(FramedBoxSpec |
|
903 |
label: 'Project Contents' |
|
904 |
name: 'FramedBox3' |
|
905 |
layout: (LayoutFrame 0 0.0 5 0 4 1.0 -34 1) |
|
906 |
labelPosition: topLeft |
|
907 |
translateLabel: true |
|
908 |
component: |
|
909 |
(SpecCollection |
|
910 |
collection: ( |
|
911 |
(SequenceViewSpec |
|
912 |
name: 'List1' |
|
913 |
layout: (LayoutFrame 0 0 0 0 0 1 0 1) |
|
914 |
initiallyDisabled: true |
|
915 |
hasHorizontalScrollBar: true |
|
916 |
hasVerticalScrollBar: true |
|
917 |
useIndex: false |
|
918 |
sequenceList: listOfClassesInProject |
|
2636 | 919 |
) |
3337 | 920 |
) |
921 |
||
922 |
) |
|
923 |
) |
|
924 |
(HorizontalPanelViewSpec |
|
925 |
name: 'HorizontalPanel1' |
|
926 |
layout: (LayoutFrame 0 0 -34 1 0 1 0 1) |
|
927 |
horizontalLayout: center |
|
928 |
verticalLayout: center |
|
929 |
horizontalSpace: 3 |
|
930 |
verticalSpace: 3 |
|
931 |
component: |
|
932 |
(SpecCollection |
|
933 |
collection: ( |
|
934 |
(ActionButtonSpec |
|
935 |
label: 'Browse Project Definition' |
|
936 |
name: 'Button3' |
|
937 |
translateLabel: true |
|
938 |
model: doBrowseProjectDefinitionClass |
|
939 |
useDefaultExtent: true |
|
2648 | 940 |
) |
3337 | 941 |
(ActionButtonSpec |
942 |
label: 'Update Contents (Scan)' |
|
943 |
name: 'Button4' |
|
944 |
translateLabel: true |
|
945 |
model: doGenerateProjectContentsDefinition |
|
946 |
useDefaultExtent: true |
|
947 |
) |
|
948 |
) |
|
949 |
||
950 |
) |
|
2636 | 951 |
) |
3337 | 952 |
) |
953 |
||
954 |
) |
|
955 |
) |
|
2636 | 956 |
! |
957 |
||
2872 | 958 |
page5b_specifyPrerequisitePackages |
959 |
"This resource specification was automatically generated |
|
960 |
by the UIPainter of ST/X." |
|
961 |
||
962 |
"Do not manually edit this!! If it is corrupted, |
|
963 |
the UIPainter may not be able to read the specification." |
|
964 |
||
965 |
" |
|
966 |
UIPainter new openOnClass:Tools::ProjectBuilderAssistantApplication andSelector:#page5b_specifyPrerequisitePackages |
|
967 |
Tools::ProjectBuilderAssistantApplication new openInterface:#page5b_specifyPrerequisitePackages |
|
968 |
" |
|
969 |
||
970 |
<resource: #canvas> |
|
971 |
||
972 |
^ |
|
3337 | 973 |
#(FullSpec |
974 |
name: #'page5b_specifyPrerequisitePackages' |
|
975 |
window: |
|
976 |
(WindowSpec |
|
977 |
label: 'Project Selection' |
|
978 |
name: 'Project Selection' |
|
979 |
min: (Point 0 0) |
|
980 |
bounds: (Rectangle 0 0 521 400) |
|
981 |
) |
|
982 |
component: |
|
983 |
(SpecCollection |
|
984 |
collection: ( |
|
985 |
(FramedBoxSpec |
|
986 |
label: 'Prerequisite Packages' |
|
987 |
name: 'FramedBox3' |
|
988 |
layout: (LayoutFrame 0 0.0 5 0 4 1.0 -34 1) |
|
989 |
labelPosition: topLeft |
|
990 |
translateLabel: true |
|
991 |
component: |
|
992 |
(SpecCollection |
|
993 |
collection: ( |
|
994 |
(SequenceViewSpec |
|
995 |
name: 'List1' |
|
996 |
layout: (LayoutFrame 0 0 0 0 0 1 0 1) |
|
997 |
initiallyDisabled: true |
|
998 |
hasHorizontalScrollBar: true |
|
999 |
hasVerticalScrollBar: true |
|
1000 |
useIndex: false |
|
1001 |
sequenceList: listOfPrerequisitesInProject |
|
2872 | 1002 |
) |
3337 | 1003 |
) |
1004 |
||
1005 |
) |
|
1006 |
) |
|
1007 |
(HorizontalPanelViewSpec |
|
1008 |
name: 'HorizontalPanel1' |
|
1009 |
layout: (LayoutFrame 0 0 -34 1 0 1 0 1) |
|
1010 |
horizontalLayout: center |
|
1011 |
verticalLayout: center |
|
1012 |
horizontalSpace: 3 |
|
1013 |
verticalSpace: 3 |
|
1014 |
component: |
|
1015 |
(SpecCollection |
|
1016 |
collection: ( |
|
1017 |
(ActionButtonSpec |
|
1018 |
label: 'Browse Project Definition' |
|
1019 |
name: 'Button3' |
|
1020 |
translateLabel: true |
|
1021 |
model: doBrowseProjectDefinitionClassForPrereqs |
|
1022 |
useDefaultExtent: true |
|
2872 | 1023 |
) |
3337 | 1024 |
(ActionButtonSpec |
1025 |
label: 'Update Prerequisites (Scan)' |
|
1026 |
name: 'Button4' |
|
1027 |
translateLabel: true |
|
1028 |
model: doGenerateProjectPrerequisitesDefinition |
|
1029 |
useDefaultExtent: true |
|
1030 |
) |
|
1031 |
) |
|
1032 |
||
1033 |
) |
|
2872 | 1034 |
) |
3337 | 1035 |
) |
1036 |
||
1037 |
) |
|
1038 |
) |
|
2872 | 1039 |
! |
1040 |
||
2724 | 1041 |
page6a_specifyProjectAttributes |
2636 | 1042 |
"This resource specification was automatically generated |
1043 |
by the UIPainter of ST/X." |
|
1044 |
||
1045 |
"Do not manually edit this!! If it is corrupted, |
|
1046 |
the UIPainter may not be able to read the specification." |
|
1047 |
||
1048 |
" |
|
2724 | 1049 |
UIPainter new openOnClass:Tools::ProjectBuilderAssistantApplication andSelector:#page6a_specifyProjectAttributes |
1050 |
Tools::ProjectBuilderAssistantApplication new openInterface:#page6a_specifyProjectAttributes |
|
2636 | 1051 |
" |
1052 |
||
1053 |
<resource: #canvas> |
|
1054 |
||
1055 |
^ |
|
3337 | 1056 |
#(FullSpec |
1057 |
name: #'page6a_specifyProjectAttributes' |
|
1058 |
window: |
|
1059 |
(WindowSpec |
|
1060 |
label: 'Project Selection' |
|
1061 |
name: 'Project Selection' |
|
1062 |
min: (Point 0 0) |
|
1063 |
bounds: (Rectangle 0 0 521 239) |
|
1064 |
) |
|
1065 |
component: |
|
1066 |
(SpecCollection |
|
1067 |
collection: ( |
|
1068 |
(FramedBoxSpec |
|
1069 |
label: 'Product Information' |
|
1070 |
name: 'FramedBox3' |
|
1071 |
layout: (LayoutFrame 0 0.0 5 0 4 1.0 116 0) |
|
1072 |
labelPosition: topLeft |
|
1073 |
translateLabel: true |
|
1074 |
component: |
|
1075 |
(SpecCollection |
|
1076 |
collection: ( |
|
1077 |
(LabelSpec |
|
1078 |
label: 'Product Name:' |
|
1079 |
name: 'Label1' |
|
1080 |
layout: (LayoutFrame 0 0 10 0 148 0 40 0) |
|
3339 | 1081 |
activeHelpKey: productName |
3337 | 1082 |
translateLabel: true |
3339 | 1083 |
adjust: left |
2724 | 1084 |
) |
3337 | 1085 |
(InputFieldSpec |
1086 |
name: 'EntryField4' |
|
1087 |
layout: (LayoutFrame 150 0.0 10 0 0 1.0 40 0) |
|
3339 | 1088 |
activeHelpKey: productName |
3337 | 1089 |
model: productNameHolder |
1090 |
acceptOnLostFocus: true |
|
1091 |
acceptOnPointerLeave: true |
|
1092 |
viewClassName: '' |
|
1093 |
) |
|
1094 |
(LabelSpec |
|
1095 |
label: 'Company Name:' |
|
1096 |
name: 'Label2' |
|
1097 |
layout: (LayoutFrame 0 0 45 0 148 0 75 0) |
|
3339 | 1098 |
activeHelpKey: companyName |
3337 | 1099 |
translateLabel: true |
3339 | 1100 |
adjust: left |
3337 | 1101 |
) |
1102 |
(InputFieldSpec |
|
1103 |
name: 'EntryField3' |
|
1104 |
layout: (LayoutFrame 150 0.0 45 0 0 1.0 75 0) |
|
3339 | 1105 |
activeHelpKey: companyName |
3337 | 1106 |
model: companyNameHolder |
1107 |
acceptOnLostFocus: true |
|
1108 |
acceptOnPointerLeave: true |
|
1109 |
viewClassName: '' |
|
1110 |
) |
|
1111 |
) |
|
1112 |
||
1113 |
) |
|
2724 | 1114 |
) |
3339 | 1115 |
(FramedBoxSpec |
1116 |
label: 'Executable' |
|
1117 |
name: 'FramedBox4' |
|
1118 |
layout: (LayoutFrame 0 0.0 124 0 4 1.0 200 0) |
|
3340 | 1119 |
visibilityChannel: executableNameVisible |
3339 | 1120 |
labelPosition: topLeft |
1121 |
translateLabel: true |
|
1122 |
component: |
|
1123 |
(SpecCollection |
|
1124 |
collection: ( |
|
1125 |
(LabelSpec |
|
1126 |
label: 'Name:' |
|
1127 |
name: 'Label3' |
|
1128 |
layout: (LayoutFrame 0 0 10 0 148 0 40 0) |
|
1129 |
activeHelpKey: programName |
|
1130 |
translateLabel: true |
|
1131 |
adjust: left |
|
1132 |
) |
|
1133 |
(InputFieldSpec |
|
1134 |
name: 'EntryField5' |
|
1135 |
layout: (LayoutFrame 150 0.0 10 0 0 1.0 40 0) |
|
1136 |
activeHelpKey: programName |
|
1137 |
model: executableNameHolder |
|
1138 |
isReadOnly: true |
|
1139 |
acceptOnLostFocus: true |
|
1140 |
acceptOnPointerLeave: true |
|
1141 |
viewClassName: '' |
|
1142 |
) |
|
1143 |
) |
|
1144 |
||
1145 |
) |
|
1146 |
) |
|
3337 | 1147 |
) |
1148 |
||
1149 |
) |
|
1150 |
) |
|
2724 | 1151 |
! |
1152 |
||
1153 |
page6b_specifyBuildDirectorySpec |
|
1154 |
"This resource specification was automatically generated |
|
1155 |
by the UIPainter of ST/X." |
|
1156 |
||
1157 |
"Do not manually edit this!! If it is corrupted, |
|
1158 |
the UIPainter may not be able to read the specification." |
|
1159 |
||
1160 |
" |
|
1161 |
UIPainter new openOnClass:Tools::ProjectBuilderAssistantApplication andSelector:#page6b_specifyBuildDirectorySpec |
|
1162 |
Tools::ProjectBuilderAssistantApplication new openInterface:#page6b_specifyBuildDirectorySpec |
|
1163 |
" |
|
1164 |
||
1165 |
<resource: #canvas> |
|
1166 |
||
1167 |
^ |
|
3337 | 1168 |
#(FullSpec |
1169 |
name: #'page6b_specifyBuildDirectorySpec' |
|
1170 |
window: |
|
1171 |
(WindowSpec |
|
1172 |
label: 'Project Selection' |
|
1173 |
name: 'Project Selection' |
|
1174 |
min: (Point 0 0) |
|
1175 |
bounds: (Rectangle 0 0 521 361) |
|
1176 |
) |
|
1177 |
component: |
|
1178 |
(SpecCollection |
|
1179 |
collection: ( |
|
1180 |
(FramedBoxSpec |
|
1181 |
label: 'Build Directory' |
|
1182 |
name: 'FramedBox3' |
|
3339 | 1183 |
layout: (LayoutFrame 0 0.0 5 0 4 1.0 115 0) |
3337 | 1184 |
labelPosition: topLeft |
1185 |
translateLabel: true |
|
1186 |
component: |
|
1187 |
(SpecCollection |
|
1188 |
collection: ( |
|
1189 |
(FilenameInputFieldSpec |
|
1190 |
name: 'FilenameEntryField1' |
|
1191 |
layout: (LayoutFrame 0 0.0 10 0 0 1.0 40 0) |
|
1192 |
model: buildDirectoryHolder |
|
1193 |
acceptOnPointerLeave: true |
|
1194 |
viewClassName: FilenameWidgetWithHistory |
|
2636 | 1195 |
) |
3339 | 1196 |
(ActionButtonSpec |
1197 |
label: 'Clear' |
|
1198 |
name: 'Button1' |
|
1199 |
layout: (LayoutFrame -127 1 50 0 -2 1 72 0) |
|
1200 |
translateLabel: true |
|
1201 |
model: clearBuildDirectory |
|
1202 |
) |
|
3337 | 1203 |
) |
1204 |
||
1205 |
) |
|
1206 |
) |
|
1207 |
(FramedBoxSpec |
|
1208 |
label: 'Compiler / Toolchain' |
|
1209 |
name: 'FramedBox4' |
|
3339 | 1210 |
layout: (LayoutFrame 0 0.0 116 0 4 1.0 190 0) |
3337 | 1211 |
labelPosition: topLeft |
1212 |
translateLabel: true |
|
1213 |
component: |
|
1214 |
(SpecCollection |
|
1215 |
collection: ( |
|
1216 |
(ComboListSpec |
|
1217 |
name: 'ComboList1' |
|
1218 |
layout: (LayoutFrame 0 0 10 0 137 0 40 0) |
|
1219 |
model: usedCompilerHolder |
|
1220 |
comboList: listOfPossibleCompilers |
|
1221 |
useIndex: false |
|
2681 | 1222 |
) |
3337 | 1223 |
(LabelSpec |
1224 |
label: 'Compiler Suite' |
|
1225 |
name: 'Label2' |
|
1226 |
layout: (LayoutFrame 163 0 10 0 0 1 40 0) |
|
1227 |
translateLabel: true |
|
1228 |
labelChannel: nameOfUsedCompilerSuiteHolder |
|
1229 |
adjust: left |
|
1230 |
) |
|
1231 |
) |
|
1232 |
||
1233 |
) |
|
2636 | 1234 |
) |
3337 | 1235 |
(TextEditorSpec |
1236 |
name: 'TextEditor1' |
|
3339 | 1237 |
layout: (LayoutFrame 2 0.0 190 0 -2 1.0 303 0) |
3337 | 1238 |
level: -1 |
1239 |
visibilityChannel: compilerWarnMessageVisibleHolder |
|
1240 |
model: compilerWarnMessageHolder |
|
1241 |
hasHorizontalScrollBar: true |
|
1242 |
hasVerticalScrollBar: true |
|
1243 |
miniScrollerHorizontal: true |
|
1244 |
backgroundColor: (Color 100.0 50.0 50.0) |
|
1245 |
hasKeyboardFocusInitially: false |
|
1246 |
postBuildCallback: postBuildWarnMessageView: |
|
1247 |
) |
|
1248 |
) |
|
1249 |
||
1250 |
) |
|
1251 |
) |
|
2636 | 1252 |
! |
1253 |
||
2656 | 1254 |
page7_buildSpec |
2636 | 1255 |
"This resource specification was automatically generated |
1256 |
by the UIPainter of ST/X." |
|
1257 |
||
1258 |
"Do not manually edit this!! If it is corrupted, |
|
1259 |
the UIPainter may not be able to read the specification." |
|
1260 |
||
1261 |
" |
|
2656 | 1262 |
UIPainter new openOnClass:Tools::ProjectBuilderAssistantApplication andSelector:#page7_buildSpec |
1263 |
Tools::ProjectBuilderAssistantApplication new openInterface:#page7_buildSpec |
|
2636 | 1264 |
" |
1265 |
||
1266 |
<resource: #canvas> |
|
1267 |
||
1268 |
^ |
|
3126
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1269 |
#(FullSpec |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1270 |
name: #'page7_buildSpec' |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1271 |
window: |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1272 |
(WindowSpec |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1273 |
label: 'Project Selection' |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1274 |
name: 'Project Selection' |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1275 |
min: (Point 0 0) |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1276 |
bounds: (Rectangle 0 0 679 492) |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1277 |
) |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1278 |
component: |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1279 |
(SpecCollection |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1280 |
collection: ( |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1281 |
(FramedBoxSpec |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1282 |
label: 'Make Output' |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1283 |
name: 'FramedBox3' |
3337 | 1284 |
layout: (LayoutFrame 0 0.0 5 0 4 1.0 -106 1) |
3126
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1285 |
labelPosition: topLeft |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1286 |
translateLabel: true |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1287 |
component: |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1288 |
(SpecCollection |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1289 |
collection: ( |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1290 |
(TextEditorSpec |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1291 |
name: 'MakeOutputWindow' |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1292 |
layout: (LayoutFrame 0 0 0 0 0 1 0 1) |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1293 |
activeHelpKey: makeOutput |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1294 |
model: makeOutputHolder |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1295 |
hasHorizontalScrollBar: true |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1296 |
hasVerticalScrollBar: true |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1297 |
hasKeyboardFocusInitially: false |
3337 | 1298 |
postBuildCallback: postBuildMakeOutputWindow: |
3126
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1299 |
viewClassName: 'TextCollector' |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1300 |
) |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1301 |
) |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1302 |
|
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1303 |
) |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1304 |
) |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1305 |
(HorizontalPanelViewSpec |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1306 |
name: 'HorizontalPanel1' |
3337 | 1307 |
layout: (LayoutFrame 0 0 -106 1 0 1 -72 1) |
3126
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1308 |
horizontalLayout: leftSpace |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1309 |
verticalLayout: center |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1310 |
horizontalSpace: 3 |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1311 |
verticalSpace: 3 |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1312 |
component: |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1313 |
(SpecCollection |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1314 |
collection: ( |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1315 |
(ActionButtonSpec |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1316 |
label: 'Make All' |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1317 |
name: 'Button3' |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1318 |
activeHelpKey: makeAll |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1319 |
translateLabel: true |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1320 |
model: doStartMakeAll |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1321 |
enableChannel: startMakeButtonEnabled |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1322 |
useDefaultExtent: true |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1323 |
) |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1324 |
(ActionButtonSpec |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1325 |
label: 'Make App' |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1326 |
name: 'Button17' |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1327 |
activeHelpKey: makeAll |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1328 |
visibilityChannel: osIsOSX |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1329 |
translateLabel: true |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1330 |
model: doStartMakeApp |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1331 |
enableChannel: startMakeButtonEnabled |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1332 |
useDefaultExtent: true |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1333 |
) |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1334 |
(ActionButtonSpec |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1335 |
label: 'Make EXE only' |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1336 |
name: 'Button5' |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1337 |
activeHelpKey: makeExe |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1338 |
translateLabel: true |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1339 |
model: doStartMakeExe |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1340 |
enableChannel: startMakeButtonEnabled |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1341 |
useDefaultExtent: true |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1342 |
) |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1343 |
(ActionButtonSpec |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1344 |
label: 'Quick Make EXE' |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1345 |
name: 'Button16' |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1346 |
activeHelpKey: makeExeQuick |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1347 |
translateLabel: true |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1348 |
model: doStartMakeExeQuick |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1349 |
enableChannel: startMakeButtonEnabled |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1350 |
useDefaultExtent: true |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1351 |
) |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1352 |
(ViewSpec |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1353 |
name: 'Box1' |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1354 |
extent: (Point 20 10) |
2636 | 1355 |
) |
3126
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1356 |
(ActionButtonSpec |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1357 |
label: 'Stop Make' |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1358 |
name: 'Button4' |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1359 |
activeHelpKey: stopMake |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1360 |
visibilityChannel: stopMakeButtonVisible |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1361 |
translateLabel: true |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1362 |
model: doStopMake |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1363 |
useDefaultExtent: true |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1364 |
) |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1365 |
) |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1366 |
|
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1367 |
) |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1368 |
) |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1369 |
(HorizontalPanelViewSpec |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1370 |
name: 'HorizontalPanel2' |
3337 | 1371 |
layout: (LayoutFrame 0 0 -70 1 0 1 -36 1) |
3126
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1372 |
horizontalLayout: leftSpace |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1373 |
verticalLayout: center |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1374 |
horizontalSpace: 3 |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1375 |
verticalSpace: 3 |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1376 |
component: |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1377 |
(SpecCollection |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1378 |
collection: ( |
3337 | 1379 |
(LabelSpec |
1380 |
label: 'Build Directory' |
|
1381 |
name: 'Label1' |
|
1382 |
translateLabel: true |
|
1383 |
useDefaultExtent: true |
|
1384 |
) |
|
3126
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1385 |
(ActionButtonSpec |
3337 | 1386 |
label: 'Finder' |
3126
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1387 |
name: 'Button13' |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1388 |
activeHelpKey: openFinder |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1389 |
visibilityChannel: osIsOSX |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1390 |
translateLabel: true |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1391 |
model: doOpenFinder |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1392 |
useDefaultExtent: true |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1393 |
) |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1394 |
(ActionButtonSpec |
3337 | 1395 |
label: 'Explorer' |
3126
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1396 |
name: 'Button14' |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1397 |
activeHelpKey: openExplorer |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1398 |
visibilityChannel: osIsWindows |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1399 |
translateLabel: true |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1400 |
model: doOpenExplorer |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1401 |
useDefaultExtent: true |
2917 | 1402 |
) |
3126
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1403 |
(ActionButtonSpec |
3337 | 1404 |
label: 'Browser' |
3126
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1405 |
name: 'Button11' |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1406 |
activeHelpKey: openFileBrowser |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1407 |
translateLabel: true |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1408 |
model: doBrowseBuildDirectory |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1409 |
useDefaultExtent: true |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1410 |
) |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1411 |
(ViewSpec |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1412 |
name: 'Box2' |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1413 |
extent: (Point 20 10) |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1414 |
) |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1415 |
(ActionButtonSpec |
3337 | 1416 |
label: 'Clear' |
3126
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1417 |
name: 'Button12' |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1418 |
activeHelpKey: clearBuildDirectory |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1419 |
translateLabel: true |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1420 |
model: doClearBuildDirectory |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1421 |
useDefaultExtent: true |
2648 | 1422 |
) |
3126
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1423 |
) |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1424 |
|
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1425 |
) |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1426 |
) |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1427 |
(HorizontalPanelViewSpec |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1428 |
name: 'HorizontalPanel3' |
3337 | 1429 |
layout: (LayoutFrame 0 0 -34 1 0 1 0 1) |
3126
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1430 |
horizontalLayout: leftSpace |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1431 |
verticalLayout: center |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1432 |
horizontalSpace: 3 |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1433 |
verticalSpace: 3 |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1434 |
component: |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1435 |
(SpecCollection |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1436 |
collection: ( |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1437 |
(ActionButtonSpec |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1438 |
label: 'Terminal in Build Directory' |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1439 |
name: 'Button15' |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1440 |
activeHelpKey: openTerminal |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1441 |
translateLabel: true |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1442 |
model: doOpenTerminal |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1443 |
useDefaultExtent: true |
2960
9b1e724cb318
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
2959
diff
changeset
|
1444 |
) |
3126
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1445 |
) |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1446 |
|
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1447 |
) |
2636 | 1448 |
) |
3126
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1449 |
) |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1450 |
|
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1451 |
) |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1452 |
) |
2636 | 1453 |
! |
1454 |
||
3068
1b840afa3fd7
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3008
diff
changeset
|
1455 |
page7a_checkinSpec |
1b840afa3fd7
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3008
diff
changeset
|
1456 |
"This resource specification was automatically generated |
1b840afa3fd7
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3008
diff
changeset
|
1457 |
by the UIPainter of ST/X." |
1b840afa3fd7
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3008
diff
changeset
|
1458 |
|
1b840afa3fd7
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3008
diff
changeset
|
1459 |
"Do not manually edit this!! If it is corrupted, |
1b840afa3fd7
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3008
diff
changeset
|
1460 |
the UIPainter may not be able to read the specification." |
1b840afa3fd7
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3008
diff
changeset
|
1461 |
|
1b840afa3fd7
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3008
diff
changeset
|
1462 |
" |
1b840afa3fd7
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3008
diff
changeset
|
1463 |
UIPainter new openOnClass:Tools::ProjectBuilderAssistantApplication andSelector:#page7a_checkinSpec |
1b840afa3fd7
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3008
diff
changeset
|
1464 |
Tools::ProjectBuilderAssistantApplication new openInterface:#page7a_checkinSpec |
1b840afa3fd7
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3008
diff
changeset
|
1465 |
" |
1b840afa3fd7
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3008
diff
changeset
|
1466 |
|
1b840afa3fd7
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3008
diff
changeset
|
1467 |
<resource: #canvas> |
1b840afa3fd7
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3008
diff
changeset
|
1468 |
|
1b840afa3fd7
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3008
diff
changeset
|
1469 |
^ |
1b840afa3fd7
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3008
diff
changeset
|
1470 |
#(FullSpec |
1b840afa3fd7
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3008
diff
changeset
|
1471 |
name: #'page7a_checkinSpec' |
1b840afa3fd7
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3008
diff
changeset
|
1472 |
window: |
1b840afa3fd7
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3008
diff
changeset
|
1473 |
(WindowSpec |
1b840afa3fd7
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3008
diff
changeset
|
1474 |
label: 'Check Into Repository' |
1b840afa3fd7
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3008
diff
changeset
|
1475 |
name: 'Check Into Repository' |
1b840afa3fd7
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3008
diff
changeset
|
1476 |
min: (Point 0 0) |
1b840afa3fd7
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3008
diff
changeset
|
1477 |
bounds: (Rectangle 0 0 679 492) |
1b840afa3fd7
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3008
diff
changeset
|
1478 |
) |
1b840afa3fd7
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3008
diff
changeset
|
1479 |
component: |
1b840afa3fd7
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3008
diff
changeset
|
1480 |
(SpecCollection |
1b840afa3fd7
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3008
diff
changeset
|
1481 |
collection: ( |
1b840afa3fd7
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3008
diff
changeset
|
1482 |
(HorizontalPanelViewSpec |
1b840afa3fd7
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3008
diff
changeset
|
1483 |
name: 'HorizontalPanel2' |
3337 | 1484 |
layout: (LayoutFrame 10 0 10 0 0 1 44 0) |
3068
1b840afa3fd7
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3008
diff
changeset
|
1485 |
horizontalLayout: leftSpace |
1b840afa3fd7
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3008
diff
changeset
|
1486 |
verticalLayout: center |
1b840afa3fd7
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3008
diff
changeset
|
1487 |
horizontalSpace: 3 |
1b840afa3fd7
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3008
diff
changeset
|
1488 |
verticalSpace: 3 |
1b840afa3fd7
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3008
diff
changeset
|
1489 |
component: |
1b840afa3fd7
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3008
diff
changeset
|
1490 |
(SpecCollection |
1b840afa3fd7
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3008
diff
changeset
|
1491 |
collection: ( |
1b840afa3fd7
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3008
diff
changeset
|
1492 |
(ActionButtonSpec |
1b840afa3fd7
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3008
diff
changeset
|
1493 |
label: 'Checkin...' |
3126
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1494 |
name: 'CheckinButton' |
3068
1b840afa3fd7
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3008
diff
changeset
|
1495 |
activeHelpKey: openFinder |
1b840afa3fd7
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3008
diff
changeset
|
1496 |
visibilityChannel: osIsOSX |
1b840afa3fd7
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3008
diff
changeset
|
1497 |
translateLabel: true |
3126
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1498 |
resizeForLabel: true |
3068
1b840afa3fd7
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3008
diff
changeset
|
1499 |
model: doCheckin |
1b840afa3fd7
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3008
diff
changeset
|
1500 |
useDefaultExtent: true |
1b840afa3fd7
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3008
diff
changeset
|
1501 |
) |
1b840afa3fd7
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3008
diff
changeset
|
1502 |
) |
1b840afa3fd7
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3008
diff
changeset
|
1503 |
|
1b840afa3fd7
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3008
diff
changeset
|
1504 |
) |
1b840afa3fd7
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3008
diff
changeset
|
1505 |
) |
1b840afa3fd7
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3008
diff
changeset
|
1506 |
) |
1b840afa3fd7
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3008
diff
changeset
|
1507 |
|
1b840afa3fd7
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3008
diff
changeset
|
1508 |
) |
1b840afa3fd7
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3008
diff
changeset
|
1509 |
) |
1b840afa3fd7
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3008
diff
changeset
|
1510 |
! |
1b840afa3fd7
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3008
diff
changeset
|
1511 |
|
1b840afa3fd7
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3008
diff
changeset
|
1512 |
page7b_buildSpec |
1b840afa3fd7
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3008
diff
changeset
|
1513 |
"This resource specification was automatically generated |
1b840afa3fd7
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3008
diff
changeset
|
1514 |
by the UIPainter of ST/X." |
1b840afa3fd7
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3008
diff
changeset
|
1515 |
|
1b840afa3fd7
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3008
diff
changeset
|
1516 |
"Do not manually edit this!! If it is corrupted, |
1b840afa3fd7
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3008
diff
changeset
|
1517 |
the UIPainter may not be able to read the specification." |
1b840afa3fd7
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3008
diff
changeset
|
1518 |
|
1b840afa3fd7
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3008
diff
changeset
|
1519 |
" |
3126
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1520 |
UIPainter new openOnClass:Tools::ProjectBuilderAssistantApplication andSelector:#page7b_buildSpec |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1521 |
Tools::ProjectBuilderAssistantApplication new openInterface:#page7b_buildSpec |
3068
1b840afa3fd7
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3008
diff
changeset
|
1522 |
" |
1b840afa3fd7
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3008
diff
changeset
|
1523 |
|
1b840afa3fd7
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3008
diff
changeset
|
1524 |
<resource: #canvas> |
1b840afa3fd7
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3008
diff
changeset
|
1525 |
|
1b840afa3fd7
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3008
diff
changeset
|
1526 |
^ |
3126
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1527 |
#(FullSpec |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1528 |
name: #'page7b_buildSpec' |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1529 |
window: |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1530 |
(WindowSpec |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1531 |
label: 'Project Selection' |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1532 |
name: 'Project Selection' |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1533 |
min: (Point 0 0) |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1534 |
bounds: (Rectangle 0 0 679 492) |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1535 |
) |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1536 |
component: |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1537 |
(SpecCollection |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1538 |
collection: ( |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1539 |
(FramedBoxSpec |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1540 |
label: 'Make Output' |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1541 |
name: 'FramedBox3' |
3337 | 1542 |
layout: (LayoutFrame 0 0.0 5 0 4 1.0 -106 1) |
3126
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1543 |
labelPosition: topLeft |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1544 |
translateLabel: true |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1545 |
component: |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1546 |
(SpecCollection |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1547 |
collection: ( |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1548 |
(TextEditorSpec |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1549 |
name: 'MakeOutputWindow' |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1550 |
layout: (LayoutFrame 0 0 0 0 0 1 0 1) |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1551 |
activeHelpKey: makeOutput |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1552 |
model: makeOutputHolder |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1553 |
hasHorizontalScrollBar: true |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1554 |
hasVerticalScrollBar: true |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1555 |
hasKeyboardFocusInitially: false |
3337 | 1556 |
postBuildCallback: postBuildMakeOutputWindow: |
3126
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1557 |
viewClassName: 'TextCollector' |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1558 |
) |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1559 |
) |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1560 |
|
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1561 |
) |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1562 |
) |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1563 |
(HorizontalPanelViewSpec |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1564 |
name: 'HorizontalPanel1' |
3337 | 1565 |
layout: (LayoutFrame 0 0 -106 1 -2 1 -72 1) |
3126
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1566 |
horizontalLayout: leftSpace |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1567 |
verticalLayout: center |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1568 |
horizontalSpace: 3 |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1569 |
verticalSpace: 3 |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1570 |
component: |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1571 |
(SpecCollection |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1572 |
collection: ( |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1573 |
(ActionButtonSpec |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1574 |
label: 'Make All' |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1575 |
name: 'Button3' |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1576 |
activeHelpKey: makeAll |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1577 |
translateLabel: true |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1578 |
model: doStartMakeAll |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1579 |
enableChannel: startMakeButtonEnabled |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1580 |
useDefaultExtent: true |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1581 |
) |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1582 |
(ActionButtonSpec |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1583 |
label: 'Make APP only' |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1584 |
name: 'Button17' |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1585 |
activeHelpKey: makeApp |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1586 |
visibilityChannel: osIsOSX |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1587 |
translateLabel: true |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1588 |
model: doStartMakeApp |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1589 |
enableChannel: startMakeButtonEnabled |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1590 |
useDefaultExtent: true |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1591 |
) |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1592 |
(ActionButtonSpec |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1593 |
label: 'Make EXE only' |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1594 |
name: 'Button5' |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1595 |
activeHelpKey: makeExe |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1596 |
translateLabel: true |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1597 |
model: doStartMakeExe |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1598 |
enableChannel: startMakeButtonEnabled |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1599 |
useDefaultExtent: true |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1600 |
) |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1601 |
(ActionButtonSpec |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1602 |
label: 'Quick Make EXE' |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1603 |
name: 'Button16' |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1604 |
activeHelpKey: makeExeQuick |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1605 |
translateLabel: true |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1606 |
model: doStartMakeExeQuick |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1607 |
enableChannel: startMakeButtonEnabled |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1608 |
useDefaultExtent: true |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1609 |
) |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1610 |
(ViewSpec |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1611 |
name: 'Box1' |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1612 |
extent: (Point 20 10) |
3068
1b840afa3fd7
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3008
diff
changeset
|
1613 |
) |
3126
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1614 |
(ActionButtonSpec |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1615 |
label: 'Stop Make' |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1616 |
name: 'Button4' |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1617 |
activeHelpKey: stopMake |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1618 |
visibilityChannel: stopMakeButtonVisible |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1619 |
translateLabel: true |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1620 |
model: doStopMake |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1621 |
useDefaultExtent: true |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1622 |
) |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1623 |
) |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1624 |
|
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1625 |
) |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1626 |
) |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1627 |
(HorizontalPanelViewSpec |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1628 |
name: 'HorizontalPanel2' |
3337 | 1629 |
layout: (LayoutFrame 0 0 -70 1 -2 1 -36 1) |
3126
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1630 |
horizontalLayout: leftSpace |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1631 |
verticalLayout: center |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1632 |
horizontalSpace: 3 |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1633 |
verticalSpace: 3 |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1634 |
component: |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1635 |
(SpecCollection |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1636 |
collection: ( |
3337 | 1637 |
(LabelSpec |
1638 |
label: 'Build Directory:' |
|
1639 |
name: 'Label1' |
|
1640 |
translateLabel: true |
|
1641 |
useDefaultExtent: true |
|
1642 |
) |
|
3126
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1643 |
(ActionButtonSpec |
3337 | 1644 |
label: 'Finder' |
3126
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1645 |
name: 'Button13' |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1646 |
activeHelpKey: openFinder |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1647 |
visibilityChannel: osIsOSX |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1648 |
translateLabel: true |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1649 |
model: doOpenFinder |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1650 |
useDefaultExtent: true |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1651 |
) |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1652 |
(ActionButtonSpec |
3337 | 1653 |
label: 'Explorer' |
3126
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1654 |
name: 'Button14' |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1655 |
activeHelpKey: openExplorer |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1656 |
visibilityChannel: osIsWindows |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1657 |
translateLabel: true |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1658 |
model: doOpenExplorer |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1659 |
useDefaultExtent: true |
3068
1b840afa3fd7
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3008
diff
changeset
|
1660 |
) |
3126
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1661 |
(ActionButtonSpec |
3337 | 1662 |
label: 'Browser' |
3126
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1663 |
name: 'Button11' |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1664 |
activeHelpKey: openFileBrowser |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1665 |
translateLabel: true |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1666 |
model: doBrowseBuildDirectory |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1667 |
useDefaultExtent: true |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1668 |
) |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1669 |
(ViewSpec |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1670 |
name: 'Box2' |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1671 |
extent: (Point 20 10) |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1672 |
) |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1673 |
(ActionButtonSpec |
3337 | 1674 |
label: 'Clear' |
3126
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1675 |
name: 'Button12' |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1676 |
activeHelpKey: clearBuildDirectory |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1677 |
translateLabel: true |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1678 |
model: doClearBuildDirectory |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1679 |
useDefaultExtent: true |
3068
1b840afa3fd7
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3008
diff
changeset
|
1680 |
) |
3126
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1681 |
) |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1682 |
|
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1683 |
) |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1684 |
) |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1685 |
(HorizontalPanelViewSpec |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1686 |
name: 'HorizontalPanel3' |
3337 | 1687 |
layout: (LayoutFrame 0 0 -34 1 -2 1 0 1) |
3126
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1688 |
horizontalLayout: leftSpace |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1689 |
verticalLayout: center |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1690 |
horizontalSpace: 3 |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1691 |
verticalSpace: 3 |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1692 |
component: |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1693 |
(SpecCollection |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1694 |
collection: ( |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1695 |
(ActionButtonSpec |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1696 |
label: 'Terminal in Build Directory' |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1697 |
name: 'Button15' |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1698 |
activeHelpKey: openTerminal |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1699 |
translateLabel: true |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1700 |
model: doOpenTerminal |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1701 |
useDefaultExtent: true |
3068
1b840afa3fd7
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3008
diff
changeset
|
1702 |
) |
3126
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1703 |
) |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1704 |
|
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1705 |
) |
3068
1b840afa3fd7
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3008
diff
changeset
|
1706 |
) |
3126
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1707 |
) |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1708 |
|
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1709 |
) |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1710 |
) |
3068
1b840afa3fd7
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3008
diff
changeset
|
1711 |
! |
1b840afa3fd7
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3008
diff
changeset
|
1712 |
|
2676 | 1713 |
page8_deploySpec |
1714 |
"This resource specification was automatically generated |
|
1715 |
by the UIPainter of ST/X." |
|
1716 |
||
1717 |
"Do not manually edit this!! If it is corrupted, |
|
1718 |
the UIPainter may not be able to read the specification." |
|
1719 |
||
1720 |
" |
|
1721 |
UIPainter new openOnClass:Tools::ProjectBuilderAssistantApplication andSelector:#page8_deploySpec |
|
1722 |
Tools::ProjectBuilderAssistantApplication new openInterface:#page8_deploySpec |
|
1723 |
" |
|
1724 |
||
1725 |
<resource: #canvas> |
|
1726 |
||
1727 |
^ |
|
3126
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1728 |
#(FullSpec |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1729 |
name: #'page8_deploySpec' |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1730 |
window: |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1731 |
(WindowSpec |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1732 |
label: 'Project Selection' |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1733 |
name: 'Project Selection' |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1734 |
min: (Point 0 0) |
3337 | 1735 |
bounds: (Rectangle 0 0 520 478) |
3126
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1736 |
) |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1737 |
component: |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1738 |
(SpecCollection |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1739 |
collection: ( |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1740 |
(FramedBoxSpec |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1741 |
label: 'Files for Deployment' |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1742 |
name: 'FramedBox3' |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1743 |
layout: (LayoutFrame 0 0.0 5 0 4 1.0 0 1) |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1744 |
labelPosition: topLeft |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1745 |
translateLabel: true |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1746 |
component: |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1747 |
(SpecCollection |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1748 |
collection: ( |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1749 |
(SubCanvasSpec |
3335 | 1750 |
name: 'FileBrowserSubCanvas' |
3337 | 1751 |
layout: (LayoutFrame 0 0 0 0 0 1 -34 1) |
3126
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1752 |
hasHorizontalScrollBar: false |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1753 |
hasVerticalScrollBar: false |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1754 |
clientHolder: fileBrowserInstance |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1755 |
createNewApplication: true |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1756 |
createNewBuilder: true |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1757 |
) |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1758 |
(HorizontalPanelViewSpec |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1759 |
name: 'HorizontalPanel1' |
3337 | 1760 |
layout: (LayoutFrame 0 0 -34 1 -2 1 0 1) |
3126
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1761 |
horizontalLayout: centerMax |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1762 |
verticalLayout: center |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1763 |
horizontalSpace: 3 |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1764 |
verticalSpace: 3 |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1765 |
component: |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1766 |
(SpecCollection |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1767 |
collection: ( |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1768 |
(ActionButtonSpec |
3337 | 1769 |
label: 'Windows Explorer' |
3126
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1770 |
name: 'Button1' |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1771 |
visibilityChannel: osIsWindows |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1772 |
translateLabel: true |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1773 |
resizeForLabel: true |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1774 |
model: doOpenExplorer |
3337 | 1775 |
useDefaultExtent: true |
2649 | 1776 |
) |
3126
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1777 |
(ActionButtonSpec |
3337 | 1778 |
label: ' Finder' |
3126
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1779 |
name: 'Button3' |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1780 |
visibilityChannel: osIsOSX |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1781 |
translateLabel: true |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1782 |
resizeForLabel: true |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1783 |
model: doOpenFinder |
3337 | 1784 |
useDefaultExtent: true |
3126
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1785 |
) |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1786 |
(ActionButtonSpec |
3337 | 1787 |
label: 'Terminal' |
3126
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1788 |
name: 'Button2' |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1789 |
translateLabel: true |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1790 |
resizeForLabel: true |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1791 |
model: doOpenTerminal |
3337 | 1792 |
useDefaultExtent: true |
3126
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1793 |
) |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1794 |
) |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1795 |
|
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1796 |
) |
2636 | 1797 |
) |
3126
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1798 |
) |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1799 |
|
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1800 |
) |
2636 | 1801 |
) |
3126
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1802 |
) |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1803 |
|
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1804 |
) |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
1805 |
) |
2676 | 1806 |
! ! |
1807 |
||
2697 | 1808 |
!ProjectBuilderAssistantApplication class methodsFor:'misc specs'! |
1809 |
||
1810 |
newProjectsNameListSpec |
|
1811 |
"This resource specification was automatically generated |
|
1812 |
by the UIPainter of ST/X." |
|
1813 |
||
1814 |
"Do not manually edit this!! If it is corrupted, |
|
1815 |
the UIPainter may not be able to read the specification." |
|
1816 |
||
1817 |
" |
|
1818 |
UIPainter new openOnClass:Tools::ProjectBuilderAssistantApplication andSelector:#newProjectsNameListSpec |
|
1819 |
Tools::ProjectBuilderAssistantApplication new openInterface:#newProjectsNameListSpec |
|
1820 |
" |
|
1821 |
||
1822 |
<resource: #canvas> |
|
1823 |
||
1824 |
^ |
|
1825 |
#(FullSpec |
|
1826 |
name: newProjectsNameListSpec |
|
1827 |
window: |
|
1828 |
(WindowSpec |
|
1829 |
label: 'NewApplication' |
|
1830 |
name: 'NewApplication' |
|
1831 |
min: (Point 0 0) |
|
1832 |
bounds: (Rectangle 0 0 131 207) |
|
2990
66833743333c
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
2988
diff
changeset
|
1833 |
usePreferredExtent: true |
2697 | 1834 |
) |
1835 |
component: |
|
1836 |
(SpecCollection |
|
1837 |
collection: ( |
|
1838 |
(SequenceViewSpec |
|
1839 |
name: 'ReferencePoint2' |
|
1840 |
layout: (LayoutFrame 0 0 0 0 0 1 0 1) |
|
2705 | 1841 |
activeHelpKey: listOfNewProjectsName |
2697 | 1842 |
model: newProjectsName |
1843 |
hasHorizontalScrollBar: true |
|
1844 |
hasVerticalScrollBar: true |
|
1845 |
miniScrollerHorizontal: true |
|
1846 |
miniScrollerVertical: false |
|
1847 |
useIndex: false |
|
1848 |
sequenceList: listOfNewProjectsName |
|
2705 | 1849 |
doubleClickChannel: newProjectsNameListDoubleClickChannel |
2990
66833743333c
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
2988
diff
changeset
|
1850 |
usePreferredHeight: true |
66833743333c
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
2988
diff
changeset
|
1851 |
useDynamicPreferredHeight: true |
2697 | 1852 |
) |
1853 |
) |
|
1854 |
||
1855 |
) |
|
1856 |
) |
|
1857 |
! ! |
|
1858 |
||
2897 | 1859 |
!ProjectBuilderAssistantApplication class methodsFor:'startup'! |
1860 |
||
3337 | 1861 |
openOn:aProjectDefinitionOrStartupClass |
1862 |
^ self new openOn:aProjectDefinitionOrStartupClass |
|
2897 | 1863 |
|
1864 |
"Created: / 20-07-2012 / 12:33:25 / cg" |
|
1865 |
! |
|
1866 |
||
1867 |
openOnPackage:aPackageId |
|
1868 |
^ self new openOnPackage:aPackageId |
|
1869 |
||
1870 |
"Created: / 20-07-2012 / 13:22:50 / cg" |
|
1871 |
! ! |
|
1872 |
||
2676 | 1873 |
!ProjectBuilderAssistantApplication methodsFor:'actions'! |
1874 |
||
1875 |
buildDirectoryChanged |
|
1876 |
self updateButtonEnableState. |
|
2636 | 1877 |
! |
1878 |
||
3339 | 1879 |
clearBuildDirectory |
1880 |
self halt. |
|
1881 |
! |
|
1882 |
||
2676 | 1883 |
createNewApplication |
1884 |
<resource: #uiCallback> |
|
1885 |
||
1886 |
|newAppName newAppClass| |
|
2636 | 1887 |
|
2676 | 1888 |
newAppName := self newApplicationsName value. |
1889 |
newAppName isEmptyOrNil ifTrue:[ |
|
1890 |
Dialog warn:'Please enter the name of the Application-Class first.'. |
|
1891 |
^ self |
|
1892 |
]. |
|
3004
014368fad35b
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3002
diff
changeset
|
1893 |
newAppName isUppercaseFirst ifFalse:[ |
014368fad35b
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3002
diff
changeset
|
1894 |
(Dialog confirm:(resources |
014368fad35b
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3002
diff
changeset
|
1895 |
stringWithCRs:'Class names must start with an uppercase character.\\Change to "%1"?' |
014368fad35b
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3002
diff
changeset
|
1896 |
with:newAppName asUppercaseFirst)) |
014368fad35b
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3002
diff
changeset
|
1897 |
ifFalse:[ |
014368fad35b
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3002
diff
changeset
|
1898 |
^ self |
014368fad35b
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3002
diff
changeset
|
1899 |
]. |
014368fad35b
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3002
diff
changeset
|
1900 |
newAppName := newAppName asUppercaseFirst. |
014368fad35b
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3002
diff
changeset
|
1901 |
self newApplicationsName value:newAppName. |
014368fad35b
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3002
diff
changeset
|
1902 |
]. |
2676 | 1903 |
|
1904 |
self withWaitCursorDo:[ |
|
1905 |
Class packageQuerySignal answer:(selectedProjectDefinition package) |
|
1906 |
do:[ |
|
2659 | 1907 |
newAppClass := ApplicationModel |
1908 |
subclass:newAppName asSymbol |
|
1909 |
instanceVariableNames:'' |
|
1910 |
classVariableNames:'' |
|
1911 |
poolDictionaries:'' |
|
1912 |
category:'Applications'. |
|
2832
c1e7c5d29577
CodeGeneratorTool->SmalltalkCodeGeneratorTool
Claus Gittinger <cg@exept.de>
parents:
2825
diff
changeset
|
1913 |
SmalltalkCodeGeneratorTool createApplicationCodeFor:newAppClass. |
2659 | 1914 |
]. |
2724 | 1915 |
self updateListOfApplicationsInProject. |
1916 |
self selectedApplicationIndexHolder value:(listOfApplicationsInProject value indexOf:newAppClass). |
|
2636 | 1917 |
]. |
2832
c1e7c5d29577
CodeGeneratorTool->SmalltalkCodeGeneratorTool
Claus Gittinger <cg@exept.de>
parents:
2825
diff
changeset
|
1918 |
|
c1e7c5d29577
CodeGeneratorTool->SmalltalkCodeGeneratorTool
Claus Gittinger <cg@exept.de>
parents:
2825
diff
changeset
|
1919 |
"Modified: / 31-01-2011 / 18:29:50 / cg" |
2636 | 1920 |
! |
1921 |
||
2676 | 1922 |
createNewProject |
1923 |
<resource: #uiCallback> |
|
1924 |
||
1925 |
|newProjectID projectDefinitionType projectDefinitionClass projectClasses| |
|
1926 |
||
1927 |
newProjectID := self newProjectsName value. |
|
1928 |
newProjectID isEmptyOrNil ifTrue:[ |
|
2686
5a19c21dada0
ensure starup and application are in the classList of the projectDef
Claus Gittinger <cg@exept.de>
parents:
2685
diff
changeset
|
1929 |
Dialog warn:(resources string:'Please enter a packageID first.'). |
2676 | 1930 |
^ self |
1931 |
]. |
|
1932 |
newProjectID asPackageId isModuleId ifTrue:[ |
|
2686
5a19c21dada0
ensure starup and application are in the classList of the projectDef
Claus Gittinger <cg@exept.de>
parents:
2685
diff
changeset
|
1933 |
Dialog warn:(resources stringWithCRs: |
5a19c21dada0
ensure starup and application are in the classList of the projectDef
Claus Gittinger <cg@exept.de>
parents:
2685
diff
changeset
|
1934 |
'Please enter a corrent packageID. |
5a19c21dada0
ensure starup and application are in the classList of the projectDef
Claus Gittinger <cg@exept.de>
parents:
2685
diff
changeset
|
1935 |
|
5a19c21dada0
ensure starup and application are in the classList of the projectDef
Claus Gittinger <cg@exept.de>
parents:
2685
diff
changeset
|
1936 |
All packages must be named like "%1:%2" |
5a19c21dada0
ensure starup and application are in the classList of the projectDef
Claus Gittinger <cg@exept.de>
parents:
2685
diff
changeset
|
1937 |
(%2 can be a path like "dir/dir/...").' with:(resources string:'module')allItalic |
5a19c21dada0
ensure starup and application are in the classList of the projectDef
Claus Gittinger <cg@exept.de>
parents:
2685
diff
changeset
|
1938 |
with:(resources string:'directory')allItalic). |
2676 | 1939 |
^ self |
1940 |
]. |
|
1941 |
||
2709 | 1942 |
self withWaitCursorDo:[ |
2900 | 1943 |
projectDefinitionType := self projectType. "/ ProjectDefinition perform:(self projectTypeHolder value). |
2676 | 1944 |
|
2709 | 1945 |
projectDefinitionClass := ProjectDefinition |
1946 |
definitionClassForPackage:newProjectID |
|
1947 |
projectType: projectDefinitionType |
|
1948 |
createIfAbsent:true. |
|
2676 | 1949 |
|
2709 | 1950 |
projectDefinitionClass compileDescriptionMethods. |
1951 |
self updateListOfMatchingProjects. |
|
1952 |
self updateListOfNewProjectsName. |
|
2676 | 1953 |
|
2709 | 1954 |
self selectedProjectIndexHolder value:( self listOfMatchingProjects value indexOf:projectDefinitionClass). |
2676 | 1955 |
|
2851 | 1956 |
projectClasses := projectDefinitionClass allClasses. |
2676 | 1957 |
|
1958 |
"/ projectDefinitionClass isGUIApplication ifTrue:[ |
|
1959 |
"/ "/ see if it has an AppModel class |
|
2659 | 1960 |
"/ (projectClasses contains:[:cls | cls isVisualStartable]) ifFalse:[ |
1961 |
"/ (Dialog confirm:'Create an Application Class ?') ifTrue:[ |
|
1962 |
"/ self halt. |
|
1963 |
"/ ]. |
|
1964 |
"/ ]. |
|
1965 |
"/ ]. |
|
2636 | 1966 |
|
1967 |
"/ projectDefinitionClass isLibrary ifFalse:[ |
|
1968 |
"/ "/ see if it has a Startup class |
|
1969 |
"/ (projectClasses contains:[:cls | cls isStartable]) ifFalse:[ |
|
1970 |
"/ ]. |
|
1971 |
"/ ]. |
|
2709 | 1972 |
|
1973 |
]. |
|
2851 | 1974 |
|
2900 | 1975 |
"Modified: / 06-08-2012 / 16:55:54 / cg" |
2636 | 1976 |
! |
1977 |
||
2676 | 1978 |
createNewStartupClass |
1979 |
<resource: #uiCallback> |
|
1980 |
||
2696 | 1981 |
|newClassName newStartupClass startupApplication| |
2676 | 1982 |
|
1983 |
newClassName := self newStartupClassName value. |
|
1984 |
newClassName isEmptyOrNil ifTrue:[ |
|
1985 |
Dialog warn:'Please enter the name of the Startup-Class first.'. |
|
1986 |
^ self |
|
1987 |
]. |
|
3004
014368fad35b
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3002
diff
changeset
|
1988 |
newClassName isUppercaseFirst ifFalse:[ |
014368fad35b
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3002
diff
changeset
|
1989 |
(Dialog confirm:(resources |
014368fad35b
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3002
diff
changeset
|
1990 |
stringWithCRs:'Class names must start with an uppercase character.\\Change to "%1"?' |
014368fad35b
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3002
diff
changeset
|
1991 |
with:newClassName asUppercaseFirst)) |
014368fad35b
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3002
diff
changeset
|
1992 |
ifFalse:[ |
014368fad35b
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3002
diff
changeset
|
1993 |
^ self |
014368fad35b
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3002
diff
changeset
|
1994 |
]. |
014368fad35b
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3002
diff
changeset
|
1995 |
newClassName := newClassName asUppercaseFirst. |
014368fad35b
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3002
diff
changeset
|
1996 |
self newStartupClassName value:newClassName. |
014368fad35b
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3002
diff
changeset
|
1997 |
]. |
2676 | 1998 |
|
2719 | 1999 |
self withWaitCursorDo:[ |
2000 |
|pkg| |
|
2001 |
||
2002 |
pkg := selectedProjectDefinition notNil |
|
2003 |
ifTrue:[selectedProjectDefinition package] |
|
2004 |
ifFalse:[newProjectsName value]. |
|
2005 |
Class packageQuerySignal answer:pkg |
|
2676 | 2006 |
do:[ |
3337 | 2007 |
|startupClass| |
2008 |
||
2009 |
startupClass := self projectTypeIsNonGuiApplication |
|
2010 |
ifTrue:[ StandaloneStartupHeadless ] |
|
2011 |
ifFalse:[ StandaloneStartup ]. |
|
2012 |
newStartupClass := startupClass |
|
2659 | 2013 |
subclass:newClassName asSymbol |
2014 |
instanceVariableNames:'' |
|
2015 |
classVariableNames:'' |
|
2016 |
poolDictionaries:'' |
|
2696 | 2017 |
category:'Applications'. |
2018 |
||
2019 |
self projectTypeIsGuiApplication ifTrue: [startupApplication := selectedApplication]. |
|
2832
c1e7c5d29577
CodeGeneratorTool->SmalltalkCodeGeneratorTool
Claus Gittinger <cg@exept.de>
parents:
2825
diff
changeset
|
2020 |
SmalltalkCodeGeneratorTool createStartupCodeFor:newStartupClass forStartOf:startupApplication. |
2659 | 2021 |
]. |
2724 | 2022 |
self updateListOfStartupClassesInProject. |
2023 |
self selectedStartupClassIndexHolder value:(listOfStartupClassesInProject value indexOf:newStartupClass). |
|
2659 | 2024 |
]. |
2832
c1e7c5d29577
CodeGeneratorTool->SmalltalkCodeGeneratorTool
Claus Gittinger <cg@exept.de>
parents:
2825
diff
changeset
|
2025 |
|
c1e7c5d29577
CodeGeneratorTool->SmalltalkCodeGeneratorTool
Claus Gittinger <cg@exept.de>
parents:
2825
diff
changeset
|
2026 |
"Modified: / 31-01-2011 / 18:29:47 / cg" |
2659 | 2027 |
! |
2028 |
||
2676 | 2029 |
doAddClassToProject |
2030 |
<resource: #uiCallback> |
|
2636 | 2031 |
|
2032 |
Transcript showCR:self class name, ': action for doAddClassToProject ...'. |
|
2962 | 2033 |
self halt:'unimplemented'. |
2636 | 2034 |
! |
2035 |
||
2676 | 2036 |
doBrowseApplication |
2037 |
<resource: #uiCallback> |
|
2636 | 2038 |
|
2039 |
|appClass| |
|
2040 |
||
2659 | 2041 |
self hasApplicationSelected ifTrue:[ |
2042 |
appClass := self listOfApplicationsInProject value at:(self selectedApplicationIndexHolder value). |
|
3485 | 2043 |
SystemBrowser default |
2668 | 2044 |
openInClass:appClass class selector:#windowSpec. |
2659 | 2045 |
]. |
3485 | 2046 |
|
2047 |
"Modified: / 01-09-2017 / 14:23:06 / cg" |
|
2636 | 2048 |
! |
2049 |
||
2906
8057ed7bccd2
added: #doBrowseBuildDirectory
Claus Gittinger <cg@exept.de>
parents:
2900
diff
changeset
|
2050 |
doBrowseBuildDirectory |
8057ed7bccd2
added: #doBrowseBuildDirectory
Claus Gittinger <cg@exept.de>
parents:
2900
diff
changeset
|
2051 |
<resource: #uiCallback> |
8057ed7bccd2
added: #doBrowseBuildDirectory
Claus Gittinger <cg@exept.de>
parents:
2900
diff
changeset
|
2052 |
|
2959
ab140a3e5eb6
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
2930
diff
changeset
|
2053 |
projectBuilder isNil ifTrue:[ self getProjectBuilder ]. |
ab140a3e5eb6
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
2930
diff
changeset
|
2054 |
projectBuilder buildDirectory isNil ifTrue:[ |
ab140a3e5eb6
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
2930
diff
changeset
|
2055 |
Dialog information:'No build directory yet'. |
ab140a3e5eb6
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
2930
diff
changeset
|
2056 |
^ self |
ab140a3e5eb6
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
2930
diff
changeset
|
2057 |
]. |
3480 | 2058 |
FileBrowser default |
2906
8057ed7bccd2
added: #doBrowseBuildDirectory
Claus Gittinger <cg@exept.de>
parents:
2900
diff
changeset
|
2059 |
openIn:projectBuilder packageBuildDirectory asFilename |
8057ed7bccd2
added: #doBrowseBuildDirectory
Claus Gittinger <cg@exept.de>
parents:
2900
diff
changeset
|
2060 |
"/ projectBuilder packageBuildDirectory asFilename openExplorer |
8057ed7bccd2
added: #doBrowseBuildDirectory
Claus Gittinger <cg@exept.de>
parents:
2900
diff
changeset
|
2061 |
|
8057ed7bccd2
added: #doBrowseBuildDirectory
Claus Gittinger <cg@exept.de>
parents:
2900
diff
changeset
|
2062 |
"Created: / 20-08-2012 / 17:05:54 / cg" |
3480 | 2063 |
"Modified: / 01-09-2017 / 14:06:28 / cg" |
2906
8057ed7bccd2
added: #doBrowseBuildDirectory
Claus Gittinger <cg@exept.de>
parents:
2900
diff
changeset
|
2064 |
! |
8057ed7bccd2
added: #doBrowseBuildDirectory
Claus Gittinger <cg@exept.de>
parents:
2900
diff
changeset
|
2065 |
|
2676 | 2066 |
doBrowseProject |
2067 |
<resource: #uiCallback> |
|
2068 |
||
3485 | 2069 |
SystemBrowser default openOnPackage:selectedProjectDefinition package. |
2070 |
||
2071 |
"Modified: / 01-09-2017 / 14:23:09 / cg" |
|
2636 | 2072 |
! |
2073 |
||
2676 | 2074 |
doBrowseProjectDefinitionClass |
2075 |
<resource: #uiCallback> |
|
2076 |
||
2077 |
|defClass| |
|
2078 |
||
2079 |
self hasProjectSelected ifTrue:[ |
|
2080 |
defClass := self selectedProjectDefinition. |
|
3485 | 2081 |
SystemBrowser default |
2659 | 2082 |
openInClass:defClass class selector:#classNamesAndAttributes. |
2083 |
]. |
|
3485 | 2084 |
|
2085 |
"Modified: / 01-09-2017 / 14:23:12 / cg" |
|
2659 | 2086 |
! |
2087 |
||
2959
ab140a3e5eb6
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
2930
diff
changeset
|
2088 |
doBrowseProjectDefinitionClassForPrereqs |
ab140a3e5eb6
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
2930
diff
changeset
|
2089 |
<resource: #uiCallback> |
ab140a3e5eb6
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
2930
diff
changeset
|
2090 |
|
ab140a3e5eb6
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
2930
diff
changeset
|
2091 |
|defClass| |
ab140a3e5eb6
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
2930
diff
changeset
|
2092 |
|
ab140a3e5eb6
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
2930
diff
changeset
|
2093 |
self hasProjectSelected ifTrue:[ |
ab140a3e5eb6
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
2930
diff
changeset
|
2094 |
defClass := self selectedProjectDefinition. |
3485 | 2095 |
SystemBrowser default |
3342 | 2096 |
openInClass:defClass class selector:#referencedPreRequisites "/ #mandatoryPreRequisites. |
2959
ab140a3e5eb6
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
2930
diff
changeset
|
2097 |
]. |
3485 | 2098 |
|
2099 |
"Modified: / 01-09-2017 / 14:23:15 / cg" |
|
2959
ab140a3e5eb6
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
2930
diff
changeset
|
2100 |
! |
ab140a3e5eb6
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
2930
diff
changeset
|
2101 |
|
2676 | 2102 |
doBrowseStartupClass |
2103 |
<resource: #uiCallback> |
|
2104 |
||
2105 |
|startupClass| |
|
2106 |
||
2107 |
self hasStartupClassSelected ifTrue:[ |
|
2108 |
startupClass := self listOfStartupClassesInProject value at:(self selectedStartupClassIndexHolder value). |
|
3485 | 2109 |
SystemBrowser default |
2676 | 2110 |
openInClass:startupClass class selector:#main:. |
2659 | 2111 |
]. |
3485 | 2112 |
|
2113 |
"Modified: / 01-09-2017 / 14:23:18 / cg" |
|
2659 | 2114 |
! |
2115 |
||
3068
1b840afa3fd7
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3008
diff
changeset
|
2116 |
doCheckin |
1b840afa3fd7
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3008
diff
changeset
|
2117 |
<resource: #uiCallback> |
1b840afa3fd7
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3008
diff
changeset
|
2118 |
|
1b840afa3fd7
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3008
diff
changeset
|
2119 |
|package utilities| |
1b840afa3fd7
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3008
diff
changeset
|
2120 |
|
1b840afa3fd7
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3008
diff
changeset
|
2121 |
package := selectedProjectDefinition package. |
1b840afa3fd7
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3008
diff
changeset
|
2122 |
utilities := (AbstractSourceCodeManager managerForPackage:package) utilities. |
1b840afa3fd7
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3008
diff
changeset
|
2123 |
|
1b840afa3fd7
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3008
diff
changeset
|
2124 |
AbortAllOperationRequest catch:[ |
1b840afa3fd7
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3008
diff
changeset
|
2125 |
self withWaitCursorDo:[ |
1b840afa3fd7
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3008
diff
changeset
|
2126 |
utilities |
1b840afa3fd7
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3008
diff
changeset
|
2127 |
checkinPackage:package |
1b840afa3fd7
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3008
diff
changeset
|
2128 |
classes:true |
1b840afa3fd7
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3008
diff
changeset
|
2129 |
extensions:true |
1b840afa3fd7
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3008
diff
changeset
|
2130 |
buildSupport:true |
1b840afa3fd7
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3008
diff
changeset
|
2131 |
askForMethodsInOtherPackages:true |
1b840afa3fd7
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3008
diff
changeset
|
2132 |
] |
1b840afa3fd7
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3008
diff
changeset
|
2133 |
] |
1b840afa3fd7
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3008
diff
changeset
|
2134 |
! |
1b840afa3fd7
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3008
diff
changeset
|
2135 |
|
2917 | 2136 |
doClearBuildDirectory |
2137 |
<resource: #uiCallback> |
|
2138 |
||
2928 | 2139 |
projectBuilder isNil ifTrue:[ self getProjectBuilder ]. |
2140 |
projectBuilder buildDirectory notNil ifTrue:[ |
|
2929 | 2141 |
self withWaitCursorDo:[ |
2142 |
projectBuilder packageBuildDirectory asFilename recursiveRemove |
|
2143 |
] |
|
2928 | 2144 |
]. |
2917 | 2145 |
|
2146 |
"Created: / 05-09-2012 / 10:35:54 / cg" |
|
2147 |
! |
|
2148 |
||
2676 | 2149 |
doGenerateProjectContentsDefinition |
2150 |
self generatePackageContentsMethods |
|
2151 |
! |
|
2152 |
||
2872 | 2153 |
doGenerateProjectPrerequisitesDefinition |
2154 |
self generatePackageContentsMethods |
|
2155 |
||
2156 |
"Created: / 19-01-2012 / 15:44:23 / cg" |
|
2157 |
! |
|
2158 |
||
2676 | 2159 |
doLaunchApplication |
2160 |
<resource: #uiCallback> |
|
2161 |
||
2162 |
|appClass| |
|
2163 |
||
2164 |
self hasApplicationSelected ifTrue:[ |
|
2165 |
appClass := self listOfApplicationsInProject value at:(self selectedApplicationIndexHolder value). |
|
2166 |
appClass open. |
|
2659 | 2167 |
]. |
2168 |
! |
|
2169 |
||
2676 | 2170 |
doOpenExplorer |
2959
ab140a3e5eb6
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
2930
diff
changeset
|
2171 |
projectBuilder isNil ifTrue:[ self getProjectBuilder ]. |
ab140a3e5eb6
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
2930
diff
changeset
|
2172 |
projectBuilder buildDirectory isNil ifTrue:[ |
ab140a3e5eb6
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
2930
diff
changeset
|
2173 |
Dialog information:'No build directory yet'. |
ab140a3e5eb6
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
2930
diff
changeset
|
2174 |
^ self |
ab140a3e5eb6
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
2930
diff
changeset
|
2175 |
]. |
2899 | 2176 |
projectBuilder packageBuildDirectory asFilename openExplorer |
2177 |
||
2178 |
"Modified: / 21-07-2012 / 12:29:21 / cg" |
|
2676 | 2179 |
! |
2180 |
||
2959
ab140a3e5eb6
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
2930
diff
changeset
|
2181 |
doOpenFinder |
ab140a3e5eb6
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
2930
diff
changeset
|
2182 |
projectBuilder isNil ifTrue:[ self getProjectBuilder ]. |
ab140a3e5eb6
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
2930
diff
changeset
|
2183 |
projectBuilder buildDirectory isNil ifTrue:[ |
ab140a3e5eb6
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
2930
diff
changeset
|
2184 |
Dialog information:'No build directory yet'. |
ab140a3e5eb6
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
2930
diff
changeset
|
2185 |
^ self |
ab140a3e5eb6
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
2930
diff
changeset
|
2186 |
]. |
ab140a3e5eb6
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
2930
diff
changeset
|
2187 |
projectBuilder packageBuildDirectory asFilename openFinder |
ab140a3e5eb6
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
2930
diff
changeset
|
2188 |
|
ab140a3e5eb6
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
2930
diff
changeset
|
2189 |
"Modified: / 21-07-2012 / 12:29:21 / cg" |
2674 | 2190 |
! |
2191 |
||
2960
9b1e724cb318
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
2959
diff
changeset
|
2192 |
doOpenTerminal |
9b1e724cb318
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
2959
diff
changeset
|
2193 |
projectBuilder isNil ifTrue:[ self getProjectBuilder ]. |
9b1e724cb318
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
2959
diff
changeset
|
2194 |
projectBuilder buildDirectory isNil ifTrue:[ |
9b1e724cb318
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
2959
diff
changeset
|
2195 |
Dialog information:'No build directory yet'. |
9b1e724cb318
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
2959
diff
changeset
|
2196 |
^ self |
9b1e724cb318
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
2959
diff
changeset
|
2197 |
]. |
9b1e724cb318
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
2959
diff
changeset
|
2198 |
projectBuilder packageBuildDirectory asFilename openTerminal |
9b1e724cb318
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
2959
diff
changeset
|
2199 |
! |
9b1e724cb318
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
2959
diff
changeset
|
2200 |
|
2959
ab140a3e5eb6
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
2930
diff
changeset
|
2201 |
doStartMake:whichTarget |
2674 | 2202 |
<resource: #uiCallback> |
2203 |
||
2204 |
self stopMakeButtonVisible value:true. |
|
2205 |
self startMakeButtonEnabled value:false. |
|
2206 |
||
2724 | 2207 |
self infoHolder value:'Building (make) - please wait...'. |
2674 | 2208 |
makeOutputWindow clear. |
2209 |
||
2210 |
makeProcess := |
|
2211 |
[ |
|
2212 |
[ |
|
2968 | 2213 |
self runBuildProcess:whichTarget |
2636 | 2214 |
] ensure:[ |
2215 |
self stopMakeButtonVisible value:false. |
|
2216 |
self startMakeButtonEnabled value:true. |
|
2646 | 2217 |
makeProcess := nil. |
2648 | 2218 |
self updateButtonEnableState. |
2724 | 2219 |
self infoHolder value:''. |
2636 | 2220 |
]. |
2221 |
] newProcess. |
|
2222 |
||
2223 |
makeProcess priority:4. |
|
2224 |
makeProcess priorityRange:(4 to:8). |
|
2225 |
makeProcess resume. |
|
2226 |
! |
|
2227 |
||
2959
ab140a3e5eb6
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
2930
diff
changeset
|
2228 |
doStartMakeAll |
ab140a3e5eb6
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
2930
diff
changeset
|
2229 |
<resource: #uiCallback> |
ab140a3e5eb6
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
2930
diff
changeset
|
2230 |
|
ab140a3e5eb6
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
2930
diff
changeset
|
2231 |
self doStartMake:'all' |
ab140a3e5eb6
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
2930
diff
changeset
|
2232 |
! |
ab140a3e5eb6
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
2930
diff
changeset
|
2233 |
|
3126
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
2234 |
doStartMakeApp |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
2235 |
<resource: #uiCallback> |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
2236 |
|
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
2237 |
self doStartMake:'app' |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
2238 |
! |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
2239 |
|
2959
ab140a3e5eb6
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
2930
diff
changeset
|
2240 |
doStartMakeExe |
ab140a3e5eb6
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
2930
diff
changeset
|
2241 |
<resource: #uiCallback> |
ab140a3e5eb6
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
2930
diff
changeset
|
2242 |
|
ab140a3e5eb6
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
2930
diff
changeset
|
2243 |
self doStartMake:'exe' |
ab140a3e5eb6
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
2930
diff
changeset
|
2244 |
! |
ab140a3e5eb6
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
2930
diff
changeset
|
2245 |
|
2973 | 2246 |
doStartMakeExeQuick |
2247 |
<resource: #uiCallback> |
|
2248 |
||
2249 |
self doStartMake:'exeQuick' |
|
2250 |
! |
|
2251 |
||
2676 | 2252 |
doStopMake |
2253 |
<resource: #uiCallback> |
|
2254 |
||
2255 |
|p| |
|
2646 | 2256 |
|
2676 | 2257 |
(p := makeProcess) notNil ifTrue:[ |
2258 |
makeProcess := nil. |
|
2929 | 2259 |
self withWaitCursorDo:[ |
2260 |
p terminate. |
|
2261 |
p waitUntilTerminated. |
|
2262 |
]. |
|
2676 | 2263 |
makeOutputWindow endEntry. |
2264 |
makeOutputWindow cr. |
|
3558 | 2265 |
makeOutputWindow nextPutLine:('Make Canceled' withColor:Color white on:Color red). |
2676 | 2266 |
makeOutputWindow endEntry. |
2267 |
]. |
|
2929 | 2268 |
|
3508 | 2269 |
"Modified: / 28-11-2017 / 17:10:15 / cg" |
2646 | 2270 |
! |
2271 |
||
2913 | 2272 |
fetchSelectedProject |
2273 |
|selectedProjectIndex| |
|
2274 |
||
2275 |
selectedProjectIndex := self selectedProjectIndexHolder value. |
|
2276 |
(selectedProjectIndex ? 0) == 0 ifTrue:[ |
|
2277 |
selectedProjectDefinition := nil. |
|
2278 |
] ifFalse:[ |
|
2279 |
selectedProjectDefinition := self listOfMatchingProjects value at:(selectedProjectIndex). |
|
2280 |
]. |
|
2281 |
self hasProjectSelectedHolder value:(selectedProjectDefinition notNil). |
|
2282 |
||
2283 |
"Created: / 04-09-2012 / 09:52:32 / cg" |
|
2284 |
! |
|
2285 |
||
2928 | 2286 |
getProjectBuilder |
2287 |
projectBuilder := ProjectBuilder new. |
|
2288 |
projectBuilder package:(selectedProjectDefinition package). |
|
2289 |
projectBuilder usedCompilerForBuild:(usedCompilerHolder value). |
|
2290 |
^ projectBuilder |
|
2291 |
||
2292 |
"Created: / 26-09-2012 / 20:57:32 / cg" |
|
2293 |
! |
|
2294 |
||
2676 | 2295 |
projectTypeChanged |
2296 |
<resource: #uiCallback> |
|
2297 |
||
2298 |
self updateListOfMatchingProjects |
|
2636 | 2299 |
! |
2300 |
||
2674 | 2301 |
runBuildProcess:what |
2636 | 2302 |
<resource: #uiCallback> |
2303 |
||
2646 | 2304 |
self assert:makeOutputWindow notNil. |
2305 |
self assert:makeOutputWindow model == self makeOutputHolder. |
|
2306 |
||
2307 |
ActivityNotification handle:[:ex | |
|
3631 | 2308 |
|msg| |
2309 |
||
2310 |
(msg := ex messageText) notNil ifTrue:[ |
|
2646 | 2311 |
makeOutputWindow endEntry. |
2312 |
makeOutputWindow cr. |
|
3631 | 2313 |
makeOutputWindow nextPutLine:( |
2314 |
"/ msg withColor:Color white on:Color blue |
|
2315 |
msg withColor:Color blue |
|
2316 |
). |
|
2646 | 2317 |
makeOutputWindow endEntry. |
2687
66343568f2b2
changed: #fileBrowserInstance
Claus Gittinger <cg@exept.de>
parents:
2686
diff
changeset
|
2318 |
]. |
2646 | 2319 |
ex proceed. |
2320 |
] do:[ |
|
2928 | 2321 |
self getProjectBuilder. |
2973 | 2322 |
projectBuilder makeExeOnly:((what = 'exe') or:[what = 'exeQuick']). |
3126
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
2323 |
projectBuilder makeAppOnly:(what = 'app'). |
2973 | 2324 |
projectBuilder makeQuick:(what = 'exeQuick'). |
2674 | 2325 |
|
2326 |
Error handle:[:ex | |
|
3309 | 2327 |
ex creator = MessageNotUnderstood ifTrue:[ex reject]. |
2328 |
||
2674 | 2329 |
makeOutputWindow endEntry. |
2330 |
makeOutputWindow cr. |
|
3631 | 2331 |
makeOutputWindow nextPutLine:( |
2332 |
ex description withColor:Color white on:Color red |
|
2333 |
"/ ex description withColor:Color red darkened |
|
2334 |
). |
|
2674 | 2335 |
makeOutputWindow endEntry. |
2959
ab140a3e5eb6
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
2930
diff
changeset
|
2336 |
Debugging == true ifTrue:[ ex reject ]. |
2682 | 2337 |
ex proceed. |
2674 | 2338 |
] do:[ |
2339 |
projectBuilder buildWithColorizedOutputTo:makeOutputWindow. |
|
2340 |
]. |
|
2646 | 2341 |
]. |
2874 | 2342 |
|
2959
ab140a3e5eb6
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
2930
diff
changeset
|
2343 |
" |
ab140a3e5eb6
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
2930
diff
changeset
|
2344 |
Debugging := true. |
ab140a3e5eb6
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
2930
diff
changeset
|
2345 |
Debugging := false. |
ab140a3e5eb6
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
2930
diff
changeset
|
2346 |
" |
ab140a3e5eb6
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
2930
diff
changeset
|
2347 |
|
3309 | 2348 |
"Modified: / 07-06-2016 / 11:00:01 / cg" |
3631 | 2349 |
"Modified (comment): / 29-12-2018 / 12:51:51 / Claus Gittinger" |
2636 | 2350 |
! |
2351 |
||
2676 | 2352 |
selectedApplicationChanged |
2353 |
|idx| |
|
2671 | 2354 |
|
2676 | 2355 |
((idx := self selectedApplicationIndexHolder value) isNil |
2356 |
or:[idx == 0]) ifTrue:[ |
|
2357 |
selectedApplication := nil. |
|
2358 |
] ifFalse:[ |
|
2359 |
selectedApplication := self listOfApplicationsInProject value at:idx. |
|
2636 | 2360 |
]. |
2676 | 2361 |
self hasApplicationSelectedHolder value:(selectedApplication notNil). |
2659 | 2362 |
|
2676 | 2363 |
"/ selectedApplication notNil ifTrue:[ |
2364 |
"/ "/ generate startupClass code |
|
2365 |
"/ CodeGeneratorTool |
|
2656 | 2366 |
"/ compile:(selectedProjectDefinition startupClassName_codeFor:(selectedApplication name)) |
2367 |
"/ forClass:selectedProjectDefinition theMetaclass |
|
2368 |
"/ inCategory:'description - startup'. |
|
2369 |
"/ ]. |
|
2636 | 2370 |
self updateApplicationComment. |
2371 |
self updateButtonEnableState. |
|
2372 |
! |
|
2373 |
||
2676 | 2374 |
selectedProjectChanged |
2913 | 2375 |
self fetchSelectedProject. |
2676 | 2376 |
|
2377 |
self updateComment. |
|
2378 |
self updateListOfApplicationsInProject. |
|
2636 | 2379 |
self updateButtonEnableState. |
2913 | 2380 |
|
2381 |
"Modified: / 04-09-2012 / 09:52:43 / cg" |
|
2656 | 2382 |
! |
2383 |
||
2676 | 2384 |
selectedStartupClassChanged |
2385 |
self selectedStartupClassIndexHolder value isNil ifTrue:[ |
|
2386 |
selectedStartupClass := nil. |
|
2387 |
] ifFalse:[ |
|
2388 |
selectedStartupClass := self listOfStartupClassesInProject value at:(self selectedStartupClassIndexHolder value). |
|
2656 | 2389 |
]. |
2659 | 2390 |
self hasStartupClassSelectedHolder value:(selectedStartupClass notNil). |
2391 |
||
2656 | 2392 |
selectedStartupClass notNil ifTrue:[ |
2393 |
"/ generate startupClass code |
|
3008
68256b19f036
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3007
diff
changeset
|
2394 |
Class packageQuerySignal |
68256b19f036
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3007
diff
changeset
|
2395 |
answer:selectedProjectDefinition package |
68256b19f036
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3007
diff
changeset
|
2396 |
do:[ |
68256b19f036
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3007
diff
changeset
|
2397 |
SmalltalkCodeGeneratorTool |
68256b19f036
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3007
diff
changeset
|
2398 |
compile:(selectedProjectDefinition startupClassName_codeFor:(selectedStartupClass name)) |
68256b19f036
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3007
diff
changeset
|
2399 |
forClass:selectedProjectDefinition theMetaclass |
68256b19f036
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3007
diff
changeset
|
2400 |
inCategory:'description - startup'. |
68256b19f036
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3007
diff
changeset
|
2401 |
] |
2656 | 2402 |
]. |
2403 |
self updateButtonEnableState. |
|
2832
c1e7c5d29577
CodeGeneratorTool->SmalltalkCodeGeneratorTool
Claus Gittinger <cg@exept.de>
parents:
2825
diff
changeset
|
2404 |
|
c1e7c5d29577
CodeGeneratorTool->SmalltalkCodeGeneratorTool
Claus Gittinger <cg@exept.de>
parents:
2825
diff
changeset
|
2405 |
"Modified: / 31-01-2011 / 18:29:42 / cg" |
2676 | 2406 |
! ! |
2636 | 2407 |
|
2676 | 2408 |
!ProjectBuilderAssistantApplication methodsFor:'aspects'! |
2636 | 2409 |
|
2676 | 2410 |
buildDirectoryHolder |
2411 |
<resource: #uiAspect> |
|
2636 | 2412 |
|
2413 |
|buildDirectory| |
|
2414 |
||
2415 |
buildDirectoryHolder isNil ifTrue:[ |
|
2416 |
buildDirectoryHolder := nil asValue. |
|
2417 |
buildDirectoryHolder onChangeSend:#buildDirectoryChanged to:self. |
|
2418 |
]. |
|
2419 |
buildDirectoryHolder value isEmptyOrNil ifTrue:[ |
|
2686
5a19c21dada0
ensure starup and application are in the classList of the projectDef
Claus Gittinger <cg@exept.de>
parents:
2685
diff
changeset
|
2420 |
buildDirectory := ProjectBuilder previousBuildDirectory. |
2636 | 2421 |
buildDirectory isNil ifTrue:[ |
2422 |
buildDirectory := UserPreferences current buildDirectory. |
|
2423 |
buildDirectory isNil ifTrue:[ |
|
2424 |
buildDirectory := Filename tempDirectory construct:'stx_build'. |
|
2425 |
]. |
|
2426 |
]. |
|
2427 |
buildDirectoryHolder value: buildDirectory. |
|
2428 |
]. |
|
2429 |
^ buildDirectoryHolder. |
|
2430 |
! |
|
2431 |
||
2724 | 2432 |
companyNameHolder |
2433 |
<resource: #uiAspect> |
|
2434 |
||
2435 |
companyNameHolder isNil ifTrue:[ |
|
2436 |
companyNameHolder := 'MyCompany' asValue. |
|
2437 |
]. |
|
2438 |
^ companyNameHolder. |
|
2439 |
! |
|
2440 |
||
2441 |
compilerWarnMessageHolder |
|
2442 |
<resource: #uiAspect> |
|
2443 |
||
2444 |
compilerWarnMessageHolder isNil ifTrue:[ |
|
2445 |
compilerWarnMessageHolder := '' asValue. |
|
2446 |
]. |
|
2447 |
^ compilerWarnMessageHolder. |
|
2448 |
! |
|
2449 |
||
2450 |
compilerWarnMessageVisibleHolder |
|
2451 |
<resource: #uiAspect> |
|
2452 |
||
2453 |
compilerWarnMessageVisibleHolder isNil ifTrue:[ |
|
2454 |
compilerWarnMessageVisibleHolder := false asValue. |
|
2455 |
]. |
|
2456 |
^ compilerWarnMessageVisibleHolder. |
|
2457 |
! |
|
2458 |
||
3339 | 2459 |
execuableNameVisible |
2460 |
^ self projectTypeIsNonGuiApplication |
|
2461 |
! |
|
2462 |
||
2463 |
executableNameHolder |
|
3651 | 2464 |
^ builder nilValueAspectFor:#executableNameHolder |
2465 |
||
2466 |
"Modified: / 09-03-2019 / 22:00:43 / Claus Gittinger" |
|
3339 | 2467 |
! |
2468 |
||
2676 | 2469 |
hasApplicationSelectedHolder |
2470 |
<resource: #uiAspect> |
|
2471 |
||
2472 |
hasApplicationSelectedHolder isNil ifTrue:[ |
|
2659 | 2473 |
hasApplicationSelectedHolder := nil asValue. |
2474 |
]. |
|
2475 |
^ hasApplicationSelectedHolder. |
|
2636 | 2476 |
! |
2477 |
||
2676 | 2478 |
hasProjectSelectedHolder |
2479 |
<resource: #uiAspect> |
|
2480 |
||
2481 |
hasProjectSelectedHolder isNil ifTrue:[ |
|
2659 | 2482 |
hasProjectSelectedHolder := nil asValue. |
2483 |
]. |
|
2484 |
^ hasProjectSelectedHolder. |
|
2648 | 2485 |
! |
2486 |
||
2676 | 2487 |
hasStartupClassSelectedHolder |
2488 |
<resource: #uiAspect> |
|
2489 |
||
2490 |
hasStartupClassSelectedHolder isNil ifTrue:[ |
|
2659 | 2491 |
hasStartupClassSelectedHolder := nil asValue. |
2492 |
]. |
|
2493 |
^ hasStartupClassSelectedHolder. |
|
2636 | 2494 |
! |
2495 |
||
2676 | 2496 |
hideOtherApplicationClasses |
2497 |
<resource: #uiAspect> |
|
2498 |
||
2499 |
hideOtherApplicationClasses isNil ifTrue:[ |
|
2671 | 2500 |
hideOtherApplicationClasses := true asValue. |
2501 |
hideOtherApplicationClasses onChangeSend:#updateListOfApplicationsInProject to:self. |
|
2502 |
]. |
|
2503 |
^ hideOtherApplicationClasses. |
|
2504 |
! |
|
2505 |
||
2676 | 2506 |
hideOtherStartupClasses |
2507 |
<resource: #uiAspect> |
|
2508 |
||
2509 |
hideOtherStartupClasses isNil ifTrue:[ |
|
2510 |
hideOtherStartupClasses := true asValue. |
|
2511 |
hideOtherStartupClasses onChangeSend:#updateListOfStartupClassesInProject to:self. |
|
2671 | 2512 |
]. |
2676 | 2513 |
^ hideOtherStartupClasses. |
2671 | 2514 |
! |
2515 |
||
2676 | 2516 |
hideSTXProjects |
2517 |
<resource: #uiAspect> |
|
2518 |
||
2519 |
hideSTXProjects isNil ifTrue:[ |
|
2520 |
hideSTXProjects := true asValue. |
|
2521 |
hideSTXProjects onChangeSend:#updateListOfMatchingProjects to:self. |
|
2522 |
]. |
|
2523 |
^ hideSTXProjects. |
|
2524 |
! |
|
2525 |
||
2526 |
listOfApplicationsInProject |
|
2527 |
<resource: #uiAspect> |
|
2528 |
||
2529 |
listOfApplicationsInProject isNil ifTrue:[ |
|
2636 | 2530 |
listOfApplicationsInProject := ValueHolder new. |
2531 |
]. |
|
2532 |
^ listOfApplicationsInProject. |
|
2533 |
! |
|
2534 |
||
2676 | 2535 |
listOfClassesInProject |
2536 |
<resource: #uiAspect> |
|
2537 |
||
2538 |
listOfClassesInProject isNil ifTrue:[ |
|
2636 | 2539 |
listOfClassesInProject := ValueHolder new. |
2540 |
]. |
|
2541 |
^ listOfClassesInProject. |
|
2542 |
! |
|
2543 |
||
2686
5a19c21dada0
ensure starup and application are in the classList of the projectDef
Claus Gittinger <cg@exept.de>
parents:
2685
diff
changeset
|
2544 |
listOfMatchingPackageIds |
5a19c21dada0
ensure starup and application are in the classList of the projectDef
Claus Gittinger <cg@exept.de>
parents:
2685
diff
changeset
|
2545 |
<resource: #uiAspect> |
5a19c21dada0
ensure starup and application are in the classList of the projectDef
Claus Gittinger <cg@exept.de>
parents:
2685
diff
changeset
|
2546 |
|
5a19c21dada0
ensure starup and application are in the classList of the projectDef
Claus Gittinger <cg@exept.de>
parents:
2685
diff
changeset
|
2547 |
listOfMatchingPackageIds isNil ifTrue:[ |
5a19c21dada0
ensure starup and application are in the classList of the projectDef
Claus Gittinger <cg@exept.de>
parents:
2685
diff
changeset
|
2548 |
listOfMatchingPackageIds := ValueHolder new. |
5a19c21dada0
ensure starup and application are in the classList of the projectDef
Claus Gittinger <cg@exept.de>
parents:
2685
diff
changeset
|
2549 |
]. |
5a19c21dada0
ensure starup and application are in the classList of the projectDef
Claus Gittinger <cg@exept.de>
parents:
2685
diff
changeset
|
2550 |
^ listOfMatchingPackageIds. |
5a19c21dada0
ensure starup and application are in the classList of the projectDef
Claus Gittinger <cg@exept.de>
parents:
2685
diff
changeset
|
2551 |
! |
5a19c21dada0
ensure starup and application are in the classList of the projectDef
Claus Gittinger <cg@exept.de>
parents:
2685
diff
changeset
|
2552 |
|
2676 | 2553 |
listOfMatchingProjects |
2554 |
<resource: #uiAspect> |
|
2636 | 2555 |
|
2556 |
listOfMatchingProjects isNil ifTrue:[ |
|
2557 |
listOfMatchingProjects := ValueHolder new. |
|
2558 |
]. |
|
2559 |
^ listOfMatchingProjects. |
|
2560 |
! |
|
2561 |
||
2697 | 2562 |
listOfNewProjectsName |
2563 |
||
2564 |
<resource: #uiAspect> |
|
2565 |
||
2566 |
listOfNewProjectsName isNil ifTrue:[ |
|
2567 |
listOfNewProjectsName := ValueHolder new. |
|
2568 |
]. |
|
2569 |
^ listOfNewProjectsName. |
|
2570 |
! |
|
2571 |
||
2681 | 2572 |
listOfPossibleCompilers |
2874 | 2573 |
^ Tools::ProjectBuilder listOfPossibleCompilers |
2574 |
||
2919 | 2575 |
"Modified: / 05-09-2012 / 19:10:24 / cg" |
2681 | 2576 |
! |
2577 |
||
2872 | 2578 |
listOfPrerequisitesInProject |
2579 |
<resource: #uiAspect> |
|
2580 |
||
2581 |
listOfPrerequisitesInProject isNil ifTrue:[ |
|
2582 |
listOfPrerequisitesInProject := ValueHolder new. |
|
2583 |
]. |
|
2584 |
^ listOfPrerequisitesInProject. |
|
2585 |
||
2586 |
"Created: / 19-01-2012 / 15:39:34 / cg" |
|
2587 |
! |
|
2588 |
||
2676 | 2589 |
listOfStartupClassesInProject |
2590 |
<resource: #uiAspect> |
|
2591 |
||
2592 |
listOfStartupClassesInProject isNil ifTrue:[ |
|
2593 |
listOfStartupClassesInProject := ValueHolder new. |
|
2594 |
]. |
|
2595 |
^ listOfStartupClassesInProject. |
|
2596 |
! |
|
2597 |
||
2598 |
makeOutputHolder |
|
2599 |
<resource: #uiAspect> |
|
2636 | 2600 |
|
2601 |
makeOutputHolder isNil ifTrue:[ |
|
2646 | 2602 |
makeOutputHolder := ValueHolder new. |
2636 | 2603 |
]. |
2604 |
^ makeOutputHolder. |
|
2605 |
! |
|
2606 |
||
2910 | 2607 |
nameOfUsedCompilerSuiteHolder |
2608 |
<resource: #uiAspect> |
|
2609 |
||
2610 |
nameOfUsedCompilerSuiteHolder isNil ifTrue:[ |
|
2611 |
nameOfUsedCompilerSuiteHolder := nil asValue. |
|
2612 |
]. |
|
2613 |
^ nameOfUsedCompilerSuiteHolder. |
|
2614 |
||
2615 |
"Created: / 03-09-2012 / 19:32:27 / cg" |
|
2616 |
! |
|
2617 |
||
2676 | 2618 |
newApplicationsName |
2619 |
<resource: #uiAspect> |
|
2620 |
||
2621 |
"automatically generated by UIPainter ..." |
|
2622 |
||
2623 |
newApplicationsName isNil ifTrue:[ |
|
2624 |
newApplicationsName := ValueHolder new. |
|
2636 | 2625 |
]. |
2626 |
^ newApplicationsName. |
|
2627 |
! |
|
2628 |
||
2676 | 2629 |
newProjectsName |
2630 |
<resource: #uiAspect> |
|
2631 |
||
2632 |
newProjectsName isNil ifTrue:[ |
|
2636 | 2633 |
newProjectsName := nil asValue. |
2634 |
]. |
|
2635 |
^ newProjectsName. |
|
2636 |
! |
|
2637 |
||
2705 | 2638 |
newProjectsNameListDoubleClickChannel |
2639 |
"automatically generated by UIPainter ..." |
|
2640 |
||
2641 |
|holder| |
|
2642 |
||
2643 |
(holder := builder bindingAt:#newProjectsNameListDoubleClickChannel) isNil ifTrue:[ |
|
2644 |
holder := TriggerValue new. |
|
2645 |
builder aspectAt:#newProjectsNameListDoubleClickChannel put:holder. |
|
2646 |
holder onChangeEvaluate:[ |
|
2647 |
newProjectsNameListExtendedComboBox notNil ifTrue: [ |
|
2648 |
newProjectsNameListExtendedComboBox closeMenu. |
|
2649 |
] |
|
2650 |
] |
|
2651 |
]. |
|
2652 |
^ holder. |
|
2653 |
! |
|
2654 |
||
2676 | 2655 |
newStartupClassName |
2656 |
<resource: #uiAspect> |
|
2657 |
||
2658 |
newStartupClassName isNil ifTrue:[ |
|
2659 |
newStartupClassName := ValueHolder new. |
|
2660 |
]. |
|
2661 |
^ newStartupClassName. |
|
2659 | 2662 |
! |
2663 |
||
2959
ab140a3e5eb6
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
2930
diff
changeset
|
2664 |
osIsOSX |
2968 | 2665 |
^ OperatingSystem isOSXlike |
2959
ab140a3e5eb6
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
2930
diff
changeset
|
2666 |
! |
ab140a3e5eb6
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
2930
diff
changeset
|
2667 |
|
3126
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
2668 |
osIsUnix |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
2669 |
^ OperatingSystem isUNIXlike |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
2670 |
! |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
2671 |
|
2959
ab140a3e5eb6
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
2930
diff
changeset
|
2672 |
osIsWindows |
ab140a3e5eb6
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
2930
diff
changeset
|
2673 |
^ OperatingSystem isMSWINDOWSlike |
ab140a3e5eb6
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
2930
diff
changeset
|
2674 |
! |
ab140a3e5eb6
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
2930
diff
changeset
|
2675 |
|
2724 | 2676 |
productNameHolder |
2677 |
<resource: #uiAspect> |
|
2678 |
||
2679 |
productNameHolder isNil ifTrue:[ |
|
2680 |
productNameHolder := 'MyProduct' asValue. |
|
2681 |
]. |
|
2682 |
^ productNameHolder. |
|
2683 |
! |
|
2684 |
||
2676 | 2685 |
projectType |
2897 | 2686 |
^ self projectTypeHolder value |
2687 |
||
2688 |
"Modified: / 20-07-2012 / 13:28:46 / cg" |
|
2659 | 2689 |
! |
2690 |
||
2676 | 2691 |
projectType:aProjectTypeSymbol |
2692 |
self assert:(ProjectDefinition projectTypes includes:aProjectTypeSymbol). |
|
2659 | 2693 |
self projectTypeHolder value:aProjectTypeSymbol |
2897 | 2694 |
|
2695 |
"Modified: / 20-07-2012 / 13:28:25 / cg" |
|
2659 | 2696 |
! |
2697 |
||
2676 | 2698 |
projectTypeHolder |
2699 |
<resource: #uiAspect> |
|
2659 | 2700 |
|
2676 | 2701 |
projectTypeHolder isNil ifTrue:[ |
2702 |
projectTypeHolder := RadioButtonGroup new. |
|
2897 | 2703 |
projectTypeHolder value:ProjectDefinition guiApplicationType. |
2659 | 2704 |
]. |
2705 |
^ projectTypeHolder. |
|
2897 | 2706 |
|
2707 |
"Modified: / 20-07-2012 / 13:30:16 / cg" |
|
2636 | 2708 |
! |
2709 |
||
2676 | 2710 |
selectedApplicationIndexHolder |
2711 |
<resource: #uiAspect> |
|
2712 |
||
2713 |
selectedApplicationIndexHolder isNil ifTrue:[ |
|
2636 | 2714 |
selectedApplicationIndexHolder := ValueHolder new. |
2715 |
selectedApplicationIndexHolder onChangeSend:#selectedApplicationChanged to:self. |
|
2716 |
]. |
|
2717 |
^ selectedApplicationIndexHolder. |
|
2718 |
! |
|
2719 |
||
2676 | 2720 |
selectedApplicationsComment |
2721 |
<resource: #uiAspect> |
|
2722 |
||
2723 |
"automatically generated by UIPainter ..." |
|
2636 | 2724 |
|
2725 |
selectedApplicationsComment isNil ifTrue:[ |
|
2726 |
selectedApplicationsComment := '' asValue. |
|
2727 |
]. |
|
2728 |
^ selectedApplicationsComment. |
|
2729 |
! |
|
2730 |
||
2676 | 2731 |
selectedProjectDefinition |
2732 |
<resource: #uiAspect> |
|
2636 | 2733 |
|
2676 | 2734 |
^ selectedProjectDefinition. |
2636 | 2735 |
! |
2736 |
||
2676 | 2737 |
selectedProjectIndexHolder |
2738 |
<resource: #uiAspect> |
|
2636 | 2739 |
|
2740 |
selectedProjectIndexHolder isNil ifTrue:[ |
|
2741 |
selectedProjectIndexHolder := ValueHolder new. |
|
2742 |
selectedProjectIndexHolder onChangeSend:#selectedProjectChanged to:self. |
|
2743 |
]. |
|
2744 |
^ selectedProjectIndexHolder. |
|
2676 | 2745 |
! |
2746 |
||
2747 |
selectedProjectsComment |
|
2748 |
<resource: #uiAspect> |
|
2749 |
||
2750 |
selectedProjectsComment isNil ifTrue:[ |
|
2751 |
selectedProjectsComment := '' asValue. |
|
2752 |
]. |
|
2753 |
^ selectedProjectsComment. |
|
2754 |
! |
|
2755 |
||
2756 |
selectedStartupClassIndexHolder |
|
2757 |
<resource: #uiAspect> |
|
2758 |
||
2759 |
selectedStartupClassIndexHolder isNil ifTrue:[ |
|
2760 |
selectedStartupClassIndexHolder := ValueHolder new. |
|
2761 |
selectedStartupClassIndexHolder onChangeSend:#selectedStartupClassChanged to:self. |
|
2762 |
]. |
|
2763 |
^ selectedStartupClassIndexHolder. |
|
2764 |
! |
|
2765 |
||
2766 |
startMakeButtonEnabled |
|
2767 |
<resource: #uiAspect> |
|
2768 |
||
2769 |
startMakeButtonEnabled isNil ifTrue:[ |
|
2770 |
startMakeButtonEnabled := true asValue. |
|
2771 |
]. |
|
2772 |
^ startMakeButtonEnabled. |
|
2773 |
! |
|
2774 |
||
2775 |
stopMakeButtonVisible |
|
2776 |
<resource: #uiAspect> |
|
2777 |
||
2778 |
stopMakeButtonVisible isNil ifTrue:[ |
|
2779 |
stopMakeButtonVisible := false asValue. |
|
2780 |
]. |
|
2781 |
^ stopMakeButtonVisible. |
|
2681 | 2782 |
! |
2783 |
||
2784 |
usedCompilerHolder |
|
2785 |
<resource: #uiAspect> |
|
2786 |
||
2787 |
usedCompilerHolder isNil ifTrue:[ |
|
2788 |
usedCompilerHolder := ValueHolder new. |
|
2913 | 2789 |
usedCompilerHolder value:(LastUsedCompiler ? ProjectBuilder defaultUsedCompiler). |
2724 | 2790 |
usedCompilerHolder onChangeSend:#checkCompilerAvailability to:self. |
2681 | 2791 |
]. |
2792 |
^ usedCompilerHolder. |
|
2874 | 2793 |
|
2913 | 2794 |
"Modified: / 04-09-2012 / 09:43:20 / cg" |
2676 | 2795 |
! ! |
2796 |
||
2797 |
!ProjectBuilderAssistantApplication methodsFor:'initialization & release'! |
|
2798 |
||
2687
66343568f2b2
changed: #fileBrowserInstance
Claus Gittinger <cg@exept.de>
parents:
2686
diff
changeset
|
2799 |
fileBrowserInstance |
66343568f2b2
changed: #fileBrowserInstance
Claus Gittinger <cg@exept.de>
parents:
2686
diff
changeset
|
2800 |
"setup the embedded fileBrowser (in the last page)" |
66343568f2b2
changed: #fileBrowserInstance
Claus Gittinger <cg@exept.de>
parents:
2686
diff
changeset
|
2801 |
|
66343568f2b2
changed: #fileBrowserInstance
Claus Gittinger <cg@exept.de>
parents:
2686
diff
changeset
|
2802 |
|targetDirectory browser| |
66343568f2b2
changed: #fileBrowserInstance
Claus Gittinger <cg@exept.de>
parents:
2686
diff
changeset
|
2803 |
|
66343568f2b2
changed: #fileBrowserInstance
Claus Gittinger <cg@exept.de>
parents:
2686
diff
changeset
|
2804 |
targetDirectory := projectBuilder packageBuildDirectory. |
66343568f2b2
changed: #fileBrowserInstance
Claus Gittinger <cg@exept.de>
parents:
2686
diff
changeset
|
2805 |
|
66343568f2b2
changed: #fileBrowserInstance
Claus Gittinger <cg@exept.de>
parents:
2686
diff
changeset
|
2806 |
browser := FileBrowserV2 new. |
66343568f2b2
changed: #fileBrowserInstance
Claus Gittinger <cg@exept.de>
parents:
2686
diff
changeset
|
2807 |
browser onDirectory:targetDirectory. |
2724 | 2808 |
OperatingSystem isMSWINDOWSlike ifTrue:[ |
2809 |
browser filter:'*.exe;*.com'. |
|
2810 |
] ifFalse:[ |
|
2811 |
browser filter:'*'. |
|
2812 |
]. |
|
2687
66343568f2b2
changed: #fileBrowserInstance
Claus Gittinger <cg@exept.de>
parents:
2686
diff
changeset
|
2813 |
^ browser. |
66343568f2b2
changed: #fileBrowserInstance
Claus Gittinger <cg@exept.de>
parents:
2686
diff
changeset
|
2814 |
! |
66343568f2b2
changed: #fileBrowserInstance
Claus Gittinger <cg@exept.de>
parents:
2686
diff
changeset
|
2815 |
|
3337 | 2816 |
openOn:aProjectDefinitionOrStartupClass |
2817 |
|type "apps" projectDefinitionClass startupClass pageToGo| |
|
2897 | 2818 |
|
2819 |
self allButOpen. |
|
3337 | 2820 |
(aProjectDefinitionOrStartupClass inheritsFrom:StandaloneStartup) ifTrue:[ |
2821 |
startupClass := aProjectDefinitionOrStartupClass. |
|
2822 |
type := ProjectDefinition nonGuiApplicationType. |
|
2823 |
projectDefinitionClass := startupClass projectDefinitionClass. |
|
2824 |
(projectDefinitionClass startupClass == startupClass) ifFalse:[ |
|
2825 |
self halt. |
|
2826 |
]. |
|
2827 |
] ifFalse:[ |
|
2828 |
projectDefinitionClass := aProjectDefinitionOrStartupClass. |
|
2829 |
projectDefinitionClass isFolderForProjectsDefinition ifFalse:[ |
|
2830 |
projectDefinitionClass isLibraryDefinition ifTrue:[ |
|
2831 |
type := ProjectDefinition libraryType |
|
2832 |
] ifFalse:[ |
|
2833 |
projectDefinitionClass isGUIApplication ifTrue:[ |
|
2834 |
type := ProjectDefinition guiApplicationType. |
|
2835 |
startupClass := projectDefinitionClass startupClass |
|
2836 |
] ifFalse:[ |
|
2837 |
type := ProjectDefinition nonGuiApplicationType. |
|
2838 |
startupClass := projectDefinitionClass startupClass |
|
2839 |
] |
|
2840 |
]. |
|
2841 |
]. |
|
2897 | 2842 |
]. |
2843 |
self projectTypeHolder value:type. |
|
2844 |
self hideSTXProjects value:false. |
|
3337 | 2845 |
selectedProjectDefinition := projectDefinitionClass. |
2846 |
self selectedProjectIndexHolder value:(self listOfMatchingPackageIds value indexOf:projectDefinitionClass package). |
|
2897 | 2847 |
self hasProjectSelectedHolder value:true. |
2848 |
||
2988
9e8fd363e247
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
2983
diff
changeset
|
2849 |
pageToGo := 2. |
3335 | 2850 |
(type == ProjectDefinition guiApplicationType) ifTrue:[ |
2988
9e8fd363e247
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
2983
diff
changeset
|
2851 |
pageToGo := 3. |
3337 | 2852 |
startupClass notNil ifTrue:[ |
2899 | 2853 |
self updateListOfStartupClassesInProject. |
2897 | 2854 |
selectedStartupClass := startupClass. |
2899 | 2855 |
self selectedStartupClassIndexHolder value:(self listOfStartupClassesInProject value indexOf:startupClass). |
2856 |
pageToGo := 5. |
|
2897 | 2857 |
]. |
3335 | 2858 |
"/ apps := (aProjectDefinitionClass classes select:[:cls | cls isKindOf:ApplicationModel]) |
2897 | 2859 |
]. |
3335 | 2860 |
(type == ProjectDefinition nonGuiApplicationType) ifTrue:[ |
2988
9e8fd363e247
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
2983
diff
changeset
|
2861 |
pageToGo := 4. |
3337 | 2862 |
startupClass notNil ifTrue:[ |
2988
9e8fd363e247
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
2983
diff
changeset
|
2863 |
self updateListOfStartupClassesInProject. |
9e8fd363e247
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
2983
diff
changeset
|
2864 |
selectedStartupClass := startupClass. |
9e8fd363e247
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
2983
diff
changeset
|
2865 |
self selectedStartupClassIndexHolder value:(self listOfStartupClassesInProject value indexOf:startupClass). |
9e8fd363e247
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
2983
diff
changeset
|
2866 |
pageToGo := 5. |
9e8fd363e247
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
2983
diff
changeset
|
2867 |
]. |
9e8fd363e247
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
2983
diff
changeset
|
2868 |
]. |
2899 | 2869 |
self gotoPage:pageToGo. |
2897 | 2870 |
self openWindow. |
2871 |
||
2872 |
"Created: / 20-07-2012 / 12:34:02 / cg" |
|
2873 |
! |
|
2874 |
||
2875 |
openOnPackage:aPackageId |
|
2876 |
self allButOpen. |
|
2877 |
self projectTypeHolder value:(ProjectDefinition guiApplicationType). |
|
2878 |
self hideSTXProjects value:false. |
|
3437 | 2879 |
self selectedProjectIndexHolder value:(self listOfMatchingPackageIds value indexOf:aPackageId). |
2897 | 2880 |
self hasProjectSelectedHolder value:true. |
2881 |
self gotoPage:2. |
|
2882 |
self openWindow. |
|
2883 |
||
2884 |
"Created: / 20-07-2012 / 13:24:38 / cg" |
|
3437 | 2885 |
"Modified: / 11-04-2017 / 09:40:15 / cg" |
2897 | 2886 |
! |
2887 |
||
2676 | 2888 |
postBuildMakeOutputWindow:aView |
2917 | 2889 |
makeOutputWindow := aView. |
2890 |
makeOutputWindow lineLimit:10000. |
|
2891 |
||
2892 |
"Modified: / 05-09-2012 / 11:11:45 / cg" |
|
2676 | 2893 |
! |
2894 |
||
2705 | 2895 |
postBuildNewProjectsNameListExtendedComboBox:anExtendedComboBox |
2697 | 2896 |
|
2897 |
|menu| |
|
2898 |
||
2899 |
menu := SubCanvas new. |
|
2900 |
menu client:self spec:#newProjectsNameListSpec builder:nil. |
|
2705 | 2901 |
anExtendedComboBox closeOnSelect: false. |
2902 |
anExtendedComboBox menuWidget:menu. |
|
2697 | 2903 |
|
2705 | 2904 |
anExtendedComboBox editor |
2697 | 2905 |
immediateAccept:true; |
2906 |
acceptOnLeave:true; |
|
2907 |
acceptOnLostFocus:true; |
|
2908 |
acceptOnPointerLeave:true; |
|
2909 |
acceptOnReturn:true; |
|
2910 |
acceptOnTab:true. |
|
2705 | 2911 |
|
2912 |
newProjectsNameListExtendedComboBox := anExtendedComboBox. |
|
2697 | 2913 |
! |
2914 |
||
2919 | 2915 |
postBuildWarnMessageView:aView |
2916 |
aView font:(Label defaultFont). |
|
2917 |
||
2918 |
"Created: / 05-09-2012 / 19:34:29 / cg" |
|
2919 |
! |
|
2920 |
||
2676 | 2921 |
postBuildWith:aBuilder |
2922 |
super postBuildWith:aBuilder. |
|
2923 |
self updateListOfMatchingProjects. |
|
2697 | 2924 |
self updateListOfNewProjectsName. |
2676 | 2925 |
|
2926 |
Smalltalk addDependent:self. |
|
2927 |
! |
|
2928 |
||
2929 |
release |
|
2930 |
Smalltalk removeDependent:self. |
|
2931 |
super release |
|
2932 |
! ! |
|
2933 |
||
2934 |
!ProjectBuilderAssistantApplication methodsFor:'menu actions'! |
|
2935 |
||
2936 |
openDocumentation |
|
2937 |
self openHTMLDocument:'tools/misc/TOP.html#PACKAGER'. |
|
2659 | 2938 |
! ! |
2939 |
||
2636 | 2940 |
!ProjectBuilderAssistantApplication methodsFor:'private'! |
2941 |
||
2676 | 2942 |
commentFromClass:aClass |
2943 |
|docMethod comment indents minIndent maxLineLength| |
|
2636 | 2944 |
|
2945 |
docMethod := aClass class compiledMethodAt:#documentation. |
|
2946 |
docMethod notNil ifTrue:[ |
|
2947 |
comment := docMethod comment. |
|
2948 |
comment := comment asStringCollection |
|
2949 |
collect:[:line | line withoutTrailingSeparators]. |
|
2950 |
[comment notEmpty and:[comment first isBlank]] whileTrue:[ comment removeFirst ]. |
|
2951 |
maxLineLength := (comment collect:[:line | line size]) max. |
|
2952 |
indents := comment collect:[:line | |
|
2953 |
line isEmptyOrNil |
|
2954 |
ifTrue:[maxLineLength] |
|
2955 |
ifFalse:[ line findFirst:[:ch | ch isSeparator not]]]. |
|
2956 |
(minIndent := indents min) > 1 ifTrue:[ |
|
2957 |
comment := comment collect:[:line | line copyFrom:minIndent]. |
|
2958 |
]. |
|
2959 |
comment := comment asString. |
|
2960 |
]. |
|
2961 |
^ comment |
|
2659 | 2962 |
! |
2963 |
||
2676 | 2964 |
generatePackageContentsMethods |
2965 |
<resource: #uiCallback> |
|
2966 |
||
2993
23f43abca7d0
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
2990
diff
changeset
|
2967 |
selectedProjectDefinition |
23f43abca7d0
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
2990
diff
changeset
|
2968 |
updateContentsMethodsCodeUsingCompiler:SmalltalkCodeGeneratorTool |
23f43abca7d0
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
2990
diff
changeset
|
2969 |
ignoreOldDefinition:true. |
23f43abca7d0
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
2990
diff
changeset
|
2970 |
|
23f43abca7d0
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
2990
diff
changeset
|
2971 |
"/ Class packageQuerySignal answer:(selectedProjectDefinition package) |
23f43abca7d0
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
2990
diff
changeset
|
2972 |
"/ do:[ |
23f43abca7d0
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
2990
diff
changeset
|
2973 |
"/ selectedProjectDefinition |
23f43abca7d0
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
2990
diff
changeset
|
2974 |
"/ forEachContentsMethodsCodeToCompileDo:[:code :category | |
23f43abca7d0
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
2990
diff
changeset
|
2975 |
"/ SmalltalkCodeGeneratorTool |
23f43abca7d0
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
2990
diff
changeset
|
2976 |
"/ compile:code |
23f43abca7d0
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
2990
diff
changeset
|
2977 |
"/ forClass:selectedProjectDefinition theMetaclass |
23f43abca7d0
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
2990
diff
changeset
|
2978 |
"/ inCategory:category. |
23f43abca7d0
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
2990
diff
changeset
|
2979 |
"/ ] |
23f43abca7d0
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
2990
diff
changeset
|
2980 |
"/ ignoreOldDefinition:true |
23f43abca7d0
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
2990
diff
changeset
|
2981 |
"/ ]. |
2676 | 2982 |
self updateListOfClassesInProject |
2832
c1e7c5d29577
CodeGeneratorTool->SmalltalkCodeGeneratorTool
Claus Gittinger <cg@exept.de>
parents:
2825
diff
changeset
|
2983 |
|
c1e7c5d29577
CodeGeneratorTool->SmalltalkCodeGeneratorTool
Claus Gittinger <cg@exept.de>
parents:
2825
diff
changeset
|
2984 |
"Modified: / 31-01-2011 / 18:29:44 / cg" |
2659 | 2985 |
! |
2986 |
||
2676 | 2987 |
hasApplicationSelected |
2988 |
^ self selectedApplicationIndexHolder value notNil |
|
2989 |
! |
|
2990 |
||
2991 |
hasBuildDirectorySpecified |
|
2992 |
^ self buildDirectoryHolder value notEmptyOrNil |
|
2659 | 2993 |
! |
2994 |
||
2676 | 2995 |
hasProjectBuilder |
2996 |
^ projectBuilder notNil |
|
2997 |
! |
|
2998 |
||
2999 |
hasProjectSelected |
|
3000 |
^ self selectedProjectIndexHolder value notNil |
|
3001 |
! |
|
3002 |
||
3003 |
hasStartupClassSelected |
|
3004 |
^ self selectedStartupClassIndexHolder value notNil |
|
2636 | 3005 |
! ! |
3006 |
||
2656 | 3007 |
!ProjectBuilderAssistantApplication methodsFor:'queries'! |
3008 |
||
2676 | 3009 |
canEnterApplicationSelection |
2857 | 3010 |
self hasProjectSelected ifFalse:[ |
3011 |
self infoHolder value:'no project selected'. |
|
3012 |
^ false |
|
3013 |
]. |
|
3014 |
^ true |
|
3015 |
||
3016 |
"Modified: / 23-08-2011 / 12:12:35 / cg" |
|
2656 | 3017 |
! |
3018 |
||
2676 | 3019 |
canEnterBuild |
2857 | 3020 |
self hasBuildDirectorySpecified ifFalse:[ |
3021 |
self infoHolder value:'no build directory specified'. |
|
3022 |
^ false |
|
3023 |
]. |
|
3024 |
^ true |
|
3025 |
||
3026 |
"Modified: / 23-08-2011 / 12:13:29 / cg" |
|
2656 | 3027 |
! |
3028 |
||
2659 | 3029 |
canEnterContentsSelection |
2897 | 3030 |
|prj cls impl mthd| |
2857 | 3031 |
|
3032 |
self hasProjectSelected ifFalse:[ |
|
3033 |
self infoHolder value:'no project selected'. |
|
3034 |
^ false |
|
3035 |
]. |
|
3036 |
"self hasApplicationSelected ifFalse:[^ false]." |
|
3037 |
(self projectTypeIsLibrary or:[self hasStartupClassSelected]) ifFalse:[ |
|
2915 | 3038 |
self infoHolder value:'Must be either library or have a startup class'. |
2857 | 3039 |
^ false |
3040 |
]. |
|
3041 |
prj := self selectedProjectDefinition. |
|
2975
023690659ed7
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
2973
diff
changeset
|
3042 |
prj isLibraryDefinition ifFalse:[ |
023690659ed7
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
2973
diff
changeset
|
3043 |
([prj startupClassName] on:Error do:nil) notNil ifFalse:[ |
023690659ed7
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
2973
diff
changeset
|
3044 |
self infoHolder value:'Must have a startup class'. |
023690659ed7
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
2973
diff
changeset
|
3045 |
^ false |
023690659ed7
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
2973
diff
changeset
|
3046 |
]. |
023690659ed7
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
2973
diff
changeset
|
3047 |
([prj startupSelector] on:Error do:nil) notNil ifFalse:[ |
023690659ed7
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
2973
diff
changeset
|
3048 |
self infoHolder value:'Must have a startup selector'. |
2864
fcdea80a431e
changed: #canEnterContentsSelection
Claus Gittinger <cg@exept.de>
parents:
2863
diff
changeset
|
3049 |
^ false |
fcdea80a431e
changed: #canEnterContentsSelection
Claus Gittinger <cg@exept.de>
parents:
2863
diff
changeset
|
3050 |
]. |
2975
023690659ed7
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
2973
diff
changeset
|
3051 |
(prj class compiledMethodAt:#startupSelector) isNil ifTrue:[ |
023690659ed7
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
2973
diff
changeset
|
3052 |
self infoHolder value:('Inherited startup selector is "%1"' bindWith:prj startupSelector). |
023690659ed7
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
2973
diff
changeset
|
3053 |
impl := prj class whichClassImplements:#startupSelector. |
023690659ed7
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
2973
diff
changeset
|
3054 |
impl isNil ifTrue:[ |
023690659ed7
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
2973
diff
changeset
|
3055 |
self infoHolder value:('Inherited startup selector (%1) not implemented in %2' |
023690659ed7
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
2973
diff
changeset
|
3056 |
bindWith:prj startupSelector |
023690659ed7
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
2973
diff
changeset
|
3057 |
with:prj class name). |
023690659ed7
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
2973
diff
changeset
|
3058 |
^ false |
023690659ed7
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
2973
diff
changeset
|
3059 |
]. |
2872 | 3060 |
]. |
2975
023690659ed7
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
2973
diff
changeset
|
3061 |
(mthd := prj class compiledMethodAt:#startupClassName) package == prj package ifFalse:[ |
2897 | 3062 |
mthd package == PackageId noProjectID ifFalse:[ |
2975
023690659ed7
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
2973
diff
changeset
|
3063 |
self infoHolder value:('Startup class method (#startupClassName) of %3 must be in package "%1" (is in "%2")' |
2872 | 3064 |
bindWith:prj package |
2975
023690659ed7
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
2973
diff
changeset
|
3065 |
with:(prj class compiledMethodAt:#startupClassName) package |
2872 | 3066 |
with:prj class name). |
3067 |
^ false |
|
2975
023690659ed7
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
2973
diff
changeset
|
3068 |
]. |
023690659ed7
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
2973
diff
changeset
|
3069 |
]. |
023690659ed7
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
2973
diff
changeset
|
3070 |
(mthd := prj class compiledMethodAt:#startupSelector) notNil ifTrue:[ |
023690659ed7
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
2973
diff
changeset
|
3071 |
mthd package == prj package ifFalse:[ |
023690659ed7
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
2973
diff
changeset
|
3072 |
mthd package == PackageId noProjectID ifFalse:[ |
023690659ed7
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
2973
diff
changeset
|
3073 |
self infoHolder value:('Startup class method (#startupSelector) of %3 must be in package "%1" (is in "%2")' |
023690659ed7
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
2973
diff
changeset
|
3074 |
bindWith:prj package |
023690659ed7
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
2973
diff
changeset
|
3075 |
with:mthd package |
023690659ed7
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
2973
diff
changeset
|
3076 |
with:prj class name). |
023690659ed7
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
2973
diff
changeset
|
3077 |
^ false |
023690659ed7
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
2973
diff
changeset
|
3078 |
] |
023690659ed7
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
2973
diff
changeset
|
3079 |
]. |
2857 | 3080 |
]. |
2975
023690659ed7
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
2973
diff
changeset
|
3081 |
cls := Smalltalk classNamed:prj startupClassName. |
023690659ed7
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
2973
diff
changeset
|
3082 |
cls isNil ifTrue:[ |
023690659ed7
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
2973
diff
changeset
|
3083 |
self infoHolder value:('Startup class "%1" does not exist' bindWith:prj startupClassName). |
023690659ed7
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
2973
diff
changeset
|
3084 |
^ false. |
023690659ed7
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
2973
diff
changeset
|
3085 |
]. |
023690659ed7
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
2973
diff
changeset
|
3086 |
(cls implements:(prj startupSelector)) ifFalse:[ |
023690659ed7
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
2973
diff
changeset
|
3087 |
(cls respondsTo:(prj startupSelector)) ifFalse:[ |
023690659ed7
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
2973
diff
changeset
|
3088 |
self infoHolder value:('Startup class "%1" does not implement startup selector "%2"' |
023690659ed7
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
2973
diff
changeset
|
3089 |
bindWith:cls name |
023690659ed7
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
2973
diff
changeset
|
3090 |
with:prj startupSelector). |
023690659ed7
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
2973
diff
changeset
|
3091 |
^ false |
023690659ed7
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
2973
diff
changeset
|
3092 |
]. |
2865
2600408a8005
changed: #canEnterContentsSelection
Claus Gittinger <cg@exept.de>
parents:
2864
diff
changeset
|
3093 |
]. |
2864
fcdea80a431e
changed: #canEnterContentsSelection
Claus Gittinger <cg@exept.de>
parents:
2863
diff
changeset
|
3094 |
]. |
2915 | 3095 |
self infoHolder value:nil. |
2857 | 3096 |
^ true. |
3097 |
||
2915 | 3098 |
"Modified: / 04-09-2012 / 10:29:43 / cg" |
2659 | 3099 |
! |
3100 |
||
2676 | 3101 |
canEnterDeploy |
2857 | 3102 |
self hasProjectBuilder ifFalse:[ |
2915 | 3103 |
self infoHolder value:'Nothing to deploy (please build first)'. |
2857 | 3104 |
^ false |
3105 |
]. |
|
2915 | 3106 |
self infoHolder value:nil. |
2857 | 3107 |
^ true |
3108 |
||
2915 | 3109 |
"Modified: / 04-09-2012 / 10:30:18 / cg" |
2656 | 3110 |
! |
3111 |
||
2872 | 3112 |
canEnterPrerequisitesSelection |
3113 |
|prj cls impl| |
|
3114 |
||
3115 |
self hasProjectSelected ifFalse:[ |
|
3116 |
self infoHolder value:'no project selected'. |
|
3117 |
^ false |
|
3118 |
]. |
|
3119 |
^ true. |
|
3120 |
||
3121 |
"Created: / 19-01-2012 / 15:37:30 / cg" |
|
3122 |
! |
|
3123 |
||
2676 | 3124 |
canEnterStartupClassSelection |
2857 | 3125 |
self hasProjectSelected ifFalse:[ |
3126 |
self infoHolder value:'no project selected'. |
|
3127 |
^ false |
|
3128 |
]. |
|
2676 | 3129 |
^ self hasProjectSelected "and:[ self hasApplicationSelected ]" |
2857 | 3130 |
|
3131 |
"Modified: / 23-08-2011 / 12:16:35 / cg" |
|
2696 | 3132 |
! |
3133 |
||
3134 |
projectTypeIsGuiApplication |
|
3337 | 3135 |
^ self projectType == ProjectDefinition guiApplicationType |
2897 | 3136 |
|
3137 |
"Modified: / 20-07-2012 / 13:29:59 / cg" |
|
2696 | 3138 |
! |
3139 |
||
3140 |
projectTypeIsLibrary |
|
3337 | 3141 |
^ self projectType == ProjectDefinition libraryType |
2897 | 3142 |
|
3143 |
"Modified: / 20-07-2012 / 13:29:24 / cg" |
|
2696 | 3144 |
! |
3145 |
||
3337 | 3146 |
projectTypeIsNonGuiApplication |
3147 |
^ self projectType == ProjectDefinition nonGuiApplicationType |
|
3148 |
! |
|
3149 |
||
2696 | 3150 |
projectTypeIsNotLibrary |
3151 |
^ self projectTypeIsLibrary not |
|
2656 | 3152 |
! ! |
3153 |
||
2636 | 3154 |
!ProjectBuilderAssistantApplication methodsFor:'specs'! |
3155 |
||
2676 | 3156 |
assistantSpec |
3335 | 3157 |
|specs| |
3158 |
||
3159 |
specs := OrderedCollection new. |
|
3160 |
specs add: |
|
3161 |
#( AssistantPageSpec |
|
3162 |
pageTitle: 'Project Type Selection' |
|
3163 |
windowSpecSelector: page1_projectTypeSelectionSpec |
|
3164 |
enterCallbackSelector: updateListOfMatchingProjects |
|
3342 | 3165 |
infoText: 'Define the <B>type</B> of project you are about to build.<P> |
3166 |
Choose <B>GUI-application</B> for a program which will show a graphical user interface, |
|
3167 |
<br><B>non-GUI-program</b> for a console program, |
|
3168 |
<br>and <B>library</b>, for a framework to be |
|
3169 |
used by other programs (a loadable shared binary class library).' |
|
3335 | 3170 |
) decodeAsLiteralArray. |
3171 |
||
3172 |
specs add: |
|
3173 |
#(AssistantPageSpec |
|
3174 |
pageTitle: 'ProjectDefinition Selection' |
|
3175 |
windowSpecSelector: page2_projectSelectionSpec |
|
3176 |
enterCallbackSelector: updateListOfMatchingProjectsAndProjectIDs |
|
3177 |
leaveCallbackSelector: fetchAttributesFromProjectDefinition |
|
3342 | 3178 |
infoText: 'Choose either an existing project definition or create a new one. |
3179 |
These are subclasses of <I>ProjectDefinition</I> and define the type, name and contents of a project. |
|
3336 | 3180 |
<p> |
3342 | 3181 |
Please enter a project-identifier which must have a well defined format in Smalltalk/X. |
3182 |
Notice that the ID directly reflects the project''s location within the source code repository |
|
3183 |
(module:directoryPath). |
|
3621 | 3184 |
<br>If in doubt, use "<b><yourname>:demos/xxx_n</b>". |
3185 |
<br>Press "Create" to generate a typical definition.' |
|
3335 | 3186 |
) decodeAsLiteralArray. |
3187 |
||
3188 |
specs add: |
|
3189 |
#(AssistantPageSpec |
|
3190 |
pageTitle: 'Startup Application Selection' |
|
3191 |
windowSpecSelector: page3_applicationSelectionSpec |
|
3192 |
isEnabledQuerySelector: #projectTypeIsGuiApplication |
|
3193 |
canEnterQuerySelector: #canEnterApplicationSelection |
|
3194 |
enterCallbackSelector: updateListOfApplicationsInProject |
|
3336 | 3195 |
infoText: 'Choose an existing application or create a new one. |
3196 |
These are subclasses of <I>ApplicationModel</I> and define the GUI and control flow inside the application. |
|
3621 | 3197 |
Can also be left blank if the startup class does it all (stx build). |
3198 |
<br>Press "Create" to get a simple hello-world application to start with.' |
|
3335 | 3199 |
) decodeAsLiteralArray. |
3200 |
||
3201 |
specs add: |
|
3202 |
#(AssistantPageSpec |
|
3203 |
pageTitle: 'Startup Class Selection' |
|
3204 |
windowSpecSelector: page4_startupClassSelectionSpec |
|
3205 |
isEnabledQuerySelector: #projectTypeIsNotLibrary |
|
3206 |
canEnterQuerySelector: #canEnterStartupClassSelection |
|
3207 |
enterCallbackSelector: updateListOfStartupClassesInProject |
|
3336 | 3208 |
infoText: 'Choose an existing startup-class or create a new one. |
3342 | 3209 |
<p>These are subclasses of <I>StandaloneStartup</I> and contain the main function, |
3210 |
which either starts the application (in case of a GUI application) |
|
3211 |
or directly performs the program''s task (in case of a non-GUI console program).<br> |
|
3212 |
Command line arguments are usually interpreted there. |
|
3213 |
<p>Do not use one of the "StandAloneStartup"-classes, which you may find in the system: |
|
3214 |
these are abstract, and to be used as superclass of your concrete startup. |
|
3215 |
<p>For a quick demo, enter a reasonable name, and press the "Create" button.' |
|
3335 | 3216 |
) decodeAsLiteralArray. |
3217 |
||
3218 |
specs add: |
|
3219 |
#(AssistantPageSpec |
|
3220 |
pageTitle: 'Specify Contents' |
|
3221 |
windowSpecSelector: page5_specifyIncludedClasses |
|
3222 |
enterCallbackSelector: enterContentsSpecification |
|
3223 |
canEnterQuerySelector: #canEnterContentsSelection |
|
3342 | 3224 |
infoText: 'Check the list of other classes which are to be included. |
3225 |
These are the classes which comprise your application |
|
3226 |
(excluding any libraries, which are specified in the next step). |
|
3336 | 3227 |
<p> |
3342 | 3228 |
Press "<I>Update List</I>" to search for and include all classes of the package. |
3229 |
<p> |
|
3230 |
Press "<I>Browse</I>" to edit the contents manually (this opens an editor on the defining method |
|
3231 |
in your project definition class).' |
|
3335 | 3232 |
) decodeAsLiteralArray. |
3233 |
||
3234 |
specs add: |
|
3235 |
#(AssistantPageSpec |
|
3236 |
pageTitle: 'Specify Prerequisites' |
|
3237 |
windowSpecSelector: page5b_specifyPrerequisitePackages |
|
3238 |
enterCallbackSelector: enterPrerequisitesSpecification |
|
3239 |
canEnterQuerySelector: #canEnterPrerequisitesSelection |
|
3342 | 3240 |
infoText: 'Check the list of packages/libraries which are needed as prerequisites. |
3241 |
These are required class libraries which should be packaged together with the application, |
|
3242 |
and will be present in the deployed binary. |
|
3243 |
<p> |
|
3244 |
Non-GUI programs will typically only require the basic class library |
|
3245 |
and libcomp (the parser and bytecode compiler) to be read startup scripts and patches. |
|
3336 | 3246 |
<p> |
3342 | 3247 |
GUI programs will require a number of view- and widget support classes, which contain the |
3248 |
graphical user interface support classes. |
|
3249 |
<p> |
|
3250 |
Press "<I>Update</I>" to search for and include prerequisites. |
|
3251 |
<p> |
|
3252 |
"<I>Browse</I>" to edit the list manually.' |
|
3335 | 3253 |
) decodeAsLiteralArray. |
3254 |
||
3255 |
specs add: |
|
3256 |
#(AssistantPageSpec |
|
3257 |
pageTitle: 'Specify Project Attributes' |
|
3258 |
windowSpecSelector: page6a_specifyProjectAttributes |
|
3336 | 3259 |
infoText: 'Define additional attributes. |
3260 |
These will be shown during the installation of the deployed package and affect the name of the deployed self-installable file.' |
|
3335 | 3261 |
enterCallbackSelector: updateProjectAttributes |
3262 |
leaveCallbackSelector: #rememberProjectAttributes |
|
3263 |
) decodeAsLiteralArray. |
|
3264 |
||
3265 |
specs add: |
|
3266 |
#(AssistantPageSpec |
|
3267 |
pageTitle: 'Specify Build Directory' |
|
3268 |
windowSpecSelector: page6b_specifyBuildDirectorySpec |
|
3342 | 3269 |
infoText: 'Define where the build-process is to be performed and which compiler to use. |
3270 |
<P>All generated files are created below that directory. |
|
3271 |
<P>After deployment, the build directory is no longer needed |
|
3272 |
(but you can keep it for a faster compile the next time). |
|
3273 |
<P>Normally, the default values are ok, and there is no need to change anything here.' |
|
3335 | 3274 |
enterCallbackSelector: #checkCompilerAvailability |
3275 |
leaveCallbackSelector: #rememberUsedCompiler |
|
3276 |
) decodeAsLiteralArray. |
|
3277 |
||
3278 |
specs add: |
|
3279 |
#(AssistantPageSpec |
|
3280 |
pageTitle: 'Check Into Source Repository' |
|
3281 |
windowSpecSelector: page7a_checkinSpec |
|
3282 |
enterCallbackSelector: #checkSourceCodeManagerType |
|
3342 | 3283 |
infoText: 'Optionally check the package''s source and build-support files into the |
3284 |
source code repository. |
|
3285 |
<p>You can skip this for a quick test (a local build), |
|
3286 |
or if you do not have/want a central repository.' |
|
3335 | 3287 |
) decodeAsLiteralArray. |
3288 |
||
3289 |
specs add: |
|
3290 |
#(AssistantPageSpec |
|
3291 |
pageTitle: 'Build' |
|
3292 |
windowSpecSelector: page7b_buildSpec |
|
3293 |
canEnterQuerySelector: #canEnterBuild |
|
3294 |
enterCallbackSelector: #restoreMakeOutputsContents |
|
3295 |
leaveCallbackSelector: #rememberMakeOutputsContents |
|
3296 |
infoText: 'Start the build-process. This will create an isolated build directory, |
|
3342 | 3297 |
and run "<i>make</i>" there to compile all required classes. |
3335 | 3298 |
<P> |
3342 | 3299 |
On Windows, it will use "<i>nsis</i>" to generate a self-installable executable, |
3335 | 3300 |
and you must have the compiler (borland-bcc, visual-c or mingw) and NullSoft NSIS packages installed for this to work. |
3342 | 3301 |
Without NSIS, you can "zip" the folder where the "exe" is generated |
3302 |
and unzip on a target machine. |
|
3335 | 3303 |
<P> |
3304 |
On OS X, it will generate a "dmg" for deployment. You should have XCode or the "gcc" tool chain installed. |
|
3305 |
<P> |
|
3306 |
On Linux, an installable package will be generated. You should have the development support packages installed (gcc, Xlib etc.). |
|
3307 |
<P> |
|
3308 |
To try the application, open an Explorer/Finder on the directory and double click on the executable. |
|
3309 |
Alternatively, open a command window and type the name of the executable there. |
|
3310 |
Sorry, but double-click in the ST/X file browser does not work.' |
|
3311 |
) decodeAsLiteralArray. |
|
3312 |
||
3313 |
self projectTypeIsLibrary ifTrue:[ |
|
3314 |
specs add: |
|
3315 |
#(AssistantPageSpec |
|
3316 |
pageTitle: 'Deploy' |
|
3317 |
windowSpecSelector: page8_deploySpec |
|
3318 |
canEnterQuerySelector: #canEnterDeploy |
|
3319 |
enterCallbackSelector: enterDeploySpecification |
|
3320 |
infoText: 'Find the generated binary class library file here. |
|
3321 |
Because this is a library package (i.e. no application package), |
|
3322 |
there is no deployable installer generated, just the binary (.so / .dll).' |
|
3323 |
) decodeAsLiteralArray. |
|
3324 |
] ifFalse:[ |
|
3325 |
specs add: |
|
3326 |
#(AssistantPageSpec |
|
3327 |
pageTitle: 'Deploy' |
|
3328 |
windowSpecSelector: page8_deploySpec |
|
3329 |
canEnterQuerySelector: #canEnterDeploy |
|
3330 |
enterCallbackSelector: enterDeploySpecification |
|
3331 |
infoText: 'Find the installer-file to be deployed (or test-run the executable). |
|
3332 |
You can open an Explorer/Finder there to copy the files for deployment. |
|
3333 |
After that, the build directory is no longer needed. |
|
3334 |
However, you can keep it for a faster compile the next time.' |
|
3335 |
) decodeAsLiteralArray. |
|
3336 |
]. |
|
3337 |
^ specs. |
|
3338 |
||
3339 |
"Modified: / 04-09-2012 / 09:49:50 / cg" |
|
2676 | 3340 |
! ! |
3341 |
||
3342 |
!ProjectBuilderAssistantApplication methodsFor:'update'! |
|
3343 |
||
2724 | 3344 |
checkCompilerAvailability |
2919 | 3345 |
|cmd suite warnMsg1 warnMsg2 sep usedCompiler| |
2724 | 3346 |
|
3347 |
cmd := 'cc'. |
|
3348 |
warnMsg1 := warnMsg2 := ''. |
|
3349 |
||
2919 | 3350 |
usedCompiler := self usedCompilerHolder value. |
3351 |
usedCompiler = 'bcc' ifTrue:[ |
|
2724 | 3352 |
cmd := 'bcc32'. |
3005
9c5e0717155e
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3004
diff
changeset
|
3353 |
] ifFalse:[ |
9c5e0717155e
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3004
diff
changeset
|
3354 |
usedCompiler = 'vc' ifTrue:[ |
9c5e0717155e
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3004
diff
changeset
|
3355 |
cmd := 'cl'. |
9c5e0717155e
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3004
diff
changeset
|
3356 |
warnMsg1 := 'Due to bugs in this C-compiler, some classes may not be compilable.'. |
9c5e0717155e
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3004
diff
changeset
|
3357 |
] ifFalse:[ |
9c5e0717155e
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3004
diff
changeset
|
3358 |
usedCompiler = 'lcc' ifTrue:[ |
9c5e0717155e
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3004
diff
changeset
|
3359 |
cmd := 'lcc'. |
9c5e0717155e
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3004
diff
changeset
|
3360 |
warnMsg1 := 'The LCC C-compiler suite is not officially supported.'. |
9c5e0717155e
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3004
diff
changeset
|
3361 |
] ifFalse:[ |
9c5e0717155e
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3004
diff
changeset
|
3362 |
usedCompiler = 'tcc' ifTrue:[ |
9c5e0717155e
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3004
diff
changeset
|
3363 |
cmd := 'tcc'. |
9c5e0717155e
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3004
diff
changeset
|
3364 |
OperatingSystem isMSWINDOWSlike ifTrue:[ |
9c5e0717155e
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3004
diff
changeset
|
3365 |
warnMsg1 := 'The Tiny C-compiler suite is not yet supported (linkage).'. |
9c5e0717155e
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3004
diff
changeset
|
3366 |
]. |
9c5e0717155e
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3004
diff
changeset
|
3367 |
] ifFalse:[ |
9c5e0717155e
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3004
diff
changeset
|
3368 |
usedCompiler = 'gcc' ifTrue:[ |
9c5e0717155e
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3004
diff
changeset
|
3369 |
cmd := 'gcc'. |
9c5e0717155e
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3004
diff
changeset
|
3370 |
] ifFalse:[ |
9c5e0717155e
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3004
diff
changeset
|
3371 |
cmd := usedCompiler. |
9c5e0717155e
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3004
diff
changeset
|
3372 |
]. |
9c5e0717155e
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3004
diff
changeset
|
3373 |
] |
9c5e0717155e
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3004
diff
changeset
|
3374 |
] |
9c5e0717155e
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3004
diff
changeset
|
3375 |
] |
2724 | 3376 |
]. |
2919 | 3377 |
|
2922 | 3378 |
suite := ProjectBuilder suiteNameOfCompiler:(self usedCompilerHolder value). |
2910 | 3379 |
self nameOfUsedCompilerSuiteHolder value:suite. |
2724 | 3380 |
|
3381 |
(OperatingSystem canExecuteCommand:cmd) ifFalse:[ |
|
2913 | 3382 |
warnMsg2 := |
2724 | 3383 |
'The "%1"-command seems to be not in your path. |
3384 |
Please ensure that you installed the |
|
2910 | 3385 |
"%2" compiler suite correctly. |
3007
88de1ef7c805
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3005
diff
changeset
|
3386 |
(However, the makefiles might know where to find the compiler) |
88de1ef7c805
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3005
diff
changeset
|
3387 |
' bindWith:cmd with:suite. |
2724 | 3388 |
]. |
3389 |
||
3390 |
(warnMsg1 notEmpty or:[warnMsg2 notEmpty]) ifTrue:[ |
|
3391 |
sep := ''. |
|
3392 |
(warnMsg2 notEmpty) ifTrue:[ sep := '\\' withCRs ]. |
|
3393 |
||
3394 |
self compilerWarnMessageHolder value:('Warning: |
|
3395 |
||
3396 |
',warnMsg1,sep,warnMsg2). |
|
3397 |
self compilerWarnMessageVisibleHolder value:true. |
|
3398 |
] ifFalse:[ |
|
3399 |
self compilerWarnMessageVisibleHolder value:false |
|
3400 |
]. |
|
2910 | 3401 |
|
2922 | 3402 |
"Modified: / 06-09-2012 / 15:58:58 / cg" |
2724 | 3403 |
! |
3404 |
||
3126
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
3405 |
checkSourceCodeManagerType |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
3406 |
|button scm package| |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
3407 |
|
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
3408 |
button := self builder componentAt:'CheckinButton'. |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
3409 |
|
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
3410 |
package := selectedProjectDefinition package. |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
3411 |
scm := AbstractSourceCodeManager managerForPackage:package. |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
3412 |
scm isNil ifTrue:[ |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
3413 |
scm := selectedApplication sourceCodeManager. |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
3414 |
scm isNil ifTrue:[ |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
3415 |
scm := SourceCodeManager |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
3416 |
]. |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
3417 |
]. |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
3418 |
scm isNil ifTrue:[ |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
3419 |
button disable |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
3420 |
] ifFalse:[ |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
3421 |
button label:(resources string:'Checkin (%1)...' with:scm managerTypeName) |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
3422 |
]. |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
3423 |
! |
9002c0912b90
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
3068
diff
changeset
|
3424 |
|
2926 | 3425 |
delayedUpdate:something with:anArgument from:changedObject |
3426 |
changedObject == Smalltalk ifTrue:[ |
|
3427 |
(something == #newClass |
|
3428 |
or:[something == #classRemove |
|
3429 |
or:[something == #projectOrganization]]) ifTrue:[ |
|
3430 |
self updateListOfMatchingProjects. |
|
3431 |
self updateListOfNewProjectsName. |
|
3432 |
^ self. |
|
3433 |
]. |
|
3434 |
^ self. |
|
3435 |
]. |
|
3436 |
||
3437 |
"Created: / 10-09-2012 / 14:07:47 / cg" |
|
3438 |
! |
|
3439 |
||
2686
5a19c21dada0
ensure starup and application are in the classList of the projectDef
Claus Gittinger <cg@exept.de>
parents:
2685
diff
changeset
|
3440 |
enterContentsSpecification |
5a19c21dada0
ensure starup and application are in the classList of the projectDef
Claus Gittinger <cg@exept.de>
parents:
2685
diff
changeset
|
3441 |
|toAdd| |
5a19c21dada0
ensure starup and application are in the classList of the projectDef
Claus Gittinger <cg@exept.de>
parents:
2685
diff
changeset
|
3442 |
|
5a19c21dada0
ensure starup and application are in the classList of the projectDef
Claus Gittinger <cg@exept.de>
parents:
2685
diff
changeset
|
3443 |
self updateListOfClassesInProject. |
5a19c21dada0
ensure starup and application are in the classList of the projectDef
Claus Gittinger <cg@exept.de>
parents:
2685
diff
changeset
|
3444 |
|
5a19c21dada0
ensure starup and application are in the classList of the projectDef
Claus Gittinger <cg@exept.de>
parents:
2685
diff
changeset
|
3445 |
toAdd := OrderedCollection new. |
5a19c21dada0
ensure starup and application are in the classList of the projectDef
Claus Gittinger <cg@exept.de>
parents:
2685
diff
changeset
|
3446 |
|
5a19c21dada0
ensure starup and application are in the classList of the projectDef
Claus Gittinger <cg@exept.de>
parents:
2685
diff
changeset
|
3447 |
"/ ensure that startup & app-class are in the list |
5a19c21dada0
ensure starup and application are in the classList of the projectDef
Claus Gittinger <cg@exept.de>
parents:
2685
diff
changeset
|
3448 |
selectedApplication notNil ifTrue:[ |
5a19c21dada0
ensure starup and application are in the classList of the projectDef
Claus Gittinger <cg@exept.de>
parents:
2685
diff
changeset
|
3449 |
(selectedProjectDefinition classNames includes:selectedApplication name) ifFalse:[ |
5a19c21dada0
ensure starup and application are in the classList of the projectDef
Claus Gittinger <cg@exept.de>
parents:
2685
diff
changeset
|
3450 |
toAdd add:selectedApplication. |
5a19c21dada0
ensure starup and application are in the classList of the projectDef
Claus Gittinger <cg@exept.de>
parents:
2685
diff
changeset
|
3451 |
]. |
5a19c21dada0
ensure starup and application are in the classList of the projectDef
Claus Gittinger <cg@exept.de>
parents:
2685
diff
changeset
|
3452 |
]. |
5a19c21dada0
ensure starup and application are in the classList of the projectDef
Claus Gittinger <cg@exept.de>
parents:
2685
diff
changeset
|
3453 |
selectedStartupClass notNil ifTrue:[ |
5a19c21dada0
ensure starup and application are in the classList of the projectDef
Claus Gittinger <cg@exept.de>
parents:
2685
diff
changeset
|
3454 |
(selectedProjectDefinition classNames includes:selectedStartupClass name) ifFalse:[ |
5a19c21dada0
ensure starup and application are in the classList of the projectDef
Claus Gittinger <cg@exept.de>
parents:
2685
diff
changeset
|
3455 |
toAdd add:selectedStartupClass. |
5a19c21dada0
ensure starup and application are in the classList of the projectDef
Claus Gittinger <cg@exept.de>
parents:
2685
diff
changeset
|
3456 |
]. |
5a19c21dada0
ensure starup and application are in the classList of the projectDef
Claus Gittinger <cg@exept.de>
parents:
2685
diff
changeset
|
3457 |
]. |
5a19c21dada0
ensure starup and application are in the classList of the projectDef
Claus Gittinger <cg@exept.de>
parents:
2685
diff
changeset
|
3458 |
|
5a19c21dada0
ensure starup and application are in the classList of the projectDef
Claus Gittinger <cg@exept.de>
parents:
2685
diff
changeset
|
3459 |
selectedProjectDefinition includeClasses:toAdd usingCompiler:nil. |
5a19c21dada0
ensure starup and application are in the classList of the projectDef
Claus Gittinger <cg@exept.de>
parents:
2685
diff
changeset
|
3460 |
|
5a19c21dada0
ensure starup and application are in the classList of the projectDef
Claus Gittinger <cg@exept.de>
parents:
2685
diff
changeset
|
3461 |
self updateListOfClassesInProject. |
5a19c21dada0
ensure starup and application are in the classList of the projectDef
Claus Gittinger <cg@exept.de>
parents:
2685
diff
changeset
|
3462 |
! |
5a19c21dada0
ensure starup and application are in the classList of the projectDef
Claus Gittinger <cg@exept.de>
parents:
2685
diff
changeset
|
3463 |
|
3335 | 3464 |
enterDeploySpecification |
3465 |
|fileBrowserCanvas fileBrowser| |
|
3466 |
||
3336 | 3467 |
self projectTypeIsLibrary ifTrue:[ |
3468 |
fileBrowserCanvas := self builder componentAt:'FileBrowserSubCanvas'. |
|
3469 |
fileBrowser := fileBrowserCanvas application. |
|
3559 | 3470 |
fileBrowser filterModel value:('*.' , ObjectFileLoader sharedLibrarySuffix). |
3336 | 3471 |
]. |
3335 | 3472 |
! |
3473 |
||
2872 | 3474 |
enterPrerequisitesSpecification |
3475 |
|toAdd| |
|
3476 |
||
3477 |
self updateListOfPrerequisitesInProject. |
|
3478 |
||
3479 |
"/ toAdd := OrderedCollection new. |
|
3480 |
"/ |
|
3481 |
"/ "/ ensure that startup & app-class are in the list |
|
3482 |
"/ selectedApplication notNil ifTrue:[ |
|
3483 |
"/ (selectedProjectDefinition classNames includes:selectedApplication name) ifFalse:[ |
|
3484 |
"/ toAdd add:selectedApplication. |
|
3485 |
"/ ]. |
|
3486 |
"/ ]. |
|
3487 |
"/ selectedStartupClass notNil ifTrue:[ |
|
3488 |
"/ (selectedProjectDefinition classNames includes:selectedStartupClass name) ifFalse:[ |
|
3489 |
"/ toAdd add:selectedStartupClass. |
|
3490 |
"/ ]. |
|
3491 |
"/ ]. |
|
3492 |
"/ |
|
3493 |
"/ selectedProjectDefinition includeClasses:toAdd usingCompiler:nil. |
|
3494 |
"/ |
|
3495 |
"/ self updateListOfClassesInProject. |
|
3496 |
||
3497 |
"Created: / 19-01-2012 / 15:36:47 / cg" |
|
3498 |
! |
|
3499 |
||
2913 | 3500 |
fetchAttributesFromProjectDefinition |
3501 |
self fetchSelectedProject. |
|
3502 |
selectedProjectDefinition notNil ifTrue:[ |
|
3503 |
self productNameHolder value: selectedProjectDefinition productName. |
|
3504 |
self companyNameHolder value: selectedProjectDefinition companyName. |
|
3505 |
]. |
|
3506 |
||
3507 |
"Created: / 04-09-2012 / 09:50:46 / cg" |
|
3508 |
! |
|
3509 |
||
2676 | 3510 |
rememberMakeOutputsContents |
3511 |
makeOutputHolder value:(makeOutputWindow contents) |
|
3512 |
! |
|
3513 |
||
2724 | 3514 |
rememberProjectAttributes |
3515 |
self assert:selectedProjectDefinition notNil. |
|
3516 |
Class withoutUpdatingChangesDo:[ |
|
3517 |
self productNameHolder value ~= selectedProjectDefinition productName ifTrue:[ |
|
3518 |
selectedProjectDefinition class compile:(selectedProjectDefinition |
|
3519 |
productName_codeFor:(self productNameHolder value)). |
|
3520 |
]. |
|
3521 |
self companyNameHolder value ~= selectedProjectDefinition companyName ifTrue:[ |
|
3522 |
selectedProjectDefinition class compile:(selectedProjectDefinition |
|
3523 |
companyName_codeFor:(self companyNameHolder value)). |
|
3524 |
] |
|
3525 |
]. |
|
3526 |
! |
|
3527 |
||
2913 | 3528 |
rememberUsedCompiler |
3529 |
LastUsedCompiler := self usedCompilerHolder value. |
|
3530 |
||
3531 |
"Created: / 04-09-2012 / 09:45:42 / cg" |
|
3532 |
! |
|
3533 |
||
2676 | 3534 |
restoreMakeOutputsContents |
3535 |
makeOutputWindow contents:makeOutputHolder value |
|
2646 | 3536 |
! |
3537 |
||
2676 | 3538 |
update:something with:anArgument from:changedObject |
3539 |
changedObject == Smalltalk ifTrue:[ |
|
3540 |
(something == #newClass |
|
3541 |
or:[something == #classRemove |
|
3542 |
or:[something == #projectOrganization]]) ifTrue:[ |
|
2926 | 3543 |
self enqueueDelayedUpdate:something with:anArgument from:changedObject. |
2676 | 3544 |
^ self. |
3545 |
]. |
|
3546 |
^ self. |
|
3547 |
]. |
|
3548 |
super update:something with:anArgument from:changedObject |
|
2926 | 3549 |
|
3550 |
"Modified: / 10-09-2012 / 14:08:17 / cg" |
|
2636 | 3551 |
! |
3552 |
||
2676 | 3553 |
updateApplicationComment |
3554 |
|comment| |
|
2636 | 3555 |
|
2676 | 3556 |
self selectedApplicationIndexHolder value notNil ifTrue:[ |
3557 |
comment := self commentFromClass:selectedApplication. |
|
3558 |
comment isNil ifTrue:[ |
|
3295 | 3559 |
comment := 'Application has no comment' allItalic withColor:Color lightGray. |
2676 | 3560 |
]. |
3561 |
] ifFalse:[ |
|
3295 | 3562 |
comment := 'Please select an Application' allItalic withColor:Color lightGray. |
2676 | 3563 |
]. |
3564 |
self selectedApplicationsComment value:comment. |
|
2636 | 3565 |
! |
3566 |
||
2676 | 3567 |
updateComment |
3568 |
|comment| |
|
2636 | 3569 |
|
2676 | 3570 |
self selectedProjectIndexHolder value notNil ifTrue:[ |
3571 |
comment := self commentFromClass:selectedProjectDefinition. |
|
3572 |
comment isNil ifTrue:[ |
|
3295 | 3573 |
comment := 'Project has no comment' allItalic withColor:Color lightGray. |
2676 | 3574 |
]. |
3575 |
] ifFalse:[ |
|
3295 | 3576 |
comment := 'Please select a Project' allItalic withColor:Color lightGray. |
2676 | 3577 |
]. |
3578 |
self selectedProjectsComment value:comment. |
|
2636 | 3579 |
! |
3580 |
||
2676 | 3581 |
updateListOfApplicationsInProject |
3582 |
|oldList applicationClasses package appClass appClassIndex| |
|
2636 | 3583 |
|
2649 | 3584 |
appClassIndex := nil. |
3585 |
||
2636 | 3586 |
selectedProjectDefinition isNil ifTrue:[ |
3587 |
applicationClasses := #() |
|
3588 |
] ifFalse:[ |
|
3589 |
package := selectedProjectDefinition package. |
|
3590 |
||
3591 |
applicationClasses := Smalltalk allClasses |
|
3592 |
select:[:cls | |
|
2671 | 3593 |
((cls isSubclassOf:ApplicationModel) |
3594 |
and:[ self hideOtherApplicationClasses value not |
|
3595 |
or:[ cls package = package ]]) |
|
2636 | 3596 |
]. |
3597 |
applicationClasses := applicationClasses asOrderedCollection. |
|
3598 |
applicationClasses sort:[:a :b | a name < b name]. |
|
2649 | 3599 |
|
2668 | 3600 |
"/ startUpClassName := [ selectedProjectDefinition startupClassName ] ifError:[ nil ]. |
3601 |
"/ startUpClassName notNil ifTrue:[ |
|
3602 |
"/ startUpClass := Smalltalk classNamed:startUpClassName. |
|
3603 |
"/ startUpClass notNil ifTrue:[ |
|
3604 |
"/ appClassIndex := applicationClasses indexOf:startUpClass. |
|
3605 |
"/ appClassIndex == 0 ifTrue:[ appClassIndex := nil ]. |
|
3606 |
"/ ]. |
|
3607 |
"/ ]. |
|
2636 | 3608 |
]. |
2649 | 3609 |
|
2668 | 3610 |
oldList := self listOfApplicationsInProject value. |
3611 |
oldList = applicationClasses ifFalse:[ |
|
3612 |
appClass := selectedApplication. |
|
3613 |
appClassIndex := applicationClasses indexOf:appClass. |
|
3614 |
appClassIndex == 0 ifTrue:[ appClassIndex := nil ]. |
|
3615 |
||
3616 |
self listOfApplicationsInProject value:applicationClasses. |
|
3617 |
self selectedApplicationIndexHolder value:appClassIndex. |
|
3618 |
]. |
|
3002
3c8db6ae6f30
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
2994
diff
changeset
|
3619 |
|
3c8db6ae6f30
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
2994
diff
changeset
|
3620 |
"/ auto select first application |
3c8db6ae6f30
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
2994
diff
changeset
|
3621 |
applicationClasses size == 1 ifTrue:[ |
3c8db6ae6f30
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
2994
diff
changeset
|
3622 |
self selectedApplicationIndexHolder value:1. |
3c8db6ae6f30
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
2994
diff
changeset
|
3623 |
]. |
2636 | 3624 |
! |
3625 |
||
2676 | 3626 |
updateListOfClassesInProject |
3627 |
self listOfClassesInProject value:(selectedProjectDefinition classNames). |
|
3628 |
! |
|
2636 | 3629 |
|
2676 | 3630 |
updateListOfMatchingProjects |
2719 | 3631 |
|query matching projectType idx| |
2676 | 3632 |
|
3633 |
projectType := self projectType. |
|
2863
eb998d836550
changed: #updateListOfMatchingProjects
Claus Gittinger <cg@exept.de>
parents:
2857
diff
changeset
|
3634 |
projectType = ProjectDefinition libraryType ifTrue:[ |
2719 | 3635 |
query := #isLibraryDefinition |
3636 |
] ifFalse:[ |
|
2863
eb998d836550
changed: #updateListOfMatchingProjects
Claus Gittinger <cg@exept.de>
parents:
2857
diff
changeset
|
3637 |
projectType = ProjectDefinition guiApplicationType ifTrue:[ |
2719 | 3638 |
query := #isGUIApplication |
3639 |
] ifFalse:[ |
|
2863
eb998d836550
changed: #updateListOfMatchingProjects
Claus Gittinger <cg@exept.de>
parents:
2857
diff
changeset
|
3640 |
projectType = ProjectDefinition nonGuiApplicationType ifTrue:[ |
2719 | 3641 |
query := #isConsoleApplication |
3642 |
] ifFalse:[ |
|
2962 | 3643 |
self halt:'oops - unknown projectType'. |
2897 | 3644 |
projectType := ProjectDefinition guiApplicationType. |
2719 | 3645 |
]. |
3646 |
]. |
|
3647 |
]. |
|
3648 |
||
3649 |
Class flushSubclassInfo. |
|
3650 |
||
2676 | 3651 |
matching := ProjectDefinition allSubclasses |
3652 |
select:[:defClass | |
|
3653 |
|match| |
|
2636 | 3654 |
|
2676 | 3655 |
match := false. |
2863
eb998d836550
changed: #updateListOfMatchingProjects
Claus Gittinger <cg@exept.de>
parents:
2857
diff
changeset
|
3656 |
|
2676 | 3657 |
defClass isAbstract ifFalse:[ |
3658 |
(self hideSTXProjects value not |
|
3659 |
or:[ defClass package asPackageId module ~= 'stx' ]) |
|
3660 |
ifTrue:[ |
|
2719 | 3661 |
match := defClass perform:query |
2676 | 3662 |
]. |
3663 |
]. |
|
2863
eb998d836550
changed: #updateListOfMatchingProjects
Claus Gittinger <cg@exept.de>
parents:
2857
diff
changeset
|
3664 |
match |
eb998d836550
changed: #updateListOfMatchingProjects
Claus Gittinger <cg@exept.de>
parents:
2857
diff
changeset
|
3665 |
]. |
2719 | 3666 |
|
2676 | 3667 |
matching sort:[:a :b | a name < b name]. |
3668 |
self listOfMatchingProjects value:matching. |
|
2686
5a19c21dada0
ensure starup and application are in the classList of the projectDef
Claus Gittinger <cg@exept.de>
parents:
2685
diff
changeset
|
3669 |
self listOfMatchingPackageIds value:(matching collect:[:def | def package]). |
2636 | 3670 |
|
2676 | 3671 |
idx := matching indexOf:selectedProjectDefinition. |
3672 |
idx == 0 ifTrue:[ |
|
3673 |
self selectedProjectIndexHolder value:nil. |
|
3674 |
] ifFalse:[ |
|
3675 |
self selectedProjectIndexHolder value:idx. |
|
2636 | 3676 |
]. |
2863
eb998d836550
changed: #updateListOfMatchingProjects
Claus Gittinger <cg@exept.de>
parents:
2857
diff
changeset
|
3677 |
|
2897 | 3678 |
"Modified: / 20-07-2012 / 15:04:15 / cg" |
2659 | 3679 |
! |
3680 |
||
2907
c842e3e6f526
added: #updateListOfMatchingProjectsAndProjectIDs
Claus Gittinger <cg@exept.de>
parents:
2906
diff
changeset
|
3681 |
updateListOfMatchingProjectsAndProjectIDs |
c842e3e6f526
added: #updateListOfMatchingProjectsAndProjectIDs
Claus Gittinger <cg@exept.de>
parents:
2906
diff
changeset
|
3682 |
self updateListOfMatchingProjects. |
c842e3e6f526
added: #updateListOfMatchingProjectsAndProjectIDs
Claus Gittinger <cg@exept.de>
parents:
2906
diff
changeset
|
3683 |
self updateListOfNewProjectsName. |
c842e3e6f526
added: #updateListOfMatchingProjectsAndProjectIDs
Claus Gittinger <cg@exept.de>
parents:
2906
diff
changeset
|
3684 |
|
c842e3e6f526
added: #updateListOfMatchingProjectsAndProjectIDs
Claus Gittinger <cg@exept.de>
parents:
2906
diff
changeset
|
3685 |
"Created: / 20-08-2012 / 19:33:12 / cg" |
c842e3e6f526
added: #updateListOfMatchingProjectsAndProjectIDs
Claus Gittinger <cg@exept.de>
parents:
2906
diff
changeset
|
3686 |
! |
c842e3e6f526
added: #updateListOfMatchingProjectsAndProjectIDs
Claus Gittinger <cg@exept.de>
parents:
2906
diff
changeset
|
3687 |
|
2697 | 3688 |
updateListOfNewProjectsName |
3689 |
|loadedProjectIDsWithoutProjectDefinition| |
|
3690 |
||
3257 | 3691 |
loadedProjectIDsWithoutProjectDefinition := |
3692 |
Smalltalk allLoadedPackageIDs |
|
3693 |
select:[:eachPackageID | |
|
3694 |
eachPackageID ~= PackageId noProjectID |
|
3695 |
and:[ (ProjectDefinition definitionClassForPackage: eachPackageID) isNil ]. |
|
3696 |
]. |
|
2907
c842e3e6f526
added: #updateListOfMatchingProjectsAndProjectIDs
Claus Gittinger <cg@exept.de>
parents:
2906
diff
changeset
|
3697 |
loadedProjectIDsWithoutProjectDefinition := loadedProjectIDsWithoutProjectDefinition asOrderedCollection. |
3232 | 3698 |
loadedProjectIDsWithoutProjectDefinition |
3699 |
addFirst:(UserPreferences current usersModuleName "OperatingSystem getLoginName",':','demos','/','demo1'). |
|
2697 | 3700 |
self listOfNewProjectsName value:loadedProjectIDsWithoutProjectDefinition. |
2907
c842e3e6f526
added: #updateListOfMatchingProjectsAndProjectIDs
Claus Gittinger <cg@exept.de>
parents:
2906
diff
changeset
|
3701 |
|
c842e3e6f526
added: #updateListOfMatchingProjectsAndProjectIDs
Claus Gittinger <cg@exept.de>
parents:
2906
diff
changeset
|
3702 |
"Modified: / 20-08-2012 / 19:31:35 / cg" |
2697 | 3703 |
! |
3704 |
||
2872 | 3705 |
updateListOfPrerequisitesInProject |
2965
9725f13947de
class: Tools::ProjectBuilderAssistantApplication
Stefan Vogel <sv@exept.de>
parents:
2962
diff
changeset
|
3706 |
self listOfPrerequisitesInProject value:(selectedProjectDefinition effectivePreRequisites). |
2872 | 3707 |
|
3708 |
"Created: / 19-01-2012 / 15:39:15 / cg" |
|
3709 |
! |
|
3710 |
||
2659 | 3711 |
updateListOfStartupClassesInProject |
3712 |
|startupClasses package startUpClassName startUpClass startupClassIndex| |
|
3713 |
||
3714 |
startupClassIndex := nil. |
|
3715 |
self selectedStartupClassIndexHolder value:nil. |
|
3716 |
||
3717 |
selectedProjectDefinition isNil ifTrue:[ |
|
3718 |
startupClasses := #() |
|
3719 |
] ifFalse:[ |
|
3720 |
package := selectedProjectDefinition package. |
|
3721 |
||
3722 |
startupClasses := Smalltalk allClasses |
|
3723 |
select:[:cls | |
|
2671 | 3724 |
((cls includesBehavior:StandaloneStartup) |
3725 |
and:[ self hideOtherStartupClasses value not |
|
3726 |
or:[ cls package = package ]]) |
|
2674 | 3727 |
or:[ cls == Smalltalk |
3728 |
and:[ self hideOtherStartupClasses value not ] ] |
|
2659 | 3729 |
]. |
3730 |
startupClasses := startupClasses asOrderedCollection. |
|
3731 |
startupClasses sort:[:a :b | a name < b name]. |
|
3732 |
||
3429 | 3733 |
startUpClassName := [ selectedProjectDefinition startupClassName ] on:Error do:nil. |
2659 | 3734 |
startUpClassName notNil ifTrue:[ |
3735 |
startUpClass := Smalltalk classNamed:startUpClassName. |
|
3736 |
startUpClass notNil ifTrue:[ |
|
3737 |
startupClassIndex := startupClasses indexOf:startUpClass. |
|
3738 |
startupClassIndex == 0 ifTrue:[ startupClassIndex := nil ]. |
|
3739 |
]. |
|
3740 |
]. |
|
3741 |
]. |
|
2674 | 3742 |
|
2659 | 3743 |
self listOfStartupClassesInProject value:startupClasses. |
3744 |
self selectedStartupClassIndexHolder value:startupClassIndex. |
|
3429 | 3745 |
|
3746 |
"Modified: / 18-03-2017 / 18:42:52 / stefan" |
|
2724 | 3747 |
! |
3748 |
||
3749 |
updateProjectAttributes |
|
3750 |
self assert:selectedProjectDefinition notNil. |
|
3751 |
self productNameHolder value:(selectedProjectDefinition productName). |
|
3752 |
self companyNameHolder value:(selectedProjectDefinition companyName). |
|
3340 | 3753 |
self executableNameHolder value:(selectedProjectDefinition applicationName). |
2636 | 3754 |
! ! |
3755 |
||
3756 |
!ProjectBuilderAssistantApplication class methodsFor:'documentation'! |
|
3757 |
||
2864
fcdea80a431e
changed: #canEnterContentsSelection
Claus Gittinger <cg@exept.de>
parents:
2863
diff
changeset
|
3758 |
version |
fcdea80a431e
changed: #canEnterContentsSelection
Claus Gittinger <cg@exept.de>
parents:
2863
diff
changeset
|
3759 |
^ '$Header$' |
fcdea80a431e
changed: #canEnterContentsSelection
Claus Gittinger <cg@exept.de>
parents:
2863
diff
changeset
|
3760 |
! |
fcdea80a431e
changed: #canEnterContentsSelection
Claus Gittinger <cg@exept.de>
parents:
2863
diff
changeset
|
3761 |
|
2636 | 3762 |
version_CVS |
3763 |
^ '$Header$' |
|
3764 |
! ! |
|
2959
ab140a3e5eb6
class: Tools::ProjectBuilderAssistantApplication
Claus Gittinger <cg@exept.de>
parents:
2930
diff
changeset
|
3765 |