Tools__CheckinInfoDialog.st
author Claus Gittinger <cg@exept.de>
Thu, 31 Mar 2016 18:07:08 +0200
changeset 16224 83f5f04b9c56
parent 15874 fdb81c0c7e51
child 16226 cb5fd5f3a984
child 16236 5a78db3ebecc
permissions -rw-r--r--
#UI_ENHANCEMENT class: Tools::CheckinInfoDialog added: #possibleReasons #reasonQuality #reasonTuning changed: #checkinReason: #flyByHelpSpec #windowSpec
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
15853
00d7a229b2f0 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 15849
diff changeset
     1
"{ Encoding: utf8 }"
00d7a229b2f0 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 15849
diff changeset
     2
6799
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
     3
"
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
     4
 COPYRIGHT (c) 2005 eXept Software AG
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
     5
              All Rights Reserved
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
     6
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
     7
 This software is furnished under a license and may be used
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
     8
 only in accordance with the terms of that license and with the
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
     9
 inclusion of the above copyright notice.   This software may not
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    10
 be provided or otherwise made available to, or used by, any
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    11
 other person.  No title to or ownership of the software is
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    12
 hereby transferred.
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    13
"
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    14
"{ Package: 'stx:libtool' }"
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    15
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    16
"{ NameSpace: Tools }"
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    17
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    18
SimpleDialog subclass:#CheckinInfoDialog
6979
048fb7930a28 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6799
diff changeset
    19
	instanceVariableNames:'descriptionHolder logMessageHolder isStableHolder tagHolder
9508
6ecac35f25b6 enforce a non-empty logmessage;
Claus Gittinger <cg@exept.de>
parents: 9161
diff changeset
    20
		quickCheckInHolder quickCheckInVisibleHolder allowEmptyLogMessage
12537
2ddd00171375 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 11413
diff changeset
    21
		warningMessageHolder logHistory logHistoryHeadLineSelectionHolder
15841
c9885b9e9fc1 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 15829
diff changeset
    22
		validateConsistencyHolder validateConsistencyVisibleHolder
c9885b9e9fc1 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 15829
diff changeset
    23
		checkinReasonHolder validateConsistencyEnabledHolder
c9885b9e9fc1 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 15829
diff changeset
    24
		quickCheckInEnabledHolder'
c9885b9e9fc1 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 15829
diff changeset
    25
	classVariableNames:'RecentlyUsedTags LastReason'
6799
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    26
	poolDictionaries:''
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    27
	category:'System-SourceCodeManagement'
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    28
!
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    29
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    30
!CheckinInfoDialog class methodsFor:'documentation'!
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    31
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    32
copyright
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    33
"
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    34
 COPYRIGHT (c) 2005 eXept Software AG
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    35
              All Rights Reserved
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    36
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    37
 This software is furnished under a license and may be used
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    38
 only in accordance with the terms of that license and with the
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    39
 inclusion of the above copyright notice.   This software may not
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    40
 be provided or otherwise made available to, or used by, any
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    41
 other person.  No title to or ownership of the software is
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    42
 hereby transferred.
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    43
"
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    44
!
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    45
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    46
documentation
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    47
"
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    48
    checkin-dialog.
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    49
    used to be private in SourceCodeManagerUtilites.
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    50
    moved to libtool because libbasic3 should not contain code inheriting from GUI classes.
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    51
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    52
    [author:]
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    53
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    54
    [see also:]
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    55
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    56
    [instance variables:]
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    57
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    58
    [class variables:]
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    59
"
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    60
! !
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    61
15853
00d7a229b2f0 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 15849
diff changeset
    62
!CheckinInfoDialog class methodsFor:'constants'!
00d7a229b2f0 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 15849
diff changeset
    63
16224
83f5f04b9c56 #UI_ENHANCEMENT
Claus Gittinger <cg@exept.de>
parents: 15874
diff changeset
    64
possibleReasons
83f5f04b9c56 #UI_ENHANCEMENT
Claus Gittinger <cg@exept.de>
parents: 15874
diff changeset
    65
    ^ #(reasonBugfix reasonDocumentation reasonFeature reasonRefactoring
83f5f04b9c56 #UI_ENHANCEMENT
Claus Gittinger <cg@exept.de>
parents: 15874
diff changeset
    66
        reasonOther reasonUIEnhancement reasonTuning reasonQuality)
83f5f04b9c56 #UI_ENHANCEMENT
Claus Gittinger <cg@exept.de>
parents: 15874
diff changeset
    67
83f5f04b9c56 #UI_ENHANCEMENT
Claus Gittinger <cg@exept.de>
parents: 15874
diff changeset
    68
    "Created: / 31-03-2016 / 17:53:16 / cg"
83f5f04b9c56 #UI_ENHANCEMENT
Claus Gittinger <cg@exept.de>
parents: 15874
diff changeset
    69
!
83f5f04b9c56 #UI_ENHANCEMENT
Claus Gittinger <cg@exept.de>
parents: 15874
diff changeset
    70
15853
00d7a229b2f0 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 15849
diff changeset
    71
reasonBugfix
00d7a229b2f0 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 15849
diff changeset
    72
    ^ #reasonBugfix
00d7a229b2f0 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 15849
diff changeset
    73
!
00d7a229b2f0 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 15849
diff changeset
    74
00d7a229b2f0 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 15849
diff changeset
    75
reasonDocumentation
00d7a229b2f0 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 15849
diff changeset
    76
    ^ #reasonDocumentation
00d7a229b2f0 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 15849
diff changeset
    77
!
00d7a229b2f0 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 15849
diff changeset
    78
00d7a229b2f0 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 15849
diff changeset
    79
reasonFeature
00d7a229b2f0 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 15849
diff changeset
    80
    ^ #reasonFeature
00d7a229b2f0 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 15849
diff changeset
    81
!
00d7a229b2f0 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 15849
diff changeset
    82
00d7a229b2f0 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 15849
diff changeset
    83
reasonOther
00d7a229b2f0 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 15849
diff changeset
    84
    ^ #reasonOther
00d7a229b2f0 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 15849
diff changeset
    85
!
00d7a229b2f0 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 15849
diff changeset
    86
16224
83f5f04b9c56 #UI_ENHANCEMENT
Claus Gittinger <cg@exept.de>
parents: 15874
diff changeset
    87
reasonQuality
83f5f04b9c56 #UI_ENHANCEMENT
Claus Gittinger <cg@exept.de>
parents: 15874
diff changeset
    88
    ^ #reasonQuality
83f5f04b9c56 #UI_ENHANCEMENT
Claus Gittinger <cg@exept.de>
parents: 15874
diff changeset
    89
83f5f04b9c56 #UI_ENHANCEMENT
Claus Gittinger <cg@exept.de>
parents: 15874
diff changeset
    90
    "Created: / 31-03-2016 / 17:53:57 / cg"
83f5f04b9c56 #UI_ENHANCEMENT
Claus Gittinger <cg@exept.de>
parents: 15874
diff changeset
    91
!
83f5f04b9c56 #UI_ENHANCEMENT
Claus Gittinger <cg@exept.de>
parents: 15874
diff changeset
    92
15853
00d7a229b2f0 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 15849
diff changeset
    93
reasonRefactoring
00d7a229b2f0 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 15849
diff changeset
    94
    ^ #reasonRefactoring
15873
45119443a715 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 15853
diff changeset
    95
!
45119443a715 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 15853
diff changeset
    96
16224
83f5f04b9c56 #UI_ENHANCEMENT
Claus Gittinger <cg@exept.de>
parents: 15874
diff changeset
    97
reasonTuning
83f5f04b9c56 #UI_ENHANCEMENT
Claus Gittinger <cg@exept.de>
parents: 15874
diff changeset
    98
    ^ #reasonTuning
83f5f04b9c56 #UI_ENHANCEMENT
Claus Gittinger <cg@exept.de>
parents: 15874
diff changeset
    99
83f5f04b9c56 #UI_ENHANCEMENT
Claus Gittinger <cg@exept.de>
parents: 15874
diff changeset
   100
    "Created: / 31-03-2016 / 17:53:26 / cg"
83f5f04b9c56 #UI_ENHANCEMENT
Claus Gittinger <cg@exept.de>
parents: 15874
diff changeset
   101
!
83f5f04b9c56 #UI_ENHANCEMENT
Claus Gittinger <cg@exept.de>
parents: 15874
diff changeset
   102
15873
45119443a715 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 15853
diff changeset
   103
reasonUIEnhancement
45119443a715 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 15853
diff changeset
   104
    ^ #reasonUIEnhancement
15853
00d7a229b2f0 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 15849
diff changeset
   105
! !
00d7a229b2f0 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 15849
diff changeset
   106
12537
2ddd00171375 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 11413
diff changeset
   107
!CheckinInfoDialog class methodsFor:'help specs'!
2ddd00171375 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 11413
diff changeset
   108
2ddd00171375 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 11413
diff changeset
   109
flyByHelpSpec
2ddd00171375 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 11413
diff changeset
   110
    "This resource specification was automatically generated
2ddd00171375 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 11413
diff changeset
   111
     by the UIHelpTool of ST/X."
2ddd00171375 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 11413
diff changeset
   112
2ddd00171375 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 11413
diff changeset
   113
    "Do not manually edit this!! If it is corrupted,
2ddd00171375 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 11413
diff changeset
   114
     the UIHelpTool may not be able to read the specification."
2ddd00171375 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 11413
diff changeset
   115
2ddd00171375 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 11413
diff changeset
   116
    "
2ddd00171375 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 11413
diff changeset
   117
     UIHelpTool openOnClass:Tools::CheckinInfoDialog    
2ddd00171375 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 11413
diff changeset
   118
    "
2ddd00171375 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 11413
diff changeset
   119
2ddd00171375 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 11413
diff changeset
   120
    <resource: #help>
2ddd00171375 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 11413
diff changeset
   121
2ddd00171375 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 11413
diff changeset
   122
    ^ super flyByHelpSpec addPairsFrom:#(
2ddd00171375 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 11413
diff changeset
   123
2ddd00171375 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 11413
diff changeset
   124
#logMessage
2ddd00171375 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 11413
diff changeset
   125
'This message is added as a check-in log message. 
2ddd00171375 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 11413
diff changeset
   126
It can later be retrieved via the browser''s revision info menu function'
2ddd00171375 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 11413
diff changeset
   127
2ddd00171375 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 11413
diff changeset
   128
#markAsStable
14685
c1ba77b8dfc0 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 14542
diff changeset
   129
'Mark this as a stable version (i.e. give it a "stable" tag)'
12537
2ddd00171375 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 11413
diff changeset
   130
2ddd00171375 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 11413
diff changeset
   131
#quickCheckin
15841
c9885b9e9fc1 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 15829
diff changeset
   132
'Only checkin classes which have been created or changed during this session'
12537
2ddd00171375 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 11413
diff changeset
   133
2ddd00171375 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 11413
diff changeset
   134
#tag
14685
c1ba77b8dfc0 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 14542
diff changeset
   135
'Mark this version with a symbolic tag (combo list gives list of recently used tags)'
12537
2ddd00171375 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 11413
diff changeset
   136
2ddd00171375 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 11413
diff changeset
   137
#validateConsistency
2ddd00171375 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 11413
diff changeset
   138
'Perform some consistency checks before checking in. 
2ddd00171375 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 11413
diff changeset
   139
Especially checks the correctness of the ProjectDefinition vs. the actual set of classes in the image'
2ddd00171375 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 11413
diff changeset
   140
15841
c9885b9e9fc1 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 15829
diff changeset
   141
#checkinReason
c9885b9e9fc1 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 15829
diff changeset
   142
'Adds a keyword to the checkin info, to allow automatic generation of revision information from the log later'
c9885b9e9fc1 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 15829
diff changeset
   143
15853
00d7a229b2f0 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 15849
diff changeset
   144
#checkinReasonDocumentation
00d7a229b2f0 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 15849
diff changeset
   145
'Only documentation, comments etc. were added/changed.\Tells others, that there is no need to test/verify/review the changes'
00d7a229b2f0 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 15849
diff changeset
   146
00d7a229b2f0 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 15849
diff changeset
   147
#checkinReasonBugfix
00d7a229b2f0 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 15849
diff changeset
   148
'Some bug was fixed.\Please describe what was changed and\if possible, add a bug identifier (issue-ID) to the checkin info'
00d7a229b2f0 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 15849
diff changeset
   149
00d7a229b2f0 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 15849
diff changeset
   150
#checkinReasonFeature
00d7a229b2f0 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 15849
diff changeset
   151
'A new feature was added.\Please describe what was changed and\if possible, add a requirement identifier (issue-ID) to the checkin info'
00d7a229b2f0 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 15849
diff changeset
   152
00d7a229b2f0 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 15849
diff changeset
   153
#checkinReasonRefactoring
00d7a229b2f0 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 15849
diff changeset
   154
'The code was refactored/improved for better structure or maintainability'
00d7a229b2f0 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 15849
diff changeset
   155
15873
45119443a715 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 15853
diff changeset
   156
#checkinReasonUIEnhancement
45119443a715 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 15853
diff changeset
   157
'Some enhancement in a UI which makes it look better or easier to use\(but does not add new functionality).\Please describe in detail what you did in the checkin info'
45119443a715 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 15853
diff changeset
   158
16224
83f5f04b9c56 #UI_ENHANCEMENT
Claus Gittinger <cg@exept.de>
parents: 15874
diff changeset
   159
#checkinReasonQuality
83f5f04b9c56 #UI_ENHANCEMENT
Claus Gittinger <cg@exept.de>
parents: 15874
diff changeset
   160
'The change enhanced the quality of the product (debuggability, testability, robustness, etc.)\Typically used for test cases.'
83f5f04b9c56 #UI_ENHANCEMENT
Claus Gittinger <cg@exept.de>
parents: 15874
diff changeset
   161
83f5f04b9c56 #UI_ENHANCEMENT
Claus Gittinger <cg@exept.de>
parents: 15874
diff changeset
   162
#checkinReasonTunng
83f5f04b9c56 #UI_ENHANCEMENT
Claus Gittinger <cg@exept.de>
parents: 15874
diff changeset
   163
'The change enhances the performance.\Be epecially careful to always also add test cases,\because statistically, many errors are introduced by "optimizations".'
83f5f04b9c56 #UI_ENHANCEMENT
Claus Gittinger <cg@exept.de>
parents: 15874
diff changeset
   164
15853
00d7a229b2f0 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 15849
diff changeset
   165
#checkinReasonOther
00d7a229b2f0 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 15849
diff changeset
   166
'Some other change, which does not fit into one of the above.\Please describe in detail what you did in the checkin info'
00d7a229b2f0 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 15849
diff changeset
   167
12537
2ddd00171375 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 11413
diff changeset
   168
)
16224
83f5f04b9c56 #UI_ENHANCEMENT
Claus Gittinger <cg@exept.de>
parents: 15874
diff changeset
   169
83f5f04b9c56 #UI_ENHANCEMENT
Claus Gittinger <cg@exept.de>
parents: 15874
diff changeset
   170
    "Modified: / 31-03-2016 / 18:01:42 / cg"
12537
2ddd00171375 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 11413
diff changeset
   171
! !
2ddd00171375 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 11413
diff changeset
   172
6799
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   173
!CheckinInfoDialog class methodsFor:'interface specs'!
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   174
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   175
windowSpec
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   176
    "This resource specification was automatically generated
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   177
     by the UIPainter of ST/X."
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   178
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   179
    "Do not manually edit this!! If it is corrupted,
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   180
     the UIPainter may not be able to read the specification."
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   181
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   182
    "
6979
048fb7930a28 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6799
diff changeset
   183
     UIPainter new openOnClass:Tools::CheckinInfoDialog andSelector:#windowSpec
048fb7930a28 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6799
diff changeset
   184
     Tools::CheckinInfoDialog new openInterface:#windowSpec
048fb7930a28 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6799
diff changeset
   185
     Tools::CheckinInfoDialog open
6799
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   186
    "
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   187
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   188
    <resource: #canvas>
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   189
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   190
    ^ 
14685
c1ba77b8dfc0 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 14542
diff changeset
   191
    #(FullSpec
c1ba77b8dfc0 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 14542
diff changeset
   192
       name: windowSpec
c1ba77b8dfc0 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 14542
diff changeset
   193
       window: 
c1ba77b8dfc0 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 14542
diff changeset
   194
      (WindowSpec
c1ba77b8dfc0 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 14542
diff changeset
   195
         label: 'Enter Log Message'
c1ba77b8dfc0 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 14542
diff changeset
   196
         name: 'Enter Log Message'
15853
00d7a229b2f0 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 15849
diff changeset
   197
         min: (Point 538 387)
15873
45119443a715 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 15853
diff changeset
   198
         bounds: (Rectangle 0 0 592 558)
14685
c1ba77b8dfc0 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 14542
diff changeset
   199
       )
c1ba77b8dfc0 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 14542
diff changeset
   200
       component: 
c1ba77b8dfc0 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 14542
diff changeset
   201
      (SpecCollection
c1ba77b8dfc0 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 14542
diff changeset
   202
         collection: (
c1ba77b8dfc0 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 14542
diff changeset
   203
          (HorizontalPanelViewSpec
c1ba77b8dfc0 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 14542
diff changeset
   204
             name: 'HorizontalPanel2'
c1ba77b8dfc0 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 14542
diff changeset
   205
             layout: (LayoutFrame 0 0.0 0 0 0 1.0 32 0)
c1ba77b8dfc0 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 14542
diff changeset
   206
             horizontalLayout: left
c1ba77b8dfc0 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 14542
diff changeset
   207
             verticalLayout: center
c1ba77b8dfc0 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 14542
diff changeset
   208
             horizontalSpace: 0
c1ba77b8dfc0 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 14542
diff changeset
   209
             verticalSpace: 3
c1ba77b8dfc0 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 14542
diff changeset
   210
             component: 
c1ba77b8dfc0 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 14542
diff changeset
   211
            (SpecCollection
c1ba77b8dfc0 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 14542
diff changeset
   212
               collection: (
c1ba77b8dfc0 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 14542
diff changeset
   213
                (LabelSpec
c1ba77b8dfc0 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 14542
diff changeset
   214
                   label: 'Enter checkIn log-message for:'
c1ba77b8dfc0 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 14542
diff changeset
   215
                   name: 'Label1'
c1ba77b8dfc0 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 14542
diff changeset
   216
                   translateLabel: true
c1ba77b8dfc0 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 14542
diff changeset
   217
                   resizeForLabel: true
c1ba77b8dfc0 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 14542
diff changeset
   218
                   useDefaultExtent: true
c1ba77b8dfc0 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 14542
diff changeset
   219
                 )
c1ba77b8dfc0 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 14542
diff changeset
   220
                (LabelSpec
c1ba77b8dfc0 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 14542
diff changeset
   221
                   name: 'Label2'
c1ba77b8dfc0 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 14542
diff changeset
   222
                   translateLabel: true
c1ba77b8dfc0 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 14542
diff changeset
   223
                   labelChannel: descriptionHolder
c1ba77b8dfc0 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 14542
diff changeset
   224
                   useDefaultExtent: true
6799
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   225
                 )
14685
c1ba77b8dfc0 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 14542
diff changeset
   226
                )
c1ba77b8dfc0 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 14542
diff changeset
   227
              
c1ba77b8dfc0 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 14542
diff changeset
   228
             )
c1ba77b8dfc0 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 14542
diff changeset
   229
           )
c1ba77b8dfc0 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 14542
diff changeset
   230
          (LabelSpec
c1ba77b8dfc0 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 14542
diff changeset
   231
             label: 'Previous Log Messages:'
c1ba77b8dfc0 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 14542
diff changeset
   232
             name: 'Label5'
c1ba77b8dfc0 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 14542
diff changeset
   233
             layout: (LayoutFrame 0 0 37 0 180 0 59 0)
c1ba77b8dfc0 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 14542
diff changeset
   234
             translateLabel: true
c1ba77b8dfc0 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 14542
diff changeset
   235
             adjust: right
c1ba77b8dfc0 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 14542
diff changeset
   236
           )
c1ba77b8dfc0 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 14542
diff changeset
   237
          (ComboListSpec
c1ba77b8dfc0 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 14542
diff changeset
   238
             name: 'ComboList1'
c1ba77b8dfc0 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 14542
diff changeset
   239
             layout: (LayoutFrame 180 0.0 38 0 0 1.0 58 0)
c1ba77b8dfc0 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 14542
diff changeset
   240
             model: logHistoryHeadLineSelectionHolder
c1ba77b8dfc0 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 14542
diff changeset
   241
             comboList: logHistoryHeadLines
c1ba77b8dfc0 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 14542
diff changeset
   242
             useIndex: true
c1ba77b8dfc0 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 14542
diff changeset
   243
           )
c1ba77b8dfc0 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 14542
diff changeset
   244
          (TextEditorSpec
c1ba77b8dfc0 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 14542
diff changeset
   245
             name: 'TextEditor1'
15873
45119443a715 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 15853
diff changeset
   246
             layout: (LayoutFrame 2 0.0 68 0 -2 1 -300 1)
14685
c1ba77b8dfc0 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 14542
diff changeset
   247
             activeHelpKey: logMessage
c1ba77b8dfc0 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 14542
diff changeset
   248
             model: logMessageHolder
c1ba77b8dfc0 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 14542
diff changeset
   249
             hasHorizontalScrollBar: true
c1ba77b8dfc0 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 14542
diff changeset
   250
             hasVerticalScrollBar: true
c1ba77b8dfc0 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 14542
diff changeset
   251
             hasKeyboardFocusInitially: false
c1ba77b8dfc0 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 14542
diff changeset
   252
           )
c1ba77b8dfc0 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 14542
diff changeset
   253
          (LabelSpec
c1ba77b8dfc0 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 14542
diff changeset
   254
             name: 'Label4'
15873
45119443a715 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 15853
diff changeset
   255
             layout: (LayoutFrame 0 0.0 -293 1 0 1.0 -271 1)
14685
c1ba77b8dfc0 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 14542
diff changeset
   256
             translateLabel: true
c1ba77b8dfc0 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 14542
diff changeset
   257
             labelChannel: warningMessageHolder
c1ba77b8dfc0 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 14542
diff changeset
   258
           )
c1ba77b8dfc0 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 14542
diff changeset
   259
          (CheckBoxSpec
15841
c9885b9e9fc1 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 15829
diff changeset
   260
             label: 'Quick Checkin (Only Classes in ChangeSet)'
c9885b9e9fc1 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 15829
diff changeset
   261
             name: 'CheckInChangedOnlyCheckbox'
15873
45119443a715 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 15853
diff changeset
   262
             layout: (LayoutFrame 3 0 -268 1 -3 1 -246 1)
15841
c9885b9e9fc1 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 15829
diff changeset
   263
             activeHelpKey: quickCheckin
c9885b9e9fc1 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 15829
diff changeset
   264
             visibilityChannel: quickCheckInVisibleHolder
c9885b9e9fc1 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 15829
diff changeset
   265
             enableChannel: quickCheckInEnabledHolder
c9885b9e9fc1 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 15829
diff changeset
   266
             model: quickCheckInHolder
c9885b9e9fc1 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 15829
diff changeset
   267
             translateLabel: true
c9885b9e9fc1 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 15829
diff changeset
   268
           )
c9885b9e9fc1 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 15829
diff changeset
   269
          (CheckBoxSpec
14685
c1ba77b8dfc0 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 14542
diff changeset
   270
             label: 'Validate Package Consistency'
c1ba77b8dfc0 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 14542
diff changeset
   271
             name: 'CheckBox1'
15873
45119443a715 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 15853
diff changeset
   272
             layout: (LayoutFrame 3 0 -241 1 -3 1 -219 1)
14685
c1ba77b8dfc0 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 14542
diff changeset
   273
             activeHelpKey: validateConsistency
c1ba77b8dfc0 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 14542
diff changeset
   274
             visibilityChannel: validateConsistencyVisibleHolder
15841
c9885b9e9fc1 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 15829
diff changeset
   275
             enableChannel: validateConsistencyEnabledHolder
14685
c1ba77b8dfc0 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 14542
diff changeset
   276
             model: validateConsistencyHolder
c1ba77b8dfc0 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 14542
diff changeset
   277
             translateLabel: true
c1ba77b8dfc0 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 14542
diff changeset
   278
           )
c1ba77b8dfc0 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 14542
diff changeset
   279
          (CheckBoxSpec
c1ba77b8dfc0 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 14542
diff changeset
   280
             label: 'Mark as Stable'
c1ba77b8dfc0 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 14542
diff changeset
   281
             name: 'MarkStableCheckBox'
15873
45119443a715 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 15853
diff changeset
   282
             layout: (LayoutFrame 3 0 -214 1 -3 1 -192 1)
14685
c1ba77b8dfc0 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 14542
diff changeset
   283
             activeHelpKey: markAsStable
c1ba77b8dfc0 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 14542
diff changeset
   284
             model: isStableHolder
c1ba77b8dfc0 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 14542
diff changeset
   285
             translateLabel: true
c1ba77b8dfc0 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 14542
diff changeset
   286
           )
c1ba77b8dfc0 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 14542
diff changeset
   287
          (LabelSpec
c1ba77b8dfc0 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 14542
diff changeset
   288
             label: 'Tag:'
c1ba77b8dfc0 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 14542
diff changeset
   289
             name: 'Label3'
15873
45119443a715 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 15853
diff changeset
   290
             layout: (LayoutFrame -40 0.5 -213 1 0 0.5 -191 1)
14685
c1ba77b8dfc0 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 14542
diff changeset
   291
             activeHelpKey: tag
c1ba77b8dfc0 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 14542
diff changeset
   292
             translateLabel: true
c1ba77b8dfc0 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 14542
diff changeset
   293
             adjust: right
c1ba77b8dfc0 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 14542
diff changeset
   294
           )
c1ba77b8dfc0 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 14542
diff changeset
   295
          (ComboBoxSpec
c1ba77b8dfc0 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 14542
diff changeset
   296
             name: 'ComboBox1'
15873
45119443a715 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 15853
diff changeset
   297
             layout: (LayoutFrame 0 0.5 -214 1 -3 1 -192 1)
14685
c1ba77b8dfc0 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 14542
diff changeset
   298
             activeHelpKey: tag
c1ba77b8dfc0 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 14542
diff changeset
   299
             enableChannel: notMarkAsStableHolder
c1ba77b8dfc0 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 14542
diff changeset
   300
             model: tagHolder
c1ba77b8dfc0 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 14542
diff changeset
   301
             acceptOnReturn: true
c1ba77b8dfc0 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 14542
diff changeset
   302
             acceptOnTab: true
c1ba77b8dfc0 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 14542
diff changeset
   303
             acceptOnLostFocus: true
c1ba77b8dfc0 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 14542
diff changeset
   304
             acceptOnPointerLeave: false
c1ba77b8dfc0 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 14542
diff changeset
   305
             comboList: recentTagsList
c1ba77b8dfc0 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 14542
diff changeset
   306
           )
15849
9e9179e9f829 #BUGFIX
Claus Gittinger <cg@exept.de>
parents: 15841
diff changeset
   307
          (LabelSpec
9e9179e9f829 #BUGFIX
Claus Gittinger <cg@exept.de>
parents: 15841
diff changeset
   308
             label: 'Reason for Checkin:'
9e9179e9f829 #BUGFIX
Claus Gittinger <cg@exept.de>
parents: 15841
diff changeset
   309
             name: 'Label6'
16224
83f5f04b9c56 #UI_ENHANCEMENT
Claus Gittinger <cg@exept.de>
parents: 15874
diff changeset
   310
             layout: (LayoutOrigin 2 0 -179 1)
15849
9e9179e9f829 #BUGFIX
Claus Gittinger <cg@exept.de>
parents: 15841
diff changeset
   311
             activeHelpKey: checkinReason
9e9179e9f829 #BUGFIX
Claus Gittinger <cg@exept.de>
parents: 15841
diff changeset
   312
             translateLabel: true
9e9179e9f829 #BUGFIX
Claus Gittinger <cg@exept.de>
parents: 15841
diff changeset
   313
             resizeForLabel: true
9e9179e9f829 #BUGFIX
Claus Gittinger <cg@exept.de>
parents: 15841
diff changeset
   314
             adjust: right
9e9179e9f829 #BUGFIX
Claus Gittinger <cg@exept.de>
parents: 15841
diff changeset
   315
           )
9e9179e9f829 #BUGFIX
Claus Gittinger <cg@exept.de>
parents: 15841
diff changeset
   316
          (RadioButtonSpec
9e9179e9f829 #BUGFIX
Claus Gittinger <cg@exept.de>
parents: 15841
diff changeset
   317
             label: 'Bugfix'
9e9179e9f829 #BUGFIX
Claus Gittinger <cg@exept.de>
parents: 15841
diff changeset
   318
             name: 'RadioButton1'
16224
83f5f04b9c56 #UI_ENHANCEMENT
Claus Gittinger <cg@exept.de>
parents: 15874
diff changeset
   319
             layout: (LayoutFrame 20 0.0 -151 1 300 0 -129 1)
15853
00d7a229b2f0 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 15849
diff changeset
   320
             activeHelpKey: checkinReasonBugfix
15849
9e9179e9f829 #BUGFIX
Claus Gittinger <cg@exept.de>
parents: 15841
diff changeset
   321
             translateLabel: true
9e9179e9f829 #BUGFIX
Claus Gittinger <cg@exept.de>
parents: 15841
diff changeset
   322
             model: checkinReasonHolder
9e9179e9f829 #BUGFIX
Claus Gittinger <cg@exept.de>
parents: 15841
diff changeset
   323
             isTriggerOnDown: true
9e9179e9f829 #BUGFIX
Claus Gittinger <cg@exept.de>
parents: 15841
diff changeset
   324
             select: 'reasonBugfix'
9e9179e9f829 #BUGFIX
Claus Gittinger <cg@exept.de>
parents: 15841
diff changeset
   325
           )
9e9179e9f829 #BUGFIX
Claus Gittinger <cg@exept.de>
parents: 15841
diff changeset
   326
          (RadioButtonSpec
9e9179e9f829 #BUGFIX
Claus Gittinger <cg@exept.de>
parents: 15841
diff changeset
   327
             label: 'Feature / Enhancement'
9e9179e9f829 #BUGFIX
Claus Gittinger <cg@exept.de>
parents: 15841
diff changeset
   328
             name: 'RadioButton2'
16224
83f5f04b9c56 #UI_ENHANCEMENT
Claus Gittinger <cg@exept.de>
parents: 15874
diff changeset
   329
             layout: (LayoutFrame -276 0.5 -127 1 -279 1 -105 1)
15853
00d7a229b2f0 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 15849
diff changeset
   330
             activeHelpKey: checkinReasonFeature
15849
9e9179e9f829 #BUGFIX
Claus Gittinger <cg@exept.de>
parents: 15841
diff changeset
   331
             translateLabel: true
9e9179e9f829 #BUGFIX
Claus Gittinger <cg@exept.de>
parents: 15841
diff changeset
   332
             model: checkinReasonHolder
9e9179e9f829 #BUGFIX
Claus Gittinger <cg@exept.de>
parents: 15841
diff changeset
   333
             isTriggerOnDown: true
9e9179e9f829 #BUGFIX
Claus Gittinger <cg@exept.de>
parents: 15841
diff changeset
   334
             select: reasonFeature
9e9179e9f829 #BUGFIX
Claus Gittinger <cg@exept.de>
parents: 15841
diff changeset
   335
           )
9e9179e9f829 #BUGFIX
Claus Gittinger <cg@exept.de>
parents: 15841
diff changeset
   336
          (RadioButtonSpec
9e9179e9f829 #BUGFIX
Claus Gittinger <cg@exept.de>
parents: 15841
diff changeset
   337
             label: 'Refactoring / Code Cleanup'
9e9179e9f829 #BUGFIX
Claus Gittinger <cg@exept.de>
parents: 15841
diff changeset
   338
             name: 'RadioButton3'
16224
83f5f04b9c56 #UI_ENHANCEMENT
Claus Gittinger <cg@exept.de>
parents: 15874
diff changeset
   339
             layout: (LayoutFrame -276 0.5 -103 1 -279 1 -81 1)
15853
00d7a229b2f0 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 15849
diff changeset
   340
             activeHelpKey: checkinReasonRefactoring
15849
9e9179e9f829 #BUGFIX
Claus Gittinger <cg@exept.de>
parents: 15841
diff changeset
   341
             translateLabel: true
9e9179e9f829 #BUGFIX
Claus Gittinger <cg@exept.de>
parents: 15841
diff changeset
   342
             model: checkinReasonHolder
9e9179e9f829 #BUGFIX
Claus Gittinger <cg@exept.de>
parents: 15841
diff changeset
   343
             isTriggerOnDown: true
9e9179e9f829 #BUGFIX
Claus Gittinger <cg@exept.de>
parents: 15841
diff changeset
   344
             select: reasonRefactoring
9e9179e9f829 #BUGFIX
Claus Gittinger <cg@exept.de>
parents: 15841
diff changeset
   345
           )
9e9179e9f829 #BUGFIX
Claus Gittinger <cg@exept.de>
parents: 15841
diff changeset
   346
          (RadioButtonSpec
15873
45119443a715 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 15853
diff changeset
   347
             label: 'UI Enhancement / Beautification'
45119443a715 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 15853
diff changeset
   348
             name: 'RadioButton6'
16224
83f5f04b9c56 #UI_ENHANCEMENT
Claus Gittinger <cg@exept.de>
parents: 15874
diff changeset
   349
             layout: (LayoutFrame -276 0.5 -79 1 -279 1 -57 1)
15873
45119443a715 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 15853
diff changeset
   350
             activeHelpKey: checkinReasonUIEnhancement
45119443a715 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 15853
diff changeset
   351
             translateLabel: true
45119443a715 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 15853
diff changeset
   352
             model: checkinReasonHolder
45119443a715 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 15853
diff changeset
   353
             isTriggerOnDown: true
45119443a715 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 15853
diff changeset
   354
             select: reasonUIEnhancement
45119443a715 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 15853
diff changeset
   355
           )
45119443a715 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 15853
diff changeset
   356
          (RadioButtonSpec
15853
00d7a229b2f0 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 15849
diff changeset
   357
             label: 'Documentation / Comment Only'
00d7a229b2f0 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 15849
diff changeset
   358
             name: 'RadioButton5'
16224
83f5f04b9c56 #UI_ENHANCEMENT
Claus Gittinger <cg@exept.de>
parents: 15874
diff changeset
   359
             layout: (LayoutFrame 9 0.5 -151 1 0 1 -129 1)
15853
00d7a229b2f0 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 15849
diff changeset
   360
             activeHelpKey: checkinReasonDocumentation
00d7a229b2f0 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 15849
diff changeset
   361
             translateLabel: true
00d7a229b2f0 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 15849
diff changeset
   362
             model: checkinReasonHolder
00d7a229b2f0 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 15849
diff changeset
   363
             isTriggerOnDown: true
00d7a229b2f0 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 15849
diff changeset
   364
             select: reasonDocumentation
00d7a229b2f0 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 15849
diff changeset
   365
           )
00d7a229b2f0 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 15849
diff changeset
   366
          (RadioButtonSpec
16224
83f5f04b9c56 #UI_ENHANCEMENT
Claus Gittinger <cg@exept.de>
parents: 15874
diff changeset
   367
             label: 'Tuning'
83f5f04b9c56 #UI_ENHANCEMENT
Claus Gittinger <cg@exept.de>
parents: 15874
diff changeset
   368
             name: 'RadioButton4a'
83f5f04b9c56 #UI_ENHANCEMENT
Claus Gittinger <cg@exept.de>
parents: 15874
diff changeset
   369
             layout: (LayoutFrame 9 0.5 -127 1 0 1 -105 1)
83f5f04b9c56 #UI_ENHANCEMENT
Claus Gittinger <cg@exept.de>
parents: 15874
diff changeset
   370
             activeHelpKey: checkinReasonTuning
83f5f04b9c56 #UI_ENHANCEMENT
Claus Gittinger <cg@exept.de>
parents: 15874
diff changeset
   371
             translateLabel: true
83f5f04b9c56 #UI_ENHANCEMENT
Claus Gittinger <cg@exept.de>
parents: 15874
diff changeset
   372
             model: checkinReasonHolder
83f5f04b9c56 #UI_ENHANCEMENT
Claus Gittinger <cg@exept.de>
parents: 15874
diff changeset
   373
             isTriggerOnDown: true
83f5f04b9c56 #UI_ENHANCEMENT
Claus Gittinger <cg@exept.de>
parents: 15874
diff changeset
   374
             select: reasonTuning
83f5f04b9c56 #UI_ENHANCEMENT
Claus Gittinger <cg@exept.de>
parents: 15874
diff changeset
   375
           )
83f5f04b9c56 #UI_ENHANCEMENT
Claus Gittinger <cg@exept.de>
parents: 15874
diff changeset
   376
          (RadioButtonSpec
83f5f04b9c56 #UI_ENHANCEMENT
Claus Gittinger <cg@exept.de>
parents: 15874
diff changeset
   377
             label: 'Quality (Debuggability / Testability('
15849
9e9179e9f829 #BUGFIX
Claus Gittinger <cg@exept.de>
parents: 15841
diff changeset
   378
             name: 'RadioButton4'
16224
83f5f04b9c56 #UI_ENHANCEMENT
Claus Gittinger <cg@exept.de>
parents: 15874
diff changeset
   379
             layout: (LayoutFrame 9 0.5 -103 1 0 1 -81 1)
83f5f04b9c56 #UI_ENHANCEMENT
Claus Gittinger <cg@exept.de>
parents: 15874
diff changeset
   380
             activeHelpKey: checkinReasonQuality
83f5f04b9c56 #UI_ENHANCEMENT
Claus Gittinger <cg@exept.de>
parents: 15874
diff changeset
   381
             translateLabel: true
83f5f04b9c56 #UI_ENHANCEMENT
Claus Gittinger <cg@exept.de>
parents: 15874
diff changeset
   382
             model: checkinReasonHolder
83f5f04b9c56 #UI_ENHANCEMENT
Claus Gittinger <cg@exept.de>
parents: 15874
diff changeset
   383
             isTriggerOnDown: true
83f5f04b9c56 #UI_ENHANCEMENT
Claus Gittinger <cg@exept.de>
parents: 15874
diff changeset
   384
             select: reasonQuality
83f5f04b9c56 #UI_ENHANCEMENT
Claus Gittinger <cg@exept.de>
parents: 15874
diff changeset
   385
           )
83f5f04b9c56 #UI_ENHANCEMENT
Claus Gittinger <cg@exept.de>
parents: 15874
diff changeset
   386
          (RadioButtonSpec
83f5f04b9c56 #UI_ENHANCEMENT
Claus Gittinger <cg@exept.de>
parents: 15874
diff changeset
   387
             label: 'None of the Above'
83f5f04b9c56 #UI_ENHANCEMENT
Claus Gittinger <cg@exept.de>
parents: 15874
diff changeset
   388
             name: 'RadioButton7'
83f5f04b9c56 #UI_ENHANCEMENT
Claus Gittinger <cg@exept.de>
parents: 15874
diff changeset
   389
             layout: (LayoutFrame 9 0.5 -79 1 0 1 -57 1)
15853
00d7a229b2f0 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 15849
diff changeset
   390
             activeHelpKey: checkinReasonOther
15849
9e9179e9f829 #BUGFIX
Claus Gittinger <cg@exept.de>
parents: 15841
diff changeset
   391
             translateLabel: true
9e9179e9f829 #BUGFIX
Claus Gittinger <cg@exept.de>
parents: 15841
diff changeset
   392
             model: checkinReasonHolder
9e9179e9f829 #BUGFIX
Claus Gittinger <cg@exept.de>
parents: 15841
diff changeset
   393
             isTriggerOnDown: true
9e9179e9f829 #BUGFIX
Claus Gittinger <cg@exept.de>
parents: 15841
diff changeset
   394
             select: reasonOther
9e9179e9f829 #BUGFIX
Claus Gittinger <cg@exept.de>
parents: 15841
diff changeset
   395
           )
14685
c1ba77b8dfc0 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 14542
diff changeset
   396
          (HorizontalPanelViewSpec
c1ba77b8dfc0 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 14542
diff changeset
   397
             name: 'ButtonPanel1'
c1ba77b8dfc0 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 14542
diff changeset
   398
             layout: (LayoutFrame 0 0.0 -40 1 -16 1.0 0 1.0)
c1ba77b8dfc0 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 14542
diff changeset
   399
             horizontalLayout: fitSpace
c1ba77b8dfc0 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 14542
diff changeset
   400
             verticalLayout: center
c1ba77b8dfc0 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 14542
diff changeset
   401
             horizontalSpace: 3
c1ba77b8dfc0 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 14542
diff changeset
   402
             verticalSpace: 2
c1ba77b8dfc0 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 14542
diff changeset
   403
             reverseOrderIfOKAtLeft: true
c1ba77b8dfc0 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 14542
diff changeset
   404
             component: 
c1ba77b8dfc0 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 14542
diff changeset
   405
            (SpecCollection
c1ba77b8dfc0 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 14542
diff changeset
   406
               collection: (
c1ba77b8dfc0 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 14542
diff changeset
   407
                (ActionButtonSpec
c1ba77b8dfc0 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 14542
diff changeset
   408
                   label: 'Cancel'
c1ba77b8dfc0 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 14542
diff changeset
   409
                   name: 'Button2'
c1ba77b8dfc0 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 14542
diff changeset
   410
                   translateLabel: true
c1ba77b8dfc0 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 14542
diff changeset
   411
                   model: doCancel
16224
83f5f04b9c56 #UI_ENHANCEMENT
Claus Gittinger <cg@exept.de>
parents: 15874
diff changeset
   412
                   extent: (Point 283 22)
6799
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   413
                 )
14685
c1ba77b8dfc0 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 14542
diff changeset
   414
                (ActionButtonSpec
c1ba77b8dfc0 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 14542
diff changeset
   415
                   label: 'OK'
c1ba77b8dfc0 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 14542
diff changeset
   416
                   name: 'Button1'
c1ba77b8dfc0 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 14542
diff changeset
   417
                   translateLabel: true
c1ba77b8dfc0 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 14542
diff changeset
   418
                   model: doAccept
16224
83f5f04b9c56 #UI_ENHANCEMENT
Claus Gittinger <cg@exept.de>
parents: 15874
diff changeset
   419
                   extent: (Point 284 22)
14685
c1ba77b8dfc0 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 14542
diff changeset
   420
                 )
c1ba77b8dfc0 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 14542
diff changeset
   421
                )
c1ba77b8dfc0 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 14542
diff changeset
   422
              
c1ba77b8dfc0 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 14542
diff changeset
   423
             )
c1ba77b8dfc0 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 14542
diff changeset
   424
             keepSpaceForOSXResizeHandleH: true
6799
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   425
           )
14685
c1ba77b8dfc0 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 14542
diff changeset
   426
          )
c1ba77b8dfc0 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 14542
diff changeset
   427
        
c1ba77b8dfc0 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 14542
diff changeset
   428
       )
c1ba77b8dfc0 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 14542
diff changeset
   429
     )
6799
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   430
! !
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   431
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   432
!CheckinInfoDialog class methodsFor:'opening'!
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   433
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   434
getCheckinInfoFor:aString initialAnswer:initialAnswer
11412
66ebae1951eb previous log messages
Claus Gittinger <cg@exept.de>
parents: 9950
diff changeset
   435
    ^ self 
66ebae1951eb previous log messages
Claus Gittinger <cg@exept.de>
parents: 9950
diff changeset
   436
        getCheckinInfoFor:aString 
66ebae1951eb previous log messages
Claus Gittinger <cg@exept.de>
parents: 9950
diff changeset
   437
        initialAnswer:initialAnswer 
66ebae1951eb previous log messages
Claus Gittinger <cg@exept.de>
parents: 9950
diff changeset
   438
        withQuickOption:false
6979
048fb7930a28 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6799
diff changeset
   439
048fb7930a28 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6799
diff changeset
   440
    "
048fb7930a28 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6799
diff changeset
   441
      self getCheckinInfoFor:'hello' initialAnswer:'bla'
048fb7930a28 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6799
diff changeset
   442
    "
11412
66ebae1951eb previous log messages
Claus Gittinger <cg@exept.de>
parents: 9950
diff changeset
   443
66ebae1951eb previous log messages
Claus Gittinger <cg@exept.de>
parents: 9950
diff changeset
   444
    "Modified (format): / 12-03-2012 / 12:38:48 / cg"
6979
048fb7930a28 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6799
diff changeset
   445
!
048fb7930a28 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6799
diff changeset
   446
8766
f9af1c29b401 comment/format in: #getCheckinInfoFor:initialAnswer:withQuickOption:
Claus Gittinger <cg@exept.de>
parents: 7592
diff changeset
   447
getCheckinInfoFor:aClassNameOrPackageNameString initialAnswer:initialAnswer withQuickOption:withQuickOption
11412
66ebae1951eb previous log messages
Claus Gittinger <cg@exept.de>
parents: 9950
diff changeset
   448
    ^ self
66ebae1951eb previous log messages
Claus Gittinger <cg@exept.de>
parents: 9950
diff changeset
   449
        getCheckinInfoFor:aClassNameOrPackageNameString 
66ebae1951eb previous log messages
Claus Gittinger <cg@exept.de>
parents: 9950
diff changeset
   450
        initialAnswer:initialAnswer 
66ebae1951eb previous log messages
Claus Gittinger <cg@exept.de>
parents: 9950
diff changeset
   451
        withQuickOption:withQuickOption
66ebae1951eb previous log messages
Claus Gittinger <cg@exept.de>
parents: 9950
diff changeset
   452
        logHistory:#()
66ebae1951eb previous log messages
Claus Gittinger <cg@exept.de>
parents: 9950
diff changeset
   453
66ebae1951eb previous log messages
Claus Gittinger <cg@exept.de>
parents: 9950
diff changeset
   454
    "
66ebae1951eb previous log messages
Claus Gittinger <cg@exept.de>
parents: 9950
diff changeset
   455
     self getCheckinInfoFor:'hello' initialAnswer:'bla'
66ebae1951eb previous log messages
Claus Gittinger <cg@exept.de>
parents: 9950
diff changeset
   456
    "
66ebae1951eb previous log messages
Claus Gittinger <cg@exept.de>
parents: 9950
diff changeset
   457
66ebae1951eb previous log messages
Claus Gittinger <cg@exept.de>
parents: 9950
diff changeset
   458
    "Modified: / 12-03-2012 / 12:39:00 / cg"
66ebae1951eb previous log messages
Claus Gittinger <cg@exept.de>
parents: 9950
diff changeset
   459
!
66ebae1951eb previous log messages
Claus Gittinger <cg@exept.de>
parents: 9950
diff changeset
   460
11413
d78e22496f0a previous log messages
Claus Gittinger <cg@exept.de>
parents: 11412
diff changeset
   461
getCheckinInfoFor:aClassNameOrPackageNameString initialAnswer:initialAnswer withQuickOption:withQuickOption logHistory:logHistoryArg
12537
2ddd00171375 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 11413
diff changeset
   462
    ^  self     
2ddd00171375 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 11413
diff changeset
   463
        getCheckinInfoFor:aClassNameOrPackageNameString 
2ddd00171375 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 11413
diff changeset
   464
        initialAnswer:initialAnswer 
2ddd00171375 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 11413
diff changeset
   465
        withQuickOption:withQuickOption 
2ddd00171375 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 11413
diff changeset
   466
        logHistory:logHistoryArg 
2ddd00171375 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 11413
diff changeset
   467
        withValidateConsistencyOption:false
2ddd00171375 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 11413
diff changeset
   468
2ddd00171375 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 11413
diff changeset
   469
    "
2ddd00171375 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 11413
diff changeset
   470
     self getCheckinInfoFor:'hello' initialAnswer:'bla'
2ddd00171375 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 11413
diff changeset
   471
     self getCheckinInfoFor:'hello' initialAnswer:'bla' withQuickOption:true
2ddd00171375 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 11413
diff changeset
   472
     self getCheckinInfoFor:'hello' initialAnswer:'bla' withQuickOption:true logHistory:nil withConsistencyCheckOption:true
2ddd00171375 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 11413
diff changeset
   473
    "
2ddd00171375 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 11413
diff changeset
   474
2ddd00171375 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 11413
diff changeset
   475
    "Created: / 12-03-2012 / 12:36:26 / cg"
2ddd00171375 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 11413
diff changeset
   476
!
2ddd00171375 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 11413
diff changeset
   477
15841
c9885b9e9fc1 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 15829
diff changeset
   478
getCheckinInfoFor:aClassNameOrPackageNameString initialAnswer:initialAnswer 
c9885b9e9fc1 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 15829
diff changeset
   479
                withQuickOption:withQuickOption 
c9885b9e9fc1 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 15829
diff changeset
   480
                logHistory:logHistoryArg 
c9885b9e9fc1 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 15829
diff changeset
   481
                withValidateConsistencyOption:withValidateConsistencyOption
c9885b9e9fc1 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 15829
diff changeset
   482
    ^ self
c9885b9e9fc1 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 15829
diff changeset
   483
        getCheckinInfoFor:aClassNameOrPackageNameString 
c9885b9e9fc1 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 15829
diff changeset
   484
        initialAnswer:initialAnswer 
c9885b9e9fc1 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 15829
diff changeset
   485
        withQuickOption:withQuickOption 
c9885b9e9fc1 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 15829
diff changeset
   486
        logHistory:logHistoryArg 
c9885b9e9fc1 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 15829
diff changeset
   487
        withValidateConsistencyOption:withValidateConsistencyOption
c9885b9e9fc1 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 15829
diff changeset
   488
        initialReason:(LastReason ? self reasonBugfix)
c9885b9e9fc1 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 15829
diff changeset
   489
c9885b9e9fc1 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 15829
diff changeset
   490
    "
c9885b9e9fc1 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 15829
diff changeset
   491
     self getCheckinInfoFor:'hello' initialAnswer:'bla'
c9885b9e9fc1 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 15829
diff changeset
   492
    "
c9885b9e9fc1 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 15829
diff changeset
   493
c9885b9e9fc1 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 15829
diff changeset
   494
    "Created: / 12-03-2012 / 12:36:26 / cg"
c9885b9e9fc1 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 15829
diff changeset
   495
!
c9885b9e9fc1 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 15829
diff changeset
   496
c9885b9e9fc1 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 15829
diff changeset
   497
getCheckinInfoFor:aClassNameOrPackageNameString initialAnswer:initialAnswer 
c9885b9e9fc1 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 15829
diff changeset
   498
            withQuickOption:withQuickOption 
c9885b9e9fc1 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 15829
diff changeset
   499
            logHistory:logHistoryArg 
c9885b9e9fc1 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 15829
diff changeset
   500
            withValidateConsistencyOption:withValidateConsistencyOption
c9885b9e9fc1 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 15829
diff changeset
   501
            initialReason:defaultReason
c9885b9e9fc1 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 15829
diff changeset
   502
9508
6ecac35f25b6 enforce a non-empty logmessage;
Claus Gittinger <cg@exept.de>
parents: 9161
diff changeset
   503
    |dialog warnMessage|
6ecac35f25b6 enforce a non-empty logmessage;
Claus Gittinger <cg@exept.de>
parents: 9161
diff changeset
   504
6ecac35f25b6 enforce a non-empty logmessage;
Claus Gittinger <cg@exept.de>
parents: 9161
diff changeset
   505
    warnMessage := nil.
6ecac35f25b6 enforce a non-empty logmessage;
Claus Gittinger <cg@exept.de>
parents: 9161
diff changeset
   506
    [
6ecac35f25b6 enforce a non-empty logmessage;
Claus Gittinger <cg@exept.de>
parents: 9161
diff changeset
   507
        dialog := self new.
6ecac35f25b6 enforce a non-empty logmessage;
Claus Gittinger <cg@exept.de>
parents: 9161
diff changeset
   508
        dialog 
6ecac35f25b6 enforce a non-empty logmessage;
Claus Gittinger <cg@exept.de>
parents: 9161
diff changeset
   509
            description:aClassNameOrPackageNameString; 
6ecac35f25b6 enforce a non-empty logmessage;
Claus Gittinger <cg@exept.de>
parents: 9161
diff changeset
   510
            logMessage:initialAnswer;
11413
d78e22496f0a previous log messages
Claus Gittinger <cg@exept.de>
parents: 11412
diff changeset
   511
            withQuickOption:withQuickOption;
12537
2ddd00171375 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 11413
diff changeset
   512
            withValidateConsistencyOption:withValidateConsistencyOption;
15841
c9885b9e9fc1 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 15829
diff changeset
   513
            logHistory:logHistoryArg;
c9885b9e9fc1 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 15829
diff changeset
   514
            checkinReason:defaultReason.
6799
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   515
9508
6ecac35f25b6 enforce a non-empty logmessage;
Claus Gittinger <cg@exept.de>
parents: 9161
diff changeset
   516
        dialog warningMessageHolder value:warnMessage.
6ecac35f25b6 enforce a non-empty logmessage;
Claus Gittinger <cg@exept.de>
parents: 9161
diff changeset
   517
        dialog open.
6ecac35f25b6 enforce a non-empty logmessage;
Claus Gittinger <cg@exept.de>
parents: 9161
diff changeset
   518
        dialog accepted ifFalse:[ ^ nil ].
6ecac35f25b6 enforce a non-empty logmessage;
Claus Gittinger <cg@exept.de>
parents: 9161
diff changeset
   519
    ] doUntil:[
6ecac35f25b6 enforce a non-empty logmessage;
Claus Gittinger <cg@exept.de>
parents: 9161
diff changeset
   520
        |stopAsking|
6799
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   521
9508
6ecac35f25b6 enforce a non-empty logmessage;
Claus Gittinger <cg@exept.de>
parents: 9161
diff changeset
   522
        stopAsking := dialog allowEmptyLogMessage 
14541
f52bb88c745a class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 14540
diff changeset
   523
                      or:[ (dialog logMessage) withoutSeparators notEmptyOrNil ].
9508
6ecac35f25b6 enforce a non-empty logmessage;
Claus Gittinger <cg@exept.de>
parents: 9161
diff changeset
   524
        stopAsking ifFalse:[
6ecac35f25b6 enforce a non-empty logmessage;
Claus Gittinger <cg@exept.de>
parents: 9161
diff changeset
   525
            warnMessage := (self resources string:'Please enter a description of your changes!!') 
6ecac35f25b6 enforce a non-empty logmessage;
Claus Gittinger <cg@exept.de>
parents: 9161
diff changeset
   526
                                asText 
6ecac35f25b6 enforce a non-empty logmessage;
Claus Gittinger <cg@exept.de>
parents: 9161
diff changeset
   527
                                    colorizeAllWith:Color red.
6ecac35f25b6 enforce a non-empty logmessage;
Claus Gittinger <cg@exept.de>
parents: 9161
diff changeset
   528
        ].
6ecac35f25b6 enforce a non-empty logmessage;
Claus Gittinger <cg@exept.de>
parents: 9161
diff changeset
   529
        stopAsking
6799
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   530
    ].
15841
c9885b9e9fc1 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 15829
diff changeset
   531
    LastReason := dialog checkinReason.
6799
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   532
    ^ dialog    
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   533
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   534
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   535
    "
7110
86a7ea1388a1 no tagIt checkBox - non-empty tag value means: tagIt
Claus Gittinger <cg@exept.de>
parents: 7097
diff changeset
   536
     self getCheckinInfoFor:'hello' initialAnswer:'bla'
6799
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   537
    "
7110
86a7ea1388a1 no tagIt checkBox - non-empty tag value means: tagIt
Claus Gittinger <cg@exept.de>
parents: 7097
diff changeset
   538
11412
66ebae1951eb previous log messages
Claus Gittinger <cg@exept.de>
parents: 9950
diff changeset
   539
    "Created: / 12-03-2012 / 12:36:26 / cg"
6799
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   540
! !
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   541
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   542
!CheckinInfoDialog methodsFor:'accessing'!
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   543
9508
6ecac35f25b6 enforce a non-empty logmessage;
Claus Gittinger <cg@exept.de>
parents: 9161
diff changeset
   544
allowEmptyLogMessage
6ecac35f25b6 enforce a non-empty logmessage;
Claus Gittinger <cg@exept.de>
parents: 9161
diff changeset
   545
    ^ allowEmptyLogMessage ? false
6ecac35f25b6 enforce a non-empty logmessage;
Claus Gittinger <cg@exept.de>
parents: 9161
diff changeset
   546
6ecac35f25b6 enforce a non-empty logmessage;
Claus Gittinger <cg@exept.de>
parents: 9161
diff changeset
   547
    "Created: / 06-07-2010 / 11:23:18 / cg"
6ecac35f25b6 enforce a non-empty logmessage;
Claus Gittinger <cg@exept.de>
parents: 9161
diff changeset
   548
!
6ecac35f25b6 enforce a non-empty logmessage;
Claus Gittinger <cg@exept.de>
parents: 9161
diff changeset
   549
6ecac35f25b6 enforce a non-empty logmessage;
Claus Gittinger <cg@exept.de>
parents: 9161
diff changeset
   550
allowEmptyLogMessage:aBoolean 
6ecac35f25b6 enforce a non-empty logmessage;
Claus Gittinger <cg@exept.de>
parents: 9161
diff changeset
   551
    allowEmptyLogMessage := aBoolean
6ecac35f25b6 enforce a non-empty logmessage;
Claus Gittinger <cg@exept.de>
parents: 9161
diff changeset
   552
6ecac35f25b6 enforce a non-empty logmessage;
Claus Gittinger <cg@exept.de>
parents: 9161
diff changeset
   553
    "Created: / 06-07-2010 / 11:23:31 / cg"
6ecac35f25b6 enforce a non-empty logmessage;
Claus Gittinger <cg@exept.de>
parents: 9161
diff changeset
   554
!
6ecac35f25b6 enforce a non-empty logmessage;
Claus Gittinger <cg@exept.de>
parents: 9161
diff changeset
   555
15841
c9885b9e9fc1 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 15829
diff changeset
   556
checkinReason
15853
00d7a229b2f0 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 15849
diff changeset
   557
    "returns one of: #(reasonBugfix reasonFeature reasonRefactoring reasonDocumentation reasonOther)"
15841
c9885b9e9fc1 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 15829
diff changeset
   558
c9885b9e9fc1 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 15829
diff changeset
   559
    ^ self checkinReasonHolder value
c9885b9e9fc1 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 15829
diff changeset
   560
!
c9885b9e9fc1 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 15829
diff changeset
   561
c9885b9e9fc1 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 15829
diff changeset
   562
checkinReason:aSymbolicReason
16224
83f5f04b9c56 #UI_ENHANCEMENT
Claus Gittinger <cg@exept.de>
parents: 15874
diff changeset
   563
    self assert:( self class possibleReasons includes:aSymbolicReason).
15841
c9885b9e9fc1 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 15829
diff changeset
   564
    self checkinReasonHolder value:aSymbolicReason
16224
83f5f04b9c56 #UI_ENHANCEMENT
Claus Gittinger <cg@exept.de>
parents: 15874
diff changeset
   565
83f5f04b9c56 #UI_ENHANCEMENT
Claus Gittinger <cg@exept.de>
parents: 15874
diff changeset
   566
    "Modified: / 31-03-2016 / 17:58:45 / cg"
15841
c9885b9e9fc1 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 15829
diff changeset
   567
!
c9885b9e9fc1 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 15829
diff changeset
   568
6799
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   569
description
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   570
    ^ self descriptionHolder value
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   571
!
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   572
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   573
description:aString
7179
8229aa65d96b *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7110
diff changeset
   574
    self descriptionHolder value:aString allBold
6799
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   575
!
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   576
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   577
isStable
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   578
    ^ self isStableHolder value
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   579
!
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   580
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   581
isStable:aBoolean
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   582
    self isStableHolder value:aBoolean
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   583
!
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   584
11413
d78e22496f0a previous log messages
Claus Gittinger <cg@exept.de>
parents: 11412
diff changeset
   585
logHistory:something
d78e22496f0a previous log messages
Claus Gittinger <cg@exept.de>
parents: 11412
diff changeset
   586
    logHistory := something.
d78e22496f0a previous log messages
Claus Gittinger <cg@exept.de>
parents: 11412
diff changeset
   587
!
d78e22496f0a previous log messages
Claus Gittinger <cg@exept.de>
parents: 11412
diff changeset
   588
6799
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   589
logMessage
15829
ba4d543aff02 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 14685
diff changeset
   590
    ^ self logMessageHolder value ? ''
6799
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   591
!
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   592
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   593
logMessage:aString
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   594
    self logMessageHolder value:aString
6979
048fb7930a28 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6799
diff changeset
   595
!
048fb7930a28 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6799
diff changeset
   596
048fb7930a28 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6799
diff changeset
   597
quickCheckIn
048fb7930a28 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6799
diff changeset
   598
    ^ self quickCheckInHolder value
048fb7930a28 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6799
diff changeset
   599
!
048fb7930a28 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6799
diff changeset
   600
048fb7930a28 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6799
diff changeset
   601
quickCheckIn:aBoolean
048fb7930a28 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6799
diff changeset
   602
    self quickCheckInHolder value:aBoolean
048fb7930a28 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6799
diff changeset
   603
!
048fb7930a28 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6799
diff changeset
   604
048fb7930a28 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6799
diff changeset
   605
tag
13299
f7c2eb0610c5 class: Tools::CheckinInfoDialog
Stefan Vogel <sv@exept.de>
parents: 12860
diff changeset
   606
    ^ (self tagHolder value ? '') withoutSeparators
6979
048fb7930a28 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6799
diff changeset
   607
!
048fb7930a28 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6799
diff changeset
   608
7110
86a7ea1388a1 no tagIt checkBox - non-empty tag value means: tagIt
Claus Gittinger <cg@exept.de>
parents: 7097
diff changeset
   609
tag:aStringOrNil
86a7ea1388a1 no tagIt checkBox - non-empty tag value means: tagIt
Claus Gittinger <cg@exept.de>
parents: 7097
diff changeset
   610
    self tagHolder value:aStringOrNil
86a7ea1388a1 no tagIt checkBox - non-empty tag value means: tagIt
Claus Gittinger <cg@exept.de>
parents: 7097
diff changeset
   611
86a7ea1388a1 no tagIt checkBox - non-empty tag value means: tagIt
Claus Gittinger <cg@exept.de>
parents: 7097
diff changeset
   612
    "Modified: / 12-09-2006 / 12:03:50 / cg"
6979
048fb7930a28 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6799
diff changeset
   613
!
048fb7930a28 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6799
diff changeset
   614
048fb7930a28 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6799
diff changeset
   615
tagIt
7110
86a7ea1388a1 no tagIt checkBox - non-empty tag value means: tagIt
Claus Gittinger <cg@exept.de>
parents: 7097
diff changeset
   616
    ^ self tag notEmptyOrNil
6979
048fb7930a28 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6799
diff changeset
   617
7110
86a7ea1388a1 no tagIt checkBox - non-empty tag value means: tagIt
Claus Gittinger <cg@exept.de>
parents: 7097
diff changeset
   618
    "Created: / 12-09-2006 / 13:06:49 / cg"
6979
048fb7930a28 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6799
diff changeset
   619
!
048fb7930a28 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6799
diff changeset
   620
12537
2ddd00171375 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 11413
diff changeset
   621
validateConsistency
2ddd00171375 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 11413
diff changeset
   622
    ^ self validateConsistencyHolder value
2ddd00171375 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 11413
diff changeset
   623
!
2ddd00171375 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 11413
diff changeset
   624
6979
048fb7930a28 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6799
diff changeset
   625
withQuickOption:aBoolean
15841
c9885b9e9fc1 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 15829
diff changeset
   626
    self quickCheckInEnabledHolder value:aBoolean
c9885b9e9fc1 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 15829
diff changeset
   627
    "/ self quickCheckInVisibleHolder value:aBoolean
12537
2ddd00171375 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 11413
diff changeset
   628
!
2ddd00171375 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 11413
diff changeset
   629
2ddd00171375 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 11413
diff changeset
   630
withValidateConsistencyOption:aBoolean
15841
c9885b9e9fc1 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 15829
diff changeset
   631
    self validateConsistencyEnabledHolder value:aBoolean
c9885b9e9fc1 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 15829
diff changeset
   632
    "/ self validateConsistencyVisibleHolder value:aBoolean
6799
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   633
! !
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   634
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   635
!CheckinInfoDialog methodsFor:'aspects'!
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   636
15841
c9885b9e9fc1 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 15829
diff changeset
   637
checkinReasonHolder
c9885b9e9fc1 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 15829
diff changeset
   638
    checkinReasonHolder isNil ifTrue:[
c9885b9e9fc1 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 15829
diff changeset
   639
        checkinReasonHolder := (LastReason ? self class reasonBugfix) asValue.
c9885b9e9fc1 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 15829
diff changeset
   640
    ].
c9885b9e9fc1 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 15829
diff changeset
   641
    ^ checkinReasonHolder
c9885b9e9fc1 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 15829
diff changeset
   642
!
c9885b9e9fc1 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 15829
diff changeset
   643
6799
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   644
descriptionHolder
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   645
    descriptionHolder isNil ifTrue:[
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   646
        descriptionHolder := ValueHolder new.
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   647
    ].
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   648
    ^ descriptionHolder
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   649
!
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   650
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   651
isStableHolder
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   652
    isStableHolder isNil ifTrue:[
7592
f9204291e800 isStable is not the default (too slow for now)
Claus Gittinger <cg@exept.de>
parents: 7591
diff changeset
   653
        isStableHolder := false asValue.
6799
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   654
    ].
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   655
    ^ isStableHolder.
7591
61cf0097b5dc isStable is default
Claus Gittinger <cg@exept.de>
parents: 7179
diff changeset
   656
7592
f9204291e800 isStable is not the default (too slow for now)
Claus Gittinger <cg@exept.de>
parents: 7591
diff changeset
   657
    "Modified: / 16-01-2007 / 16:00:26 / cg"
6799
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   658
!
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   659
11412
66ebae1951eb previous log messages
Claus Gittinger <cg@exept.de>
parents: 9950
diff changeset
   660
logHistoryHeadLineSelectionHolder
66ebae1951eb previous log messages
Claus Gittinger <cg@exept.de>
parents: 9950
diff changeset
   661
    logHistoryHeadLineSelectionHolder isNil ifTrue:[
66ebae1951eb previous log messages
Claus Gittinger <cg@exept.de>
parents: 9950
diff changeset
   662
        logHistoryHeadLineSelectionHolder := nil asValue.
66ebae1951eb previous log messages
Claus Gittinger <cg@exept.de>
parents: 9950
diff changeset
   663
        logHistoryHeadLineSelectionHolder 
66ebae1951eb previous log messages
Claus Gittinger <cg@exept.de>
parents: 9950
diff changeset
   664
            onChangeEvaluate:
66ebae1951eb previous log messages
Claus Gittinger <cg@exept.de>
parents: 9950
diff changeset
   665
                [
66ebae1951eb previous log messages
Claus Gittinger <cg@exept.de>
parents: 9950
diff changeset
   666
                    self logMessageHolder value:(logHistory at:logHistoryHeadLineSelectionHolder value)
66ebae1951eb previous log messages
Claus Gittinger <cg@exept.de>
parents: 9950
diff changeset
   667
                ].
66ebae1951eb previous log messages
Claus Gittinger <cg@exept.de>
parents: 9950
diff changeset
   668
    ].
66ebae1951eb previous log messages
Claus Gittinger <cg@exept.de>
parents: 9950
diff changeset
   669
    ^ logHistoryHeadLineSelectionHolder
66ebae1951eb previous log messages
Claus Gittinger <cg@exept.de>
parents: 9950
diff changeset
   670
66ebae1951eb previous log messages
Claus Gittinger <cg@exept.de>
parents: 9950
diff changeset
   671
    "Created: / 12-03-2012 / 12:40:36 / cg"
66ebae1951eb previous log messages
Claus Gittinger <cg@exept.de>
parents: 9950
diff changeset
   672
!
66ebae1951eb previous log messages
Claus Gittinger <cg@exept.de>
parents: 9950
diff changeset
   673
66ebae1951eb previous log messages
Claus Gittinger <cg@exept.de>
parents: 9950
diff changeset
   674
logHistoryHeadLines
66ebae1951eb previous log messages
Claus Gittinger <cg@exept.de>
parents: 9950
diff changeset
   675
    ^ (logHistory ? #())
66ebae1951eb previous log messages
Claus Gittinger <cg@exept.de>
parents: 9950
diff changeset
   676
        collect:[:msg |
66ebae1951eb previous log messages
Claus Gittinger <cg@exept.de>
parents: 9950
diff changeset
   677
            msg withoutLeadingSeparators asCollectionOfLines first , '...'
66ebae1951eb previous log messages
Claus Gittinger <cg@exept.de>
parents: 9950
diff changeset
   678
        ]
66ebae1951eb previous log messages
Claus Gittinger <cg@exept.de>
parents: 9950
diff changeset
   679
66ebae1951eb previous log messages
Claus Gittinger <cg@exept.de>
parents: 9950
diff changeset
   680
    "Created: / 12-03-2012 / 12:39:35 / cg"
66ebae1951eb previous log messages
Claus Gittinger <cg@exept.de>
parents: 9950
diff changeset
   681
!
66ebae1951eb previous log messages
Claus Gittinger <cg@exept.de>
parents: 9950
diff changeset
   682
6799
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   683
logMessageHolder
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   684
    logMessageHolder isNil ifTrue:[
11412
66ebae1951eb previous log messages
Claus Gittinger <cg@exept.de>
parents: 9950
diff changeset
   685
        logMessageHolder := '' asValue.
6799
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   686
    ].
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   687
    ^ logMessageHolder.
11412
66ebae1951eb previous log messages
Claus Gittinger <cg@exept.de>
parents: 9950
diff changeset
   688
66ebae1951eb previous log messages
Claus Gittinger <cg@exept.de>
parents: 9950
diff changeset
   689
    "Modified: / 12-03-2012 / 12:34:13 / cg"
6979
048fb7930a28 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6799
diff changeset
   690
!
048fb7930a28 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6799
diff changeset
   691
14685
c1ba77b8dfc0 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 14542
diff changeset
   692
notMarkAsStableHolder
c1ba77b8dfc0 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 14542
diff changeset
   693
    ^ BlockValue forLogicalNot:self isStableHolder
c1ba77b8dfc0 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 14542
diff changeset
   694
!
c1ba77b8dfc0 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 14542
diff changeset
   695
15841
c9885b9e9fc1 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 15829
diff changeset
   696
quickCheckInEnabledHolder
c9885b9e9fc1 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 15829
diff changeset
   697
    quickCheckInEnabledHolder isNil ifTrue:[
c9885b9e9fc1 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 15829
diff changeset
   698
        quickCheckInEnabledHolder := false asValue.
c9885b9e9fc1 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 15829
diff changeset
   699
    ].
c9885b9e9fc1 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 15829
diff changeset
   700
    ^ quickCheckInEnabledHolder
c9885b9e9fc1 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 15829
diff changeset
   701
!
c9885b9e9fc1 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 15829
diff changeset
   702
6979
048fb7930a28 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6799
diff changeset
   703
quickCheckInHolder
048fb7930a28 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6799
diff changeset
   704
    quickCheckInHolder isNil ifTrue:[
048fb7930a28 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6799
diff changeset
   705
        quickCheckInHolder := true asValue.
048fb7930a28 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6799
diff changeset
   706
    ].
048fb7930a28 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6799
diff changeset
   707
    ^ quickCheckInHolder
048fb7930a28 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6799
diff changeset
   708
!
048fb7930a28 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6799
diff changeset
   709
048fb7930a28 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6799
diff changeset
   710
quickCheckInVisibleHolder
048fb7930a28 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6799
diff changeset
   711
    quickCheckInVisibleHolder isNil ifTrue:[
15841
c9885b9e9fc1 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 15829
diff changeset
   712
        quickCheckInVisibleHolder := true asValue.
6979
048fb7930a28 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6799
diff changeset
   713
    ].
048fb7930a28 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6799
diff changeset
   714
    ^ quickCheckInVisibleHolder
048fb7930a28 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6799
diff changeset
   715
!
048fb7930a28 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6799
diff changeset
   716
14685
c1ba77b8dfc0 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 14542
diff changeset
   717
recentTagsList
c1ba77b8dfc0 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 14542
diff changeset
   718
    ^ [ CVSSourceCodeManager recentTags ]
c1ba77b8dfc0 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 14542
diff changeset
   719
!
c1ba77b8dfc0 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 14542
diff changeset
   720
6979
048fb7930a28 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6799
diff changeset
   721
tagHolder
048fb7930a28 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6799
diff changeset
   722
    tagHolder isNil ifTrue:[
14685
c1ba77b8dfc0 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 14542
diff changeset
   723
        tagHolder := ("CVSSourceCodeManager recentTag ?" '') asValue.
6979
048fb7930a28 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6799
diff changeset
   724
    ].
048fb7930a28 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6799
diff changeset
   725
    ^ tagHolder
9508
6ecac35f25b6 enforce a non-empty logmessage;
Claus Gittinger <cg@exept.de>
parents: 9161
diff changeset
   726
!
6ecac35f25b6 enforce a non-empty logmessage;
Claus Gittinger <cg@exept.de>
parents: 9161
diff changeset
   727
15841
c9885b9e9fc1 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 15829
diff changeset
   728
validateConsistencyEnabledHolder
c9885b9e9fc1 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 15829
diff changeset
   729
    validateConsistencyEnabledHolder isNil ifTrue:[
c9885b9e9fc1 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 15829
diff changeset
   730
        validateConsistencyEnabledHolder := false asValue.
c9885b9e9fc1 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 15829
diff changeset
   731
    ].
c9885b9e9fc1 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 15829
diff changeset
   732
    ^ validateConsistencyEnabledHolder
c9885b9e9fc1 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 15829
diff changeset
   733
!
c9885b9e9fc1 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 15829
diff changeset
   734
12537
2ddd00171375 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 11413
diff changeset
   735
validateConsistencyHolder
2ddd00171375 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 11413
diff changeset
   736
    validateConsistencyHolder isNil ifTrue:[
2ddd00171375 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 11413
diff changeset
   737
        validateConsistencyHolder := true asValue.
2ddd00171375 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 11413
diff changeset
   738
    ].
2ddd00171375 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 11413
diff changeset
   739
    ^ validateConsistencyHolder
2ddd00171375 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 11413
diff changeset
   740
!
2ddd00171375 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 11413
diff changeset
   741
2ddd00171375 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 11413
diff changeset
   742
validateConsistencyVisibleHolder
2ddd00171375 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 11413
diff changeset
   743
    validateConsistencyVisibleHolder isNil ifTrue:[
15841
c9885b9e9fc1 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 15829
diff changeset
   744
        validateConsistencyVisibleHolder := true asValue.
12537
2ddd00171375 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 11413
diff changeset
   745
    ].
2ddd00171375 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 11413
diff changeset
   746
    ^ validateConsistencyVisibleHolder
2ddd00171375 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 11413
diff changeset
   747
!
2ddd00171375 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 11413
diff changeset
   748
9508
6ecac35f25b6 enforce a non-empty logmessage;
Claus Gittinger <cg@exept.de>
parents: 9161
diff changeset
   749
warningMessageHolder
6ecac35f25b6 enforce a non-empty logmessage;
Claus Gittinger <cg@exept.de>
parents: 9161
diff changeset
   750
    warningMessageHolder isNil ifTrue:[
6ecac35f25b6 enforce a non-empty logmessage;
Claus Gittinger <cg@exept.de>
parents: 9161
diff changeset
   751
        warningMessageHolder := nil asValue.
6ecac35f25b6 enforce a non-empty logmessage;
Claus Gittinger <cg@exept.de>
parents: 9161
diff changeset
   752
    ].
6ecac35f25b6 enforce a non-empty logmessage;
Claus Gittinger <cg@exept.de>
parents: 9161
diff changeset
   753
    ^ warningMessageHolder.
6ecac35f25b6 enforce a non-empty logmessage;
Claus Gittinger <cg@exept.de>
parents: 9161
diff changeset
   754
6ecac35f25b6 enforce a non-empty logmessage;
Claus Gittinger <cg@exept.de>
parents: 9161
diff changeset
   755
    "Created: / 06-07-2010 / 11:30:29 / cg"
6799
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   756
! !
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   757
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   758
!CheckinInfoDialog class methodsFor:'documentation'!
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   759
11413
d78e22496f0a previous log messages
Claus Gittinger <cg@exept.de>
parents: 11412
diff changeset
   760
version
15829
ba4d543aff02 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 14685
diff changeset
   761
    ^ '$Header$'
11413
d78e22496f0a previous log messages
Claus Gittinger <cg@exept.de>
parents: 11412
diff changeset
   762
!
d78e22496f0a previous log messages
Claus Gittinger <cg@exept.de>
parents: 11412
diff changeset
   763
9161
e4761f8c188d botton order - ok at right in spec,
Claus Gittinger <cg@exept.de>
parents: 8766
diff changeset
   764
version_CVS
15829
ba4d543aff02 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 14685
diff changeset
   765
    ^ '$Header$'
6799
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   766
! !
12537
2ddd00171375 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 11413
diff changeset
   767