Tools__NewClassWizardDialog.st
author Jan Vrany <jan.vrany@fit.cvut.cz>
Wed, 19 Jul 2017 09:42:32 +0200
branchjv
changeset 17619 edb119820fcb
parent 17379 028adf14bc05
permissions -rw-r--r--
Issue #154: Set window style using `#beToolWindow` to indicate that the minirunner window is kind of support tool rather than some X11 specific code (which does not work on Windows of course) See https://swing.fit.cvut.cz/projects/stx-jv/ticket/154
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
9195
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
     1
"
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
     2
 COPYRIGHT (c) 2009 by eXept Software AG
9216
cc5c43784db2 category
Claus Gittinger <cg@exept.de>
parents: 9211
diff changeset
     3
              All Rights Reserved
9195
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
     4
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
     5
 This software is furnished under a license and may be used
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
     6
 only in accordance with the terms of that license and with the
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
     7
 inclusion of the above copyright notice.   This software may not
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
     8
 be provided or otherwise made available to, or used by, any
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
     9
 other person.  No title to or ownership of the software is
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    10
 hereby transferred.
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    11
"
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    12
"{ Package: 'stx:libtool' }"
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    13
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    14
"{ NameSpace: Tools }"
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    15
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    16
SimpleDialog subclass:#NewClassWizardDialog
9218
86ad5ddea7b5 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9216
diff changeset
    17
	instanceVariableNames:'compilerProviderBlock createdClass languageHolder indexType
86ad5ddea7b5 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9216
diff changeset
    18
		packageHolder classNameHolder instVarNamesHolder openClassChooser
86ad5ddea7b5 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9216
diff changeset
    19
		superclassNameHolder createRequiredMethodsHolder
86ad5ddea7b5 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9216
diff changeset
    20
		createPrintMethodHolder createAccessorsHolder
86ad5ddea7b5 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9216
diff changeset
    21
		createUpdateMethodHolder createInitializerHolder
86ad5ddea7b5 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9216
diff changeset
    22
		createInitialGUICodeHolder classInstVarNamesHolder
86ad5ddea7b5 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9216
diff changeset
    23
		classVarNamesHolder nameSpaceHolder categoryHolder
16926
a5e115fc2ba2 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16895
diff changeset
    24
		stereotypeHolder isCreatingClassHolder listOfSuperclassesHolder
a5e115fc2ba2 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16895
diff changeset
    25
		canDisableTemplateCreationHolder'
9218
86ad5ddea7b5 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9216
diff changeset
    26
	classVariableNames:'LastLanguage LastSuperclass LastPackage LastNamespace
86ad5ddea7b5 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9216
diff changeset
    27
		LastCategory'
86ad5ddea7b5 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9216
diff changeset
    28
	poolDictionaries:''
86ad5ddea7b5 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9216
diff changeset
    29
	category:'Interface-Browsers-New'
9195
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    30
!
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    31
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    32
!NewClassWizardDialog class methodsFor:'documentation'!
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    33
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    34
copyright
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    35
"
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    36
 COPYRIGHT (c) 2009 by eXept Software AG
9216
cc5c43784db2 category
Claus Gittinger <cg@exept.de>
parents: 9211
diff changeset
    37
              All Rights Reserved
9195
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    38
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    39
 This software is furnished under a license and may be used
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    40
 only in accordance with the terms of that license and with the
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    41
 inclusion of the above copyright notice.   This software may not
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    42
 be provided or otherwise made available to, or used by, any
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    43
 other person.  No title to or ownership of the software is
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    44
 hereby transferred.
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    45
"
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    46
!
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    47
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    48
documentation
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    49
"
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    50
    documentation to be added.
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    51
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    52
    [author:]
9216
cc5c43784db2 category
Claus Gittinger <cg@exept.de>
parents: 9211
diff changeset
    53
        cg (cg@CG-PC)
9195
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    54
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    55
    [instance variables:]
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    56
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    57
    [class variables:]
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    58
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    59
    [see also:]
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    60
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    61
"
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    62
!
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    63
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    64
examples
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    65
"
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    66
  Starting the application:
9216
cc5c43784db2 category
Claus Gittinger <cg@exept.de>
parents: 9211
diff changeset
    67
                                                                [exBegin]
9195
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    68
    Tools::NewClassDialog open
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    69
9216
cc5c43784db2 category
Claus Gittinger <cg@exept.de>
parents: 9211
diff changeset
    70
                                                                [exEnd]
9195
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    71
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    72
  more examples to be added:
9216
cc5c43784db2 category
Claus Gittinger <cg@exept.de>
parents: 9211
diff changeset
    73
                                                                [exBegin]
9205
07015f8db981 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9195
diff changeset
    74
    ... add code fragment for
9195
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    75
    ... executable example here ...
9216
cc5c43784db2 category
Claus Gittinger <cg@exept.de>
parents: 9211
diff changeset
    76
                                                                [exEnd]
9195
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    77
"
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    78
! !
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    79
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    80
!NewClassWizardDialog class methodsFor:'help specs'!
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    81
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    82
flyByHelpSpec
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    83
    "This resource specification was automatically generated
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    84
     by the UIHelpTool of ST/X."
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    85
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    86
    "Do not manually edit this!! If it is corrupted,
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    87
     the UIHelpTool may not be able to read the specification."
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    88
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    89
    "
9205
07015f8db981 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9195
diff changeset
    90
     UIHelpTool openOnClass:Tools::NewClassDialog
9195
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    91
    "
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    92
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    93
    <resource: #help>
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    94
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    95
    ^ super flyByHelpSpec addPairsFrom:#(
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    96
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    97
#chooseSuperclass
11224
6f7da28fcedd comment/format in: #doAccept
Claus Gittinger <cg@exept.de>
parents: 10590
diff changeset
    98
'Open a dialog for superclass selection'
9195
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    99
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   100
#classInstVariableNames
11224
6f7da28fcedd comment/format in: #doAccept
Claus Gittinger <cg@exept.de>
parents: 10590
diff changeset
   101
'Special: instance variables of the CLASS object (separated by blanks)'
9195
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   102
9282
a0ccecc25a76 changed:8 methods
Claus Gittinger <cg@exept.de>
parents: 9249
diff changeset
   103
#stereotype
a0ccecc25a76 changed:8 methods
Claus Gittinger <cg@exept.de>
parents: 9249
diff changeset
   104
'Some often used class creation templates'
a0ccecc25a76 changed:8 methods
Claus Gittinger <cg@exept.de>
parents: 9249
diff changeset
   105
9195
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   106
#className
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   107
'The name of the new class (without namespace prefix)'
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   108
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   109
#classVariableNames
11224
6f7da28fcedd comment/format in: #doAccept
Claus Gittinger <cg@exept.de>
parents: 10590
diff changeset
   110
'Special: class variables (separated by blanks)'
9195
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   111
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   112
#createAccessors
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   113
'Create getters and setters for all instance variables'
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   114
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   115
#createInitializer
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   116
'Create an initial initialize method template'
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   117
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   118
#createPrintMethod
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   119
'Create an initial print method template'
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   120
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   121
#createRequiredMethods
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   122
'Create all methods which have been declared as required by a superclass (subclass responsibility)'
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   123
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   124
#createUpdateMethod
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   125
'Create an initial update method template'
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   126
11224
6f7da28fcedd comment/format in: #doAccept
Claus Gittinger <cg@exept.de>
parents: 10590
diff changeset
   127
#createInitialGUICode
6f7da28fcedd comment/format in: #doAccept
Claus Gittinger <cg@exept.de>
parents: 10590
diff changeset
   128
'Create initial template code (mostly useful for applications)'
6f7da28fcedd comment/format in: #doAccept
Claus Gittinger <cg@exept.de>
parents: 10590
diff changeset
   129
9195
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   130
#instanceVariableNames
11224
6f7da28fcedd comment/format in: #doAccept
Claus Gittinger <cg@exept.de>
parents: 10590
diff changeset
   131
'Instance variables (separated by spaces)'
9195
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   132
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   133
#namespace
11224
6f7da28fcedd comment/format in: #doAccept
Claus Gittinger <cg@exept.de>
parents: 10590
diff changeset
   134
'Optional namespace in which this class is to be created (default: Smalltalk).\Notice: namespaces are used to avoid name conflicts, not for organization\(that is what categries are for)'
9195
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   135
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   136
#namespaceChooser
11224
6f7da28fcedd comment/format in: #doAccept
Claus Gittinger <cg@exept.de>
parents: 10590
diff changeset
   137
'Open a dialog for namespace selection'
9195
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   138
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   139
#package
16926
a5e115fc2ba2 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16895
diff changeset
   140
'Packages are units for deployment\(separately compiled & deployable libraries and applications).\For class creation, choose the package into which this class should be placed.\For package creation, define the packageID of the new package.\ID must be of the form: "<module>:<path>", for example: "myname:demos/myFirstDemoProgram"'
11224
6f7da28fcedd comment/format in: #doAccept
Claus Gittinger <cg@exept.de>
parents: 10590
diff changeset
   141
6f7da28fcedd comment/format in: #doAccept
Claus Gittinger <cg@exept.de>
parents: 10590
diff changeset
   142
#project
6f7da28fcedd comment/format in: #doAccept
Claus Gittinger <cg@exept.de>
parents: 10590
diff changeset
   143
'Project-ID (aka package) into which this class should be placed'
6f7da28fcedd comment/format in: #doAccept
Claus Gittinger <cg@exept.de>
parents: 10590
diff changeset
   144
6f7da28fcedd comment/format in: #doAccept
Claus Gittinger <cg@exept.de>
parents: 10590
diff changeset
   145
#category
6f7da28fcedd comment/format in: #doAccept
Claus Gittinger <cg@exept.de>
parents: 10590
diff changeset
   146
'Category into which the new class should be organized (in the browser)'
6f7da28fcedd comment/format in: #doAccept
Claus Gittinger <cg@exept.de>
parents: 10590
diff changeset
   147
6f7da28fcedd comment/format in: #doAccept
Claus Gittinger <cg@exept.de>
parents: 10590
diff changeset
   148
#categoryChooser
6f7da28fcedd comment/format in: #doAccept
Claus Gittinger <cg@exept.de>
parents: 10590
diff changeset
   149
'Open a dialog for category selection'
9195
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   150
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   151
#packageChooser
11224
6f7da28fcedd comment/format in: #doAccept
Claus Gittinger <cg@exept.de>
parents: 10590
diff changeset
   152
'Open a dialog for package selection'
9195
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   153
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   154
#programmingLanguage
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   155
'Programming Language to use for code in this class'
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   156
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   157
#superclass
11224
6f7da28fcedd comment/format in: #doAccept
Claus Gittinger <cg@exept.de>
parents: 10590
diff changeset
   158
'Superclass of the new class'
9195
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   159
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   160
)
11224
6f7da28fcedd comment/format in: #doAccept
Claus Gittinger <cg@exept.de>
parents: 10590
diff changeset
   161
6f7da28fcedd comment/format in: #doAccept
Claus Gittinger <cg@exept.de>
parents: 10590
diff changeset
   162
    "Modified: / 27-01-2012 / 14:41:44 / cg"
9195
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   163
! !
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   164
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   165
!NewClassWizardDialog class methodsFor:'image specs'!
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   166
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   167
wizardIcon
14394
2fbd45bcf5ac Change images to use ImageMask instances instead of Depth1Image instances as
Stefan Vogel <sv@exept.de>
parents: 13941
diff changeset
   168
    <resource: #image>
9195
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   169
    "This resource specification was automatically generated
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   170
     by the ImageEditor of ST/X."
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   171
    "Do not manually edit this!! If it is corrupted,
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   172
     the ImageEditor may not be able to read the specification."
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   173
    "
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   174
     self wizardIcon inspect
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   175
     ImageEditor openOnClass:self andSelector:#wizardIcon
14394
2fbd45bcf5ac Change images to use ImageMask instances instead of Depth1Image instances as
Stefan Vogel <sv@exept.de>
parents: 13941
diff changeset
   176
     Icon flushCachedIcons"
2fbd45bcf5ac Change images to use ImageMask instances instead of Depth1Image instances as
Stefan Vogel <sv@exept.de>
parents: 13941
diff changeset
   177
    
2fbd45bcf5ac Change images to use ImageMask instances instead of Depth1Image instances as
Stefan Vogel <sv@exept.de>
parents: 13941
diff changeset
   178
    ^ Icon constantNamed:'Tools::NewClassDialog class wizardIcon'
2fbd45bcf5ac Change images to use ImageMask instances instead of Depth1Image instances as
Stefan Vogel <sv@exept.de>
parents: 13941
diff changeset
   179
        ifAbsentPut:[
2fbd45bcf5ac Change images to use ImageMask instances instead of Depth1Image instances as
Stefan Vogel <sv@exept.de>
parents: 13941
diff changeset
   180
            (Depth8Image new)
2fbd45bcf5ac Change images to use ImageMask instances instead of Depth1Image instances as
Stefan Vogel <sv@exept.de>
parents: 13941
diff changeset
   181
                width:80;
2fbd45bcf5ac Change images to use ImageMask instances instead of Depth1Image instances as
Stefan Vogel <sv@exept.de>
parents: 13941
diff changeset
   182
                height:80;
2fbd45bcf5ac Change images to use ImageMask instances instead of Depth1Image instances as
Stefan Vogel <sv@exept.de>
parents: 13941
diff changeset
   183
                photometric:(#palette);
2fbd45bcf5ac Change images to use ImageMask instances instead of Depth1Image instances as
Stefan Vogel <sv@exept.de>
parents: 13941
diff changeset
   184
                bitsPerSample:(#[ 8 ]);
2fbd45bcf5ac Change images to use ImageMask instances instead of Depth1Image instances as
Stefan Vogel <sv@exept.de>
parents: 13941
diff changeset
   185
                samplesPerPixel:(1);
2fbd45bcf5ac Change images to use ImageMask instances instead of Depth1Image instances as
Stefan Vogel <sv@exept.de>
parents: 13941
diff changeset
   186
                bits:(ByteArray 
2fbd45bcf5ac Change images to use ImageMask instances instead of Depth1Image instances as
Stefan Vogel <sv@exept.de>
parents: 13941
diff changeset
   187
                            fromPackedString:'
9195
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   188
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   189
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   190
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   191
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   192
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   193
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@_IX@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   194
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@M8@@@@@@@@@@@@@@@BVU@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   195
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@NC^3 @@@@@@@@@@@@@@@IYT% @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   196
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@L/K2 @@@@@@@@@@@@@@%%ITZ@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   197
@@@@@@@@@@C,;N/^7,?+:N0@;N0@@@@@@@B-T%QT% @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@M3(:>_''
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   198
9.[&9.[''9>_Z7P@@@@@@@J5BT%Q(2P@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@C^4=O(9.[&9^W%9.[''4=+Z
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   199
9.0@@@@@2DIRZF!!>@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@CS4>[%9]7\7M7]7];S4=L@@@@@@@CHSIOH
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   200
UF!!T@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@;N_&9]7\7M3[7]7^7]7(7P@@@@@@@@ALT%ITZG2V@@@@@@@@
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   201
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@C(9.[]7M/]7]/(;^3]7.#,@@@@@@@@@D1@P%ITZEQR@@@@@@@@@@@@@@@@@@@@
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   202
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@N#&9^W\7MO&6._,7-7^:N0@@@@@@@@@YTABT%QT_$H@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   203
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@C,9>#-9-/\3M;Z6=/\7];(@@@@@@@@@@A%PDARUEQ>%$H@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   204
@@@@@@@@@@@@@@@@@N#&9^#[6=/M4=+[6=7]9>$@@@@@@@@@@FU@PDIRUL"VZIX@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   205
@@C,:N[]7M3[6=OL7M3\7];N3>$@@@@@@@@@]4A@PEIT2\"-P%H@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@N3''9-7\6=/[
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   206
6,3]7M3]9-[_@@@@@@@@@@A7PDA@T%JV_*5TI@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@4=;%7M3[6=/[4>[\7];''@@@@
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   207
@@@@@@@@@G\:PDABT%Q(ZL!!<T @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@:MOS4=3\6>_Z6-. S6C&:N$@@@@@@@@@@@@@]3)L
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   208
N$ART%QT2N5@+P@@@@@@@@@@@@@@@@@@@@@@@N@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@:MOS9]3];^#''6-,#N=;(@@@@@@@@@@@@@@BMN$1%PDIRUF"V;V!!R
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   209
@@@@@@@@@@@@@@@@@@@@@@C 50@@@@@@@@@@@@@@@@@@@@@@@@@@@@C(9=;]6=/-;]3[60YN#0@@@@@@@@@@@@@@@H42_C)@PEIR%$NV;RQB@L#H@@@@@@@@
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   210
@@@@@@@@@K2<@@@@8N$@@@@@@@@@@@@@@@@@@@@@@N3''9-7[6.[]7]/\GYQM@@@@@@@@@@@@@@@@#SI(N$A@P%JV;^7-$4ARZEI@PFT@@@@@@@@@@@@@-[VH
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   211
-]__70@@@@@@@@@@@@@@@@@@@@@@;N_&7M/[6=+[7M6N$T8@@@@@@@@@@@@@@@BMKT!!%PDABT&"/2J?-%"QR_EI@N''0@@@@@@@@@@NF5''[WP5=__@@@@@@@@
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   212
@@@@@@@@@@@@@@C,9>[\6=/[6-/\7\IO$P@@@@@@@@@@@@@@@H4-N#(:PDABUIY>%.7HP%I<P$@:$0@@@@@@@@@@1I*]-]CW6N$@@@@@@@@@@@@@@@@@@@@@
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   213
@N3&9-3[6=+[7M7^:@ZU+@@@@@@@@@@@@@A%L!! 2RC(:PDAR%*=(;Z=<%%I@PIL@@@@@@@@@@@B^!!I&66ND@@@@@@@@@@@@@@@@@@@@@@@@@;N[T3-/[6-3\
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   214
7-;,A$=N@@@@@@@@@@B-C0 WFCI_N#)@PDI<+YZV%%IBPDBS@@@@@@@@@@@@ZE.@ 0@@@@@@@@@@@@@@@@@@@@@@@@@@@@C,9,;J3-+[7M7^:@AOB#2,@@@@
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   215
@@@@HQ@OC102L$ :N$AL_IZSZDI@PDA$@@@@@@@@@@@@@M1;RZL@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@N3&5\+$6=/\7^_(@IPEXW$@@@@@@@@PDA@\HS(:
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   216
N$1LYW1<YUI@PDA@PL\@@@@@@@@@@@CH9*0=@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@;N[&7]3[7M7^:N0@@GKPO@@@@@@@@A@PDA@PGBD9NS$9N$A@PBQA
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   217
P0DL1:,@@@@@@@@@+9[-2F @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@C,9>[]7M3]3,;,@@CP5;7V50@@@@@@+S$PDA@PDA@SH"H!!HQTV/]]:%+7H*:0@@@@@
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   218
@ERV;^/GZ@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@N3''9-7]7]7J2 @@/-CW/[65@@@@@@@@@@CH2C4^FSMX 7M>ZV''P5=[P-,"T%@@@@EQ>;^7H7J)>@@@@
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   219
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@N_&7]7]7-W''@@B>-]^54HP@@@@@@@@@@@@@S$5F[(NZ4G6.0;WP-\R,+IRT@@A>%.7-2ES[*YX@@@@@@@@@@@@@@@@@
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   220
@@@@@@@@@@@@@@@@:N_^7]7^9> @@N*Z-XV2M@@@@@@@@@@@@@A9$XVC!!I&2-[V=:*OE:^7G%IUTUJ>/_"YBP-*O% @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   221
@@C(9=O^7-;(;@@@@I6D[0(<@@@@@@@@@@@@@G%9%HR@!!I&Y2^6#-[WH+L"QUIZVP$IBP$IP6''*/@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@N#''7];^9> @
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   222
@@@@@K:DAYE(@@@@@@@@@@@@$VJQ%IVH!!JS-1:?-;^7H17-BP$IBP$IBP''OSPP@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@:N#''7-;'':P@@@@@@@HLY%S9T
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   223
@@@@@@@@@@CHX''&Q%J2++N6T1^7-;\#G^4IBP$IBP%J-#*E@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@C):N_^9>#,@@@@@@@@@E%&MTK%*G8@@@@@@@@@
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   224
XW&Q$YR,2IR,2N7H+J1#N$A@PDA@PDCS\4@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@N3(9>_'':@@@@@@@@@BJI1D^I^7-;YY(P4IBP6 ?XW!!9^YSG%IFT
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   225
+IRT%D,:PDA@PDA@N-I@P@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@N''(9>_(@@@@@@@@@D\''A#0T;^7-;^7H+:>V%%HNM&E9%J2,^YFT$YFTPC)@PDA@
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   226
PC(:4#)_@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@;N#(:N @@@@@@@@@I2\B$QG-7Y[H%%QBP$IBT"D[A0NQ%IQ9XWQ!!$Y@:N#(:N#(:N(&4N*4@@@@@
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   227
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@:N#(:P@@@@@@@@@*J@6TON#ST%I@PDA@PDA@PD@ C!!*Q$YE!!S''&Q^#(:N#)%N#*L5U:S@@@@@@@@@@@@@@@@@@@@
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   228
@@@@@@@@@@@@@@@@@@C):N#)@@@@@@@@+B(*J#6T7K%@PDA@PDA@PC(:PDA@BW&Q$YE9$YA@N#(:N#)L#[?UL @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   229
@@@@@N''(:N0@@@@@@@BKJ"(*B9KS(C(:SC(:N#(:N#(:PD@RG9BP$IBP$C(:N#(:RH6''1*YL@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@;N'');@@@
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   230
@@@@@HEEQTT/N-JHN$1<N#(:N#(:N#(:PC$NAIFP$IA#N#)_@@@@+]Y0N @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@:^$@@@@@@@C*[UUUQS@:
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   231
4%0:N$!!HSE=7NSD:N''0:PBDOA9BP]S(:S@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@;@@@@@@@@LU+UUUUL%3NW'']_$0@@@@A%
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   232
LS(2N#(:N#([F6L:L''O\@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@C,@@@@@@@@/6-+Z6(:"+6MW< @@@@@@J42N#(:N#(:N#$[
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   233
NC)56-L@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@B%_61+Z4">#G\@@@@@@@@@7=>B!!GA\WGFI)N3+9.W@+P@@@@@@
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   234
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@I=?_7=-!!-H@@@@@@@@@@@CG09"3.K''Z6-/&1:1SP$MT@@@@@@@@@@@@@@@@@@@@
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   235
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@-7=?_3G^@@@@@@@@@@@@+TBVPDA@PDIBUEQBP$JV+2Z-@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   236
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@B7_7=?L @@@@@@@@@@@@A%SG1@PDA@%,#H+4IBP&#HI)X@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   237
@@@@@@@@@@@@@@@@@K>W%9\@@@@@@@@@@@@@@DA<PDA@PDJV2L"-P$H&P*=B_@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   238
@@@@:+F0) @@@@@@@@@@@@BVYW1@PDA@P)[H2IYBP&"/%$I(@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@8^(@@@@@
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   239
@@@@@@@@2DA<YYY@PDIB%*>/UC=BUF!!>P%P@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@BSPFUR
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   240
%$A@P$JV+Z=TO$IBP''9BT @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@C)%PDA@PDABP)ZV%$H.
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   241
O4IBZDIB@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@B-SFU@PDA@PDIB+YZVP",?P$IRP$H@@@@@
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   242
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@G]%T$A@PDA@%*7H%)YBJ#=BP%IBP@@@@@@@@@@@@@@@@@@@
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   243
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@N$1@PDA@PDAR+Z6V_DH''O4A@P$A@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   244
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@E=LN$A@PDA@P%I<_''9TP"\8PDA@PD@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   245
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@:N$A@PDA@PDA@ZG1<ZDH>JR9@PDA@P@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   246
@@@@@@@@@@@@@@@@@C)LN$A@PDA@PDI(ZF!!TP#\)K$A@PDA@2@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   247
@@@:N#(:PDA@PIY@P&!!(ZDIBU4T*PD@:N#*S@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@B-N#(:N#)@PDA@
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   248
PDIRUEQTP"Y,UTQ@N#(:N#*V@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@%#(:N#(:N$A@PDA@P$IRUDIBPW=V
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   249
UU(:N$1@N#(@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@IL:N#(:N#(:PDA@PDABP$IBP"YJ_61U LD9N#(2L,P@
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   250
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@AHN#(:N#(:N$ABPDA@P$IBP$H&(''=?[F1EKH#Z6]KR3U:S2@@@@@@@@@@@
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   251
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@BI3[-0NSH:N#(:PDA@PDA@P$IBY.I?_8FJ"9FQ]#H2N#H:%, @@@@@@@@@@@@@@@@@@@@@@@@@
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   252
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@CHW3(:$-OL3Y-]N#(:PDA@PEB(7NKATYJR$)JU%YVV+Z6-+Z7H2@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   253
@@@@@@@@@@@@@@@@@@@@N#)_"97L4]J[!!8%3"X:!!6.K#^TJR$)JR%YVU%YZ-+Z6-+\ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   254
@@@@@@@@@IL:N#(:WX"\.[&:#(=PI"Y''^9JR$)JU%YVV+Z6-+Z6-@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   255
+YMLN#)@PDA@P%I;$)JR$)JR%YVU%*6-+Z6-1 @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@N+H2J6-
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   256
+Z6-+Z6-+Z6-+Z7F2L#H2@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@C*2L#H2L#*
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   257
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   258
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
14394
2fbd45bcf5ac Change images to use ImageMask instances instead of Depth1Image instances as
Stefan Vogel <sv@exept.de>
parents: 13941
diff changeset
   259
@@@@@@@@@@@@@@@a');
2fbd45bcf5ac Change images to use ImageMask instances instead of Depth1Image instances as
Stefan Vogel <sv@exept.de>
parents: 13941
diff changeset
   260
                colorMapFromArray:#[ 0 0 0 0 90 210 36 30 50 36 30 130 36 30 140 36 60 80 36 60 100 60 30 140 60 30 180 60 60 180 60 90 100 60 90 130 60 150 220 84 30 80 84 60 180 84 60 210 84 60 220 84 90 130 84 90 210 84 90 220 84 120 210 84 120 220 84 150 220 96 30 220 96 30 255 96 60 50 96 60 140 96 60 210 96 60 220 96 90 100 96 90 130 96 90 140 96 90 210 96 90 220 96 90 255 96 120 140 96 120 255 96 150 220 96 150 255 120 0 80 120 0 100 120 30 80 120 30 100 120 30 130 120 30 140 120 30 255 120 60 140 120 60 180 120 60 210 120 60 220 120 60 255 120 90 50 120 90 80 120 90 100 120 90 140 120 90 180 120 90 210 120 90 220 120 90 255 120 120 100 120 120 130 120 120 140 120 120 210 120 120 220 120 120 255 120 150 220 120 150 255 120 180 255 144 30 80 144 30 100 144 60 50 144 90 130 144 90 255 144 120 140 144 120 180 144 120 220 144 120 255 144 150 130 144 150 140 144 150 180 144 150 210 144 150 220 144 150 255 144 180 220 144 180 255 156 30 100 156 60 100 156 60 130 156 90 50 156 90 130 156 90 180 156 120 140 156 120 180 156 120 210 156 120 220 156 120 255 156 150 100 156 150 140 156 150 180 156 150 210 156 150 220 156 150 255 156 180 210 156 180 220 156 180 255 156 210 255 180 30 80 180 30 100 180 60 100 180 60 130 180 90 50 180 120 100 180 120 140 180 120 180 180 150 130 180 150 140 180 150 180 180 150 210 180 150 220 180 150 255 180 180 140 180 180 180 180 180 210 180 180 220 180 180 255 180 210 220 180 210 255 204 60 100 204 90 50 204 90 140 204 120 50 204 120 80 204 120 100 204 120 130 204 120 140 204 150 100 204 150 130 204 150 140 204 150 180 204 150 210 204 150 220 204 150 255 204 180 130 204 180 140 204 180 180 204 180 210 204 180 220 204 180 255 204 210 210 204 210 220 204 210 255 216 60 100 216 120 0 216 120 100 216 120 130 216 150 50 216 150 100 216 150 130 216 150 140 216 150 180 216 180 50 216 180 100 216 180 130 216 180 140 216 180 180 216 180 210 216 180 220 216 180 255 216 210 130 216 210 140 216 210 180 216 210 210 216 210 220 216 210 255 216 240 220 216 240 255 240 60 100 240 90 130 240 120 130 240 150 0 240 150 80 240 150 130 240 150 140 240 150 180 240 180 30 240 180 50 240 180 80 240 180 100 240 180 130 240 180 140 240 180 180 240 180 210 240 210 80 240 210 100 240 210 140 240 210 180 240 210 210 240 210 220 240 210 255 240 240 220 240 240 255 240 255 255 252 90 30 252 120 30 252 150 0 252 150 30 252 150 50 252 150 80 252 150 130 252 180 0 252 180 30 252 180 50 252 180 80 252 180 100 252 180 130 252 180 140 252 180 180 252 210 30 252 210 50 252 210 80 252 210 100 252 210 130 252 210 140 252 210 180 252 210 210 252 210 220 252 240 50 252 240 80 252 240 100 252 240 130 252 240 140 252 240 180 252 240 210 252 240 220 252 240 255 252 255 210 252 255 220 252 255 255 ];
2fbd45bcf5ac Change images to use ImageMask instances instead of Depth1Image instances as
Stefan Vogel <sv@exept.de>
parents: 13941
diff changeset
   261
                mask:((ImageMask new)
2fbd45bcf5ac Change images to use ImageMask instances instead of Depth1Image instances as
Stefan Vogel <sv@exept.de>
parents: 13941
diff changeset
   262
                            width:80;
2fbd45bcf5ac Change images to use ImageMask instances instead of Depth1Image instances as
Stefan Vogel <sv@exept.de>
parents: 13941
diff changeset
   263
                            height:80;
2fbd45bcf5ac Change images to use ImageMask instances instead of Depth1Image instances as
Stefan Vogel <sv@exept.de>
parents: 13941
diff changeset
   264
                            bits:(ByteArray 
2fbd45bcf5ac Change images to use ImageMask instances instead of Depth1Image instances as
Stefan Vogel <sv@exept.de>
parents: 13941
diff changeset
   265
                                        fromPackedString:'
9195
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   266
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@0@@@@@@@@@@P@L@@@@@@@@@@\@C @@@@@@
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   267
@@@C @<@@@@@@@@@O>0O @@@@@@@@_?<C<@@@@@@@@O??0?@@@@@@@@A??0O8@@@@@@@@??<A?@@@@@@@@O??@_8@@@@@@@C??0G>@@@@@@@A??8A?0@@@@@
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   268
@@_?>@_>@@@@@@@O??0G?0@@@@@@C??8A?<@@@@@@@??8@_? @@@@@@??>@G?<@@B@@@G??@A??@@A @@A?? @_?;@@X0@@_?8@G??>@G<@@G?>@A???0C?@
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   269
@A?? @_??<@?0@@_?<@O??>@O0@@G??@O???@G @@A?=8G???@C0@@@_?^A???0A8@@@G?3 _??>@>@@@A?9<G???0_ @@@_<?@O??<_8@@@C?O0@???O>@@
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   270
@@?3<@O???? @@@O<_@C????8@@@C>C8@????<@@@@? _@O????@@@@O8C>@????0@@@C<A??????<@@@@_@_??????@@@@G0G??????0@@@@<A??????8@@
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   271
@@O@??????<@@@@C0O??????@@@@@<C?????G @@@@FA????? @@@@@@ _?!!??8@@@@@@HG?0_?>@@@@@@@A?0G?? @@@@@@@_0A??8@@@@@@@G8@???@@@@
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   272
@@@A<@O??0@@@@@@@^@C??<@@@@@@@G A???@@@@@@@@0@???0@@@@@@@@@O??<@@@@@@@@@C???@@@@@@@@@A???0@@@@@@@@@_??<@@@@@@@@@G???@@@@
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   273
@@@@@C???0@@@@@@@@A???<@@@@@@@@@_??? @@@@@@@@O???8@@@@@@@@O????@@@@@@@@G????0@@@@@@@C????>@@@@@@@A?????<@@@@@@A?????>@@@
14394
2fbd45bcf5ac Change images to use ImageMask instances instead of Depth1Image instances as
Stefan Vogel <sv@exept.de>
parents: 13941
diff changeset
   274
@@@A?????? @@@@@@G?????0@@@@@@@_????8@@@@@@@@????<@@@@@@@@@_??<@@@@@@@@@@A?@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@b');
2fbd45bcf5ac Change images to use ImageMask instances instead of Depth1Image instances as
Stefan Vogel <sv@exept.de>
parents: 13941
diff changeset
   275
                            yourself);
2fbd45bcf5ac Change images to use ImageMask instances instead of Depth1Image instances as
Stefan Vogel <sv@exept.de>
parents: 13941
diff changeset
   276
                yourself
2fbd45bcf5ac Change images to use ImageMask instances instead of Depth1Image instances as
Stefan Vogel <sv@exept.de>
parents: 13941
diff changeset
   277
        ]
9195
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   278
! !
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   279
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   280
!NewClassWizardDialog class methodsFor:'interface specs'!
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   281
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   282
windowSpec
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   283
    "This resource specification was automatically generated
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   284
     by the UIPainter of ST/X."
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   285
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   286
    "Do not manually edit this!! If it is corrupted,
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   287
     the UIPainter may not be able to read the specification."
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   288
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   289
    "
9216
cc5c43784db2 category
Claus Gittinger <cg@exept.de>
parents: 9211
diff changeset
   290
     UIPainter new openOnClass:Tools::NewClassWizardDialog andSelector:#windowSpec
cc5c43784db2 category
Claus Gittinger <cg@exept.de>
parents: 9211
diff changeset
   291
     Tools::NewClassWizardDialog new openInterface:#windowSpec
cc5c43784db2 category
Claus Gittinger <cg@exept.de>
parents: 9211
diff changeset
   292
     Tools::NewClassWizardDialog open
9195
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   293
    "
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   294
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   295
    <resource: #canvas>
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   296
9216
cc5c43784db2 category
Claus Gittinger <cg@exept.de>
parents: 9211
diff changeset
   297
    ^ 
13941
f3193680050b class: Tools::NewClassWizardDialog
Claus Gittinger <cg@exept.de>
parents: 11224
diff changeset
   298
    #(FullSpec
f3193680050b class: Tools::NewClassWizardDialog
Claus Gittinger <cg@exept.de>
parents: 11224
diff changeset
   299
       name: windowSpec
f3193680050b class: Tools::NewClassWizardDialog
Claus Gittinger <cg@exept.de>
parents: 11224
diff changeset
   300
       window: 
f3193680050b class: Tools::NewClassWizardDialog
Claus Gittinger <cg@exept.de>
parents: 11224
diff changeset
   301
      (WindowSpec
f3193680050b class: Tools::NewClassWizardDialog
Claus Gittinger <cg@exept.de>
parents: 11224
diff changeset
   302
         label: 'Class Creation Wizard'
f3193680050b class: Tools::NewClassWizardDialog
Claus Gittinger <cg@exept.de>
parents: 11224
diff changeset
   303
         name: 'Class Creation Wizard'
f3193680050b class: Tools::NewClassWizardDialog
Claus Gittinger <cg@exept.de>
parents: 11224
diff changeset
   304
         min: (Point 10 10)
16895
463e46f35100 #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 16752
diff changeset
   305
         bounds: (Rectangle 0 0 592 639)
13941
f3193680050b class: Tools::NewClassWizardDialog
Claus Gittinger <cg@exept.de>
parents: 11224
diff changeset
   306
       )
f3193680050b class: Tools::NewClassWizardDialog
Claus Gittinger <cg@exept.de>
parents: 11224
diff changeset
   307
       component: 
f3193680050b class: Tools::NewClassWizardDialog
Claus Gittinger <cg@exept.de>
parents: 11224
diff changeset
   308
      (SpecCollection
f3193680050b class: Tools::NewClassWizardDialog
Claus Gittinger <cg@exept.de>
parents: 11224
diff changeset
   309
         collection: (
f3193680050b class: Tools::NewClassWizardDialog
Claus Gittinger <cg@exept.de>
parents: 11224
diff changeset
   310
          (LabelSpec
f3193680050b class: Tools::NewClassWizardDialog
Claus Gittinger <cg@exept.de>
parents: 11224
diff changeset
   311
             label: 'wizardIcon'
f3193680050b class: Tools::NewClassWizardDialog
Claus Gittinger <cg@exept.de>
parents: 11224
diff changeset
   312
             name: 'Label10'
f3193680050b class: Tools::NewClassWizardDialog
Claus Gittinger <cg@exept.de>
parents: 11224
diff changeset
   313
             layout: (LayoutFrame 0 0 0 0 100 0 90 0)
f3193680050b class: Tools::NewClassWizardDialog
Claus Gittinger <cg@exept.de>
parents: 11224
diff changeset
   314
             hasCharacterOrientedLabel: false
f3193680050b class: Tools::NewClassWizardDialog
Claus Gittinger <cg@exept.de>
parents: 11224
diff changeset
   315
             translateLabel: true
f3193680050b class: Tools::NewClassWizardDialog
Claus Gittinger <cg@exept.de>
parents: 11224
diff changeset
   316
           )
f3193680050b class: Tools::NewClassWizardDialog
Claus Gittinger <cg@exept.de>
parents: 11224
diff changeset
   317
          (LabelSpec
16926
a5e115fc2ba2 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16895
diff changeset
   318
             label: 'Class/Package Creation Wizard'
13941
f3193680050b class: Tools::NewClassWizardDialog
Claus Gittinger <cg@exept.de>
parents: 11224
diff changeset
   319
             name: 'Label11'
f3193680050b class: Tools::NewClassWizardDialog
Claus Gittinger <cg@exept.de>
parents: 11224
diff changeset
   320
             layout: (LayoutFrame 100 0 10 0 390 0 50 0)
f3193680050b class: Tools::NewClassWizardDialog
Claus Gittinger <cg@exept.de>
parents: 11224
diff changeset
   321
             translateLabel: true
f3193680050b class: Tools::NewClassWizardDialog
Claus Gittinger <cg@exept.de>
parents: 11224
diff changeset
   322
           )
f3193680050b class: Tools::NewClassWizardDialog
Claus Gittinger <cg@exept.de>
parents: 11224
diff changeset
   323
          (LabelSpec
f3193680050b class: Tools::NewClassWizardDialog
Claus Gittinger <cg@exept.de>
parents: 11224
diff changeset
   324
             label: 'Stereotype:'
f3193680050b class: Tools::NewClassWizardDialog
Claus Gittinger <cg@exept.de>
parents: 11224
diff changeset
   325
             name: 'Label13'
16926
a5e115fc2ba2 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16895
diff changeset
   326
             layout: (LayoutFrame 10 0 91 0 180 0 113 0)
13941
f3193680050b class: Tools::NewClassWizardDialog
Claus Gittinger <cg@exept.de>
parents: 11224
diff changeset
   327
             activeHelpKey: stereotype
f3193680050b class: Tools::NewClassWizardDialog
Claus Gittinger <cg@exept.de>
parents: 11224
diff changeset
   328
             translateLabel: true
f3193680050b class: Tools::NewClassWizardDialog
Claus Gittinger <cg@exept.de>
parents: 11224
diff changeset
   329
             adjust: right
f3193680050b class: Tools::NewClassWizardDialog
Claus Gittinger <cg@exept.de>
parents: 11224
diff changeset
   330
           )
f3193680050b class: Tools::NewClassWizardDialog
Claus Gittinger <cg@exept.de>
parents: 11224
diff changeset
   331
          (ComboListSpec
f3193680050b class: Tools::NewClassWizardDialog
Claus Gittinger <cg@exept.de>
parents: 11224
diff changeset
   332
             name: 'ComboList3'
16926
a5e115fc2ba2 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16895
diff changeset
   333
             layout: (LayoutFrame 190 0 91 0 -32 1 113 0)
13941
f3193680050b class: Tools::NewClassWizardDialog
Claus Gittinger <cg@exept.de>
parents: 11224
diff changeset
   334
             activeHelpKey: stereotype
f3193680050b class: Tools::NewClassWizardDialog
Claus Gittinger <cg@exept.de>
parents: 11224
diff changeset
   335
             model: stereotypeHolder
f3193680050b class: Tools::NewClassWizardDialog
Claus Gittinger <cg@exept.de>
parents: 11224
diff changeset
   336
             comboList: listOfStereotypes
f3193680050b class: Tools::NewClassWizardDialog
Claus Gittinger <cg@exept.de>
parents: 11224
diff changeset
   337
             useIndex: true
f3193680050b class: Tools::NewClassWizardDialog
Claus Gittinger <cg@exept.de>
parents: 11224
diff changeset
   338
           )
f3193680050b class: Tools::NewClassWizardDialog
Claus Gittinger <cg@exept.de>
parents: 11224
diff changeset
   339
          (LabelSpec
16926
a5e115fc2ba2 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16895
diff changeset
   340
             label: 'Programming Language:'
a5e115fc2ba2 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16895
diff changeset
   341
             name: 'Label9'
a5e115fc2ba2 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16895
diff changeset
   342
             layout: (LayoutFrame 7 0 126 0 301 0 148 0)
a5e115fc2ba2 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16895
diff changeset
   343
             activeHelpKey: programmingLanguage
a5e115fc2ba2 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16895
diff changeset
   344
             visibilityChannel: isCreatingClassHolder
a5e115fc2ba2 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16895
diff changeset
   345
             translateLabel: true
a5e115fc2ba2 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16895
diff changeset
   346
             adjust: right
a5e115fc2ba2 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16895
diff changeset
   347
           )
a5e115fc2ba2 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16895
diff changeset
   348
          (ComboListSpec
a5e115fc2ba2 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16895
diff changeset
   349
             name: 'ComboList1'
a5e115fc2ba2 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16895
diff changeset
   350
             layout: (LayoutFrame 308 0 126 0 -32 1 148 0)
a5e115fc2ba2 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16895
diff changeset
   351
             activeHelpKey: programmingLanguage
a5e115fc2ba2 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16895
diff changeset
   352
             visibilityChannel: isCreatingClassHolder
a5e115fc2ba2 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16895
diff changeset
   353
             model: languageHolder
a5e115fc2ba2 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16895
diff changeset
   354
             comboList: listOfLanguages
a5e115fc2ba2 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16895
diff changeset
   355
             useIndex: true
a5e115fc2ba2 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16895
diff changeset
   356
           )
a5e115fc2ba2 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16895
diff changeset
   357
          (LabelSpec
13941
f3193680050b class: Tools::NewClassWizardDialog
Claus Gittinger <cg@exept.de>
parents: 11224
diff changeset
   358
             label: 'Class Name:'
f3193680050b class: Tools::NewClassWizardDialog
Claus Gittinger <cg@exept.de>
parents: 11224
diff changeset
   359
             name: 'Label1'
16895
463e46f35100 #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 16752
diff changeset
   360
             layout: (LayoutFrame 10 0 172 0 180 0 194 0)
13941
f3193680050b class: Tools::NewClassWizardDialog
Claus Gittinger <cg@exept.de>
parents: 11224
diff changeset
   361
             activeHelpKey: className
16926
a5e115fc2ba2 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16895
diff changeset
   362
             visibilityChannel: isCreatingClassHolder
13941
f3193680050b class: Tools::NewClassWizardDialog
Claus Gittinger <cg@exept.de>
parents: 11224
diff changeset
   363
             translateLabel: true
f3193680050b class: Tools::NewClassWizardDialog
Claus Gittinger <cg@exept.de>
parents: 11224
diff changeset
   364
             adjust: right
f3193680050b class: Tools::NewClassWizardDialog
Claus Gittinger <cg@exept.de>
parents: 11224
diff changeset
   365
           )
16926
a5e115fc2ba2 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16895
diff changeset
   366
          (LabelSpec
a5e115fc2ba2 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16895
diff changeset
   367
             label: '*'
a5e115fc2ba2 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16895
diff changeset
   368
             name: 'Label14'
a5e115fc2ba2 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16895
diff changeset
   369
             layout: (LayoutFrame 180 0 173 0 190 0 195 0)
a5e115fc2ba2 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16895
diff changeset
   370
             visibilityChannel: isCreatingClassHolder
a5e115fc2ba2 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16895
diff changeset
   371
             translateLabel: true
a5e115fc2ba2 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16895
diff changeset
   372
           )
13941
f3193680050b class: Tools::NewClassWizardDialog
Claus Gittinger <cg@exept.de>
parents: 11224
diff changeset
   373
          (InputFieldSpec
f3193680050b class: Tools::NewClassWizardDialog
Claus Gittinger <cg@exept.de>
parents: 11224
diff changeset
   374
             name: 'EntryField1'
16895
463e46f35100 #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 16752
diff changeset
   375
             layout: (LayoutFrame 190 0 172 0 -32 1 194 0)
13941
f3193680050b class: Tools::NewClassWizardDialog
Claus Gittinger <cg@exept.de>
parents: 11224
diff changeset
   376
             activeHelpKey: className
16926
a5e115fc2ba2 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16895
diff changeset
   377
             visibilityChannel: isCreatingClassHolder
13941
f3193680050b class: Tools::NewClassWizardDialog
Claus Gittinger <cg@exept.de>
parents: 11224
diff changeset
   378
             model: classNameHolder
f3193680050b class: Tools::NewClassWizardDialog
Claus Gittinger <cg@exept.de>
parents: 11224
diff changeset
   379
             acceptOnReturn: true
f3193680050b class: Tools::NewClassWizardDialog
Claus Gittinger <cg@exept.de>
parents: 11224
diff changeset
   380
             acceptOnTab: true
f3193680050b class: Tools::NewClassWizardDialog
Claus Gittinger <cg@exept.de>
parents: 11224
diff changeset
   381
             acceptOnLostFocus: true
f3193680050b class: Tools::NewClassWizardDialog
Claus Gittinger <cg@exept.de>
parents: 11224
diff changeset
   382
             acceptOnPointerLeave: true
f3193680050b class: Tools::NewClassWizardDialog
Claus Gittinger <cg@exept.de>
parents: 11224
diff changeset
   383
           )
f3193680050b class: Tools::NewClassWizardDialog
Claus Gittinger <cg@exept.de>
parents: 11224
diff changeset
   384
          (LabelSpec
f3193680050b class: Tools::NewClassWizardDialog
Claus Gittinger <cg@exept.de>
parents: 11224
diff changeset
   385
             label: 'Superclass:'
f3193680050b class: Tools::NewClassWizardDialog
Claus Gittinger <cg@exept.de>
parents: 11224
diff changeset
   386
             name: 'Label2'
16895
463e46f35100 #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 16752
diff changeset
   387
             layout: (LayoutFrame 10 0 202 0 180 0 224 0)
13941
f3193680050b class: Tools::NewClassWizardDialog
Claus Gittinger <cg@exept.de>
parents: 11224
diff changeset
   388
             activeHelpKey: superclass
16926
a5e115fc2ba2 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16895
diff changeset
   389
             visibilityChannel: isCreatingClassHolder
13941
f3193680050b class: Tools::NewClassWizardDialog
Claus Gittinger <cg@exept.de>
parents: 11224
diff changeset
   390
             translateLabel: true
f3193680050b class: Tools::NewClassWizardDialog
Claus Gittinger <cg@exept.de>
parents: 11224
diff changeset
   391
             adjust: right
f3193680050b class: Tools::NewClassWizardDialog
Claus Gittinger <cg@exept.de>
parents: 11224
diff changeset
   392
           )
f3193680050b class: Tools::NewClassWizardDialog
Claus Gittinger <cg@exept.de>
parents: 11224
diff changeset
   393
          (ComboBoxSpec
f3193680050b class: Tools::NewClassWizardDialog
Claus Gittinger <cg@exept.de>
parents: 11224
diff changeset
   394
             name: 'ComboBox1'
16895
463e46f35100 #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 16752
diff changeset
   395
             layout: (LayoutFrame 190 0 202 0 -32 1 224 0)
13941
f3193680050b class: Tools::NewClassWizardDialog
Claus Gittinger <cg@exept.de>
parents: 11224
diff changeset
   396
             activeHelpKey: superclass
16926
a5e115fc2ba2 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16895
diff changeset
   397
             visibilityChannel: isCreatingClassHolder
13941
f3193680050b class: Tools::NewClassWizardDialog
Claus Gittinger <cg@exept.de>
parents: 11224
diff changeset
   398
             model: superclassNameHolder
f3193680050b class: Tools::NewClassWizardDialog
Claus Gittinger <cg@exept.de>
parents: 11224
diff changeset
   399
             acceptOnLostFocus: true
16926
a5e115fc2ba2 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16895
diff changeset
   400
             comboList: listOfSuperclassesHolder
13941
f3193680050b class: Tools::NewClassWizardDialog
Claus Gittinger <cg@exept.de>
parents: 11224
diff changeset
   401
             useIndex: false
f3193680050b class: Tools::NewClassWizardDialog
Claus Gittinger <cg@exept.de>
parents: 11224
diff changeset
   402
           )
f3193680050b class: Tools::NewClassWizardDialog
Claus Gittinger <cg@exept.de>
parents: 11224
diff changeset
   403
          (LabelSpec
f3193680050b class: Tools::NewClassWizardDialog
Claus Gittinger <cg@exept.de>
parents: 11224
diff changeset
   404
             label: '*'
f3193680050b class: Tools::NewClassWizardDialog
Claus Gittinger <cg@exept.de>
parents: 11224
diff changeset
   405
             name: 'Label15'
16895
463e46f35100 #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 16752
diff changeset
   406
             layout: (LayoutFrame 180 0 202 0 190 0 224 0)
16926
a5e115fc2ba2 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16895
diff changeset
   407
             visibilityChannel: isCreatingClassHolder
13941
f3193680050b class: Tools::NewClassWizardDialog
Claus Gittinger <cg@exept.de>
parents: 11224
diff changeset
   408
             translateLabel: true
f3193680050b class: Tools::NewClassWizardDialog
Claus Gittinger <cg@exept.de>
parents: 11224
diff changeset
   409
           )
f3193680050b class: Tools::NewClassWizardDialog
Claus Gittinger <cg@exept.de>
parents: 11224
diff changeset
   410
          (ActionButtonSpec
f3193680050b class: Tools::NewClassWizardDialog
Claus Gittinger <cg@exept.de>
parents: 11224
diff changeset
   411
             label: '...'
f3193680050b class: Tools::NewClassWizardDialog
Claus Gittinger <cg@exept.de>
parents: 11224
diff changeset
   412
             name: 'Button1'
16895
463e46f35100 #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 16752
diff changeset
   413
             layout: (LayoutFrame -22 1 202 0 -2 1 224 0)
13941
f3193680050b class: Tools::NewClassWizardDialog
Claus Gittinger <cg@exept.de>
parents: 11224
diff changeset
   414
             activeHelpKey: chooseSuperclass
16926
a5e115fc2ba2 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16895
diff changeset
   415
             visibilityChannel: isCreatingClassHolder
13941
f3193680050b class: Tools::NewClassWizardDialog
Claus Gittinger <cg@exept.de>
parents: 11224
diff changeset
   416
             translateLabel: true
f3193680050b class: Tools::NewClassWizardDialog
Claus Gittinger <cg@exept.de>
parents: 11224
diff changeset
   417
             model: openSuperClassChooser
f3193680050b class: Tools::NewClassWizardDialog
Claus Gittinger <cg@exept.de>
parents: 11224
diff changeset
   418
           )
f3193680050b class: Tools::NewClassWizardDialog
Claus Gittinger <cg@exept.de>
parents: 11224
diff changeset
   419
          (LabelSpec
16349
60fa7f1a3373 #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 16205
diff changeset
   420
             label: 'Package ID:'
13941
f3193680050b class: Tools::NewClassWizardDialog
Claus Gittinger <cg@exept.de>
parents: 11224
diff changeset
   421
             name: 'Label3'
16895
463e46f35100 #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 16752
diff changeset
   422
             layout: (LayoutFrame 10 0 243 0 180 0 265 0)
13941
f3193680050b class: Tools::NewClassWizardDialog
Claus Gittinger <cg@exept.de>
parents: 11224
diff changeset
   423
             activeHelpKey: package
f3193680050b class: Tools::NewClassWizardDialog
Claus Gittinger <cg@exept.de>
parents: 11224
diff changeset
   424
             translateLabel: true
f3193680050b class: Tools::NewClassWizardDialog
Claus Gittinger <cg@exept.de>
parents: 11224
diff changeset
   425
             adjust: right
f3193680050b class: Tools::NewClassWizardDialog
Claus Gittinger <cg@exept.de>
parents: 11224
diff changeset
   426
           )
16926
a5e115fc2ba2 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16895
diff changeset
   427
          (LabelSpec
a5e115fc2ba2 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16895
diff changeset
   428
             label: '*'
a5e115fc2ba2 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16895
diff changeset
   429
             name: 'Label16'
a5e115fc2ba2 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16895
diff changeset
   430
             layout: (LayoutFrame 180 0 245 0 190 0 267 0)
a5e115fc2ba2 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16895
diff changeset
   431
             visibilityChannel: isCreatingPackageHolder
a5e115fc2ba2 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16895
diff changeset
   432
             translateLabel: true
a5e115fc2ba2 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16895
diff changeset
   433
           )
13941
f3193680050b class: Tools::NewClassWizardDialog
Claus Gittinger <cg@exept.de>
parents: 11224
diff changeset
   434
          (ComboBoxSpec
f3193680050b class: Tools::NewClassWizardDialog
Claus Gittinger <cg@exept.de>
parents: 11224
diff changeset
   435
             name: 'ComboBox2'
16895
463e46f35100 #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 16752
diff changeset
   436
             layout: (LayoutFrame 190 0 242 0 -32 1 264 0)
13941
f3193680050b class: Tools::NewClassWizardDialog
Claus Gittinger <cg@exept.de>
parents: 11224
diff changeset
   437
             activeHelpKey: package
f3193680050b class: Tools::NewClassWizardDialog
Claus Gittinger <cg@exept.de>
parents: 11224
diff changeset
   438
             model: packageHolder
f3193680050b class: Tools::NewClassWizardDialog
Claus Gittinger <cg@exept.de>
parents: 11224
diff changeset
   439
             acceptOnReturn: true
f3193680050b class: Tools::NewClassWizardDialog
Claus Gittinger <cg@exept.de>
parents: 11224
diff changeset
   440
             acceptOnTab: true
f3193680050b class: Tools::NewClassWizardDialog
Claus Gittinger <cg@exept.de>
parents: 11224
diff changeset
   441
             acceptOnLostFocus: true
f3193680050b class: Tools::NewClassWizardDialog
Claus Gittinger <cg@exept.de>
parents: 11224
diff changeset
   442
             acceptOnPointerLeave: true
f3193680050b class: Tools::NewClassWizardDialog
Claus Gittinger <cg@exept.de>
parents: 11224
diff changeset
   443
             comboList: listOfPackages
f3193680050b class: Tools::NewClassWizardDialog
Claus Gittinger <cg@exept.de>
parents: 11224
diff changeset
   444
           )
f3193680050b class: Tools::NewClassWizardDialog
Claus Gittinger <cg@exept.de>
parents: 11224
diff changeset
   445
          (ActionButtonSpec
f3193680050b class: Tools::NewClassWizardDialog
Claus Gittinger <cg@exept.de>
parents: 11224
diff changeset
   446
             label: '...'
f3193680050b class: Tools::NewClassWizardDialog
Claus Gittinger <cg@exept.de>
parents: 11224
diff changeset
   447
             name: 'Button4'
16895
463e46f35100 #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 16752
diff changeset
   448
             layout: (LayoutFrame -22 1 242 0 -2 1 264 0)
13941
f3193680050b class: Tools::NewClassWizardDialog
Claus Gittinger <cg@exept.de>
parents: 11224
diff changeset
   449
             activeHelpKey: packageChooser
f3193680050b class: Tools::NewClassWizardDialog
Claus Gittinger <cg@exept.de>
parents: 11224
diff changeset
   450
             translateLabel: true
f3193680050b class: Tools::NewClassWizardDialog
Claus Gittinger <cg@exept.de>
parents: 11224
diff changeset
   451
             model: openPackageChooser
f3193680050b class: Tools::NewClassWizardDialog
Claus Gittinger <cg@exept.de>
parents: 11224
diff changeset
   452
           )
f3193680050b class: Tools::NewClassWizardDialog
Claus Gittinger <cg@exept.de>
parents: 11224
diff changeset
   453
          (LabelSpec
f3193680050b class: Tools::NewClassWizardDialog
Claus Gittinger <cg@exept.de>
parents: 11224
diff changeset
   454
             label: 'Namespace:'
f3193680050b class: Tools::NewClassWizardDialog
Claus Gittinger <cg@exept.de>
parents: 11224
diff changeset
   455
             name: 'Label4'
16895
463e46f35100 #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 16752
diff changeset
   456
             layout: (LayoutFrame 10 0 272 0 180 0 294 0)
13941
f3193680050b class: Tools::NewClassWizardDialog
Claus Gittinger <cg@exept.de>
parents: 11224
diff changeset
   457
             activeHelpKey: namespace
16926
a5e115fc2ba2 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16895
diff changeset
   458
             visibilityChannel: isCreatingClassHolder
13941
f3193680050b class: Tools::NewClassWizardDialog
Claus Gittinger <cg@exept.de>
parents: 11224
diff changeset
   459
             translateLabel: true
f3193680050b class: Tools::NewClassWizardDialog
Claus Gittinger <cg@exept.de>
parents: 11224
diff changeset
   460
             adjust: right
f3193680050b class: Tools::NewClassWizardDialog
Claus Gittinger <cg@exept.de>
parents: 11224
diff changeset
   461
           )
f3193680050b class: Tools::NewClassWizardDialog
Claus Gittinger <cg@exept.de>
parents: 11224
diff changeset
   462
          (ComboListSpec
f3193680050b class: Tools::NewClassWizardDialog
Claus Gittinger <cg@exept.de>
parents: 11224
diff changeset
   463
             name: 'ComboList2'
16895
463e46f35100 #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 16752
diff changeset
   464
             layout: (LayoutFrame 190 0 272 0 -32 1 294 0)
13941
f3193680050b class: Tools::NewClassWizardDialog
Claus Gittinger <cg@exept.de>
parents: 11224
diff changeset
   465
             activeHelpKey: namespace
16926
a5e115fc2ba2 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16895
diff changeset
   466
             visibilityChannel: isCreatingClassHolder
13941
f3193680050b class: Tools::NewClassWizardDialog
Claus Gittinger <cg@exept.de>
parents: 11224
diff changeset
   467
             model: nameSpaceHolder
f3193680050b class: Tools::NewClassWizardDialog
Claus Gittinger <cg@exept.de>
parents: 11224
diff changeset
   468
             comboList: listOfNamespaces
f3193680050b class: Tools::NewClassWizardDialog
Claus Gittinger <cg@exept.de>
parents: 11224
diff changeset
   469
           )
f3193680050b class: Tools::NewClassWizardDialog
Claus Gittinger <cg@exept.de>
parents: 11224
diff changeset
   470
          (ActionButtonSpec
f3193680050b class: Tools::NewClassWizardDialog
Claus Gittinger <cg@exept.de>
parents: 11224
diff changeset
   471
             label: '...'
f3193680050b class: Tools::NewClassWizardDialog
Claus Gittinger <cg@exept.de>
parents: 11224
diff changeset
   472
             name: 'Button5'
16895
463e46f35100 #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 16752
diff changeset
   473
             layout: (LayoutFrame -22 1 272 0 -2 1 294 0)
13941
f3193680050b class: Tools::NewClassWizardDialog
Claus Gittinger <cg@exept.de>
parents: 11224
diff changeset
   474
             activeHelpKey: namespaceChooser
16926
a5e115fc2ba2 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16895
diff changeset
   475
             visibilityChannel: isCreatingClassHolder
13941
f3193680050b class: Tools::NewClassWizardDialog
Claus Gittinger <cg@exept.de>
parents: 11224
diff changeset
   476
             translateLabel: true
f3193680050b class: Tools::NewClassWizardDialog
Claus Gittinger <cg@exept.de>
parents: 11224
diff changeset
   477
             model: openNamespaceChooser
f3193680050b class: Tools::NewClassWizardDialog
Claus Gittinger <cg@exept.de>
parents: 11224
diff changeset
   478
           )
f3193680050b class: Tools::NewClassWizardDialog
Claus Gittinger <cg@exept.de>
parents: 11224
diff changeset
   479
          (LabelSpec
f3193680050b class: Tools::NewClassWizardDialog
Claus Gittinger <cg@exept.de>
parents: 11224
diff changeset
   480
             label: 'Category:'
f3193680050b class: Tools::NewClassWizardDialog
Claus Gittinger <cg@exept.de>
parents: 11224
diff changeset
   481
             name: 'Label12'
16895
463e46f35100 #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 16752
diff changeset
   482
             layout: (LayoutFrame 10 0 302 0 180 0 324 0)
13941
f3193680050b class: Tools::NewClassWizardDialog
Claus Gittinger <cg@exept.de>
parents: 11224
diff changeset
   483
             activeHelpKey: category
16926
a5e115fc2ba2 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16895
diff changeset
   484
             visibilityChannel: isCreatingClassHolder
13941
f3193680050b class: Tools::NewClassWizardDialog
Claus Gittinger <cg@exept.de>
parents: 11224
diff changeset
   485
             translateLabel: true
f3193680050b class: Tools::NewClassWizardDialog
Claus Gittinger <cg@exept.de>
parents: 11224
diff changeset
   486
             adjust: right
f3193680050b class: Tools::NewClassWizardDialog
Claus Gittinger <cg@exept.de>
parents: 11224
diff changeset
   487
           )
f3193680050b class: Tools::NewClassWizardDialog
Claus Gittinger <cg@exept.de>
parents: 11224
diff changeset
   488
          (ComboBoxSpec
f3193680050b class: Tools::NewClassWizardDialog
Claus Gittinger <cg@exept.de>
parents: 11224
diff changeset
   489
             name: 'ComboBox3'
16895
463e46f35100 #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 16752
diff changeset
   490
             layout: (LayoutFrame 190 0 302 0 -32 1 324 0)
13941
f3193680050b class: Tools::NewClassWizardDialog
Claus Gittinger <cg@exept.de>
parents: 11224
diff changeset
   491
             activeHelpKey: category
16926
a5e115fc2ba2 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16895
diff changeset
   492
             visibilityChannel: isCreatingClassHolder
13941
f3193680050b class: Tools::NewClassWizardDialog
Claus Gittinger <cg@exept.de>
parents: 11224
diff changeset
   493
             model: categoryHolder
f3193680050b class: Tools::NewClassWizardDialog
Claus Gittinger <cg@exept.de>
parents: 11224
diff changeset
   494
             acceptOnLostFocus: true
f3193680050b class: Tools::NewClassWizardDialog
Claus Gittinger <cg@exept.de>
parents: 11224
diff changeset
   495
             comboList: listOfCategories
f3193680050b class: Tools::NewClassWizardDialog
Claus Gittinger <cg@exept.de>
parents: 11224
diff changeset
   496
           )
f3193680050b class: Tools::NewClassWizardDialog
Claus Gittinger <cg@exept.de>
parents: 11224
diff changeset
   497
          (ActionButtonSpec
f3193680050b class: Tools::NewClassWizardDialog
Claus Gittinger <cg@exept.de>
parents: 11224
diff changeset
   498
             label: '...'
f3193680050b class: Tools::NewClassWizardDialog
Claus Gittinger <cg@exept.de>
parents: 11224
diff changeset
   499
             name: 'Button6'
16895
463e46f35100 #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 16752
diff changeset
   500
             layout: (LayoutFrame -22 1 302 0 -2 1 324 0)
13941
f3193680050b class: Tools::NewClassWizardDialog
Claus Gittinger <cg@exept.de>
parents: 11224
diff changeset
   501
             activeHelpKey: categoryChooser
16926
a5e115fc2ba2 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16895
diff changeset
   502
             visibilityChannel: isCreatingClassHolder
13941
f3193680050b class: Tools::NewClassWizardDialog
Claus Gittinger <cg@exept.de>
parents: 11224
diff changeset
   503
             translateLabel: true
f3193680050b class: Tools::NewClassWizardDialog
Claus Gittinger <cg@exept.de>
parents: 11224
diff changeset
   504
             model: openCategoryChooser
f3193680050b class: Tools::NewClassWizardDialog
Claus Gittinger <cg@exept.de>
parents: 11224
diff changeset
   505
           )
f3193680050b class: Tools::NewClassWizardDialog
Claus Gittinger <cg@exept.de>
parents: 11224
diff changeset
   506
          (LabelSpec
f3193680050b class: Tools::NewClassWizardDialog
Claus Gittinger <cg@exept.de>
parents: 11224
diff changeset
   507
             label: 'Instance Variables:'
f3193680050b class: Tools::NewClassWizardDialog
Claus Gittinger <cg@exept.de>
parents: 11224
diff changeset
   508
             name: 'Label5'
16895
463e46f35100 #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 16752
diff changeset
   509
             layout: (LayoutFrame 10 0 342 0 180 0 364 0)
13941
f3193680050b class: Tools::NewClassWizardDialog
Claus Gittinger <cg@exept.de>
parents: 11224
diff changeset
   510
             activeHelpKey: instanceVariableNames
16926
a5e115fc2ba2 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16895
diff changeset
   511
             visibilityChannel: isCreatingClassHolder
13941
f3193680050b class: Tools::NewClassWizardDialog
Claus Gittinger <cg@exept.de>
parents: 11224
diff changeset
   512
             translateLabel: true
f3193680050b class: Tools::NewClassWizardDialog
Claus Gittinger <cg@exept.de>
parents: 11224
diff changeset
   513
             adjust: right
f3193680050b class: Tools::NewClassWizardDialog
Claus Gittinger <cg@exept.de>
parents: 11224
diff changeset
   514
           )
f3193680050b class: Tools::NewClassWizardDialog
Claus Gittinger <cg@exept.de>
parents: 11224
diff changeset
   515
          (InputFieldSpec
f3193680050b class: Tools::NewClassWizardDialog
Claus Gittinger <cg@exept.de>
parents: 11224
diff changeset
   516
             name: 'EntryField4'
16895
463e46f35100 #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 16752
diff changeset
   517
             layout: (LayoutFrame 190 0 342 0 -32 1 364 0)
13941
f3193680050b class: Tools::NewClassWizardDialog
Claus Gittinger <cg@exept.de>
parents: 11224
diff changeset
   518
             activeHelpKey: instanceVariableNames
16926
a5e115fc2ba2 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16895
diff changeset
   519
             visibilityChannel: isCreatingClassHolder
13941
f3193680050b class: Tools::NewClassWizardDialog
Claus Gittinger <cg@exept.de>
parents: 11224
diff changeset
   520
             model: instVarNamesHolder
f3193680050b class: Tools::NewClassWizardDialog
Claus Gittinger <cg@exept.de>
parents: 11224
diff changeset
   521
             acceptOnReturn: true
f3193680050b class: Tools::NewClassWizardDialog
Claus Gittinger <cg@exept.de>
parents: 11224
diff changeset
   522
             acceptOnTab: true
f3193680050b class: Tools::NewClassWizardDialog
Claus Gittinger <cg@exept.de>
parents: 11224
diff changeset
   523
             acceptOnLostFocus: true
f3193680050b class: Tools::NewClassWizardDialog
Claus Gittinger <cg@exept.de>
parents: 11224
diff changeset
   524
             acceptOnPointerLeave: true
f3193680050b class: Tools::NewClassWizardDialog
Claus Gittinger <cg@exept.de>
parents: 11224
diff changeset
   525
           )
f3193680050b class: Tools::NewClassWizardDialog
Claus Gittinger <cg@exept.de>
parents: 11224
diff changeset
   526
          (LabelSpec
f3193680050b class: Tools::NewClassWizardDialog
Claus Gittinger <cg@exept.de>
parents: 11224
diff changeset
   527
             label: 'Class Variables:'
f3193680050b class: Tools::NewClassWizardDialog
Claus Gittinger <cg@exept.de>
parents: 11224
diff changeset
   528
             name: 'Label6'
16895
463e46f35100 #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 16752
diff changeset
   529
             layout: (LayoutFrame 10 0 372 0 180 0 394 0)
13941
f3193680050b class: Tools::NewClassWizardDialog
Claus Gittinger <cg@exept.de>
parents: 11224
diff changeset
   530
             activeHelpKey: classVariableNames
16926
a5e115fc2ba2 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16895
diff changeset
   531
             visibilityChannel: isCreatingClassHolder
13941
f3193680050b class: Tools::NewClassWizardDialog
Claus Gittinger <cg@exept.de>
parents: 11224
diff changeset
   532
             translateLabel: true
f3193680050b class: Tools::NewClassWizardDialog
Claus Gittinger <cg@exept.de>
parents: 11224
diff changeset
   533
             adjust: right
f3193680050b class: Tools::NewClassWizardDialog
Claus Gittinger <cg@exept.de>
parents: 11224
diff changeset
   534
           )
f3193680050b class: Tools::NewClassWizardDialog
Claus Gittinger <cg@exept.de>
parents: 11224
diff changeset
   535
          (InputFieldSpec
f3193680050b class: Tools::NewClassWizardDialog
Claus Gittinger <cg@exept.de>
parents: 11224
diff changeset
   536
             name: 'EntryField5'
16895
463e46f35100 #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 16752
diff changeset
   537
             layout: (LayoutFrame 190 0 372 0 -32 1 394 0)
13941
f3193680050b class: Tools::NewClassWizardDialog
Claus Gittinger <cg@exept.de>
parents: 11224
diff changeset
   538
             activeHelpKey: classVariableNames
16926
a5e115fc2ba2 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16895
diff changeset
   539
             visibilityChannel: isCreatingClassHolder
13941
f3193680050b class: Tools::NewClassWizardDialog
Claus Gittinger <cg@exept.de>
parents: 11224
diff changeset
   540
             model: classVarNamesHolder
f3193680050b class: Tools::NewClassWizardDialog
Claus Gittinger <cg@exept.de>
parents: 11224
diff changeset
   541
             acceptOnReturn: true
f3193680050b class: Tools::NewClassWizardDialog
Claus Gittinger <cg@exept.de>
parents: 11224
diff changeset
   542
             acceptOnTab: true
f3193680050b class: Tools::NewClassWizardDialog
Claus Gittinger <cg@exept.de>
parents: 11224
diff changeset
   543
             acceptOnLostFocus: true
f3193680050b class: Tools::NewClassWizardDialog
Claus Gittinger <cg@exept.de>
parents: 11224
diff changeset
   544
             acceptOnPointerLeave: true
f3193680050b class: Tools::NewClassWizardDialog
Claus Gittinger <cg@exept.de>
parents: 11224
diff changeset
   545
           )
f3193680050b class: Tools::NewClassWizardDialog
Claus Gittinger <cg@exept.de>
parents: 11224
diff changeset
   546
          (LabelSpec
16895
463e46f35100 #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 16752
diff changeset
   547
             label: 'Class InstVars:'
13941
f3193680050b class: Tools::NewClassWizardDialog
Claus Gittinger <cg@exept.de>
parents: 11224
diff changeset
   548
             name: 'Label7'
16895
463e46f35100 #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 16752
diff changeset
   549
             layout: (LayoutFrame 10 0 402 0 180 0 424 0)
13941
f3193680050b class: Tools::NewClassWizardDialog
Claus Gittinger <cg@exept.de>
parents: 11224
diff changeset
   550
             activeHelpKey: classInstVariableNames
16926
a5e115fc2ba2 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16895
diff changeset
   551
             visibilityChannel: isCreatingClassHolder
13941
f3193680050b class: Tools::NewClassWizardDialog
Claus Gittinger <cg@exept.de>
parents: 11224
diff changeset
   552
             translateLabel: true
f3193680050b class: Tools::NewClassWizardDialog
Claus Gittinger <cg@exept.de>
parents: 11224
diff changeset
   553
             adjust: right
f3193680050b class: Tools::NewClassWizardDialog
Claus Gittinger <cg@exept.de>
parents: 11224
diff changeset
   554
           )
f3193680050b class: Tools::NewClassWizardDialog
Claus Gittinger <cg@exept.de>
parents: 11224
diff changeset
   555
          (InputFieldSpec
f3193680050b class: Tools::NewClassWizardDialog
Claus Gittinger <cg@exept.de>
parents: 11224
diff changeset
   556
             name: 'EntryField6'
16895
463e46f35100 #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 16752
diff changeset
   557
             layout: (LayoutFrame 190 0 402 0 -32 1 424 0)
13941
f3193680050b class: Tools::NewClassWizardDialog
Claus Gittinger <cg@exept.de>
parents: 11224
diff changeset
   558
             activeHelpKey: classInstVariableNames
16926
a5e115fc2ba2 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16895
diff changeset
   559
             visibilityChannel: isCreatingClassHolder
13941
f3193680050b class: Tools::NewClassWizardDialog
Claus Gittinger <cg@exept.de>
parents: 11224
diff changeset
   560
             model: classInstVarNamesHolder
f3193680050b class: Tools::NewClassWizardDialog
Claus Gittinger <cg@exept.de>
parents: 11224
diff changeset
   561
             acceptOnReturn: true
f3193680050b class: Tools::NewClassWizardDialog
Claus Gittinger <cg@exept.de>
parents: 11224
diff changeset
   562
             acceptOnTab: true
f3193680050b class: Tools::NewClassWizardDialog
Claus Gittinger <cg@exept.de>
parents: 11224
diff changeset
   563
             acceptOnLostFocus: true
f3193680050b class: Tools::NewClassWizardDialog
Claus Gittinger <cg@exept.de>
parents: 11224
diff changeset
   564
             acceptOnPointerLeave: true
f3193680050b class: Tools::NewClassWizardDialog
Claus Gittinger <cg@exept.de>
parents: 11224
diff changeset
   565
           )
f3193680050b class: Tools::NewClassWizardDialog
Claus Gittinger <cg@exept.de>
parents: 11224
diff changeset
   566
          (LabelSpec
f3193680050b class: Tools::NewClassWizardDialog
Claus Gittinger <cg@exept.de>
parents: 11224
diff changeset
   567
             label: 'Create:'
f3193680050b class: Tools::NewClassWizardDialog
Claus Gittinger <cg@exept.de>
parents: 11224
diff changeset
   568
             name: 'Label8'
16895
463e46f35100 #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 16752
diff changeset
   569
             layout: (LayoutFrame 10 0 442 0 110 0 464 0)
13941
f3193680050b class: Tools::NewClassWizardDialog
Claus Gittinger <cg@exept.de>
parents: 11224
diff changeset
   570
             translateLabel: true
f3193680050b class: Tools::NewClassWizardDialog
Claus Gittinger <cg@exept.de>
parents: 11224
diff changeset
   571
             adjust: right
f3193680050b class: Tools::NewClassWizardDialog
Claus Gittinger <cg@exept.de>
parents: 11224
diff changeset
   572
           )
f3193680050b class: Tools::NewClassWizardDialog
Claus Gittinger <cg@exept.de>
parents: 11224
diff changeset
   573
          (CheckBoxSpec
f3193680050b class: Tools::NewClassWizardDialog
Claus Gittinger <cg@exept.de>
parents: 11224
diff changeset
   574
             label: 'Accessors'
f3193680050b class: Tools::NewClassWizardDialog
Claus Gittinger <cg@exept.de>
parents: 11224
diff changeset
   575
             name: 'CheckBox1'
16895
463e46f35100 #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 16752
diff changeset
   576
             layout: (LayoutFrame 120 0 442 0 280 0 464 0)
13941
f3193680050b class: Tools::NewClassWizardDialog
Claus Gittinger <cg@exept.de>
parents: 11224
diff changeset
   577
             activeHelpKey: createAccessors
16926
a5e115fc2ba2 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16895
diff changeset
   578
             visibilityChannel: isCreatingClassHolder
13941
f3193680050b class: Tools::NewClassWizardDialog
Claus Gittinger <cg@exept.de>
parents: 11224
diff changeset
   579
             model: createAccessorsHolder
f3193680050b class: Tools::NewClassWizardDialog
Claus Gittinger <cg@exept.de>
parents: 11224
diff changeset
   580
             translateLabel: true
f3193680050b class: Tools::NewClassWizardDialog
Claus Gittinger <cg@exept.de>
parents: 11224
diff changeset
   581
           )
f3193680050b class: Tools::NewClassWizardDialog
Claus Gittinger <cg@exept.de>
parents: 11224
diff changeset
   582
          (CheckBoxSpec
f3193680050b class: Tools::NewClassWizardDialog
Claus Gittinger <cg@exept.de>
parents: 11224
diff changeset
   583
             label: 'Initial Template Code'
f3193680050b class: Tools::NewClassWizardDialog
Claus Gittinger <cg@exept.de>
parents: 11224
diff changeset
   584
             name: 'CheckBox6'
16895
463e46f35100 #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 16752
diff changeset
   585
             layout: (LayoutFrame 310 0 442 0 -36 1 464 0)
13941
f3193680050b class: Tools::NewClassWizardDialog
Claus Gittinger <cg@exept.de>
parents: 11224
diff changeset
   586
             activeHelpKey: createInitialGUICode
16926
a5e115fc2ba2 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16895
diff changeset
   587
             enableChannel: canDisableTemplateCreationHolder
13941
f3193680050b class: Tools::NewClassWizardDialog
Claus Gittinger <cg@exept.de>
parents: 11224
diff changeset
   588
             model: createInitialGUICodeHolder
f3193680050b class: Tools::NewClassWizardDialog
Claus Gittinger <cg@exept.de>
parents: 11224
diff changeset
   589
             translateLabel: true
f3193680050b class: Tools::NewClassWizardDialog
Claus Gittinger <cg@exept.de>
parents: 11224
diff changeset
   590
           )
f3193680050b class: Tools::NewClassWizardDialog
Claus Gittinger <cg@exept.de>
parents: 11224
diff changeset
   591
          (CheckBoxSpec
f3193680050b class: Tools::NewClassWizardDialog
Claus Gittinger <cg@exept.de>
parents: 11224
diff changeset
   592
             label: 'Initializer'
f3193680050b class: Tools::NewClassWizardDialog
Claus Gittinger <cg@exept.de>
parents: 11224
diff changeset
   593
             name: 'CheckBox2'
16895
463e46f35100 #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 16752
diff changeset
   594
             layout: (LayoutFrame 120 0 472 0 0 1 494 0)
13941
f3193680050b class: Tools::NewClassWizardDialog
Claus Gittinger <cg@exept.de>
parents: 11224
diff changeset
   595
             activeHelpKey: createInitializer
16926
a5e115fc2ba2 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16895
diff changeset
   596
             visibilityChannel: isCreatingClassHolder
13941
f3193680050b class: Tools::NewClassWizardDialog
Claus Gittinger <cg@exept.de>
parents: 11224
diff changeset
   597
             model: createInitializerHolder
f3193680050b class: Tools::NewClassWizardDialog
Claus Gittinger <cg@exept.de>
parents: 11224
diff changeset
   598
             translateLabel: true
f3193680050b class: Tools::NewClassWizardDialog
Claus Gittinger <cg@exept.de>
parents: 11224
diff changeset
   599
           )
f3193680050b class: Tools::NewClassWizardDialog
Claus Gittinger <cg@exept.de>
parents: 11224
diff changeset
   600
          (CheckBoxSpec
f3193680050b class: Tools::NewClassWizardDialog
Claus Gittinger <cg@exept.de>
parents: 11224
diff changeset
   601
             label: 'Update Method'
f3193680050b class: Tools::NewClassWizardDialog
Claus Gittinger <cg@exept.de>
parents: 11224
diff changeset
   602
             name: 'CheckBox5'
16895
463e46f35100 #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 16752
diff changeset
   603
             layout: (LayoutFrame 120 0 502 0 0 1 524 0)
13941
f3193680050b class: Tools::NewClassWizardDialog
Claus Gittinger <cg@exept.de>
parents: 11224
diff changeset
   604
             activeHelpKey: createUpdateMethod
16926
a5e115fc2ba2 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16895
diff changeset
   605
             visibilityChannel: isCreatingClassHolder
13941
f3193680050b class: Tools::NewClassWizardDialog
Claus Gittinger <cg@exept.de>
parents: 11224
diff changeset
   606
             model: createUpdateMethodHolder
f3193680050b class: Tools::NewClassWizardDialog
Claus Gittinger <cg@exept.de>
parents: 11224
diff changeset
   607
             translateLabel: true
f3193680050b class: Tools::NewClassWizardDialog
Claus Gittinger <cg@exept.de>
parents: 11224
diff changeset
   608
           )
f3193680050b class: Tools::NewClassWizardDialog
Claus Gittinger <cg@exept.de>
parents: 11224
diff changeset
   609
          (CheckBoxSpec
f3193680050b class: Tools::NewClassWizardDialog
Claus Gittinger <cg@exept.de>
parents: 11224
diff changeset
   610
             label: 'Required Methods (Subclass responsibilities)'
f3193680050b class: Tools::NewClassWizardDialog
Claus Gittinger <cg@exept.de>
parents: 11224
diff changeset
   611
             name: 'CheckBox3'
16895
463e46f35100 #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 16752
diff changeset
   612
             layout: (LayoutFrame 120 0 532 0 0 1 554 0)
13941
f3193680050b class: Tools::NewClassWizardDialog
Claus Gittinger <cg@exept.de>
parents: 11224
diff changeset
   613
             activeHelpKey: createRequiredMethods
16926
a5e115fc2ba2 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16895
diff changeset
   614
             visibilityChannel: isCreatingClassHolder
13941
f3193680050b class: Tools::NewClassWizardDialog
Claus Gittinger <cg@exept.de>
parents: 11224
diff changeset
   615
             model: createRequiredMethodsHolder
f3193680050b class: Tools::NewClassWizardDialog
Claus Gittinger <cg@exept.de>
parents: 11224
diff changeset
   616
             translateLabel: true
f3193680050b class: Tools::NewClassWizardDialog
Claus Gittinger <cg@exept.de>
parents: 11224
diff changeset
   617
           )
f3193680050b class: Tools::NewClassWizardDialog
Claus Gittinger <cg@exept.de>
parents: 11224
diff changeset
   618
          (CheckBoxSpec
f3193680050b class: Tools::NewClassWizardDialog
Claus Gittinger <cg@exept.de>
parents: 11224
diff changeset
   619
             label: 'Print Method'
f3193680050b class: Tools::NewClassWizardDialog
Claus Gittinger <cg@exept.de>
parents: 11224
diff changeset
   620
             name: 'CheckBox4'
16895
463e46f35100 #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 16752
diff changeset
   621
             layout: (LayoutFrame 120 0 562 0 0 1 584 0)
13941
f3193680050b class: Tools::NewClassWizardDialog
Claus Gittinger <cg@exept.de>
parents: 11224
diff changeset
   622
             activeHelpKey: createPrintMethod
f3193680050b class: Tools::NewClassWizardDialog
Claus Gittinger <cg@exept.de>
parents: 11224
diff changeset
   623
             visibilityChannel: false
f3193680050b class: Tools::NewClassWizardDialog
Claus Gittinger <cg@exept.de>
parents: 11224
diff changeset
   624
             model: createPrintMethodHolder
f3193680050b class: Tools::NewClassWizardDialog
Claus Gittinger <cg@exept.de>
parents: 11224
diff changeset
   625
             translateLabel: true
f3193680050b class: Tools::NewClassWizardDialog
Claus Gittinger <cg@exept.de>
parents: 11224
diff changeset
   626
           )
f3193680050b class: Tools::NewClassWizardDialog
Claus Gittinger <cg@exept.de>
parents: 11224
diff changeset
   627
          (HorizontalPanelViewSpec
f3193680050b class: Tools::NewClassWizardDialog
Claus Gittinger <cg@exept.de>
parents: 11224
diff changeset
   628
             name: 'HorizontalPanel1'
f3193680050b class: Tools::NewClassWizardDialog
Claus Gittinger <cg@exept.de>
parents: 11224
diff changeset
   629
             layout: (LayoutFrame 0 0 -30 1 0 1 0 1)
f3193680050b class: Tools::NewClassWizardDialog
Claus Gittinger <cg@exept.de>
parents: 11224
diff changeset
   630
             horizontalLayout: center
f3193680050b class: Tools::NewClassWizardDialog
Claus Gittinger <cg@exept.de>
parents: 11224
diff changeset
   631
             verticalLayout: center
f3193680050b class: Tools::NewClassWizardDialog
Claus Gittinger <cg@exept.de>
parents: 11224
diff changeset
   632
             horizontalSpace: 3
f3193680050b class: Tools::NewClassWizardDialog
Claus Gittinger <cg@exept.de>
parents: 11224
diff changeset
   633
             verticalSpace: 3
f3193680050b class: Tools::NewClassWizardDialog
Claus Gittinger <cg@exept.de>
parents: 11224
diff changeset
   634
             reverseOrderIfOKAtLeft: true
f3193680050b class: Tools::NewClassWizardDialog
Claus Gittinger <cg@exept.de>
parents: 11224
diff changeset
   635
             component: 
f3193680050b class: Tools::NewClassWizardDialog
Claus Gittinger <cg@exept.de>
parents: 11224
diff changeset
   636
            (SpecCollection
f3193680050b class: Tools::NewClassWizardDialog
Claus Gittinger <cg@exept.de>
parents: 11224
diff changeset
   637
               collection: (
f3193680050b class: Tools::NewClassWizardDialog
Claus Gittinger <cg@exept.de>
parents: 11224
diff changeset
   638
                (ActionButtonSpec
f3193680050b class: Tools::NewClassWizardDialog
Claus Gittinger <cg@exept.de>
parents: 11224
diff changeset
   639
                   label: 'Cancel'
f3193680050b class: Tools::NewClassWizardDialog
Claus Gittinger <cg@exept.de>
parents: 11224
diff changeset
   640
                   name: 'Button3'
f3193680050b class: Tools::NewClassWizardDialog
Claus Gittinger <cg@exept.de>
parents: 11224
diff changeset
   641
                   translateLabel: true
f3193680050b class: Tools::NewClassWizardDialog
Claus Gittinger <cg@exept.de>
parents: 11224
diff changeset
   642
                   model: doCancel
f3193680050b class: Tools::NewClassWizardDialog
Claus Gittinger <cg@exept.de>
parents: 11224
diff changeset
   643
                   extent: (Point 125 22)
9216
cc5c43784db2 category
Claus Gittinger <cg@exept.de>
parents: 9211
diff changeset
   644
                 )
13941
f3193680050b class: Tools::NewClassWizardDialog
Claus Gittinger <cg@exept.de>
parents: 11224
diff changeset
   645
                (ActionButtonSpec
f3193680050b class: Tools::NewClassWizardDialog
Claus Gittinger <cg@exept.de>
parents: 11224
diff changeset
   646
                   label: 'OK'
f3193680050b class: Tools::NewClassWizardDialog
Claus Gittinger <cg@exept.de>
parents: 11224
diff changeset
   647
                   name: 'Button2'
f3193680050b class: Tools::NewClassWizardDialog
Claus Gittinger <cg@exept.de>
parents: 11224
diff changeset
   648
                   translateLabel: true
f3193680050b class: Tools::NewClassWizardDialog
Claus Gittinger <cg@exept.de>
parents: 11224
diff changeset
   649
                   model: doAccept
f3193680050b class: Tools::NewClassWizardDialog
Claus Gittinger <cg@exept.de>
parents: 11224
diff changeset
   650
                   extent: (Point 125 22)
f3193680050b class: Tools::NewClassWizardDialog
Claus Gittinger <cg@exept.de>
parents: 11224
diff changeset
   651
                 )
f3193680050b class: Tools::NewClassWizardDialog
Claus Gittinger <cg@exept.de>
parents: 11224
diff changeset
   652
                )
f3193680050b class: Tools::NewClassWizardDialog
Claus Gittinger <cg@exept.de>
parents: 11224
diff changeset
   653
              
f3193680050b class: Tools::NewClassWizardDialog
Claus Gittinger <cg@exept.de>
parents: 11224
diff changeset
   654
             )
9216
cc5c43784db2 category
Claus Gittinger <cg@exept.de>
parents: 9211
diff changeset
   655
           )
13941
f3193680050b class: Tools::NewClassWizardDialog
Claus Gittinger <cg@exept.de>
parents: 11224
diff changeset
   656
          )
f3193680050b class: Tools::NewClassWizardDialog
Claus Gittinger <cg@exept.de>
parents: 11224
diff changeset
   657
        
f3193680050b class: Tools::NewClassWizardDialog
Claus Gittinger <cg@exept.de>
parents: 11224
diff changeset
   658
       )
f3193680050b class: Tools::NewClassWizardDialog
Claus Gittinger <cg@exept.de>
parents: 11224
diff changeset
   659
     )
9195
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   660
! !
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   661
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   662
!NewClassWizardDialog class methodsFor:'menu specs'!
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   663
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   664
mainMenu
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   665
    "This resource specification was automatically generated by the CodeGeneratorTool."
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   666
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   667
    "Do not manually edit this!! If it is corrupted,
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   668
     the MenuEditor may not be able to read the specification."
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   669
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   670
    "
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   671
     MenuEditor new openOnClass:Tools::NewClassDialog andSelector:#mainMenu
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   672
    "
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   673
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   674
    <resource: #menu>
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   675
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   676
    ^ #(#Menu
9216
cc5c43784db2 category
Claus Gittinger <cg@exept.de>
parents: 9211
diff changeset
   677
           #(
cc5c43784db2 category
Claus Gittinger <cg@exept.de>
parents: 9211
diff changeset
   678
             #(#MenuItem
cc5c43784db2 category
Claus Gittinger <cg@exept.de>
parents: 9211
diff changeset
   679
                #label: 'File'
cc5c43784db2 category
Claus Gittinger <cg@exept.de>
parents: 9211
diff changeset
   680
                #translateLabel: true
cc5c43784db2 category
Claus Gittinger <cg@exept.de>
parents: 9211
diff changeset
   681
                #submenu:
cc5c43784db2 category
Claus Gittinger <cg@exept.de>
parents: 9211
diff changeset
   682
                 #(#Menu
cc5c43784db2 category
Claus Gittinger <cg@exept.de>
parents: 9211
diff changeset
   683
                     #(
cc5c43784db2 category
Claus Gittinger <cg@exept.de>
parents: 9211
diff changeset
   684
                       #(#MenuItem
cc5c43784db2 category
Claus Gittinger <cg@exept.de>
parents: 9211
diff changeset
   685
                          #label: 'New'
cc5c43784db2 category
Claus Gittinger <cg@exept.de>
parents: 9211
diff changeset
   686
                          #translateLabel: true
cc5c43784db2 category
Claus Gittinger <cg@exept.de>
parents: 9211
diff changeset
   687
                          #value: #menuNew
cc5c43784db2 category
Claus Gittinger <cg@exept.de>
parents: 9211
diff changeset
   688
                      )
cc5c43784db2 category
Claus Gittinger <cg@exept.de>
parents: 9211
diff changeset
   689
                       #(#MenuItem
cc5c43784db2 category
Claus Gittinger <cg@exept.de>
parents: 9211
diff changeset
   690
                          #label: '-'
cc5c43784db2 category
Claus Gittinger <cg@exept.de>
parents: 9211
diff changeset
   691
                      )
cc5c43784db2 category
Claus Gittinger <cg@exept.de>
parents: 9211
diff changeset
   692
                       #(#MenuItem
cc5c43784db2 category
Claus Gittinger <cg@exept.de>
parents: 9211
diff changeset
   693
                          #label: 'Open...'
cc5c43784db2 category
Claus Gittinger <cg@exept.de>
parents: 9211
diff changeset
   694
                          #translateLabel: true
cc5c43784db2 category
Claus Gittinger <cg@exept.de>
parents: 9211
diff changeset
   695
                          #value: #menuOpen
cc5c43784db2 category
Claus Gittinger <cg@exept.de>
parents: 9211
diff changeset
   696
                      )
cc5c43784db2 category
Claus Gittinger <cg@exept.de>
parents: 9211
diff changeset
   697
                       #(#MenuItem
cc5c43784db2 category
Claus Gittinger <cg@exept.de>
parents: 9211
diff changeset
   698
                          #label: '-'
cc5c43784db2 category
Claus Gittinger <cg@exept.de>
parents: 9211
diff changeset
   699
                      )
cc5c43784db2 category
Claus Gittinger <cg@exept.de>
parents: 9211
diff changeset
   700
                       #(#MenuItem
cc5c43784db2 category
Claus Gittinger <cg@exept.de>
parents: 9211
diff changeset
   701
                          #label: 'Save'
cc5c43784db2 category
Claus Gittinger <cg@exept.de>
parents: 9211
diff changeset
   702
                          #translateLabel: true
cc5c43784db2 category
Claus Gittinger <cg@exept.de>
parents: 9211
diff changeset
   703
                          #value: #menuSave
cc5c43784db2 category
Claus Gittinger <cg@exept.de>
parents: 9211
diff changeset
   704
                      )
cc5c43784db2 category
Claus Gittinger <cg@exept.de>
parents: 9211
diff changeset
   705
                       #(#MenuItem
cc5c43784db2 category
Claus Gittinger <cg@exept.de>
parents: 9211
diff changeset
   706
                          #label: 'Save As...'
cc5c43784db2 category
Claus Gittinger <cg@exept.de>
parents: 9211
diff changeset
   707
                          #translateLabel: true
cc5c43784db2 category
Claus Gittinger <cg@exept.de>
parents: 9211
diff changeset
   708
                          #value: #menuSaveAs
cc5c43784db2 category
Claus Gittinger <cg@exept.de>
parents: 9211
diff changeset
   709
                      )
cc5c43784db2 category
Claus Gittinger <cg@exept.de>
parents: 9211
diff changeset
   710
                       #(#MenuItem
cc5c43784db2 category
Claus Gittinger <cg@exept.de>
parents: 9211
diff changeset
   711
                          #label: '-'
cc5c43784db2 category
Claus Gittinger <cg@exept.de>
parents: 9211
diff changeset
   712
                      )
cc5c43784db2 category
Claus Gittinger <cg@exept.de>
parents: 9211
diff changeset
   713
                       #(#MenuItem
cc5c43784db2 category
Claus Gittinger <cg@exept.de>
parents: 9211
diff changeset
   714
                          #label: 'Exit'
cc5c43784db2 category
Claus Gittinger <cg@exept.de>
parents: 9211
diff changeset
   715
                          #translateLabel: true
cc5c43784db2 category
Claus Gittinger <cg@exept.de>
parents: 9211
diff changeset
   716
                          #value: #closeRequest
cc5c43784db2 category
Claus Gittinger <cg@exept.de>
parents: 9211
diff changeset
   717
                      )
cc5c43784db2 category
Claus Gittinger <cg@exept.de>
parents: 9211
diff changeset
   718
                    ) nil
cc5c43784db2 category
Claus Gittinger <cg@exept.de>
parents: 9211
diff changeset
   719
                    nil
cc5c43784db2 category
Claus Gittinger <cg@exept.de>
parents: 9211
diff changeset
   720
                )
cc5c43784db2 category
Claus Gittinger <cg@exept.de>
parents: 9211
diff changeset
   721
            )
cc5c43784db2 category
Claus Gittinger <cg@exept.de>
parents: 9211
diff changeset
   722
             #(#MenuItem
15397
d8b138e50a72 help menu layout and title (Menu_Help instead of Help)
Claus Gittinger <cg@exept.de>
parents: 15296
diff changeset
   723
            label: 'MENU_Help'
d8b138e50a72 help menu layout and title (Menu_Help instead of Help)
Claus Gittinger <cg@exept.de>
parents: 15296
diff changeset
   724
            startGroup: conditionalRight
9216
cc5c43784db2 category
Claus Gittinger <cg@exept.de>
parents: 9211
diff changeset
   725
                #translateLabel: true
cc5c43784db2 category
Claus Gittinger <cg@exept.de>
parents: 9211
diff changeset
   726
                #submenu:
cc5c43784db2 category
Claus Gittinger <cg@exept.de>
parents: 9211
diff changeset
   727
                 #(#Menu
cc5c43784db2 category
Claus Gittinger <cg@exept.de>
parents: 9211
diff changeset
   728
                     #(
cc5c43784db2 category
Claus Gittinger <cg@exept.de>
parents: 9211
diff changeset
   729
                       #(#MenuItem
cc5c43784db2 category
Claus Gittinger <cg@exept.de>
parents: 9211
diff changeset
   730
                          #label: 'Documentation'
cc5c43784db2 category
Claus Gittinger <cg@exept.de>
parents: 9211
diff changeset
   731
                          #translateLabel: true
cc5c43784db2 category
Claus Gittinger <cg@exept.de>
parents: 9211
diff changeset
   732
                          #value: #openDocumentation
cc5c43784db2 category
Claus Gittinger <cg@exept.de>
parents: 9211
diff changeset
   733
                      )
cc5c43784db2 category
Claus Gittinger <cg@exept.de>
parents: 9211
diff changeset
   734
                       #(#MenuItem
cc5c43784db2 category
Claus Gittinger <cg@exept.de>
parents: 9211
diff changeset
   735
                          #label: '-'
cc5c43784db2 category
Claus Gittinger <cg@exept.de>
parents: 9211
diff changeset
   736
                      )
cc5c43784db2 category
Claus Gittinger <cg@exept.de>
parents: 9211
diff changeset
   737
                       #(#MenuItem
cc5c43784db2 category
Claus Gittinger <cg@exept.de>
parents: 9211
diff changeset
   738
                          #label: 'About this Application...'
cc5c43784db2 category
Claus Gittinger <cg@exept.de>
parents: 9211
diff changeset
   739
                          #translateLabel: true
cc5c43784db2 category
Claus Gittinger <cg@exept.de>
parents: 9211
diff changeset
   740
                          #value: #openAboutThisApplication
cc5c43784db2 category
Claus Gittinger <cg@exept.de>
parents: 9211
diff changeset
   741
                      )
cc5c43784db2 category
Claus Gittinger <cg@exept.de>
parents: 9211
diff changeset
   742
                    ) nil
cc5c43784db2 category
Claus Gittinger <cg@exept.de>
parents: 9211
diff changeset
   743
                    nil
cc5c43784db2 category
Claus Gittinger <cg@exept.de>
parents: 9211
diff changeset
   744
                )
cc5c43784db2 category
Claus Gittinger <cg@exept.de>
parents: 9211
diff changeset
   745
            )
cc5c43784db2 category
Claus Gittinger <cg@exept.de>
parents: 9211
diff changeset
   746
          ) nil
cc5c43784db2 category
Claus Gittinger <cg@exept.de>
parents: 9211
diff changeset
   747
          nil
9195
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   748
      )
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   749
!
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   750
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   751
toolbarMenu
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   752
    "This resource specification was automatically generated by the CodeGeneratorTool."
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   753
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   754
    "Do not manually edit this!! If it is corrupted,
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   755
     the MenuEditor may not be able to read the specification."
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   756
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   757
    "
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   758
     MenuEditor new openOnClass:Tools::NewClassDialog andSelector:#toolbarMenu
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   759
    "
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   760
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   761
    <resource: #menu>
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   762
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   763
    ^ #(Menu ((MenuItem label: 'Reload' itemValue: menuReload translateLabel: true labelImage: (ResourceRetriever ToolbarIconLibrary reload24x24Icon))) nil nil)
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   764
! !
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   765
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   766
!NewClassWizardDialog methodsFor:'accessing'!
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   767
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   768
compilerProviderBlock:aBlock
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   769
    "/ see NewSystemBrowser on how to use this
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   770
    compilerProviderBlock := aBlock.
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   771
!
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   772
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   773
createdClass
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   774
    ^ createdClass
9721
47aa8329ff01 care for metaClass in class wizard
Claus Gittinger <cg@exept.de>
parents: 9719
diff changeset
   775
!
47aa8329ff01 care for metaClass in class wizard
Claus Gittinger <cg@exept.de>
parents: 9719
diff changeset
   776
47aa8329ff01 care for metaClass in class wizard
Claus Gittinger <cg@exept.de>
parents: 9719
diff changeset
   777
language                      
47aa8329ff01 care for metaClass in class wizard
Claus Gittinger <cg@exept.de>
parents: 9719
diff changeset
   778
    |languageName languageClass|
47aa8329ff01 care for metaClass in class wizard
Claus Gittinger <cg@exept.de>
parents: 9719
diff changeset
   779
47aa8329ff01 care for metaClass in class wizard
Claus Gittinger <cg@exept.de>
parents: 9719
diff changeset
   780
    languageName := self listOfLanguages at:(languageHolder value).
47aa8329ff01 care for metaClass in class wizard
Claus Gittinger <cg@exept.de>
parents: 9719
diff changeset
   781
    languageClass := ProgrammingLanguage allSubclasses 
47aa8329ff01 care for metaClass in class wizard
Claus Gittinger <cg@exept.de>
parents: 9719
diff changeset
   782
        detect:[:l | l instance name = languageName]
47aa8329ff01 care for metaClass in class wizard
Claus Gittinger <cg@exept.de>
parents: 9719
diff changeset
   783
        ifNone:[ SmalltalkLanguage].
47aa8329ff01 care for metaClass in class wizard
Claus Gittinger <cg@exept.de>
parents: 9719
diff changeset
   784
    ^ languageClass instance
47aa8329ff01 care for metaClass in class wizard
Claus Gittinger <cg@exept.de>
parents: 9719
diff changeset
   785
47aa8329ff01 care for metaClass in class wizard
Claus Gittinger <cg@exept.de>
parents: 9719
diff changeset
   786
    "Created: / 30-01-2011 / 09:35:19 / cg"
47aa8329ff01 care for metaClass in class wizard
Claus Gittinger <cg@exept.de>
parents: 9719
diff changeset
   787
    "Modified: / 30-01-2011 / 10:40:35 / cg"
9195
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   788
! !
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   789
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   790
!NewClassWizardDialog methodsFor:'actions'!
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   791
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   792
doAccept
16926
a5e115fc2ba2 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16895
diff changeset
   793
    self isCreatingPackageHolder value ifFalse:[
a5e115fc2ba2 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16895
diff changeset
   794
        self doAcceptForNewClass ifFalse:[^ self].
a5e115fc2ba2 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16895
diff changeset
   795
    ] ifTrue:[
a5e115fc2ba2 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16895
diff changeset
   796
        self doAcceptForNewPackage ifFalse:[^ self].
a5e115fc2ba2 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16895
diff changeset
   797
    ].    
a5e115fc2ba2 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16895
diff changeset
   798
    super doAccept.
a5e115fc2ba2 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16895
diff changeset
   799
!
a5e115fc2ba2 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16895
diff changeset
   800
a5e115fc2ba2 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16895
diff changeset
   801
doAcceptForNewClass
9195
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   802
    |newClassName superclassName superclass package answer|
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   803
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   804
    newClassName := self classNameHolder value.
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   805
    newClassName isEmptyOrNil ifTrue:[
16926
a5e115fc2ba2 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16895
diff changeset
   806
        self warn:('No Classname entered').
a5e115fc2ba2 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16895
diff changeset
   807
        ^ false.
9195
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   808
    ].
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   809
    newClassName isValidSmalltalkIdentifier ifFalse:[
16926
a5e115fc2ba2 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16895
diff changeset
   810
        self warn:'No valid Classname entered (must be alphaNumeric)'.
a5e115fc2ba2 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16895
diff changeset
   811
        ^ false.
9195
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   812
    ].
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   813
    newClassName first isUppercase ifFalse:[
16926
a5e115fc2ba2 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16895
diff changeset
   814
        self warn:'No valid Classname entered (first Character must be uppercase)'.
a5e115fc2ba2 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16895
diff changeset
   815
        ^ false.
9195
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   816
    ].
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   817
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   818
    superclassName := self superclassNameHolder value.
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   819
    superclass := Smalltalk classNamed:superclassName.
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   820
    superclass isNil ifTrue:[
9207
1d1b8d1ba42b changed: #doAccept
Claus Gittinger <cg@exept.de>
parents: 9205
diff changeset
   821
        (superclassName knownAsSymbol and:[Smalltalk includesKey:superclassName asSymbol]) ifFalse:[
16926
a5e115fc2ba2 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16895
diff changeset
   822
            self warn:'No such Superclass'.
a5e115fc2ba2 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16895
diff changeset
   823
            ^ false.
9207
1d1b8d1ba42b changed: #doAccept
Claus Gittinger <cg@exept.de>
parents: 9205
diff changeset
   824
        ].
1d1b8d1ba42b changed: #doAccept
Claus Gittinger <cg@exept.de>
parents: 9205
diff changeset
   825
        (Smalltalk at:superclassName asSymbol) isBehavior ifFalse:[
16926
a5e115fc2ba2 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16895
diff changeset
   826
            self warn:'"%1" refers to a global which is not a class (%2)'
a5e115fc2ba2 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16895
diff changeset
   827
                        with:superclassName
a5e115fc2ba2 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16895
diff changeset
   828
                        with:superclass className.
a5e115fc2ba2 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16895
diff changeset
   829
            ^ false.
9207
1d1b8d1ba42b changed: #doAccept
Claus Gittinger <cg@exept.de>
parents: 9205
diff changeset
   830
        ].
9195
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   831
    ].
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   832
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   833
    package := self packageHolder value.
9211
38821c9edc77 changed: #doAccept
Stefan Vogel <sv@exept.de>
parents: 9207
diff changeset
   834
    package notEmptyOrNil ifTrue:[
38821c9edc77 changed: #doAccept
Stefan Vogel <sv@exept.de>
parents: 9207
diff changeset
   835
        (package asPackageId module isEmptyOrNil
38821c9edc77 changed: #doAccept
Stefan Vogel <sv@exept.de>
parents: 9207
diff changeset
   836
        or:[ package asPackageId directory isEmptyOrNil ]) ifTrue:[
16926
a5e115fc2ba2 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16895
diff changeset
   837
            self warn:'The packageID "%1" must be of the form "module:directory" (for the source repository management)'
a5e115fc2ba2 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16895
diff changeset
   838
                        with:package.
a5e115fc2ba2 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16895
diff changeset
   839
            ^ false.
9211
38821c9edc77 changed: #doAccept
Stefan Vogel <sv@exept.de>
parents: 9207
diff changeset
   840
        ].
9207
1d1b8d1ba42b changed: #doAccept
Claus Gittinger <cg@exept.de>
parents: 9205
diff changeset
   841
1d1b8d1ba42b changed: #doAccept
Claus Gittinger <cg@exept.de>
parents: 9205
diff changeset
   842
        (ProjectDefinition definitionClassForPackage:package) isNil ifTrue:[
1d1b8d1ba42b changed: #doAccept
Claus Gittinger <cg@exept.de>
parents: 9205
diff changeset
   843
            answer := Dialog
1d1b8d1ba42b changed: #doAccept
Claus Gittinger <cg@exept.de>
parents: 9205
diff changeset
   844
                        choose:('Create a new ProjectDefinition for "%1" ?
9195
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   845
9205
07015f8db981 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9195
diff changeset
   846
This can also be done later.
9195
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   847
Create the definition as:
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   848
' bindWith:package)
9207
1d1b8d1ba42b changed: #doAccept
Claus Gittinger <cg@exept.de>
parents: 9205
diff changeset
   849
                        fromList:nil values:nil
1d1b8d1ba42b changed: #doAccept
Claus Gittinger <cg@exept.de>
parents: 9205
diff changeset
   850
                        buttons:#('GUI Application' 'non-GUI Application' 'Library')
1d1b8d1ba42b changed: #doAccept
Claus Gittinger <cg@exept.de>
parents: 9205
diff changeset
   851
                        values:#(guiApplicationType #nonGuiApplicationType #libraryType)
1d1b8d1ba42b changed: #doAccept
Claus Gittinger <cg@exept.de>
parents: 9205
diff changeset
   852
                        lines:nil cancel:false.
9195
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   853
16926
a5e115fc2ba2 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16895
diff changeset
   854
            answer == false ifTrue:[^ false].
9195
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   855
9207
1d1b8d1ba42b changed: #doAccept
Claus Gittinger <cg@exept.de>
parents: 9205
diff changeset
   856
            ProjectDefinition
1d1b8d1ba42b changed: #doAccept
Claus Gittinger <cg@exept.de>
parents: 9205
diff changeset
   857
                definitionClassForPackage:package
1d1b8d1ba42b changed: #doAccept
Claus Gittinger <cg@exept.de>
parents: 9205
diff changeset
   858
                projectType: (ProjectDefinition perform:answer)
1d1b8d1ba42b changed: #doAccept
Claus Gittinger <cg@exept.de>
parents: 9205
diff changeset
   859
                createIfAbsent:true.
1d1b8d1ba42b changed: #doAccept
Claus Gittinger <cg@exept.de>
parents: 9205
diff changeset
   860
        ].
9195
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   861
    ].
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   862
11224
6f7da28fcedd comment/format in: #doAccept
Claus Gittinger <cg@exept.de>
parents: 10590
diff changeset
   863
"/ done in caller (for undo handling...)
9205
07015f8db981 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9195
diff changeset
   864
"/    createdClass :=
9195
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   865
"/            superclass
9205
07015f8db981 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9195
diff changeset
   866
"/                subclass: newClassName asSymbol
07015f8db981 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9195
diff changeset
   867
"/                instanceVariableNames: instVarNamesHolder value
07015f8db981 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9195
diff changeset
   868
"/                classVariableNames: classVarNamesHolder value
9195
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   869
"/                poolDictionaries: ' '
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   870
"/                category: '* as yet uncategorized *'.
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   871
"/
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   872
"/    classInstVarNamesHolder value notEmptyOrNil ifTrue:[
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   873
"/        createdClass class instanceVariableNames: classInstVarNamesHolder value
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   874
"/    ].
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   875
9216
cc5c43784db2 category
Claus Gittinger <cg@exept.de>
parents: 9211
diff changeset
   876
    LastCategory := categoryHolder value.
cc5c43784db2 category
Claus Gittinger <cg@exept.de>
parents: 9211
diff changeset
   877
    LastPackage := packageHolder value.
9721
47aa8329ff01 care for metaClass in class wizard
Claus Gittinger <cg@exept.de>
parents: 9719
diff changeset
   878
    LastLanguage := self listOfLanguages at:(languageHolder value).
9216
cc5c43784db2 category
Claus Gittinger <cg@exept.de>
parents: 9211
diff changeset
   879
16926
a5e115fc2ba2 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16895
diff changeset
   880
    ^ true
9721
47aa8329ff01 care for metaClass in class wizard
Claus Gittinger <cg@exept.de>
parents: 9719
diff changeset
   881
47aa8329ff01 care for metaClass in class wizard
Claus Gittinger <cg@exept.de>
parents: 9719
diff changeset
   882
    "Modified: / 30-01-2011 / 09:33:28 / cg"
11224
6f7da28fcedd comment/format in: #doAccept
Claus Gittinger <cg@exept.de>
parents: 10590
diff changeset
   883
    "Modified (comment): / 27-01-2012 / 14:53:02 / cg"
9195
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   884
!
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   885
16926
a5e115fc2ba2 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16895
diff changeset
   886
doAcceptForNewPackage
a5e115fc2ba2 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16895
diff changeset
   887
    |package projectType|
a5e115fc2ba2 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16895
diff changeset
   888
a5e115fc2ba2 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16895
diff changeset
   889
    package := self packageHolder value.
a5e115fc2ba2 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16895
diff changeset
   890
    package isEmptyOrNil ifTrue:[
a5e115fc2ba2 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16895
diff changeset
   891
        self warn:'Missing packageID'.
a5e115fc2ba2 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16895
diff changeset
   892
        ^ false.
a5e115fc2ba2 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16895
diff changeset
   893
    ].
a5e115fc2ba2 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16895
diff changeset
   894
    
a5e115fc2ba2 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16895
diff changeset
   895
    (package asPackageId module isEmptyOrNil
a5e115fc2ba2 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16895
diff changeset
   896
    or:[ package asPackageId directory isEmptyOrNil ]) ifTrue:[
a5e115fc2ba2 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16895
diff changeset
   897
        self warn:'The packageID "%1" must be of the form "module:directory" (for the source repository management)'
a5e115fc2ba2 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16895
diff changeset
   898
                    with:package.
a5e115fc2ba2 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16895
diff changeset
   899
        ^ false.
a5e115fc2ba2 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16895
diff changeset
   900
    ].
a5e115fc2ba2 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16895
diff changeset
   901
a5e115fc2ba2 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16895
diff changeset
   902
    (ProjectDefinition definitionClassForPackage:package) notNil ifTrue:[
a5e115fc2ba2 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16895
diff changeset
   903
        self warn:'Package already exists'.
a5e115fc2ba2 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16895
diff changeset
   904
        ^ false.
a5e115fc2ba2 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16895
diff changeset
   905
    ].    
a5e115fc2ba2 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16895
diff changeset
   906
    self stereotypeSymbol == #GUIProject ifTrue:[
a5e115fc2ba2 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16895
diff changeset
   907
        projectType := ProjectDefinition guiApplicationType
a5e115fc2ba2 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16895
diff changeset
   908
    ] ifFalse:[    
a5e115fc2ba2 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16895
diff changeset
   909
        self stereotypeSymbol == #NonGUIProject ifTrue:[
a5e115fc2ba2 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16895
diff changeset
   910
            projectType := ProjectDefinition nonGuiApplicationType
a5e115fc2ba2 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16895
diff changeset
   911
        ] ifFalse:[    
a5e115fc2ba2 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16895
diff changeset
   912
            self stereotypeSymbol == #LibraryProject ifTrue:[
a5e115fc2ba2 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16895
diff changeset
   913
                projectType := ProjectDefinition libraryType
a5e115fc2ba2 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16895
diff changeset
   914
            ] ifFalse:[
a5e115fc2ba2 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16895
diff changeset
   915
                self warn:'oops - what kind of package is this'.
a5e115fc2ba2 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16895
diff changeset
   916
                ^ false.
a5e115fc2ba2 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16895
diff changeset
   917
            ]
a5e115fc2ba2 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16895
diff changeset
   918
        ].    
a5e115fc2ba2 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16895
diff changeset
   919
    ].
a5e115fc2ba2 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16895
diff changeset
   920
    ProjectDefinition
a5e115fc2ba2 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16895
diff changeset
   921
        definitionClassForPackage:package
a5e115fc2ba2 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16895
diff changeset
   922
        projectType:projectType
a5e115fc2ba2 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16895
diff changeset
   923
        createIfAbsent:true.
a5e115fc2ba2 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16895
diff changeset
   924
            
a5e115fc2ba2 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16895
diff changeset
   925
    self doCancel. "/ hack - for now.
a5e115fc2ba2 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16895
diff changeset
   926
    ^ false.
a5e115fc2ba2 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16895
diff changeset
   927
!
a5e115fc2ba2 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16895
diff changeset
   928
9195
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   929
doCancel
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   930
    self closeRequest.
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   931
!
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   932
9248
Claus Gittinger <cg@exept.de>
parents: 9223
diff changeset
   933
openCategoryChooser
Claus Gittinger <cg@exept.de>
parents: 9223
diff changeset
   934
    |category|
Claus Gittinger <cg@exept.de>
parents: 9223
diff changeset
   935
Claus Gittinger <cg@exept.de>
parents: 9223
diff changeset
   936
    category := Dialog 
9282
a0ccecc25a76 changed:8 methods
Claus Gittinger <cg@exept.de>
parents: 9249
diff changeset
   937
                    choose:(resources string:'Select a Category')
9248
Claus Gittinger <cg@exept.de>
parents: 9223
diff changeset
   938
                    fromList:(Smalltalk allClassCategories asSortedCollection)
Claus Gittinger <cg@exept.de>
parents: 9223
diff changeset
   939
                    lines:15.
Claus Gittinger <cg@exept.de>
parents: 9223
diff changeset
   940
    category isNil ifTrue:[^ self].
Claus Gittinger <cg@exept.de>
parents: 9223
diff changeset
   941
Claus Gittinger <cg@exept.de>
parents: 9223
diff changeset
   942
    self categoryHolder value:category.
9195
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   943
!
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   944
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   945
openNamespaceChooser
9249
195b0799d1d4 comment/format in:
Claus Gittinger <cg@exept.de>
parents: 9248
diff changeset
   946
    "(mis)use the browser's namespace dialog"
195b0799d1d4 comment/format in:
Claus Gittinger <cg@exept.de>
parents: 9248
diff changeset
   947
9248
Claus Gittinger <cg@exept.de>
parents: 9223
diff changeset
   948
    |browser namespaceString existing|
Claus Gittinger <cg@exept.de>
parents: 9223
diff changeset
   949
Claus Gittinger <cg@exept.de>
parents: 9223
diff changeset
   950
    (browser := masterApplication) isNil ifTrue:[
Claus Gittinger <cg@exept.de>
parents: 9223
diff changeset
   951
        browser := Tools::NewSystemBrowser basicNew
Claus Gittinger <cg@exept.de>
parents: 9223
diff changeset
   952
    ].
Claus Gittinger <cg@exept.de>
parents: 9223
diff changeset
   953
9282
a0ccecc25a76 changed:8 methods
Claus Gittinger <cg@exept.de>
parents: 9249
diff changeset
   954
    namespaceString := browser 
a0ccecc25a76 changed:8 methods
Claus Gittinger <cg@exept.de>
parents: 9249
diff changeset
   955
                        askForNameSpace:(resources string:'Select or Enter a Namespace') 
a0ccecc25a76 changed:8 methods
Claus Gittinger <cg@exept.de>
parents: 9249
diff changeset
   956
                        title:(resources string:'Namespace selection') 
a0ccecc25a76 changed:8 methods
Claus Gittinger <cg@exept.de>
parents: 9249
diff changeset
   957
                        initialText:'Smalltalk'.
9248
Claus Gittinger <cg@exept.de>
parents: 9223
diff changeset
   958
    namespaceString isNil ifTrue:[^ self].
Claus Gittinger <cg@exept.de>
parents: 9223
diff changeset
   959
Claus Gittinger <cg@exept.de>
parents: 9223
diff changeset
   960
    existing := Smalltalk classNamed:namespaceString.
10590
1a41a0700e59 changed: #openNamespaceChooser
Claus Gittinger <cg@exept.de>
parents: 9726
diff changeset
   961
    (existing notNil and:[existing isNameSpace]) ifTrue:[
9248
Claus Gittinger <cg@exept.de>
parents: 9223
diff changeset
   962
        "/ exists
Claus Gittinger <cg@exept.de>
parents: 9223
diff changeset
   963
    ] ifFalse:[
Claus Gittinger <cg@exept.de>
parents: 9223
diff changeset
   964
        (existing notNil) ifTrue:[
Claus Gittinger <cg@exept.de>
parents: 9223
diff changeset
   965
            Dialog warn:('"%1" is already defined, but not a namespace' bindWith:namespaceString).
Claus Gittinger <cg@exept.de>
parents: 9223
diff changeset
   966
            ^ self
Claus Gittinger <cg@exept.de>
parents: 9223
diff changeset
   967
        ].
Claus Gittinger <cg@exept.de>
parents: 9223
diff changeset
   968
    ].
Claus Gittinger <cg@exept.de>
parents: 9223
diff changeset
   969
    Class withoutUpdatingChangesDo:[
Claus Gittinger <cg@exept.de>
parents: 9223
diff changeset
   970
        NameSpace name:namespaceString.
Claus Gittinger <cg@exept.de>
parents: 9223
diff changeset
   971
    ].
Claus Gittinger <cg@exept.de>
parents: 9223
diff changeset
   972
    self nameSpaceHolder value:namespaceString.
10590
1a41a0700e59 changed: #openNamespaceChooser
Claus Gittinger <cg@exept.de>
parents: 9726
diff changeset
   973
1a41a0700e59 changed: #openNamespaceChooser
Claus Gittinger <cg@exept.de>
parents: 9726
diff changeset
   974
    "Modified: / 19-08-2011 / 01:00:52 / cg"
9195
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   975
!
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   976
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   977
openPackageChooser
9249
195b0799d1d4 comment/format in:
Claus Gittinger <cg@exept.de>
parents: 9248
diff changeset
   978
    "(mis)use the browser's package dialog"
195b0799d1d4 comment/format in:
Claus Gittinger <cg@exept.de>
parents: 9248
diff changeset
   979
9248
Claus Gittinger <cg@exept.de>
parents: 9223
diff changeset
   980
    |browser package|
Claus Gittinger <cg@exept.de>
parents: 9223
diff changeset
   981
Claus Gittinger <cg@exept.de>
parents: 9223
diff changeset
   982
    (browser := masterApplication) isNil ifTrue:[
Claus Gittinger <cg@exept.de>
parents: 9223
diff changeset
   983
        browser := Tools::NewSystemBrowser basicNew
Claus Gittinger <cg@exept.de>
parents: 9223
diff changeset
   984
    ].
Claus Gittinger <cg@exept.de>
parents: 9223
diff changeset
   985
9282
a0ccecc25a76 changed:8 methods
Claus Gittinger <cg@exept.de>
parents: 9249
diff changeset
   986
    package := browser askForProject:(resources string:'Select or Enter a Package-ID').
9248
Claus Gittinger <cg@exept.de>
parents: 9223
diff changeset
   987
    package isNil ifTrue:[^ self].
Claus Gittinger <cg@exept.de>
parents: 9223
diff changeset
   988
Claus Gittinger <cg@exept.de>
parents: 9223
diff changeset
   989
    self packageHolder value:package.
Claus Gittinger <cg@exept.de>
parents: 9223
diff changeset
   990
!
Claus Gittinger <cg@exept.de>
parents: 9223
diff changeset
   991
Claus Gittinger <cg@exept.de>
parents: 9223
diff changeset
   992
openSuperClassChooser
9249
195b0799d1d4 comment/format in:
Claus Gittinger <cg@exept.de>
parents: 9248
diff changeset
   993
    "(mis)use the browser's class dialog"
195b0799d1d4 comment/format in:
Claus Gittinger <cg@exept.de>
parents: 9248
diff changeset
   994
9248
Claus Gittinger <cg@exept.de>
parents: 9223
diff changeset
   995
    |browser class classValid classNameOrNil|
Claus Gittinger <cg@exept.de>
parents: 9223
diff changeset
   996
Claus Gittinger <cg@exept.de>
parents: 9223
diff changeset
   997
    (browser := masterApplication) isNil ifTrue:[
Claus Gittinger <cg@exept.de>
parents: 9223
diff changeset
   998
        browser := Tools::NewSystemBrowser basicNew
Claus Gittinger <cg@exept.de>
parents: 9223
diff changeset
   999
    ].
Claus Gittinger <cg@exept.de>
parents: 9223
diff changeset
  1000
Claus Gittinger <cg@exept.de>
parents: 9223
diff changeset
  1001
    classValid := false.
Claus Gittinger <cg@exept.de>
parents: 9223
diff changeset
  1002
    [ classValid ] whileFalse:[
Claus Gittinger <cg@exept.de>
parents: 9223
diff changeset
  1003
        classNameOrNil := browser
Claus Gittinger <cg@exept.de>
parents: 9223
diff changeset
  1004
            askForClassToSearch:nil
Claus Gittinger <cg@exept.de>
parents: 9223
diff changeset
  1005
            single:true 
9282
a0ccecc25a76 changed:8 methods
Claus Gittinger <cg@exept.de>
parents: 9249
diff changeset
  1006
            msgTail:(resources string:'Select a Class') 
9248
Claus Gittinger <cg@exept.de>
parents: 9223
diff changeset
  1007
            resources:nil
Claus Gittinger <cg@exept.de>
parents: 9223
diff changeset
  1008
            thenDo:nil.
Claus Gittinger <cg@exept.de>
parents: 9223
diff changeset
  1009
Claus Gittinger <cg@exept.de>
parents: 9223
diff changeset
  1010
        classNameOrNil isNil ifTrue:[^ self].
Claus Gittinger <cg@exept.de>
parents: 9223
diff changeset
  1011
        class := Smalltalk classNamed:classNameOrNil.
Claus Gittinger <cg@exept.de>
parents: 9223
diff changeset
  1012
        classValid := class notNil
Claus Gittinger <cg@exept.de>
parents: 9223
diff changeset
  1013
    ].
Claus Gittinger <cg@exept.de>
parents: 9223
diff changeset
  1014
    self superclassNameHolder value:class name.
9218
86ad5ddea7b5 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9216
diff changeset
  1015
!
86ad5ddea7b5 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9216
diff changeset
  1016
86ad5ddea7b5 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9216
diff changeset
  1017
stereotypeChanged
16926
a5e115fc2ba2 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16895
diff changeset
  1018
    |stereoTypeSymbol|
9218
86ad5ddea7b5 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9216
diff changeset
  1019
16926
a5e115fc2ba2 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16895
diff changeset
  1020
    self listOfSuperclassesHolder value:self listOfSuperclasses.
a5e115fc2ba2 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16895
diff changeset
  1021
    
a5e115fc2ba2 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16895
diff changeset
  1022
    stereoTypeSymbol := self stereotypeSymbol.
a5e115fc2ba2 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16895
diff changeset
  1023
    
a5e115fc2ba2 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16895
diff changeset
  1024
    (stereoTypeSymbol = #'GUIProject'
a5e115fc2ba2 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16895
diff changeset
  1025
    or:[ stereoTypeSymbol = #'NonGUIProject'
a5e115fc2ba2 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16895
diff changeset
  1026
    or:[ stereoTypeSymbol = #'LibraryProject' ]]) ifTrue:[
a5e115fc2ba2 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16895
diff changeset
  1027
        self isCreatingClassHolder value:false. 
a5e115fc2ba2 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16895
diff changeset
  1028
        self canDisableTemplateCreationHolder value:false.
a5e115fc2ba2 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16895
diff changeset
  1029
        self createInitialGUICodeHolder value:true.
a5e115fc2ba2 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16895
diff changeset
  1030
    ] ifFalse:[
a5e115fc2ba2 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16895
diff changeset
  1031
        self isCreatingClassHolder value:true.    
a5e115fc2ba2 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16895
diff changeset
  1032
        self canDisableTemplateCreationHolder value:true.
a5e115fc2ba2 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16895
diff changeset
  1033
    ].    
a5e115fc2ba2 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16895
diff changeset
  1034
    
17285
f923dd150c2f #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16926
diff changeset
  1035
    stereoTypeSymbol isNil ifTrue:[
9282
a0ccecc25a76 changed:8 methods
Claus Gittinger <cg@exept.de>
parents: 9249
diff changeset
  1036
        self createInitializerHolder value:true.
a0ccecc25a76 changed:8 methods
Claus Gittinger <cg@exept.de>
parents: 9249
diff changeset
  1037
        self createPrintMethodHolder value:false.
a0ccecc25a76 changed:8 methods
Claus Gittinger <cg@exept.de>
parents: 9249
diff changeset
  1038
        self createAccessorsHolder value:true.
a0ccecc25a76 changed:8 methods
Claus Gittinger <cg@exept.de>
parents: 9249
diff changeset
  1039
        self createInitialGUICodeHolder value:false.
9726
e84b9cdc6cbe changed: #stereotypeChanged
Claus Gittinger <cg@exept.de>
parents: 9721
diff changeset
  1040
        self createUpdateMethodHolder value:false.
9282
a0ccecc25a76 changed:8 methods
Claus Gittinger <cg@exept.de>
parents: 9249
diff changeset
  1041
    ].
a0ccecc25a76 changed:8 methods
Claus Gittinger <cg@exept.de>
parents: 9249
diff changeset
  1042
16926
a5e115fc2ba2 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16895
diff changeset
  1043
    stereoTypeSymbol = #'DataObject' ifTrue:[
9719
60ddc5c84ff7 changed:
Claus Gittinger <cg@exept.de>
parents: 9464
diff changeset
  1044
        self superclassNameHolder value:'Model'.
60ddc5c84ff7 changed:
Claus Gittinger <cg@exept.de>
parents: 9464
diff changeset
  1045
        self createAccessorsHolder value:true.
60ddc5c84ff7 changed:
Claus Gittinger <cg@exept.de>
parents: 9464
diff changeset
  1046
        self createInitialGUICodeHolder value:false.
9726
e84b9cdc6cbe changed: #stereotypeChanged
Claus Gittinger <cg@exept.de>
parents: 9721
diff changeset
  1047
        self createUpdateMethodHolder value:false.
9719
60ddc5c84ff7 changed:
Claus Gittinger <cg@exept.de>
parents: 9464
diff changeset
  1048
    ].
16926
a5e115fc2ba2 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16895
diff changeset
  1049
"/    stereoTypeSymbol = #'Enumeration' ifTrue:[
9719
60ddc5c84ff7 changed:
Claus Gittinger <cg@exept.de>
parents: 9464
diff changeset
  1050
"/        self superclassNameHolder value:'Enumeration'.
60ddc5c84ff7 changed:
Claus Gittinger <cg@exept.de>
parents: 9464
diff changeset
  1051
"/        self createInitializerHolder value:true.
60ddc5c84ff7 changed:
Claus Gittinger <cg@exept.de>
parents: 9464
diff changeset
  1052
"/        self createAccessorsHolder value:false.
60ddc5c84ff7 changed:
Claus Gittinger <cg@exept.de>
parents: 9464
diff changeset
  1053
"/        self createInitialGUICodeHolder value:false.
60ddc5c84ff7 changed:
Claus Gittinger <cg@exept.de>
parents: 9464
diff changeset
  1054
"/    ].
16926
a5e115fc2ba2 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16895
diff changeset
  1055
    stereoTypeSymbol = #'GUIApplication' ifTrue:[
9282
a0ccecc25a76 changed:8 methods
Claus Gittinger <cg@exept.de>
parents: 9249
diff changeset
  1056
        self superclassNameHolder value:'ApplicationModel'.
a0ccecc25a76 changed:8 methods
Claus Gittinger <cg@exept.de>
parents: 9249
diff changeset
  1057
        self createInitializerHolder value:false.
a0ccecc25a76 changed:8 methods
Claus Gittinger <cg@exept.de>
parents: 9249
diff changeset
  1058
        self createPrintMethodHolder value:false.
a0ccecc25a76 changed:8 methods
Claus Gittinger <cg@exept.de>
parents: 9249
diff changeset
  1059
        self createInitialGUICodeHolder value:true.
9726
e84b9cdc6cbe changed: #stereotypeChanged
Claus Gittinger <cg@exept.de>
parents: 9721
diff changeset
  1060
        self createUpdateMethodHolder value:true.
9282
a0ccecc25a76 changed:8 methods
Claus Gittinger <cg@exept.de>
parents: 9249
diff changeset
  1061
    ].
16926
a5e115fc2ba2 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16895
diff changeset
  1062
    stereoTypeSymbol = #'SharedPool' ifTrue:[
9719
60ddc5c84ff7 changed:
Claus Gittinger <cg@exept.de>
parents: 9464
diff changeset
  1063
        self superclassNameHolder value:'SharedPool'.
60ddc5c84ff7 changed:
Claus Gittinger <cg@exept.de>
parents: 9464
diff changeset
  1064
        self createAccessorsHolder value:false.
60ddc5c84ff7 changed:
Claus Gittinger <cg@exept.de>
parents: 9464
diff changeset
  1065
        self createInitializerHolder value:true.
60ddc5c84ff7 changed:
Claus Gittinger <cg@exept.de>
parents: 9464
diff changeset
  1066
        self createPrintMethodHolder value:false.
9282
a0ccecc25a76 changed:8 methods
Claus Gittinger <cg@exept.de>
parents: 9249
diff changeset
  1067
        self createInitialGUICodeHolder value:false.
9719
60ddc5c84ff7 changed:
Claus Gittinger <cg@exept.de>
parents: 9464
diff changeset
  1068
        self createUpdateMethodHolder value:false.
9218
86ad5ddea7b5 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9216
diff changeset
  1069
    ].
16926
a5e115fc2ba2 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16895
diff changeset
  1070
    (stereoTypeSymbol = #'StartupClass') ifTrue:[
11224
6f7da28fcedd comment/format in: #doAccept
Claus Gittinger <cg@exept.de>
parents: 10590
diff changeset
  1071
        self superclassNameHolder value:'StandaloneStartup'.
6f7da28fcedd comment/format in: #doAccept
Claus Gittinger <cg@exept.de>
parents: 10590
diff changeset
  1072
        self createAccessorsHolder value:false.
6f7da28fcedd comment/format in: #doAccept
Claus Gittinger <cg@exept.de>
parents: 10590
diff changeset
  1073
        self createInitializerHolder value:true.
6f7da28fcedd comment/format in: #doAccept
Claus Gittinger <cg@exept.de>
parents: 10590
diff changeset
  1074
        self createPrintMethodHolder value:false.
6f7da28fcedd comment/format in: #doAccept
Claus Gittinger <cg@exept.de>
parents: 10590
diff changeset
  1075
        self createInitialGUICodeHolder value:true.
6f7da28fcedd comment/format in: #doAccept
Claus Gittinger <cg@exept.de>
parents: 10590
diff changeset
  1076
        self createUpdateMethodHolder value:false.
6f7da28fcedd comment/format in: #doAccept
Claus Gittinger <cg@exept.de>
parents: 10590
diff changeset
  1077
    ].
16926
a5e115fc2ba2 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16895
diff changeset
  1078
    stereoTypeSymbol = #'TestCase' ifTrue:[
9719
60ddc5c84ff7 changed:
Claus Gittinger <cg@exept.de>
parents: 9464
diff changeset
  1079
        self superclassNameHolder value:'TestCase'.
60ddc5c84ff7 changed:
Claus Gittinger <cg@exept.de>
parents: 9464
diff changeset
  1080
        self createAccessorsHolder value:false.
9282
a0ccecc25a76 changed:8 methods
Claus Gittinger <cg@exept.de>
parents: 9249
diff changeset
  1081
        self createInitializerHolder value:false.
a0ccecc25a76 changed:8 methods
Claus Gittinger <cg@exept.de>
parents: 9249
diff changeset
  1082
        self createPrintMethodHolder value:false.
9719
60ddc5c84ff7 changed:
Claus Gittinger <cg@exept.de>
parents: 9464
diff changeset
  1083
        self createInitialGUICodeHolder value:true.
9726
e84b9cdc6cbe changed: #stereotypeChanged
Claus Gittinger <cg@exept.de>
parents: 9721
diff changeset
  1084
        self createUpdateMethodHolder value:false.
9218
86ad5ddea7b5 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9216
diff changeset
  1085
    ].
16926
a5e115fc2ba2 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16895
diff changeset
  1086
    stereoTypeSymbol = #'WebService' ifTrue:[
9282
a0ccecc25a76 changed:8 methods
Claus Gittinger <cg@exept.de>
parents: 9249
diff changeset
  1087
        self superclassNameHolder value:'HTTPService'.
a0ccecc25a76 changed:8 methods
Claus Gittinger <cg@exept.de>
parents: 9249
diff changeset
  1088
        self createAccessorsHolder value:false.
a0ccecc25a76 changed:8 methods
Claus Gittinger <cg@exept.de>
parents: 9249
diff changeset
  1089
        self createInitializerHolder value:false.
a0ccecc25a76 changed:8 methods
Claus Gittinger <cg@exept.de>
parents: 9249
diff changeset
  1090
        self createPrintMethodHolder value:false.
a0ccecc25a76 changed:8 methods
Claus Gittinger <cg@exept.de>
parents: 9249
diff changeset
  1091
        self createInitialGUICodeHolder value:true.
9726
e84b9cdc6cbe changed: #stereotypeChanged
Claus Gittinger <cg@exept.de>
parents: 9721
diff changeset
  1092
        self createUpdateMethodHolder value:false.
9218
86ad5ddea7b5 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9216
diff changeset
  1093
    ].
16926
a5e115fc2ba2 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16895
diff changeset
  1094
    stereoTypeSymbol = #'Widget' ifTrue:[
9719
60ddc5c84ff7 changed:
Claus Gittinger <cg@exept.de>
parents: 9464
diff changeset
  1095
        self superclassNameHolder value:'View'.
9282
a0ccecc25a76 changed:8 methods
Claus Gittinger <cg@exept.de>
parents: 9249
diff changeset
  1096
        self createInitializerHolder value:false.
a0ccecc25a76 changed:8 methods
Claus Gittinger <cg@exept.de>
parents: 9249
diff changeset
  1097
        self createPrintMethodHolder value:false.
9719
60ddc5c84ff7 changed:
Claus Gittinger <cg@exept.de>
parents: 9464
diff changeset
  1098
        self createInitialGUICodeHolder value:false.
9726
e84b9cdc6cbe changed: #stereotypeChanged
Claus Gittinger <cg@exept.de>
parents: 9721
diff changeset
  1099
        self createUpdateMethodHolder value:true.
9218
86ad5ddea7b5 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9216
diff changeset
  1100
    ].
9719
60ddc5c84ff7 changed:
Claus Gittinger <cg@exept.de>
parents: 9464
diff changeset
  1101
11224
6f7da28fcedd comment/format in: #doAccept
Claus Gittinger <cg@exept.de>
parents: 10590
diff changeset
  1102
    "Modified: / 27-01-2012 / 14:47:20 / cg"
16926
a5e115fc2ba2 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16895
diff changeset
  1103
!
a5e115fc2ba2 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16895
diff changeset
  1104
a5e115fc2ba2 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16895
diff changeset
  1105
stereotypeSymbol
a5e115fc2ba2 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16895
diff changeset
  1106
    |stereoTypeIndex stereoTypeSpec stereoTypeSymbol|
a5e115fc2ba2 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16895
diff changeset
  1107
a5e115fc2ba2 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16895
diff changeset
  1108
    stereoTypeIndex := self stereotypeHolder value.
a5e115fc2ba2 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16895
diff changeset
  1109
    stereoTypeIndex isNil ifTrue:[^ nil].
a5e115fc2ba2 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16895
diff changeset
  1110
    
a5e115fc2ba2 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16895
diff changeset
  1111
    stereoTypeSpec := self stereotypeSpec at:stereoTypeIndex.
a5e115fc2ba2 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16895
diff changeset
  1112
    stereoTypeSymbol := stereoTypeSpec first.
a5e115fc2ba2 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16895
diff changeset
  1113
    ^ stereoTypeSymbol
9195
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1114
! !
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1115
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1116
!NewClassWizardDialog methodsFor:'aspects'!
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1117
16926
a5e115fc2ba2 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16895
diff changeset
  1118
canDisableTemplateCreationHolder
a5e115fc2ba2 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16895
diff changeset
  1119
    <resource: #uiAspect>
a5e115fc2ba2 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16895
diff changeset
  1120
a5e115fc2ba2 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16895
diff changeset
  1121
    canDisableTemplateCreationHolder isNil ifTrue:[
a5e115fc2ba2 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16895
diff changeset
  1122
        canDisableTemplateCreationHolder := true asValue.
a5e115fc2ba2 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16895
diff changeset
  1123
    ].
a5e115fc2ba2 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16895
diff changeset
  1124
    ^ canDisableTemplateCreationHolder.
a5e115fc2ba2 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16895
diff changeset
  1125
!
a5e115fc2ba2 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16895
diff changeset
  1126
9216
cc5c43784db2 category
Claus Gittinger <cg@exept.de>
parents: 9211
diff changeset
  1127
categoryHolder
cc5c43784db2 category
Claus Gittinger <cg@exept.de>
parents: 9211
diff changeset
  1128
    <resource: #uiAspect>
cc5c43784db2 category
Claus Gittinger <cg@exept.de>
parents: 9211
diff changeset
  1129
cc5c43784db2 category
Claus Gittinger <cg@exept.de>
parents: 9211
diff changeset
  1130
    categoryHolder isNil ifTrue:[
15296
c6ecd82484fc class: Tools::NewClassWizardDialog
Claus Gittinger <cg@exept.de>
parents: 14394
diff changeset
  1131
        categoryHolder := LastCategory asValue.
9216
cc5c43784db2 category
Claus Gittinger <cg@exept.de>
parents: 9211
diff changeset
  1132
    ].
cc5c43784db2 category
Claus Gittinger <cg@exept.de>
parents: 9211
diff changeset
  1133
    ^ categoryHolder.
cc5c43784db2 category
Claus Gittinger <cg@exept.de>
parents: 9211
diff changeset
  1134
!
cc5c43784db2 category
Claus Gittinger <cg@exept.de>
parents: 9211
diff changeset
  1135
9195
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1136
classInstVarNamesHolder
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1137
    <resource: #uiAspect>
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1138
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1139
    classInstVarNamesHolder isNil ifTrue:[
9216
cc5c43784db2 category
Claus Gittinger <cg@exept.de>
parents: 9211
diff changeset
  1140
        classInstVarNamesHolder := ValueHolder new.
9195
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1141
    ].
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1142
    ^ classInstVarNamesHolder.
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1143
!
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1144
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1145
classNameHolder
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1146
    <resource: #uiAspect>
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1147
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1148
    classNameHolder isNil ifTrue:[
9216
cc5c43784db2 category
Claus Gittinger <cg@exept.de>
parents: 9211
diff changeset
  1149
        classNameHolder := ValueHolder new.
9195
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1150
    ].
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1151
    ^ classNameHolder.
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1152
!
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1153
16926
a5e115fc2ba2 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16895
diff changeset
  1154
classNameVisibleHolder
a5e115fc2ba2 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16895
diff changeset
  1155
    <resource: #uiAspect>
a5e115fc2ba2 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16895
diff changeset
  1156
a5e115fc2ba2 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16895
diff changeset
  1157
    ^ self isCreatingClassHolder
a5e115fc2ba2 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16895
diff changeset
  1158
!
a5e115fc2ba2 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16895
diff changeset
  1159
9195
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1160
classVarNamesHolder
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1161
    <resource: #uiAspect>
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1162
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1163
    classVarNamesHolder isNil ifTrue:[
9216
cc5c43784db2 category
Claus Gittinger <cg@exept.de>
parents: 9211
diff changeset
  1164
        classVarNamesHolder := ValueHolder new.
9195
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1165
    ].
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1166
    ^ classVarNamesHolder.
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1167
!
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1168
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1169
createAccessors
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1170
    ^ self createAccessorsHolder value
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1171
!
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1172
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1173
createAccessorsHolder
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1174
    <resource: #uiAspect>
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1175
9205
07015f8db981 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9195
diff changeset
  1176
    createAccessorsHolder isNil ifTrue:[
9216
cc5c43784db2 category
Claus Gittinger <cg@exept.de>
parents: 9211
diff changeset
  1177
        createAccessorsHolder := true asValue.
9195
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1178
    ].
9205
07015f8db981 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9195
diff changeset
  1179
    ^ createAccessorsHolder.
9195
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1180
!
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1181
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1182
createInitialGUICode
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1183
    ^ self createInitialGUICodeHolder value
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1184
!
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1185
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1186
createInitialGUICodeHolder
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1187
    <resource: #uiAspect>
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1188
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1189
    createInitialGUICodeHolder isNil ifTrue:[
9216
cc5c43784db2 category
Claus Gittinger <cg@exept.de>
parents: 9211
diff changeset
  1190
        createInitialGUICodeHolder := true asValue.
9195
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1191
    ].
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1192
    ^ createInitialGUICodeHolder.
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1193
!
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1194
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1195
createInitializer
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1196
    ^ self createInitializerHolder value
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1197
!
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1198
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1199
createInitializerHolder
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1200
    <resource: #uiAspect>
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1201
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1202
    createInitializerHolder isNil ifTrue:[
9216
cc5c43784db2 category
Claus Gittinger <cg@exept.de>
parents: 9211
diff changeset
  1203
        createInitializerHolder := true asValue.
9195
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1204
    ].
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1205
    ^ createInitializerHolder.
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1206
!
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1207
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1208
createPrintMethod
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1209
    ^ self createPrintMethodHolder value
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1210
!
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1211
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1212
createPrintMethodHolder
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1213
    <resource: #uiAspect>
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1214
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1215
    createPrintMethodHolder isNil ifTrue:[
9216
cc5c43784db2 category
Claus Gittinger <cg@exept.de>
parents: 9211
diff changeset
  1216
        createPrintMethodHolder := true asValue.
9195
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1217
    ].
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1218
    ^ createPrintMethodHolder.
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1219
!
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1220
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1221
createRequiredMethods
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1222
    ^ self createRequiredMethodsHolder value
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1223
!
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1224
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1225
createRequiredMethodsHolder
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1226
    <resource: #uiAspect>
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1227
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1228
    createRequiredMethodsHolder isNil ifTrue:[
9216
cc5c43784db2 category
Claus Gittinger <cg@exept.de>
parents: 9211
diff changeset
  1229
        createRequiredMethodsHolder := true asValue.
9195
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1230
    ].
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1231
    ^ createRequiredMethodsHolder.
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1232
!
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1233
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1234
createUpdateMethod
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1235
    ^ self createUpdateMethodHolder value
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1236
!
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1237
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1238
createUpdateMethodHolder
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1239
    <resource: #uiAspect>
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1240
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1241
    createUpdateMethodHolder isNil ifTrue:[
9216
cc5c43784db2 category
Claus Gittinger <cg@exept.de>
parents: 9211
diff changeset
  1242
        createUpdateMethodHolder := true asValue.
9195
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1243
    ].
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1244
    ^ createUpdateMethodHolder.
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1245
!
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1246
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1247
instVarNamesHolder
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1248
    <resource: #uiAspect>
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1249
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1250
    instVarNamesHolder isNil ifTrue:[
9216
cc5c43784db2 category
Claus Gittinger <cg@exept.de>
parents: 9211
diff changeset
  1251
        instVarNamesHolder := ValueHolder new.
9195
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1252
    ].
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1253
    ^ instVarNamesHolder.
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1254
!
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1255
16926
a5e115fc2ba2 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16895
diff changeset
  1256
isCreatingClassHolder
a5e115fc2ba2 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16895
diff changeset
  1257
    <resource: #uiAspect>
a5e115fc2ba2 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16895
diff changeset
  1258
a5e115fc2ba2 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16895
diff changeset
  1259
    isCreatingClassHolder isNil ifTrue:[
a5e115fc2ba2 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16895
diff changeset
  1260
        isCreatingClassHolder := true asValue
a5e115fc2ba2 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16895
diff changeset
  1261
    ].
a5e115fc2ba2 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16895
diff changeset
  1262
    ^ isCreatingClassHolder.
a5e115fc2ba2 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16895
diff changeset
  1263
!
a5e115fc2ba2 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16895
diff changeset
  1264
a5e115fc2ba2 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16895
diff changeset
  1265
isCreatingPackageHolder
a5e115fc2ba2 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16895
diff changeset
  1266
    ^ BlockValue forLogicalNot:self isCreatingClassHolder.
a5e115fc2ba2 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16895
diff changeset
  1267
!
a5e115fc2ba2 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16895
diff changeset
  1268
9195
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1269
languageHolder
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1270
    <resource: #uiAspect>
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1271
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1272
    |idx|
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1273
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1274
    languageHolder isNil ifTrue:[
9222
1d6e1f6086f1 changed:
Claus Gittinger <cg@exept.de>
parents: 9218
diff changeset
  1275
        (self listOfLanguages size == 1) ifTrue:[
9216
cc5c43784db2 category
Claus Gittinger <cg@exept.de>
parents: 9211
diff changeset
  1276
            idx := 1.
cc5c43784db2 category
Claus Gittinger <cg@exept.de>
parents: 9211
diff changeset
  1277
        ] ifFalse:[
9222
1d6e1f6086f1 changed:
Claus Gittinger <cg@exept.de>
parents: 9218
diff changeset
  1278
            idx := self listOfLanguages indexOf:(LastLanguage ? 'Smalltalk').
9216
cc5c43784db2 category
Claus Gittinger <cg@exept.de>
parents: 9211
diff changeset
  1279
        ].
cc5c43784db2 category
Claus Gittinger <cg@exept.de>
parents: 9211
diff changeset
  1280
        languageHolder := idx asValue.
9205
07015f8db981 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9195
diff changeset
  1281
9195
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1282
    ].
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1283
    ^ languageHolder.
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1284
!
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1285
9216
cc5c43784db2 category
Claus Gittinger <cg@exept.de>
parents: 9211
diff changeset
  1286
listOfCategories
16752
090ac9d87a3d #REFACTORING by stefan
Stefan Vogel <sv@exept.de>
parents: 16349
diff changeset
  1287
    ^ Smalltalk allClassCategories asNewOrderedCollection sort
9216
cc5c43784db2 category
Claus Gittinger <cg@exept.de>
parents: 9211
diff changeset
  1288
!
cc5c43784db2 category
Claus Gittinger <cg@exept.de>
parents: 9211
diff changeset
  1289
9195
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1290
listOfLanguages
9205
07015f8db981 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9195
diff changeset
  1291
    ^ ProgrammingLanguage allSubclasses collect:[:l | l instance name].
9195
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1292
!
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1293
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1294
listOfNamespaces
9205
07015f8db981 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9195
diff changeset
  1295
    ^ ((NameSpace allNameSpacesIn:Smalltalk)
9216
cc5c43784db2 category
Claus Gittinger <cg@exept.de>
parents: 9211
diff changeset
  1296
        asOrderedCollection
cc5c43784db2 category
Claus Gittinger <cg@exept.de>
parents: 9211
diff changeset
  1297
            collect:[:ns | ns name])
cc5c43784db2 category
Claus Gittinger <cg@exept.de>
parents: 9211
diff changeset
  1298
                sort
9195
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1299
!
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1300
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1301
listOfPackages
16205
0560b9770c74 #REFACTORING
Claus Gittinger <cg@exept.de>
parents: 15397
diff changeset
  1302
    ^ Smalltalk allPackageIDs copy sort
9195
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1303
!
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1304
16926
a5e115fc2ba2 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16895
diff changeset
  1305
listOfStereotypeSymbols
a5e115fc2ba2 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16895
diff changeset
  1306
    "program readable list"
a5e115fc2ba2 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16895
diff changeset
  1307
    ^ self stereotypeSpec collect:[:each | each isNil ifTrue:[nil] ifFalse:[each first]].
a5e115fc2ba2 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16895
diff changeset
  1308
!
a5e115fc2ba2 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16895
diff changeset
  1309
9218
86ad5ddea7b5 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9216
diff changeset
  1310
listOfStereotypes
16926
a5e115fc2ba2 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16895
diff changeset
  1311
    "human readable list"
a5e115fc2ba2 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16895
diff changeset
  1312
    ^ self stereotypeSpec collect:[:each | each isNil ifTrue:[nil] ifFalse:[each second]].
9218
86ad5ddea7b5 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9216
diff changeset
  1313
!
86ad5ddea7b5 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9216
diff changeset
  1314
9721
47aa8329ff01 care for metaClass in class wizard
Claus Gittinger <cg@exept.de>
parents: 9719
diff changeset
  1315
listOfSuperclasses
47aa8329ff01 care for metaClass in class wizard
Claus Gittinger <cg@exept.de>
parents: 9719
diff changeset
  1316
    <resource: #uiAspect>
47aa8329ff01 care for metaClass in class wizard
Claus Gittinger <cg@exept.de>
parents: 9719
diff changeset
  1317
16926
a5e115fc2ba2 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16895
diff changeset
  1318
    |l superClassName
a5e115fc2ba2 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16895
diff changeset
  1319
     stereoTypeSymbol more
a5e115fc2ba2 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16895
diff changeset
  1320
     includeObject includeModel includeApplicationModel includeView
a5e115fc2ba2 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16895
diff changeset
  1321
     includeStandaloneStartup|
9721
47aa8329ff01 care for metaClass in class wizard
Claus Gittinger <cg@exept.de>
parents: 9719
diff changeset
  1322
16926
a5e115fc2ba2 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16895
diff changeset
  1323
    stereoTypeSymbol := self stereotypeSymbol.
a5e115fc2ba2 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16895
diff changeset
  1324
    
a5e115fc2ba2 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16895
diff changeset
  1325
    includeObject := includeModel := includeApplicationModel := includeView := true.
a5e115fc2ba2 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16895
diff changeset
  1326
    includeStandaloneStartup := false.
a5e115fc2ba2 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16895
diff changeset
  1327
    
a5e115fc2ba2 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16895
diff changeset
  1328
    stereoTypeSymbol = #'DataObject' ifTrue:[
a5e115fc2ba2 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16895
diff changeset
  1329
        includeApplicationModel := includeView := false.
a5e115fc2ba2 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16895
diff changeset
  1330
    ].
a5e115fc2ba2 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16895
diff changeset
  1331
    stereoTypeSymbol = #'Enumeration' ifTrue:[
a5e115fc2ba2 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16895
diff changeset
  1332
        includeModel := includeApplicationModel := includeView := false.
a5e115fc2ba2 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16895
diff changeset
  1333
    ].
a5e115fc2ba2 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16895
diff changeset
  1334
    stereoTypeSymbol = #'GUIApplication' ifTrue:[
a5e115fc2ba2 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16895
diff changeset
  1335
        includeModel := includeView := includeObject := false.
a5e115fc2ba2 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16895
diff changeset
  1336
    ].
a5e115fc2ba2 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16895
diff changeset
  1337
    stereoTypeSymbol = #'ConsoleProgram' ifTrue:[
a5e115fc2ba2 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16895
diff changeset
  1338
        includeModel := includeApplicationModel := includeView := includeObject := false.
a5e115fc2ba2 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16895
diff changeset
  1339
        includeStandaloneStartup := true.
a5e115fc2ba2 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16895
diff changeset
  1340
    ].
a5e115fc2ba2 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16895
diff changeset
  1341
    stereoTypeSymbol = #'SharedPool' ifTrue:[
a5e115fc2ba2 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16895
diff changeset
  1342
        includeModel := includeApplicationModel := includeView := includeObject := false.
a5e115fc2ba2 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16895
diff changeset
  1343
    ].
a5e115fc2ba2 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16895
diff changeset
  1344
    (stereoTypeSymbol = #'StartupClass') ifTrue:[
a5e115fc2ba2 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16895
diff changeset
  1345
        includeModel := includeApplicationModel := includeView := includeObject := false.
a5e115fc2ba2 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16895
diff changeset
  1346
        includeStandaloneStartup := true.
a5e115fc2ba2 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16895
diff changeset
  1347
    ].
a5e115fc2ba2 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16895
diff changeset
  1348
    stereoTypeSymbol = #'TestCase' ifTrue:[
a5e115fc2ba2 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16895
diff changeset
  1349
        includeModel := includeApplicationModel := includeView := includeObject := false.
a5e115fc2ba2 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16895
diff changeset
  1350
    ].
a5e115fc2ba2 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16895
diff changeset
  1351
    stereoTypeSymbol = #'WebService' ifTrue:[
a5e115fc2ba2 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16895
diff changeset
  1352
        includeModel := includeApplicationModel := includeView := includeObject := false.
a5e115fc2ba2 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16895
diff changeset
  1353
    ].
a5e115fc2ba2 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16895
diff changeset
  1354
    stereoTypeSymbol = #'Widget' ifTrue:[
a5e115fc2ba2 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16895
diff changeset
  1355
        includeModel := includeApplicationModel := includeObject := false.
a5e115fc2ba2 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16895
diff changeset
  1356
    ].
a5e115fc2ba2 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16895
diff changeset
  1357
    
9721
47aa8329ff01 care for metaClass in class wizard
Claus Gittinger <cg@exept.de>
parents: 9719
diff changeset
  1358
    l := OrderedCollection new.
16926
a5e115fc2ba2 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16895
diff changeset
  1359
    (includeObject and:[superClassName ~= 'Object']) ifTrue:[
9721
47aa8329ff01 care for metaClass in class wizard
Claus Gittinger <cg@exept.de>
parents: 9719
diff changeset
  1360
        l add:'Object'
47aa8329ff01 care for metaClass in class wizard
Claus Gittinger <cg@exept.de>
parents: 9719
diff changeset
  1361
    ].
16926
a5e115fc2ba2 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16895
diff changeset
  1362
    (includeModel and:[superClassName ~= 'Model']) ifTrue:[
9721
47aa8329ff01 care for metaClass in class wizard
Claus Gittinger <cg@exept.de>
parents: 9719
diff changeset
  1363
        l add:'Model'
47aa8329ff01 care for metaClass in class wizard
Claus Gittinger <cg@exept.de>
parents: 9719
diff changeset
  1364
    ].
16926
a5e115fc2ba2 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16895
diff changeset
  1365
    (includeView and:[superClassName ~= 'View']) ifTrue:[
9721
47aa8329ff01 care for metaClass in class wizard
Claus Gittinger <cg@exept.de>
parents: 9719
diff changeset
  1366
        l add:'View'
47aa8329ff01 care for metaClass in class wizard
Claus Gittinger <cg@exept.de>
parents: 9719
diff changeset
  1367
    ].
16926
a5e115fc2ba2 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16895
diff changeset
  1368
    (includeApplicationModel and:[superClassName ~= 'ApplicationModel']) ifTrue:[
9721
47aa8329ff01 care for metaClass in class wizard
Claus Gittinger <cg@exept.de>
parents: 9719
diff changeset
  1369
        l add:'ApplicationModel'
47aa8329ff01 care for metaClass in class wizard
Claus Gittinger <cg@exept.de>
parents: 9719
diff changeset
  1370
    ].
16926
a5e115fc2ba2 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16895
diff changeset
  1371
    
a5e115fc2ba2 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16895
diff changeset
  1372
    includeStandaloneStartup ifTrue:[
a5e115fc2ba2 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16895
diff changeset
  1373
        superClassName ~= 'StandaloneStartup' ifTrue:[
a5e115fc2ba2 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16895
diff changeset
  1374
            l add:'StandaloneStartup'
a5e115fc2ba2 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16895
diff changeset
  1375
        ].
a5e115fc2ba2 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16895
diff changeset
  1376
        superClassName ~= 'StandaloneStartupHeadless' ifTrue:[
a5e115fc2ba2 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16895
diff changeset
  1377
            l add:'StandaloneStartupHeadless'
a5e115fc2ba2 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16895
diff changeset
  1378
        ].
a5e115fc2ba2 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16895
diff changeset
  1379
    ].
a5e115fc2ba2 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16895
diff changeset
  1380
    
a5e115fc2ba2 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16895
diff changeset
  1381
    more := UserPreferences systemBrowserClass visitedClassNamesHistory.
a5e115fc2ba2 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16895
diff changeset
  1382
    more notEmptyOrNil ifTrue:[
a5e115fc2ba2 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16895
diff changeset
  1383
        l add:'-'.
a5e115fc2ba2 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16895
diff changeset
  1384
        l addAll:more.
a5e115fc2ba2 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16895
diff changeset
  1385
    ].
9721
47aa8329ff01 care for metaClass in class wizard
Claus Gittinger <cg@exept.de>
parents: 9719
diff changeset
  1386
    ^ l
47aa8329ff01 care for metaClass in class wizard
Claus Gittinger <cg@exept.de>
parents: 9719
diff changeset
  1387
47aa8329ff01 care for metaClass in class wizard
Claus Gittinger <cg@exept.de>
parents: 9719
diff changeset
  1388
    "Created: / 30-01-2011 / 10:34:44 / cg"
47aa8329ff01 care for metaClass in class wizard
Claus Gittinger <cg@exept.de>
parents: 9719
diff changeset
  1389
!
47aa8329ff01 care for metaClass in class wizard
Claus Gittinger <cg@exept.de>
parents: 9719
diff changeset
  1390
16926
a5e115fc2ba2 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16895
diff changeset
  1391
listOfSuperclassesHolder
a5e115fc2ba2 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16895
diff changeset
  1392
    <resource: #uiAspect>
a5e115fc2ba2 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16895
diff changeset
  1393
a5e115fc2ba2 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16895
diff changeset
  1394
    listOfSuperclassesHolder isNil ifTrue:[
a5e115fc2ba2 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16895
diff changeset
  1395
        listOfSuperclassesHolder := self listOfSuperclasses asValue.
a5e115fc2ba2 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16895
diff changeset
  1396
    ].
a5e115fc2ba2 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16895
diff changeset
  1397
    ^ listOfSuperclassesHolder.
a5e115fc2ba2 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16895
diff changeset
  1398
!
a5e115fc2ba2 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16895
diff changeset
  1399
9195
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1400
nameSpaceHolder
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1401
    <resource: #uiAspect>
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1402
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1403
    nameSpaceHolder isNil ifTrue:[
9216
cc5c43784db2 category
Claus Gittinger <cg@exept.de>
parents: 9211
diff changeset
  1404
        nameSpaceHolder := ValueHolder new.
9195
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1405
"/       nameSpaceHolder addDependent:self.
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1406
"/       nameSpaceHolder onChangeSend:#nameSpaceHolderChanged to:self.
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1407
    ].
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1408
    ^ nameSpaceHolder.
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1409
!
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1410
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1411
packageHolder
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1412
    <resource: #uiAspect>
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1413
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1414
    packageHolder isNil ifTrue:[
9216
cc5c43784db2 category
Claus Gittinger <cg@exept.de>
parents: 9211
diff changeset
  1415
        packageHolder := (LastPackage ? nil "PackageId noProjectID") asValue.
9195
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1416
    ].
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1417
    ^ packageHolder.
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1418
!
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1419
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1420
recentlyVisitedClasses
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1421
    <resource: #uiAspect>
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1422
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1423
    ^ SystemBrowser visitedClassNamesHistory
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1424
!
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1425
9218
86ad5ddea7b5 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9216
diff changeset
  1426
stereotypeHolder
86ad5ddea7b5 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9216
diff changeset
  1427
    <resource: #uiAspect>
86ad5ddea7b5 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9216
diff changeset
  1428
86ad5ddea7b5 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9216
diff changeset
  1429
    stereotypeHolder isNil ifTrue:[
86ad5ddea7b5 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9216
diff changeset
  1430
        stereotypeHolder := ValueHolder new.
86ad5ddea7b5 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9216
diff changeset
  1431
        stereotypeHolder onChangeSend:#stereotypeChanged to:self.
86ad5ddea7b5 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9216
diff changeset
  1432
    ].
86ad5ddea7b5 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9216
diff changeset
  1433
    ^ stereotypeHolder.
86ad5ddea7b5 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9216
diff changeset
  1434
!
86ad5ddea7b5 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9216
diff changeset
  1435
16926
a5e115fc2ba2 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16895
diff changeset
  1436
stereotypeSpec
a5e115fc2ba2 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16895
diff changeset
  1437
    ^ #(
a5e115fc2ba2 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16895
diff changeset
  1438
        ( nil '<none>' )
a5e115fc2ba2 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16895
diff changeset
  1439
        ( DataObject 'Data Object' )
a5e115fc2ba2 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16895
diff changeset
  1440
"/      ( Enumeration Enumeration )
a5e115fc2ba2 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16895
diff changeset
  1441
        ( GUIApplication 'GUI Application')
a5e115fc2ba2 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16895
diff changeset
  1442
        ( ConsoleProgram 'Console Program')
a5e115fc2ba2 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16895
diff changeset
  1443
        ( SharedPool 'Shared Pool')
a5e115fc2ba2 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16895
diff changeset
  1444
        ( TestCase TestCase )
a5e115fc2ba2 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16895
diff changeset
  1445
        ( WebService 'Web Service' )
a5e115fc2ba2 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16895
diff changeset
  1446
        ( Widget Widget)
a5e115fc2ba2 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16895
diff changeset
  1447
        ( StartupClass 'Startup Class (main entry for standalone apps)' )
a5e115fc2ba2 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16895
diff changeset
  1448
        nil
a5e115fc2ba2 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16895
diff changeset
  1449
        ( GUIProject 'GUI Project')
a5e115fc2ba2 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16895
diff changeset
  1450
        ( NonGUIProject 'Non-GUI Project')
a5e115fc2ba2 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16895
diff changeset
  1451
        ( LibraryProject 'Library Project')
a5e115fc2ba2 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16895
diff changeset
  1452
    )
a5e115fc2ba2 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16895
diff changeset
  1453
a5e115fc2ba2 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16895
diff changeset
  1454
    "Modified: / 27-01-2012 / 14:46:39 / cg"
a5e115fc2ba2 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16895
diff changeset
  1455
!
a5e115fc2ba2 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16895
diff changeset
  1456
9195
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1457
superclassNameHolder
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1458
    <resource: #uiAspect>
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1459
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1460
    superclassNameHolder isNil ifTrue:[
16926
a5e115fc2ba2 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16895
diff changeset
  1461
        superclassNameHolder := (LastSuperclass ? ''"'Object'") asValue.
9195
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1462
    ].
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1463
    ^ superclassNameHolder.
11224
6f7da28fcedd comment/format in: #doAccept
Claus Gittinger <cg@exept.de>
parents: 10590
diff changeset
  1464
6f7da28fcedd comment/format in: #doAccept
Claus Gittinger <cg@exept.de>
parents: 10590
diff changeset
  1465
    "Modified: / 27-01-2012 / 14:49:43 / cg"
9195
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1466
! !
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1467
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1468
!NewClassWizardDialog class methodsFor:'documentation'!
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1469
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1470
version_CVS
16205
0560b9770c74 #REFACTORING
Claus Gittinger <cg@exept.de>
parents: 15397
diff changeset
  1471
    ^ '$Header$'
9195
6b6a9a7b2ff2 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1472
! !
13941
f3193680050b class: Tools::NewClassWizardDialog
Claus Gittinger <cg@exept.de>
parents: 11224
diff changeset
  1473