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