author | Claus Gittinger <cg@exept.de> |
Mon, 01 Feb 2010 12:29:38 +0100 | |
changeset 2742 | 63f7bd978ef8 |
parent 2726 | 7263301b5216 |
child 2756 | c3b2615d734d |
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 |
|
33 |
compilerWarnMessageVisibleHolder' |
|
2687
66343568f2b2
changed: #fileBrowserInstance
Claus Gittinger <cg@exept.de>
parents:
2686
diff
changeset
|
34 |
classVariableNames:'' |
66343568f2b2
changed: #fileBrowserInstance
Claus Gittinger <cg@exept.de>
parents:
2686
diff
changeset
|
35 |
poolDictionaries:'' |
66343568f2b2
changed: #fileBrowserInstance
Claus Gittinger <cg@exept.de>
parents:
2686
diff
changeset
|
36 |
category:'System-Support-Projects' |
2636 | 37 |
! |
38 |
||
2668 | 39 |
!ProjectBuilderAssistantApplication class methodsFor:'documentation'! |
40 |
||
2742 | 41 |
copyright |
42 |
" |
|
43 |
COPYRIGHT (c) 2009 by eXept Software AG |
|
44 |
All Rights Reserved |
|
45 |
||
46 |
This software is furnished under a license and may be used |
|
47 |
only in accordance with the terms of that license and with the |
|
48 |
inclusion of the above copyright notice. This software may not |
|
49 |
be provided or otherwise made available to, or used by, any |
|
50 |
other person. No title to or ownership of the software is |
|
51 |
hereby transferred. |
|
52 |
" |
|
53 |
! |
|
54 |
||
2668 | 55 |
documentation |
56 |
" |
|
57 |
a user friendly interface to the build process. |
|
58 |
Simply wraps up existing tools like the CodeGeneratorTool, the browsers |
|
59 |
and the ProjetBuilder |
|
60 |
||
61 |
[see also:] |
|
62 |
CodeGeneratorTool |
|
63 |
ProjectBuilder |
|
64 |
ProjectDefinition |
|
65 |
||
66 |
[author:] |
|
67 |
Claus Gittinger |
|
68 |
" |
|
2721 | 69 |
! |
70 |
||
71 |
help |
|
72 |
||
73 |
"/ Packager - A Standalone-Executable Builder and Packager |
|
74 |
"/ This assistant-application allows for standalone applications to be built very easily. It will generate all required classes, files, start the compilation process, generate a self-installable executable with a few mouse clicks. A simple demo application like the famous "Hello World" can be generated in a few minutes. |
|
75 |
"/ Prerequisites |
|
76 |
"/ Windows Users: |
|
77 |
"/ Please install either the "Borland Free Commandline Compiler Tools (bcc32)" or the "Microsoft Visual-C++" package (also free). In addition, the "NullSoft NSIS-Installer Package" is required. |
|
78 |
"/ |
|
79 |
"/ Due to limitations and bugs in the Visual-C++ compiler (limit on the size of string-constants), some Smalltalk code is still not compilable (classes which contain image-resource methods for big images). Although microsoft is doing their best (a relative measure) to make things better (they increase the string-limit with every new release), they still seem to be undable to figure out how ti use malloc for string-data). We are patiently waiting for a real fix and still using bcc in the meanwhile. Therefore, we still recommend using the borland compiler suite. Please install it at its standard location ("C:\Borland") as our makefiles might still contain hard-coded pathes (yes, we are ashamed about this). |
|
80 |
"/ Unix Users: |
|
81 |
"/ You should already have the gcc compile suite (including all required header files) installed and ready to use. For a lack of time on our side, there is currently no self-installer support for Unix. The packager will generate a zipped tar file, which must be deployed and unpacked for use. This may change in the near future. |
|
82 |
"/ Packages, Projects, PackageIDs and ProjectDefinitions |
|
83 |
"/ Smalltalk basically uses two objects for packaging: |
|
84 |
"/ |
|
85 |
"/ * PackageIDs (also called ProjectID's occasionally) |
|
86 |
"/ * ProjectDefinitions |
|
87 |
"/ |
|
88 |
"/ Older ST/X versions used instances of a Project class - this is now obsolete and removed from the system (although there are still some minor uses of it, which might remain there for backward compatibility for some time, as some customers have built their own packaging scheme around it). |
|
89 |
"/ |
|
90 |
"/ PackageIDs |
|
91 |
"/ These are simple symbols and are attached to classes and methods. If a method has a packageID different from its class, it is called an extension method. |
|
92 |
"/ PackageIDs must have a certain fixed format: they always contain exactly two parts, which are separated by a colon character: the module and the directory part. The module is used as main-selector on where and how the source code repository is accessed. The directory is a path below that repository. If checked out into the local filesystem, the module defines the top-level directory. Thus, if a packageID is "stx:libbasic", the corresponding sources will be found in the repository associated to the "stx" module, under the directory "libbasic". In the local file system, it will be found under "stx/libbasic". As another example, if the packageID is "exept:expecco/plugins/foo", the repository is whichever is associated with the "exept" module, and the subdirectory is "expecco/plugins/foo". The local path to the sourcefiles would be "exept/expecco/plugins/foo". |
|
93 |
"/ Please notice that it does make sense to associate different repositories to different modules: for example, you could setup the sourceCodeManager to use CVS access to the exept repository for everything under the "stx" module, and at the same time, use a local SVN repository for everything under the "myCompany" module. |
|
94 |
"/ ProjectDefinitions |
|
95 |
"/ These describe the contents of a project, such as the classes to include, the set of extension methods, any additional compilation information. ProjectDefinitions come in 3 flavours: |
|
96 |
"/ |
|
97 |
"/ * GUI Application Definition |
|
98 |
"/ * non-GUI Application Definition |
|
99 |
"/ * ClassLibrary Definition |
|
100 |
"/ |
|
101 |
"/ ProjectDefinitions are stored and managed as class-instances, located as subclasses of one of ApplicationDefinition or LibraryDefinition. As classes, they are themself managed, compiled and packaged as part of the project (and also have the same PackageID as their components). They are also treated like any other class w.r.t. source code management. |
|
102 |
"/ Packaging |
|
103 |
"/ All classes and extension methods belonging to a single package are supposed to be loaded (and possibly unloaded) together. They are also usually deployed inside a single dynamic link library ("dll", for short). In the Unix world, these are called "shared object" or "so". Finally, they are stored in a common directory both on the local file system and in a source code repository (CVS, SVN, etc.). |
|
104 |
"/ Structure of a Project |
|
105 |
"/ The artefacts as manipulated by the packager are: |
|
106 |
"/ |
|
107 |
"/ * the ProjectDefinition class |
|
108 |
"/ This defines the type of application (GUI / non-GUI), its contents (i.e. the set of classes to be included in the binary itself and the set of library-dll's to be included in the deployed package), and some other metadata, such as icon, title etc. |
|
109 |
"/ |
|
110 |
"/ * the ApplicationModel class |
|
111 |
"/ This defines the GUI, and is typically created using the UI-Painter. |
|
112 |
"/ |
|
113 |
"/ * the Startup class |
|
114 |
"/ This is the first class which gets control when the executable is started; it can analyze the command line arguments, read patches or updates, start background ptocesses, and will eventually open the applications GUI. |
|
115 |
"/ |
|
116 |
"/ Build Procedure |
|
117 |
"/ All of the three components above can be generated by the packager to provide an initial framework for further work. |
|
118 |
"/ |
|
119 |
"/ After the definition of those classes, all required files are stored in a temporary build directory. This means that the above classes are filed out, and make- and other support files are generated. |
|
120 |
"/ |
|
121 |
"/ Finally, the actual build process is started. This requires an external C-compiler. Under windows, both Borland-C (free download available via the internet) and Microsoft's Visual-C++ (also available for free) can be used. |
|
122 |
"/ |
|
123 |
"/ A self-installing executable is built using the NullSoft NSIS package. This is also required to be installed before the packager is started. |
|
124 |
"/ |
|
125 |
"/ After the build, all required files are packaged in a single install-file. This is called "MyApplicationSetup.exe" and found in the project-specific subdirectory of the build directory. For deployment, this single file has to be delivered to a customer and executed there. |
|
126 |
"/ |
|
127 |
"/ Summary: It has NEVER been easier to create a GUI application. |
|
2668 | 128 |
! ! |
2636 | 129 |
|
2703 | 130 |
!ProjectBuilderAssistantApplication class methodsFor:'assistant pages spec'! |
131 |
||
132 |
assistantSpec |
|
133 |
^ #(Array |
|
134 |
( AssistantPageSpec |
|
135 |
pageTitle: 'Project Type Selection' |
|
136 |
windowSpecSelector: page1_projectTypeSelectionSpec |
|
137 |
enterCallbackSelector: updateListOfMatchingProjects |
|
138 |
infoText: 'Choose the <B>type</B> of project you are about to build.' |
|
139 |
) |
|
140 |
||
141 |
(AssistantPageSpec |
|
142 |
pageTitle: 'ProjectDefinition Selection' |
|
143 |
windowSpecSelector: page2_projectSelectionSpec |
|
144 |
enterCallbackSelector: updateListOfMatchingProjects |
|
145 |
infoText: 'Choose an existing project definition or create a new one. |
|
146 |
These are subclasses of <I>ProjectDefinition</I> and define the |
|
147 |
type and contents of a project.' |
|
148 |
) |
|
149 |
||
150 |
(AssistantPageSpec |
|
151 |
pageTitle: 'Startup Application Selection' |
|
152 |
windowSpecSelector: page3_applicationSelectionSpec |
|
153 |
isEnabledQuerySelector: #projectTypeIsGuiApplication |
|
154 |
canEnterQuerySelector: #canEnterApplicationSelection |
|
155 |
enterCallbackSelector: updateListOfApplicationsInProject |
|
156 |
infoText: 'Choose an existing application or create a new one. |
|
157 |
These are subclasses of <I>ApplicationModel</I> and define |
|
158 |
the GUI and control flow inside the application. |
|
159 |
Can also be left blank if the startup class does it all (stx build).' |
|
160 |
) |
|
161 |
||
162 |
(AssistantPageSpec |
|
163 |
pageTitle: 'Startup Class Selection' |
|
164 |
windowSpecSelector: page4_startupClassSelectionSpec |
|
165 |
isEnabledQuerySelector: #projectTypeIsNotLibrary |
|
166 |
canEnterQuerySelector: #canEnterStartupClassSelection |
|
167 |
enterCallbackSelector: updateListOfStartupClassesInProject |
|
168 |
infoText: 'Choose an existing startup-class or create a new one. |
|
169 |
These are subclasses of <I>StandaloneStartup</I> and |
|
170 |
start the application. Command line arguments can be |
|
171 |
interpreted there.' |
|
172 |
) |
|
173 |
||
174 |
(AssistantPageSpec |
|
175 |
pageTitle: 'Specify Contents' |
|
176 |
windowSpecSelector: page5_specifyIncludedClasses |
|
177 |
enterCallbackSelector: enterContentsSpecification |
|
178 |
canEnterQuerySelector: #canEnterContentsSelection |
|
179 |
infoText: 'Define which (other) classes are to be included. |
|
180 |
Press "<I>Scan</I>" to include all classes of the package; |
|
181 |
browse to edit the contents manually.' |
|
182 |
) |
|
183 |
||
184 |
(AssistantPageSpec |
|
2724 | 185 |
pageTitle: 'Specify Project Attributes' |
186 |
windowSpecSelector: page6a_specifyProjectAttributes |
|
187 |
infoText: 'Define additional attributes.' |
|
188 |
enterCallbackSelector: updateProjectAttributes |
|
189 |
leaveCallbackSelector: #rememberProjectAttributes |
|
190 |
) |
|
191 |
||
192 |
(AssistantPageSpec |
|
2703 | 193 |
pageTitle: 'Specify Build Directory' |
2724 | 194 |
windowSpecSelector: page6b_specifyBuildDirectorySpec |
2703 | 195 |
infoText: 'Define where the build-process is to be performed. |
196 |
All generated files are created below that directory. |
|
197 |
After deployment, the build directory is no longer needed |
|
198 |
(but you can keep it for a faster compile the next time).' |
|
2724 | 199 |
|
200 |
enterCallbackSelector: #checkCompilerAvailability |
|
2703 | 201 |
) |
202 |
||
203 |
(AssistantPageSpec |
|
204 |
pageTitle: 'Build' |
|
205 |
windowSpecSelector: page7_buildSpec |
|
206 |
canEnterQuerySelector: #canEnterBuild |
|
207 |
enterCallbackSelector: #restoreMakeOutputsContents |
|
208 |
leaveCallbackSelector: #rememberMakeOutputsContents |
|
209 |
infoText: 'Start the build-process. This will run make/bcc to compile |
|
210 |
all required classes and nsis to generate a self-installable |
|
211 |
executable. You must have the borland-cc and NullSoft NSIS |
|
212 |
packages installed for this to work.' |
|
213 |
) |
|
214 |
||
215 |
(AssistantPageSpec |
|
216 |
pageTitle: 'Deploy' |
|
217 |
windowSpecSelector: page8_deploySpec |
|
218 |
canEnterQuerySelector: #canEnterDeploy |
|
219 |
infoText: 'Find the installer to be deployed (or test-run the binary). |
|
220 |
You can open a WindowsExplorer there to copy the files for |
|
221 |
deployment. After that, the build directory is no longer needed |
|
222 |
(but you can keep it for a faster compile the next time).' |
|
223 |
) |
|
224 |
) decodeAsLiteralArray. |
|
225 |
! ! |
|
226 |
||
2670 | 227 |
!ProjectBuilderAssistantApplication class methodsFor:'defaults'! |
228 |
||
229 |
defaultIcon |
|
230 |
^ ToolbarIconLibrary projectBuilderIcon |
|
231 |
! |
|
232 |
||
233 |
windowLabelTemplate |
|
234 |
^ 'ST/X Packager: %1' |
|
235 |
! ! |
|
236 |
||
2703 | 237 |
!ProjectBuilderAssistantApplication class methodsFor:'help'! |
238 |
||
239 |
flyByHelpSpec |
|
240 |
<resource: #help> |
|
241 |
||
242 |
^ super flyByHelpSpec addPairsFrom:#( |
|
243 |
||
2706 | 244 |
#'projectType' |
245 |
'Choose the type of Project you are about to deploy.' |
|
246 |
||
247 |
#existingProjects |
|
248 |
'Projects with an existing ProjectDefinition of the chosen type (above).' |
|
2703 | 249 |
|
2706 | 250 |
#browseSelectedProject |
251 |
'Open a SystemBrowser on the selected Project.' |
|
252 |
||
253 |
#hideSTXBasePackages |
|
254 |
'Only show packages which are not already included in the basic ST/X delivery.' |
|
2703 | 255 |
|
256 |
#'listOfNewProjectsName' |
|
2706 | 257 |
'PackageID (module:directory). |
258 |
The pull-down list contains packageIDs for which no ProjectDefinition exists (yet).' |
|
259 |
||
260 |
#'createNewProject' |
|
261 |
'PackageID (module:directory). |
|
262 |
Click to create a new (empty) ProjectDefinition for the given PackageID.' |
|
2703 | 263 |
|
264 |
) |
|
265 |
! ! |
|
266 |
||
2636 | 267 |
!ProjectBuilderAssistantApplication class methodsFor:'interface specs'! |
268 |
||
2645 | 269 |
page1_projectTypeSelectionSpec |
2636 | 270 |
"This resource specification was automatically generated |
271 |
by the UIPainter of ST/X." |
|
272 |
||
273 |
"Do not manually edit this!! If it is corrupted, |
|
274 |
the UIPainter may not be able to read the specification." |
|
275 |
||
276 |
" |
|
2648 | 277 |
UIPainter new openOnClass:Tools::ProjectBuilderAssistantApplication andSelector:#page1_projectTypeSelectionSpec |
278 |
Tools::ProjectBuilderAssistantApplication new openInterface:#page1_projectTypeSelectionSpec |
|
2636 | 279 |
" |
280 |
||
281 |
<resource: #canvas> |
|
282 |
||
283 |
^ |
|
284 |
#(FullSpec |
|
2645 | 285 |
name: #'page1_projectTypeSelectionSpec' |
2636 | 286 |
window: |
287 |
(WindowSpec |
|
288 |
label: 'Project Selection' |
|
289 |
name: 'Project Selection' |
|
290 |
min: (Point 0 0) |
|
291 |
bounds: (Rectangle 0 0 626 394) |
|
292 |
) |
|
293 |
component: |
|
294 |
(SpecCollection |
|
295 |
collection: ( |
|
296 |
(FramedBoxSpec |
|
2706 | 297 |
label: 'Project Type' |
2636 | 298 |
name: 'FramedBox1' |
2698
64d179f1eae7
changed: #page1_projectTypeSelectionSpec
Claus Gittinger <cg@exept.de>
parents:
2697
diff
changeset
|
299 |
layout: (LayoutFrame 0 0.0 0 0 4 1.0 120 0) |
2706 | 300 |
activeHelpKey: projectType |
2636 | 301 |
labelPosition: topLeft |
302 |
translateLabel: true |
|
303 |
component: |
|
304 |
(SpecCollection |
|
305 |
collection: ( |
|
306 |
(VerticalPanelViewSpec |
|
307 |
name: 'VerticalPanel1' |
|
308 |
layout: (LayoutFrame 0 0.0 0 0.0 0 1.0 0 1.0) |
|
309 |
horizontalLayout: leftSpace |
|
310 |
verticalLayout: topSpace |
|
311 |
horizontalSpace: 3 |
|
312 |
verticalSpace: 3 |
|
313 |
component: |
|
314 |
(SpecCollection |
|
315 |
collection: ( |
|
316 |
(ViewSpec |
|
317 |
name: 'Box1' |
|
318 |
extent: (Point 10 10) |
|
319 |
) |
|
320 |
(RadioButtonSpec |
|
321 |
label: 'GUI Application' |
|
322 |
name: 'RadioButton1' |
|
323 |
translateLabel: true |
|
2659 | 324 |
model: projectTypeHolder |
2636 | 325 |
isTriggerOnDown: true |
326 |
onCallBackSelector: projectTypeChanged |
|
327 |
select: guiApplicationType |
|
328 |
extent: (Point 136 22) |
|
329 |
) |
|
330 |
(RadioButtonSpec |
|
331 |
label: 'Non-GUI Application' |
|
332 |
name: 'RadioButton2' |
|
333 |
translateLabel: true |
|
2659 | 334 |
model: projectTypeHolder |
2636 | 335 |
isTriggerOnDown: true |
336 |
onCallBackSelector: projectTypeChanged |
|
337 |
select: nonGuiApplicationType |
|
338 |
extent: (Point 136 22) |
|
339 |
) |
|
340 |
(RadioButtonSpec |
|
341 |
label: 'Class Library' |
|
342 |
name: 'RadioButton3' |
|
343 |
translateLabel: true |
|
2659 | 344 |
model: projectTypeHolder |
2636 | 345 |
isTriggerOnDown: true |
346 |
onCallBackSelector: projectTypeChanged |
|
347 |
select: libraryType |
|
348 |
extent: (Point 136 22) |
|
349 |
) |
|
350 |
) |
|
351 |
||
352 |
) |
|
353 |
) |
|
354 |
) |
|
355 |
||
356 |
) |
|
357 |
) |
|
358 |
(FramedBoxSpec |
|
2726
7263301b5216
changed: #page1_projectTypeSelectionSpec
Claus Gittinger <cg@exept.de>
parents:
2725
diff
changeset
|
359 |
label: 'Existing Projects of this Type (PackageIDs)' |
2636 | 360 |
name: 'FramedBox2' |
2698
64d179f1eae7
changed: #page1_projectTypeSelectionSpec
Claus Gittinger <cg@exept.de>
parents:
2697
diff
changeset
|
361 |
layout: (LayoutFrame 0 0.0 123 0 4 1.0 0 1) |
2706 | 362 |
activeHelpKey: existingProjects |
2636 | 363 |
labelPosition: topLeft |
364 |
translateLabel: true |
|
365 |
component: |
|
366 |
(SpecCollection |
|
367 |
collection: ( |
|
368 |
(VariableHorizontalPanelSpec |
|
369 |
name: 'VariableHorizontalPanel1' |
|
370 |
layout: (LayoutFrame 0 0 4 0 0 1 -26 1) |
|
371 |
component: |
|
372 |
(SpecCollection |
|
373 |
collection: ( |
|
374 |
(SequenceViewSpec |
|
375 |
name: 'List1' |
|
376 |
model: selectedProjectIndexHolder |
|
377 |
hasHorizontalScrollBar: true |
|
378 |
hasVerticalScrollBar: true |
|
379 |
useIndex: true |
|
2686
5a19c21dada0
ensure starup and application are in the classList of the projectDef
Claus Gittinger <cg@exept.de>
parents:
2685
diff
changeset
|
380 |
sequenceList: listOfMatchingPackageIds |
2636 | 381 |
) |
382 |
(TextEditorSpec |
|
383 |
name: 'TextEditor1' |
|
384 |
model: selectedProjectsComment |
|
385 |
hasHorizontalScrollBar: true |
|
386 |
hasVerticalScrollBar: true |
|
387 |
isReadOnly: true |
|
388 |
hasKeyboardFocusInitially: false |
|
389 |
) |
|
390 |
) |
|
391 |
||
392 |
) |
|
393 |
handles: (Any 0.34560327198364 1.0) |
|
394 |
) |
|
395 |
(CheckBoxSpec |
|
396 |
label: 'Hide ST/X Base Packages' |
|
397 |
name: 'CheckBox1' |
|
2659 | 398 |
layout: (LayoutFrame -1 0 -18 1 0 1 4 1) |
2706 | 399 |
activeHelpKey: hideSTXBasePackages |
2636 | 400 |
model: hideSTXProjects |
401 |
translateLabel: true |
|
402 |
) |
|
403 |
) |
|
404 |
||
405 |
) |
|
406 |
) |
|
407 |
) |
|
408 |
||
409 |
) |
|
410 |
) |
|
411 |
! |
|
412 |
||
2645 | 413 |
page2_projectSelectionSpec |
2636 | 414 |
"This resource specification was automatically generated |
415 |
by the UIPainter of ST/X." |
|
416 |
||
417 |
"Do not manually edit this!! If it is corrupted, |
|
418 |
the UIPainter may not be able to read the specification." |
|
419 |
||
420 |
" |
|
2648 | 421 |
UIPainter new openOnClass:Tools::ProjectBuilderAssistantApplication andSelector:#page2_projectSelectionSpec |
422 |
Tools::ProjectBuilderAssistantApplication new openInterface:#page2_projectSelectionSpec |
|
2636 | 423 |
" |
424 |
||
425 |
<resource: #canvas> |
|
426 |
||
427 |
^ |
|
428 |
#(FullSpec |
|
2645 | 429 |
name: #'page2_projectSelectionSpec' |
2636 | 430 |
window: |
431 |
(WindowSpec |
|
432 |
label: 'Project Selection' |
|
433 |
name: 'Project Selection' |
|
434 |
min: (Point 0 0) |
|
435 |
bounds: (Rectangle 0 0 521 453) |
|
436 |
) |
|
437 |
component: |
|
438 |
(SpecCollection |
|
439 |
collection: ( |
|
440 |
(FramedBoxSpec |
|
2706 | 441 |
label: 'New Project''s PackageID' |
2636 | 442 |
name: 'FramedBox3' |
443 |
layout: (LayoutFrame 0 0.0 5 0 4 1.0 72 0) |
|
444 |
labelPosition: topLeft |
|
445 |
translateLabel: true |
|
446 |
component: |
|
447 |
(SpecCollection |
|
448 |
collection: ( |
|
2706 | 449 |
(ExtendedComboBoxSpec |
450 |
name: 'NewProjectsNameListExtendedComboBox' |
|
451 |
layout: (LayoutFrame 1 0 6 0 -113 1 28 0) |
|
452 |
model: newProjectsName |
|
453 |
readOnly: false |
|
454 |
miniScrollerHorizontal: true |
|
455 |
postBuildCallback: postBuildNewProjectsNameListExtendedComboBox: |
|
456 |
activeHelpKey: listOfNewProjectsName |
|
457 |
) |
|
2636 | 458 |
(ActionButtonSpec |
459 |
label: 'Create' |
|
460 |
name: 'Button1' |
|
2659 | 461 |
layout: (LayoutFrame -100 1 6 0 2 1 28 0) |
2636 | 462 |
translateLabel: true |
463 |
model: createNewProject |
|
2703 | 464 |
activeHelpKey: createNewProject |
2706 | 465 |
|
2636 | 466 |
) |
2706 | 467 |
|
2636 | 468 |
) |
469 |
||
470 |
) |
|
471 |
) |
|
472 |
(FramedBoxSpec |
|
2706 | 473 |
label: 'Existing Projects with ProjectDefinition' |
2636 | 474 |
name: 'FramedBox4' |
2648 | 475 |
layout: (LayoutFrame 0 0.0 70 0 4 1.0 -30 1) |
2636 | 476 |
labelPosition: topLeft |
477 |
translateLabel: true |
|
478 |
component: |
|
479 |
(SpecCollection |
|
480 |
collection: ( |
|
481 |
(VariableHorizontalPanelSpec |
|
482 |
name: 'VariableHorizontalPanel2' |
|
483 |
layout: (LayoutFrame 0 0 4 0 0 1 -26 1) |
|
484 |
component: |
|
485 |
(SpecCollection |
|
486 |
collection: ( |
|
487 |
(SequenceViewSpec |
|
488 |
name: 'List2' |
|
489 |
model: selectedProjectIndexHolder |
|
490 |
hasHorizontalScrollBar: true |
|
491 |
hasVerticalScrollBar: true |
|
492 |
useIndex: true |
|
2686
5a19c21dada0
ensure starup and application are in the classList of the projectDef
Claus Gittinger <cg@exept.de>
parents:
2685
diff
changeset
|
493 |
sequenceList: listOfMatchingPackageIds |
2636 | 494 |
) |
495 |
(TextEditorSpec |
|
496 |
name: 'TextEditor2' |
|
497 |
model: selectedProjectsComment |
|
498 |
hasHorizontalScrollBar: true |
|
499 |
hasVerticalScrollBar: true |
|
500 |
isReadOnly: true |
|
501 |
hasKeyboardFocusInitially: false |
|
502 |
viewClassName: 'TextView' |
|
503 |
) |
|
504 |
) |
|
505 |
||
506 |
) |
|
507 |
handles: (Any 0.34560327198364 1.0) |
|
508 |
) |
|
509 |
(CheckBoxSpec |
|
510 |
label: 'Hide ST/X Base Packages' |
|
511 |
name: 'CheckBox1' |
|
2659 | 512 |
layout: (LayoutFrame -1 0 -17 1 0 1 5 1) |
2636 | 513 |
model: hideSTXProjects |
514 |
translateLabel: true |
|
2706 | 515 |
activeHelpKey: hideSTXBasePackages |
2636 | 516 |
) |
517 |
) |
|
518 |
||
519 |
) |
|
520 |
) |
|
2648 | 521 |
(HorizontalPanelViewSpec |
522 |
name: 'HorizontalPanel1' |
|
523 |
layout: (LayoutFrame 0 0 -30 1 0 1 0 1) |
|
524 |
horizontalLayout: leftSpace |
|
525 |
verticalLayout: center |
|
526 |
horizontalSpace: 3 |
|
527 |
verticalSpace: 3 |
|
528 |
component: |
|
529 |
(SpecCollection |
|
530 |
collection: ( |
|
531 |
(ActionButtonSpec |
|
532 |
label: 'Browse Selected Project' |
|
533 |
name: 'Button3' |
|
534 |
translateLabel: true |
|
535 |
model: doBrowseProject |
|
2659 | 536 |
enableChannel: hasProjectSelectedHolder |
2648 | 537 |
extent: (Point 180 22) |
2706 | 538 |
activeHelpKey: browseSelectedProject |
2648 | 539 |
) |
540 |
) |
|
541 |
||
542 |
) |
|
2636 | 543 |
) |
544 |
) |
|
545 |
||
546 |
) |
|
547 |
) |
|
548 |
! |
|
549 |
||
2645 | 550 |
page3_applicationSelectionSpec |
2636 | 551 |
"This resource specification was automatically generated |
552 |
by the UIPainter of ST/X." |
|
553 |
||
554 |
"Do not manually edit this!! If it is corrupted, |
|
555 |
the UIPainter may not be able to read the specification." |
|
556 |
||
557 |
" |
|
2648 | 558 |
UIPainter new openOnClass:Tools::ProjectBuilderAssistantApplication andSelector:#page3_applicationSelectionSpec |
559 |
Tools::ProjectBuilderAssistantApplication new openInterface:#page3_applicationSelectionSpec |
|
2636 | 560 |
" |
561 |
||
562 |
<resource: #canvas> |
|
563 |
||
564 |
^ |
|
565 |
#(FullSpec |
|
2645 | 566 |
name: #'page3_applicationSelectionSpec' |
2636 | 567 |
window: |
568 |
(WindowSpec |
|
569 |
label: 'Application Selection' |
|
570 |
name: 'Application Selection' |
|
571 |
min: (Point 0 0) |
|
2671 | 572 |
bounds: (Rectangle 0 0 519 406) |
2636 | 573 |
) |
574 |
component: |
|
575 |
(SpecCollection |
|
576 |
collection: ( |
|
577 |
(FramedBoxSpec |
|
2725 | 578 |
label: 'New Application Class' |
2636 | 579 |
name: 'FramedBox3' |
2725 | 580 |
layout: (LayoutFrame 0 0.0 5 0 4 1.0 70 0) |
2636 | 581 |
labelPosition: topLeft |
582 |
translateLabel: true |
|
583 |
component: |
|
584 |
(SpecCollection |
|
585 |
collection: ( |
|
586 |
(InputFieldSpec |
|
587 |
name: 'EntryField1' |
|
2659 | 588 |
layout: (LayoutFrame 1 0 6 0 -113 1 28 0) |
2636 | 589 |
model: newApplicationsName |
590 |
acceptOnReturn: true |
|
591 |
acceptOnTab: true |
|
2693 | 592 |
acceptOnLostFocus: true |
2636 | 593 |
acceptOnPointerLeave: true |
594 |
emptyFieldReplacementText: 'MyApplication' |
|
595 |
) |
|
596 |
(ActionButtonSpec |
|
597 |
label: 'Create' |
|
598 |
name: 'Button1' |
|
2659 | 599 |
layout: (LayoutFrame -100 1 6 0 1 1 28 0) |
2636 | 600 |
translateLabel: true |
601 |
model: createNewApplication |
|
602 |
) |
|
603 |
) |
|
604 |
||
605 |
) |
|
606 |
) |
|
607 |
(FramedBoxSpec |
|
608 |
label: 'Existing Applications' |
|
609 |
name: 'FramedBox4' |
|
2725 | 610 |
layout: (LayoutFrame 0 0.0 72 0 4 1.0 -30 1) |
2636 | 611 |
labelPosition: topLeft |
612 |
translateLabel: true |
|
613 |
component: |
|
614 |
(SpecCollection |
|
615 |
collection: ( |
|
616 |
(VariableHorizontalPanelSpec |
|
617 |
name: 'VariableHorizontalPanel2' |
|
2671 | 618 |
layout: (LayoutFrame 0 0 4 0 0 1 -26 1) |
2636 | 619 |
component: |
620 |
(SpecCollection |
|
621 |
collection: ( |
|
622 |
(SequenceViewSpec |
|
623 |
name: 'List2' |
|
624 |
model: selectedApplicationIndexHolder |
|
625 |
hasHorizontalScrollBar: true |
|
626 |
hasVerticalScrollBar: true |
|
627 |
useIndex: true |
|
628 |
sequenceList: listOfApplicationsInProject |
|
2671 | 629 |
ignoreReselect: false |
2636 | 630 |
) |
631 |
(TextEditorSpec |
|
632 |
name: 'TextEditor2' |
|
633 |
model: selectedApplicationsComment |
|
634 |
hasHorizontalScrollBar: true |
|
635 |
hasVerticalScrollBar: true |
|
636 |
isReadOnly: true |
|
637 |
hasKeyboardFocusInitially: false |
|
638 |
viewClassName: 'TextView' |
|
639 |
) |
|
640 |
) |
|
641 |
||
642 |
) |
|
643 |
handles: (Any 0.34560327198364 1.0) |
|
644 |
) |
|
2671 | 645 |
(CheckBoxSpec |
646 |
label: 'Hide other Application Classes' |
|
647 |
name: 'CheckBox1' |
|
648 |
layout: (LayoutFrame -1 0 -18 1 0 1 4 1) |
|
649 |
model: hideOtherApplicationClasses |
|
650 |
translateLabel: true |
|
651 |
) |
|
2636 | 652 |
) |
653 |
||
654 |
) |
|
655 |
) |
|
2648 | 656 |
(HorizontalPanelViewSpec |
657 |
name: 'HorizontalPanel1' |
|
658 |
layout: (LayoutFrame 0 0 -30 1 0 1 0 1) |
|
659 |
horizontalLayout: leftSpace |
|
660 |
verticalLayout: center |
|
661 |
horizontalSpace: 3 |
|
662 |
verticalSpace: 3 |
|
663 |
component: |
|
664 |
(SpecCollection |
|
665 |
collection: ( |
|
666 |
(ActionButtonSpec |
|
667 |
label: 'Browse Selected Application' |
|
668 |
name: 'Button3' |
|
669 |
translateLabel: true |
|
670 |
model: doBrowseApplication |
|
2659 | 671 |
enableChannel: hasApplicationSelectedHolder |
672 |
extent: (Point 180 22) |
|
673 |
) |
|
674 |
(ActionButtonSpec |
|
675 |
label: 'Launch Selected Application' |
|
676 |
name: 'Button4' |
|
677 |
translateLabel: true |
|
678 |
model: doLaunchApplication |
|
679 |
enableChannel: hasApplicationSelectedHolder |
|
2648 | 680 |
extent: (Point 180 22) |
681 |
) |
|
682 |
) |
|
683 |
||
684 |
) |
|
2636 | 685 |
) |
686 |
) |
|
687 |
||
688 |
) |
|
689 |
) |
|
690 |
! |
|
691 |
||
2656 | 692 |
page4_startupClassSelectionSpec |
2636 | 693 |
"This resource specification was automatically generated |
694 |
by the UIPainter of ST/X." |
|
695 |
||
696 |
"Do not manually edit this!! If it is corrupted, |
|
697 |
the UIPainter may not be able to read the specification." |
|
698 |
||
699 |
" |
|
2656 | 700 |
UIPainter new openOnClass:Tools::ProjectBuilderAssistantApplication andSelector:#page4_startupClassSelectionSpec |
701 |
Tools::ProjectBuilderAssistantApplication new openInterface:#page4_startupClassSelectionSpec |
|
2636 | 702 |
" |
703 |
||
704 |
<resource: #canvas> |
|
705 |
||
706 |
^ |
|
707 |
#(FullSpec |
|
2656 | 708 |
name: #'page4_startupClassSelectionSpec' |
709 |
window: |
|
710 |
(WindowSpec |
|
711 |
label: 'Startup Class Selection' |
|
712 |
name: 'Startup Class Selection' |
|
713 |
min: (Point 0 0) |
|
714 |
bounds: (Rectangle 0 0 521 408) |
|
715 |
) |
|
716 |
component: |
|
717 |
(SpecCollection |
|
718 |
collection: ( |
|
719 |
(FramedBoxSpec |
|
2725 | 720 |
label: 'New Startup Class' |
2656 | 721 |
name: 'FramedBox3' |
2725 | 722 |
layout: (LayoutFrame 0 0.0 5 0 4 1.0 70 0) |
2656 | 723 |
labelPosition: topLeft |
724 |
translateLabel: true |
|
725 |
component: |
|
726 |
(SpecCollection |
|
727 |
collection: ( |
|
728 |
(InputFieldSpec |
|
729 |
name: 'EntryField1' |
|
2659 | 730 |
layout: (LayoutFrame 1 0 6 0 -113 1 28 0) |
2656 | 731 |
model: newStartupClassName |
732 |
acceptOnReturn: true |
|
733 |
acceptOnTab: true |
|
2693 | 734 |
acceptOnLostFocus: true |
2656 | 735 |
acceptOnPointerLeave: true |
736 |
emptyFieldReplacementText: 'MyStandAloneStartup' |
|
737 |
) |
|
738 |
(ActionButtonSpec |
|
739 |
label: 'Create' |
|
740 |
name: 'Button1' |
|
2659 | 741 |
layout: (LayoutFrame -100 1 6 0 1 1 28 0) |
2656 | 742 |
translateLabel: true |
743 |
model: createNewStartupClass |
|
744 |
) |
|
745 |
) |
|
746 |
||
747 |
) |
|
748 |
) |
|
749 |
(FramedBoxSpec |
|
2725 | 750 |
label: 'Existing Startup Classes' |
2656 | 751 |
name: 'FramedBox4' |
2725 | 752 |
layout: (LayoutFrame 0 0.0 72 0 4 1.0 -30 1) |
2656 | 753 |
labelPosition: topLeft |
754 |
translateLabel: true |
|
755 |
component: |
|
756 |
(SpecCollection |
|
757 |
collection: ( |
|
758 |
(VariableHorizontalPanelSpec |
|
759 |
name: 'VariableHorizontalPanel2' |
|
2671 | 760 |
layout: (LayoutFrame 0 0 4 0 0 1 -26 1) |
2656 | 761 |
component: |
762 |
(SpecCollection |
|
763 |
collection: ( |
|
764 |
(SequenceViewSpec |
|
765 |
name: 'List2' |
|
766 |
model: selectedStartupClassIndexHolder |
|
767 |
hasHorizontalScrollBar: true |
|
768 |
hasVerticalScrollBar: true |
|
769 |
useIndex: true |
|
770 |
sequenceList: listOfStartupClassesInProject |
|
771 |
) |
|
772 |
(TextEditorSpec |
|
773 |
name: 'TextEditor2' |
|
774 |
model: selectedStartupClassesComment |
|
775 |
hasHorizontalScrollBar: true |
|
776 |
hasVerticalScrollBar: true |
|
777 |
isReadOnly: true |
|
778 |
hasKeyboardFocusInitially: false |
|
779 |
viewClassName: 'TextView' |
|
780 |
) |
|
781 |
) |
|
782 |
||
783 |
) |
|
784 |
handles: (Any 0.34560327198364 1.0) |
|
785 |
) |
|
2671 | 786 |
(CheckBoxSpec |
787 |
label: 'Hide other Startup Classes' |
|
788 |
name: 'CheckBox1' |
|
789 |
layout: (LayoutFrame -1 0 -20 1 0 1 2 1) |
|
790 |
model: hideOtherStartupClasses |
|
791 |
translateLabel: true |
|
792 |
) |
|
2656 | 793 |
) |
794 |
||
795 |
) |
|
796 |
) |
|
797 |
(HorizontalPanelViewSpec |
|
798 |
name: 'HorizontalPanel1' |
|
799 |
layout: (LayoutFrame 0 0 -30 1 0 1 0 1) |
|
800 |
horizontalLayout: leftSpace |
|
801 |
verticalLayout: center |
|
802 |
horizontalSpace: 3 |
|
803 |
verticalSpace: 3 |
|
804 |
component: |
|
805 |
(SpecCollection |
|
806 |
collection: ( |
|
807 |
(ActionButtonSpec |
|
808 |
label: 'Browse Selected StartupClass' |
|
809 |
name: 'Button3' |
|
810 |
translateLabel: true |
|
811 |
model: doBrowseStartupClass |
|
2659 | 812 |
enableChannel: hasStartupClassSelectedHolder |
2656 | 813 |
extent: (Point 180 22) |
814 |
) |
|
815 |
) |
|
816 |
||
817 |
) |
|
818 |
) |
|
819 |
) |
|
820 |
||
821 |
) |
|
822 |
) |
|
823 |
! |
|
824 |
||
825 |
page5_specifyIncludedClasses |
|
826 |
"This resource specification was automatically generated |
|
827 |
by the UIPainter of ST/X." |
|
828 |
||
829 |
"Do not manually edit this!! If it is corrupted, |
|
830 |
the UIPainter may not be able to read the specification." |
|
831 |
||
832 |
" |
|
833 |
UIPainter new openOnClass:Tools::ProjectBuilderAssistantApplication andSelector:#page5_specifyIncludedClasses |
|
834 |
Tools::ProjectBuilderAssistantApplication new openInterface:#page5_specifyIncludedClasses |
|
835 |
" |
|
836 |
||
837 |
<resource: #canvas> |
|
838 |
||
839 |
^ |
|
840 |
#(FullSpec |
|
841 |
name: #'page5_specifyIncludedClasses' |
|
2636 | 842 |
window: |
843 |
(WindowSpec |
|
844 |
label: 'Project Selection' |
|
845 |
name: 'Project Selection' |
|
846 |
min: (Point 0 0) |
|
847 |
bounds: (Rectangle 0 0 521 400) |
|
848 |
) |
|
849 |
component: |
|
850 |
(SpecCollection |
|
851 |
collection: ( |
|
852 |
(FramedBoxSpec |
|
853 |
label: 'Project Contents' |
|
854 |
name: 'FramedBox3' |
|
2648 | 855 |
layout: (LayoutFrame 0 0.0 5 0 4 1.0 -30 1) |
2636 | 856 |
labelPosition: topLeft |
857 |
translateLabel: true |
|
858 |
component: |
|
859 |
(SpecCollection |
|
860 |
collection: ( |
|
861 |
(SequenceViewSpec |
|
862 |
name: 'List1' |
|
863 |
layout: (LayoutFrame 0 0 0 0 0 1 0 1) |
|
864 |
initiallyDisabled: true |
|
865 |
hasHorizontalScrollBar: true |
|
866 |
hasVerticalScrollBar: true |
|
867 |
useIndex: false |
|
868 |
sequenceList: listOfClassesInProject |
|
869 |
) |
|
870 |
) |
|
871 |
||
872 |
) |
|
873 |
) |
|
2648 | 874 |
(HorizontalPanelViewSpec |
875 |
name: 'HorizontalPanel1' |
|
876 |
layout: (LayoutFrame 0 0 -30 1 0 1 0 1) |
|
877 |
horizontalLayout: center |
|
878 |
verticalLayout: center |
|
879 |
horizontalSpace: 3 |
|
880 |
verticalSpace: 3 |
|
881 |
component: |
|
882 |
(SpecCollection |
|
883 |
collection: ( |
|
884 |
(ActionButtonSpec |
|
885 |
label: 'Browse Project Definition' |
|
886 |
name: 'Button3' |
|
887 |
translateLabel: true |
|
2659 | 888 |
model: doBrowseProjectDefinitionClass |
2648 | 889 |
extent: (Point 180 22) |
890 |
) |
|
891 |
(ActionButtonSpec |
|
892 |
label: 'Update Contents (Scan)' |
|
893 |
name: 'Button4' |
|
894 |
translateLabel: true |
|
895 |
model: doGenerateProjectContentsDefinition |
|
896 |
extent: (Point 180 22) |
|
897 |
) |
|
898 |
) |
|
899 |
||
900 |
) |
|
2636 | 901 |
) |
902 |
) |
|
903 |
||
904 |
) |
|
905 |
) |
|
906 |
! |
|
907 |
||
2724 | 908 |
page6a_specifyProjectAttributes |
2636 | 909 |
"This resource specification was automatically generated |
910 |
by the UIPainter of ST/X." |
|
911 |
||
912 |
"Do not manually edit this!! If it is corrupted, |
|
913 |
the UIPainter may not be able to read the specification." |
|
914 |
||
915 |
" |
|
2724 | 916 |
UIPainter new openOnClass:Tools::ProjectBuilderAssistantApplication andSelector:#page6a_specifyProjectAttributes |
917 |
Tools::ProjectBuilderAssistantApplication new openInterface:#page6a_specifyProjectAttributes |
|
2636 | 918 |
" |
919 |
||
920 |
<resource: #canvas> |
|
921 |
||
922 |
^ |
|
923 |
#(FullSpec |
|
2724 | 924 |
name: #'page6a_specifyProjectAttributes' |
2636 | 925 |
window: |
926 |
(WindowSpec |
|
927 |
label: 'Project Selection' |
|
928 |
name: 'Project Selection' |
|
929 |
min: (Point 0 0) |
|
2681 | 930 |
bounds: (Rectangle 0 0 521 239) |
2636 | 931 |
) |
932 |
component: |
|
933 |
(SpecCollection |
|
934 |
collection: ( |
|
935 |
(FramedBoxSpec |
|
2724 | 936 |
label: 'Product Information' |
937 |
name: 'FramedBox3' |
|
938 |
layout: (LayoutFrame 0 0.0 5 0 4 1.0 101 0) |
|
939 |
labelPosition: topLeft |
|
940 |
translateLabel: true |
|
941 |
component: |
|
942 |
(SpecCollection |
|
943 |
collection: ( |
|
944 |
(LabelSpec |
|
945 |
label: 'Product Name:' |
|
946 |
name: 'Label1' |
|
947 |
layout: (LayoutFrame 0 0 10 0 148 0 32 0) |
|
948 |
translateLabel: true |
|
949 |
adjust: right |
|
950 |
) |
|
951 |
(InputFieldSpec |
|
952 |
name: 'EntryField4' |
|
953 |
layout: (LayoutFrame 150 0.0 10 0 0 1.0 32 0) |
|
954 |
model: productNameHolder |
|
955 |
acceptOnLostFocus: true |
|
956 |
acceptOnPointerLeave: true |
|
957 |
viewClassName: '' |
|
958 |
) |
|
959 |
(LabelSpec |
|
960 |
label: 'Company Name:' |
|
961 |
name: 'Label2' |
|
962 |
layout: (LayoutFrame 0 0 39 0 148 0 61 0) |
|
963 |
translateLabel: true |
|
964 |
adjust: right |
|
965 |
) |
|
966 |
(InputFieldSpec |
|
967 |
name: 'EntryField3' |
|
968 |
layout: (LayoutFrame 150 0.0 39 0 0 1.0 61 0) |
|
969 |
model: companyNameHolder |
|
970 |
acceptOnLostFocus: true |
|
971 |
acceptOnPointerLeave: true |
|
972 |
viewClassName: '' |
|
973 |
) |
|
974 |
) |
|
975 |
||
976 |
) |
|
977 |
) |
|
978 |
) |
|
979 |
||
980 |
) |
|
981 |
) |
|
982 |
! |
|
983 |
||
984 |
page6b_specifyBuildDirectorySpec |
|
985 |
"This resource specification was automatically generated |
|
986 |
by the UIPainter of ST/X." |
|
987 |
||
988 |
"Do not manually edit this!! If it is corrupted, |
|
989 |
the UIPainter may not be able to read the specification." |
|
990 |
||
991 |
" |
|
992 |
UIPainter new openOnClass:Tools::ProjectBuilderAssistantApplication andSelector:#page6b_specifyBuildDirectorySpec |
|
993 |
Tools::ProjectBuilderAssistantApplication new openInterface:#page6b_specifyBuildDirectorySpec |
|
994 |
" |
|
995 |
||
996 |
<resource: #canvas> |
|
997 |
||
998 |
^ |
|
999 |
#(FullSpec |
|
1000 |
name: #'page6b_specifyBuildDirectorySpec' |
|
1001 |
window: |
|
1002 |
(WindowSpec |
|
1003 |
label: 'Project Selection' |
|
1004 |
name: 'Project Selection' |
|
1005 |
min: (Point 0 0) |
|
1006 |
bounds: (Rectangle 0 0 521 361) |
|
1007 |
) |
|
1008 |
component: |
|
1009 |
(SpecCollection |
|
1010 |
collection: ( |
|
1011 |
(FramedBoxSpec |
|
2636 | 1012 |
label: 'Build Directory' |
1013 |
name: 'FramedBox3' |
|
1014 |
layout: (LayoutFrame 0 0.0 5 0 4 1.0 79 0) |
|
1015 |
labelPosition: topLeft |
|
1016 |
translateLabel: true |
|
1017 |
component: |
|
1018 |
(SpecCollection |
|
1019 |
collection: ( |
|
1020 |
(FilenameInputFieldSpec |
|
1021 |
name: 'FilenameEntryField1' |
|
1022 |
layout: (LayoutFrame 0 0.0 10 0 0 1.0 32 0) |
|
1023 |
model: buildDirectoryHolder |
|
1024 |
acceptOnPointerLeave: true |
|
1025 |
viewClassName: FilenameWidgetWithHistory |
|
1026 |
) |
|
1027 |
) |
|
1028 |
||
1029 |
) |
|
1030 |
) |
|
2681 | 1031 |
(FramedBoxSpec |
1032 |
label: 'Compiler / Toolchain' |
|
1033 |
name: 'FramedBox4' |
|
1034 |
layout: (LayoutFrame 0 0.0 81 0 4 1.0 155 0) |
|
1035 |
labelPosition: topLeft |
|
1036 |
translateLabel: true |
|
1037 |
component: |
|
1038 |
(SpecCollection |
|
1039 |
collection: ( |
|
1040 |
(ComboListSpec |
|
1041 |
name: 'ComboList1' |
|
1042 |
layout: (LayoutFrame 0 0 10 0 137 0 32 0) |
|
1043 |
model: usedCompilerHolder |
|
1044 |
comboList: listOfPossibleCompilers |
|
1045 |
useIndex: false |
|
1046 |
) |
|
1047 |
) |
|
1048 |
||
1049 |
) |
|
1050 |
) |
|
2724 | 1051 |
(LabelSpec |
1052 |
label: 'Compiler Warn-Label' |
|
1053 |
name: 'Label1' |
|
1054 |
layout: (LayoutFrame 2 0.0 158 0 -2 1.0 303 0) |
|
1055 |
level: -1 |
|
1056 |
visibilityChannel: compilerWarnMessageVisibleHolder |
|
1057 |
backgroundColor: (Color 100.0 49.999237048905 49.999237048905) |
|
1058 |
translateLabel: true |
|
1059 |
labelChannel: compilerWarnMessageHolder |
|
1060 |
adjust: left |
|
1061 |
) |
|
2636 | 1062 |
) |
1063 |
||
1064 |
) |
|
1065 |
) |
|
1066 |
! |
|
1067 |
||
2656 | 1068 |
page7_buildSpec |
2636 | 1069 |
"This resource specification was automatically generated |
1070 |
by the UIPainter of ST/X." |
|
1071 |
||
1072 |
"Do not manually edit this!! If it is corrupted, |
|
1073 |
the UIPainter may not be able to read the specification." |
|
1074 |
||
1075 |
" |
|
2656 | 1076 |
UIPainter new openOnClass:Tools::ProjectBuilderAssistantApplication andSelector:#page7_buildSpec |
1077 |
Tools::ProjectBuilderAssistantApplication new openInterface:#page7_buildSpec |
|
2636 | 1078 |
" |
1079 |
||
1080 |
<resource: #canvas> |
|
1081 |
||
1082 |
^ |
|
1083 |
#(FullSpec |
|
2656 | 1084 |
name: #'page7_buildSpec' |
2636 | 1085 |
window: |
1086 |
(WindowSpec |
|
1087 |
label: 'Project Selection' |
|
1088 |
name: 'Project Selection' |
|
1089 |
min: (Point 0 0) |
|
1090 |
bounds: (Rectangle 0 0 521 472) |
|
1091 |
) |
|
1092 |
component: |
|
1093 |
(SpecCollection |
|
1094 |
collection: ( |
|
1095 |
(FramedBoxSpec |
|
1096 |
label: 'Make Output' |
|
1097 |
name: 'FramedBox3' |
|
2648 | 1098 |
layout: (LayoutFrame 0 0.0 5 0 4 1.0 -30 1) |
2636 | 1099 |
labelPosition: topLeft |
1100 |
translateLabel: true |
|
1101 |
component: |
|
1102 |
(SpecCollection |
|
1103 |
collection: ( |
|
1104 |
(TextEditorSpec |
|
2646 | 1105 |
name: 'MakeOutputWindow' |
2636 | 1106 |
layout: (LayoutFrame 0 0 0 0 0 1 0 1) |
1107 |
model: makeOutputHolder |
|
1108 |
hasHorizontalScrollBar: true |
|
1109 |
hasVerticalScrollBar: true |
|
1110 |
hasKeyboardFocusInitially: false |
|
1111 |
viewClassName: 'TextCollector' |
|
2646 | 1112 |
postBuildCallback: postBuildMakeOutputWindow: |
2636 | 1113 |
) |
1114 |
) |
|
1115 |
||
1116 |
) |
|
1117 |
) |
|
2648 | 1118 |
(HorizontalPanelViewSpec |
1119 |
name: 'HorizontalPanel1' |
|
1120 |
layout: (LayoutFrame 0 0 -30 1 0 1 0 1) |
|
1121 |
horizontalLayout: leftSpace |
|
1122 |
verticalLayout: center |
|
1123 |
horizontalSpace: 3 |
|
1124 |
verticalSpace: 3 |
|
1125 |
component: |
|
1126 |
(SpecCollection |
|
1127 |
collection: ( |
|
1128 |
(ActionButtonSpec |
|
2674 | 1129 |
label: 'Make All' |
2648 | 1130 |
name: 'Button3' |
1131 |
translateLabel: true |
|
2674 | 1132 |
model: doStartMakeAll |
2648 | 1133 |
enableChannel: startMakeButtonEnabled |
1134 |
extent: (Point 107 22) |
|
1135 |
) |
|
1136 |
(ActionButtonSpec |
|
2674 | 1137 |
label: 'Make EXE only' |
1138 |
name: 'Button5' |
|
1139 |
translateLabel: true |
|
1140 |
model: doStartMakeExe |
|
1141 |
enableChannel: startMakeButtonEnabled |
|
1142 |
extent: (Point 107 22) |
|
1143 |
) |
|
1144 |
(ViewSpec |
|
1145 |
name: 'Box1' |
|
1146 |
extent: (Point 20 10) |
|