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