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