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