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