Tools__CheckinInfoDialog.st
author Claus Gittinger <cg@exept.de>
Mon, 20 Jan 2020 21:02:47 +0100
changeset 19422 c6ca1c3e0fd7
parent 19375 cc84d2db5f7c
child 19456 4b96845b95b2
permissions -rw-r--r--
#REFACTORING by exept class: MultiViewToolApplication added: #askForFile:default:forSave:thenDo: changed: #askForFile:default:thenDo: #askForFile:thenDo: #menuSaveAllAs #menuSaveAs
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
19375
cc84d2db5f7c #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 19348
diff changeset
     1
"{ Encoding: utf8 }"
cc84d2db5f7c #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 19348
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
18130
64f823c2b648 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17882
diff changeset
    24
		quickCheckInEnabledHolder repositoryInfoHolder branchInfoHolder
19375
cc84d2db5f7c #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 19348
diff changeset
    25
		showChangesAction rememberTagAsDefaultHolder'
cc84d2db5f7c #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 19348
diff changeset
    26
	classVariableNames:'RecentlyUsedTags LastReason DefaultTag'
6799
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    27
	poolDictionaries:''
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    28
	category:'System-SourceCodeManagement'
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    29
!
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    30
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    31
!CheckinInfoDialog class methodsFor:'documentation'!
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    32
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    33
copyright
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    34
"
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    35
 COPYRIGHT (c) 2005 eXept Software AG
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    36
              All Rights Reserved
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    37
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    38
 This software is furnished under a license and may be used
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    39
 only in accordance with the terms of that license and with the
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    40
 inclusion of the above copyright notice.   This software may not
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    41
 be provided or otherwise made available to, or used by, any
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    42
 other person.  No title to or ownership of the software is
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    43
 hereby transferred.
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
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    47
documentation
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    48
"
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    49
    checkin-dialog.
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    50
    used to be private in SourceCodeManagerUtilites.
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    51
    moved to libtool because libbasic3 should not contain code inheriting from GUI classes.
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    52
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    53
    [author:]
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    54
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    55
    [see also:]
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    56
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    57
    [instance variables:]
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    58
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    59
    [class variables:]
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    60
"
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    61
! !
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    62
15853
00d7a229b2f0 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 15849
diff changeset
    63
!CheckinInfoDialog class methodsFor:'constants'!
00d7a229b2f0 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 15849
diff changeset
    64
16224
83f5f04b9c56 #UI_ENHANCEMENT
Claus Gittinger <cg@exept.de>
parents: 15874
diff changeset
    65
possibleReasons
83f5f04b9c56 #UI_ENHANCEMENT
Claus Gittinger <cg@exept.de>
parents: 15874
diff changeset
    66
    ^ #(reasonBugfix reasonDocumentation reasonFeature reasonRefactoring
19018
268408ec0be5 #FEATURE by exept
Claus Gittinger <cg@exept.de>
parents: 18438
diff changeset
    67
        reasonOther reasonUIEnhancement reasonTuning reasonQuality reasonWorkaround)
16224
83f5f04b9c56 #UI_ENHANCEMENT
Claus Gittinger <cg@exept.de>
parents: 15874
diff changeset
    68
83f5f04b9c56 #UI_ENHANCEMENT
Claus Gittinger <cg@exept.de>
parents: 15874
diff changeset
    69
    "Created: / 31-03-2016 / 17:53:16 / cg"
83f5f04b9c56 #UI_ENHANCEMENT
Claus Gittinger <cg@exept.de>
parents: 15874
diff changeset
    70
!
83f5f04b9c56 #UI_ENHANCEMENT
Claus Gittinger <cg@exept.de>
parents: 15874
diff changeset
    71
15853
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
    ^ #reasonBugfix
00d7a229b2f0 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 15849
diff changeset
    74
!
00d7a229b2f0 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 15849
diff changeset
    75
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
    ^ #reasonDocumentation
00d7a229b2f0 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 15849
diff changeset
    78
!
00d7a229b2f0 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 15849
diff changeset
    79
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
    ^ #reasonFeature
00d7a229b2f0 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 15849
diff changeset
    82
!
00d7a229b2f0 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 15849
diff changeset
    83
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
    ^ #reasonOther
00d7a229b2f0 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 15849
diff changeset
    86
!
00d7a229b2f0 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 15849
diff changeset
    87
16224
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
    ^ #reasonQuality
83f5f04b9c56 #UI_ENHANCEMENT
Claus Gittinger <cg@exept.de>
parents: 15874
diff changeset
    90
83f5f04b9c56 #UI_ENHANCEMENT
Claus Gittinger <cg@exept.de>
parents: 15874
diff changeset
    91
    "Created: / 31-03-2016 / 17:53:57 / cg"
83f5f04b9c56 #UI_ENHANCEMENT
Claus Gittinger <cg@exept.de>
parents: 15874
diff changeset
    92
!
83f5f04b9c56 #UI_ENHANCEMENT
Claus Gittinger <cg@exept.de>
parents: 15874
diff changeset
    93
15853
00d7a229b2f0 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 15849
diff changeset
    94
reasonRefactoring
00d7a229b2f0 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 15849
diff changeset
    95
    ^ #reasonRefactoring
15873
45119443a715 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 15853
diff changeset
    96
!
45119443a715 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 15853
diff changeset
    97
16224
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
    ^ #reasonTuning
83f5f04b9c56 #UI_ENHANCEMENT
Claus Gittinger <cg@exept.de>
parents: 15874
diff changeset
   100
83f5f04b9c56 #UI_ENHANCEMENT
Claus Gittinger <cg@exept.de>
parents: 15874
diff changeset
   101
    "Created: / 31-03-2016 / 17:53:26 / cg"
83f5f04b9c56 #UI_ENHANCEMENT
Claus Gittinger <cg@exept.de>
parents: 15874
diff changeset
   102
!
83f5f04b9c56 #UI_ENHANCEMENT
Claus Gittinger <cg@exept.de>
parents: 15874
diff changeset
   103
15873
45119443a715 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 15853
diff changeset
   104
reasonUIEnhancement
45119443a715 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 15853
diff changeset
   105
    ^ #reasonUIEnhancement
19018
268408ec0be5 #FEATURE by exept
Claus Gittinger <cg@exept.de>
parents: 18438
diff changeset
   106
!
268408ec0be5 #FEATURE by exept
Claus Gittinger <cg@exept.de>
parents: 18438
diff changeset
   107
268408ec0be5 #FEATURE by exept
Claus Gittinger <cg@exept.de>
parents: 18438
diff changeset
   108
reasonWorkaround
268408ec0be5 #FEATURE by exept
Claus Gittinger <cg@exept.de>
parents: 18438
diff changeset
   109
    ^ #reasonWorkaround
15853
00d7a229b2f0 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 15849
diff changeset
   110
! !
00d7a229b2f0 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 15849
diff changeset
   111
12537
2ddd00171375 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 11413
diff changeset
   112
!CheckinInfoDialog class methodsFor:'help specs'!
2ddd00171375 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 11413
diff changeset
   113
17882
b1e8428466b8 #OTHER by cg
Claus Gittinger <cg@exept.de>
parents: 17843
diff changeset
   114
helpSpec
12537
2ddd00171375 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 11413
diff changeset
   115
    "This resource specification was automatically generated
2ddd00171375 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 11413
diff changeset
   116
     by the UIHelpTool of ST/X."
2ddd00171375 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 11413
diff changeset
   117
2ddd00171375 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 11413
diff changeset
   118
    "Do not manually edit this!! If it is corrupted,
2ddd00171375 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 11413
diff changeset
   119
     the UIHelpTool may not be able to read the specification."
2ddd00171375 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 11413
diff changeset
   120
2ddd00171375 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 11413
diff changeset
   121
    "
18130
64f823c2b648 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17882
diff changeset
   122
     UIHelpTool openOnClass:Tools::CheckinInfoDialog
12537
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
2ddd00171375 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 11413
diff changeset
   125
    <resource: #help>
2ddd00171375 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 11413
diff changeset
   126
17882
b1e8428466b8 #OTHER by cg
Claus Gittinger <cg@exept.de>
parents: 17843
diff changeset
   127
    ^ super helpSpec addPairsFrom:#(
12537
2ddd00171375 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 11413
diff changeset
   128
18130
64f823c2b648 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17882
diff changeset
   129
#checkinReason
64f823c2b648 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17882
diff changeset
   130
'Adds a keyword to the checkin info, to allow automatic generation of revision information from the log later'
64f823c2b648 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17882
diff changeset
   131
64f823c2b648 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17882
diff changeset
   132
#checkinReasonBugfix
64f823c2b648 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17882
diff changeset
   133
'Some bug was fixed.\Please describe what was changed and\if possible, add a bug identifier (issue-ID) to the checkin info'
64f823c2b648 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17882
diff changeset
   134
64f823c2b648 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17882
diff changeset
   135
#checkinReasonDocumentation
64f823c2b648 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17882
diff changeset
   136
'Only documentation, comments etc. were added/changed.\Tells others, that there is no need to test/verify/review the changes'
64f823c2b648 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17882
diff changeset
   137
64f823c2b648 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17882
diff changeset
   138
#checkinReasonFeature
64f823c2b648 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17882
diff changeset
   139
'A new feature was added.\Please describe what was changed and\if possible, add a requirement identifier (issue-ID) to the checkin info'
64f823c2b648 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17882
diff changeset
   140
64f823c2b648 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17882
diff changeset
   141
#checkinReasonOther
64f823c2b648 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17882
diff changeset
   142
'Some other change, which does not fit into one of the above.\Please describe in detail what you did in the checkin info'
64f823c2b648 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17882
diff changeset
   143
64f823c2b648 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17882
diff changeset
   144
#checkinReasonQuality
64f823c2b648 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17882
diff changeset
   145
'The change enhanced the quality of the product (debuggability, testability, robustness, etc.)\Use this for test-cases.'
64f823c2b648 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17882
diff changeset
   146
64f823c2b648 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17882
diff changeset
   147
#checkinReasonRefactoring
64f823c2b648 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17882
diff changeset
   148
'The code was refactored/improved for better structure or maintainability'
64f823c2b648 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17882
diff changeset
   149
64f823c2b648 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17882
diff changeset
   150
#checkinReasonTuning
64f823c2b648 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17882
diff changeset
   151
'The change enhances the performance.\Be especially careful to always add test cases,\because statistically, many errors are introduced by "optimizations".'
64f823c2b648 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17882
diff changeset
   152
64f823c2b648 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17882
diff changeset
   153
#checkinReasonUIEnhancement
64f823c2b648 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17882
diff changeset
   154
'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'
64f823c2b648 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17882
diff changeset
   155
19018
268408ec0be5 #FEATURE by exept
Claus Gittinger <cg@exept.de>
parents: 18438
diff changeset
   156
#checkinReasonWorkaround
268408ec0be5 #FEATURE by exept
Claus Gittinger <cg@exept.de>
parents: 18438
diff changeset
   157
'Some bug was fixed as a quick hack (eg. to satisfy a customer).\The change should be further investigated,\and propably a better technical solution be found.\\But still, please describe what was changed and\if possible, add a bug identifier (issue-ID) to the checkin info'
268408ec0be5 #FEATURE by exept
Claus Gittinger <cg@exept.de>
parents: 18438
diff changeset
   158
12537
2ddd00171375 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 11413
diff changeset
   159
#logMessage
18130
64f823c2b648 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17882
diff changeset
   160
'This message is added as a check-in log message. It can later be retrieved via the browser''s revision info menu function'
12537
2ddd00171375 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 11413
diff changeset
   161
2ddd00171375 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 11413
diff changeset
   162
#markAsStable
14685
c1ba77b8dfc0 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 14542
diff changeset
   163
'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
   164
2ddd00171375 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 11413
diff changeset
   165
#quickCheckin
15841
c9885b9e9fc1 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 15829
diff changeset
   166
'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
   167
18130
64f823c2b648 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17882
diff changeset
   168
#showDiffs
64f823c2b648 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17882
diff changeset
   169
'Oops - you forgot?\\Click here to see the differences.'
64f823c2b648 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17882
diff changeset
   170
12537
2ddd00171375 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 11413
diff changeset
   171
#tag
14685
c1ba77b8dfc0 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 14542
diff changeset
   172
'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
   173
2ddd00171375 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 11413
diff changeset
   174
#validateConsistency
18130
64f823c2b648 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17882
diff changeset
   175
'Perform some consistency checks before checking in. Especially checks the correctness of the ProjectDefinition vs. the actual set of classes in the image'
15853
00d7a229b2f0 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 15849
diff changeset
   176
12537
2ddd00171375 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 11413
diff changeset
   177
)
2ddd00171375 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 11413
diff changeset
   178
! !
2ddd00171375 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 11413
diff changeset
   179
6799
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   180
!CheckinInfoDialog class methodsFor:'interface specs'!
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   181
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   182
windowSpec
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   183
    "This resource specification was automatically generated
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   184
     by the UIPainter of ST/X."
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   185
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   186
    "Do not manually edit this!! If it is corrupted,
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   187
     the UIPainter may not be able to read the specification."
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   188
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   189
    "
6979
048fb7930a28 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6799
diff changeset
   190
     UIPainter new openOnClass:Tools::CheckinInfoDialog andSelector:#windowSpec
048fb7930a28 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6799
diff changeset
   191
     Tools::CheckinInfoDialog new openInterface:#windowSpec
048fb7930a28 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6799
diff changeset
   192
     Tools::CheckinInfoDialog open
6799
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   193
    "
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   194
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   195
    <resource: #canvas>
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   196
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   197
    ^ 
14685
c1ba77b8dfc0 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 14542
diff changeset
   198
    #(FullSpec
c1ba77b8dfc0 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 14542
diff changeset
   199
       name: windowSpec
19375
cc84d2db5f7c #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 19348
diff changeset
   200
       uuid: '925c1eaa-3870-11b2-aba0-00d861a3d4eb'
14685
c1ba77b8dfc0 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 14542
diff changeset
   201
       window: 
c1ba77b8dfc0 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 14542
diff changeset
   202
      (WindowSpec
c1ba77b8dfc0 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 14542
diff changeset
   203
         label: 'Enter Log Message'
c1ba77b8dfc0 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 14542
diff changeset
   204
         name: 'Enter Log Message'
17837
bf1bde1037ca #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17186
diff changeset
   205
         uuid: '35292892-d93d-11e7-8a1e-c42c033b4871'
19018
268408ec0be5 #FEATURE by exept
Claus Gittinger <cg@exept.de>
parents: 18438
diff changeset
   206
         min: (Point 538 387) bounds: (Rectangle 0 0 579 567)
268408ec0be5 #FEATURE by exept
Claus Gittinger <cg@exept.de>
parents: 18438
diff changeset
   207
      ) component: 
14685
c1ba77b8dfc0 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 14542
diff changeset
   208
      (SpecCollection
c1ba77b8dfc0 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 14542
diff changeset
   209
         collection: (
c1ba77b8dfc0 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 14542
diff changeset
   210
          (HorizontalPanelViewSpec
c1ba77b8dfc0 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 14542
diff changeset
   211
             name: 'HorizontalPanel2'
19018
268408ec0be5 #FEATURE by exept
Claus Gittinger <cg@exept.de>
parents: 18438
diff changeset
   212
             layout: (LayoutFrame 0 0.0 0 0 0 1.0 32 0) uuid: '35292b58-d93d-11e7-8a1e-c42c033b4871'
14685
c1ba77b8dfc0 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 14542
diff changeset
   213
             horizontalLayout: left
c1ba77b8dfc0 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 14542
diff changeset
   214
             verticalLayout: center
c1ba77b8dfc0 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 14542
diff changeset
   215
             horizontalSpace: 0
c1ba77b8dfc0 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 14542
diff changeset
   216
             verticalSpace: 3
c1ba77b8dfc0 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 14542
diff changeset
   217
             component: 
c1ba77b8dfc0 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 14542
diff changeset
   218
            (SpecCollection
c1ba77b8dfc0 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 14542
diff changeset
   219
               collection: (
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
                   label: 'Enter checkIn log-message for:'
c1ba77b8dfc0 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 14542
diff changeset
   222
                   name: 'Label1'
17837
bf1bde1037ca #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17186
diff changeset
   223
                   uuid: '35292da6-d93d-11e7-8a1e-c42c033b4871'
14685
c1ba77b8dfc0 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 14542
diff changeset
   224
                   translateLabel: true
c1ba77b8dfc0 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 14542
diff changeset
   225
                   resizeForLabel: true
c1ba77b8dfc0 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 14542
diff changeset
   226
                   useDefaultExtent: true
19018
268408ec0be5 #FEATURE by exept
Claus Gittinger <cg@exept.de>
parents: 18438
diff changeset
   227
                )
14685
c1ba77b8dfc0 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 14542
diff changeset
   228
                (LabelSpec
c1ba77b8dfc0 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 14542
diff changeset
   229
                   name: 'Label2'
17837
bf1bde1037ca #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17186
diff changeset
   230
                   uuid: '35293008-d93d-11e7-8a1e-c42c033b4871'
14685
c1ba77b8dfc0 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 14542
diff changeset
   231
                   translateLabel: true
c1ba77b8dfc0 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 14542
diff changeset
   232
                   labelChannel: descriptionHolder
c1ba77b8dfc0 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 14542
diff changeset
   233
                   useDefaultExtent: true
c1ba77b8dfc0 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 14542
diff changeset
   234
                )
19018
268408ec0be5 #FEATURE by exept
Claus Gittinger <cg@exept.de>
parents: 18438
diff changeset
   235
              )
268408ec0be5 #FEATURE by exept
Claus Gittinger <cg@exept.de>
parents: 18438
diff changeset
   236
            )
268408ec0be5 #FEATURE by exept
Claus Gittinger <cg@exept.de>
parents: 18438
diff changeset
   237
          )
14685
c1ba77b8dfc0 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 14542
diff changeset
   238
          (LabelSpec
17843
b9274a1ada02 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17840
diff changeset
   239
             name: 'BranchInfoLabel'
19018
268408ec0be5 #FEATURE by exept
Claus Gittinger <cg@exept.de>
parents: 18438
diff changeset
   240
             layout: (LayoutFrame 0 0 31 0 200 0 57 0) style: (FontDescription helvetica medium roman 12 #'iso10646-1' nil nil) uuid: '35293166-d93d-11e7-8a1e-c42c033b4871'
17837
bf1bde1037ca #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17186
diff changeset
   241
             translateLabel: true
17843
b9274a1ada02 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17840
diff changeset
   242
             labelChannel: branchInfoHolder
b9274a1ada02 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17840
diff changeset
   243
             resizeForLabel: true
b9274a1ada02 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17840
diff changeset
   244
             adjust: left
19018
268408ec0be5 #FEATURE by exept
Claus Gittinger <cg@exept.de>
parents: 18438
diff changeset
   245
          )
17843
b9274a1ada02 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17840
diff changeset
   246
          (LabelSpec
b9274a1ada02 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17840
diff changeset
   247
             name: 'RepositoryInfoLabel'
19018
268408ec0be5 #FEATURE by exept
Claus Gittinger <cg@exept.de>
parents: 18438
diff changeset
   248
             layout: (LayoutFrame 149 0 31 0 0 1 57 0) style: (FontDescription helvetica medium roman 12 #'iso10646-1' nil nil) uuid: '35293166-d93d-11e7-8a1e-c42c033b4871'
17843
b9274a1ada02 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17840
diff changeset
   249
             translateLabel: true
b9274a1ada02 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17840
diff changeset
   250
             labelChannel: repositoryInfoHolder
17837
bf1bde1037ca #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17186
diff changeset
   251
             resizeForLabel: true
bf1bde1037ca #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17186
diff changeset
   252
             adjust: right
19018
268408ec0be5 #FEATURE by exept
Claus Gittinger <cg@exept.de>
parents: 18438
diff changeset
   253
          )
17837
bf1bde1037ca #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17186
diff changeset
   254
          (LabelSpec
14685
c1ba77b8dfc0 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 14542
diff changeset
   255
             label: 'Previous Log Messages:'
c1ba77b8dfc0 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 14542
diff changeset
   256
             name: 'Label5'
19018
268408ec0be5 #FEATURE by exept
Claus Gittinger <cg@exept.de>
parents: 18438
diff changeset
   257
             layout: (LayoutFrame 0 0 73 0 220 0 103 0) uuid: '3529329c-d93d-11e7-8a1e-c42c033b4871'
14685
c1ba77b8dfc0 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 14542
diff changeset
   258
             translateLabel: true
c1ba77b8dfc0 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 14542
diff changeset
   259
             adjust: right
19018
268408ec0be5 #FEATURE by exept
Claus Gittinger <cg@exept.de>
parents: 18438
diff changeset
   260
          )
14685
c1ba77b8dfc0 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 14542
diff changeset
   261
          (ComboListSpec
c1ba77b8dfc0 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 14542
diff changeset
   262
             name: 'ComboList1'
19018
268408ec0be5 #FEATURE by exept
Claus Gittinger <cg@exept.de>
parents: 18438
diff changeset
   263
             layout: (LayoutFrame 220 0.0 73 0 0 1.0 103 0) uuid: '352933b4-d93d-11e7-8a1e-c42c033b4871'
14685
c1ba77b8dfc0 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 14542
diff changeset
   264
             model: logHistoryHeadLineSelectionHolder
c1ba77b8dfc0 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 14542
diff changeset
   265
             comboList: logHistoryHeadLines
c1ba77b8dfc0 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 14542
diff changeset
   266
             useIndex: true
19018
268408ec0be5 #FEATURE by exept
Claus Gittinger <cg@exept.de>
parents: 18438
diff changeset
   267
          )
14685
c1ba77b8dfc0 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 14542
diff changeset
   268
          (TextEditorSpec
19118
da8efbeb3302 #REFACTORING by exept
Claus Gittinger <cg@exept.de>
parents: 19067
diff changeset
   269
             name: 'LogTextEditor'
19018
268408ec0be5 #FEATURE by exept
Claus Gittinger <cg@exept.de>
parents: 18438
diff changeset
   270
             layout: (LayoutFrame 2 0.0 105 0 -2 1 -300 1) activeHelpKey: logMessage
17837
bf1bde1037ca #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17186
diff changeset
   271
             uuid: '35293602-d93d-11e7-8a1e-c42c033b4871'
14685
c1ba77b8dfc0 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 14542
diff changeset
   272
             model: logMessageHolder
c1ba77b8dfc0 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 14542
diff changeset
   273
             hasHorizontalScrollBar: true
c1ba77b8dfc0 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 14542
diff changeset
   274
             hasVerticalScrollBar: true
c1ba77b8dfc0 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 14542
diff changeset
   275
             hasKeyboardFocusInitially: false
19018
268408ec0be5 #FEATURE by exept
Claus Gittinger <cg@exept.de>
parents: 18438
diff changeset
   276
          )
14685
c1ba77b8dfc0 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 14542
diff changeset
   277
          (LabelSpec
c1ba77b8dfc0 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 14542
diff changeset
   278
             name: 'Label4'
19018
268408ec0be5 #FEATURE by exept
Claus Gittinger <cg@exept.de>
parents: 18438
diff changeset
   279
             layout: (LayoutFrame 0 0.0 -293 1 0 1.0 -271 1) uuid: '35293828-d93d-11e7-8a1e-c42c033b4871'
14685
c1ba77b8dfc0 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 14542
diff changeset
   280
             translateLabel: true
c1ba77b8dfc0 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 14542
diff changeset
   281
             labelChannel: warningMessageHolder
19018
268408ec0be5 #FEATURE by exept
Claus Gittinger <cg@exept.de>
parents: 18438
diff changeset
   282
          )
14685
c1ba77b8dfc0 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 14542
diff changeset
   283
          (CheckBoxSpec
15841
c9885b9e9fc1 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 15829
diff changeset
   284
             label: 'Quick Checkin (Only Classes in ChangeSet)'
c9885b9e9fc1 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 15829
diff changeset
   285
             name: 'CheckInChangedOnlyCheckbox'
19018
268408ec0be5 #FEATURE by exept
Claus Gittinger <cg@exept.de>
parents: 18438
diff changeset
   286
             layout: (LayoutFrame 3 0 -268 1 -3 1 -246 1) activeHelpKey: quickCheckin
17837
bf1bde1037ca #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17186
diff changeset
   287
             uuid: '35293954-d93d-11e7-8a1e-c42c033b4871'
15841
c9885b9e9fc1 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 15829
diff changeset
   288
             visibilityChannel: quickCheckInVisibleHolder
c9885b9e9fc1 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 15829
diff changeset
   289
             enableChannel: quickCheckInEnabledHolder
c9885b9e9fc1 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 15829
diff changeset
   290
             model: quickCheckInHolder
c9885b9e9fc1 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 15829
diff changeset
   291
             translateLabel: true
19018
268408ec0be5 #FEATURE by exept
Claus Gittinger <cg@exept.de>
parents: 18438
diff changeset
   292
          )
15841
c9885b9e9fc1 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 15829
diff changeset
   293
          (CheckBoxSpec
18438
b287b2fa9144 #QUALITY by stefan
Stefan Vogel <sv@exept.de>
parents: 18260
diff changeset
   294
             label: 'Validate Class/Package Consistency'
14685
c1ba77b8dfc0 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 14542
diff changeset
   295
             name: 'CheckBox1'
19018
268408ec0be5 #FEATURE by exept
Claus Gittinger <cg@exept.de>
parents: 18438
diff changeset
   296
             layout: (LayoutFrame 3 0 -241 1 -3 1 -219 1) activeHelpKey: validateConsistency
17837
bf1bde1037ca #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17186
diff changeset
   297
             uuid: '35293b70-d93d-11e7-8a1e-c42c033b4871'
14685
c1ba77b8dfc0 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 14542
diff changeset
   298
             visibilityChannel: validateConsistencyVisibleHolder
15841
c9885b9e9fc1 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 15829
diff changeset
   299
             enableChannel: validateConsistencyEnabledHolder
14685
c1ba77b8dfc0 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 14542
diff changeset
   300
             model: validateConsistencyHolder
c1ba77b8dfc0 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 14542
diff changeset
   301
             translateLabel: true
19018
268408ec0be5 #FEATURE by exept
Claus Gittinger <cg@exept.de>
parents: 18438
diff changeset
   302
          )
14685
c1ba77b8dfc0 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 14542
diff changeset
   303
          (CheckBoxSpec
c1ba77b8dfc0 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 14542
diff changeset
   304
             label: 'Mark as Stable'
c1ba77b8dfc0 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 14542
diff changeset
   305
             name: 'MarkStableCheckBox'
19018
268408ec0be5 #FEATURE by exept
Claus Gittinger <cg@exept.de>
parents: 18438
diff changeset
   306
             layout: (LayoutFrame 3 0 -214 1 -3 1 -192 1) activeHelpKey: markAsStable
17837
bf1bde1037ca #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17186
diff changeset
   307
             uuid: '35293c9c-d93d-11e7-8a1e-c42c033b4871'
14685
c1ba77b8dfc0 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 14542
diff changeset
   308
             model: isStableHolder
c1ba77b8dfc0 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 14542
diff changeset
   309
             translateLabel: true
19018
268408ec0be5 #FEATURE by exept
Claus Gittinger <cg@exept.de>
parents: 18438
diff changeset
   310
          )
14685
c1ba77b8dfc0 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 14542
diff changeset
   311
          (LabelSpec
c1ba77b8dfc0 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 14542
diff changeset
   312
             label: 'Tag:'
c1ba77b8dfc0 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 14542
diff changeset
   313
             name: 'Label3'
19375
cc84d2db5f7c #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 19348
diff changeset
   314
             layout: (LayoutFrame -40 0.5 -241 1 0 0.5 -219 1) activeHelpKey: tag
17837
bf1bde1037ca #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17186
diff changeset
   315
             uuid: '35293db4-d93d-11e7-8a1e-c42c033b4871'
14685
c1ba77b8dfc0 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 14542
diff changeset
   316
             translateLabel: true
c1ba77b8dfc0 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 14542
diff changeset
   317
             adjust: right
19018
268408ec0be5 #FEATURE by exept
Claus Gittinger <cg@exept.de>
parents: 18438
diff changeset
   318
          )
14685
c1ba77b8dfc0 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 14542
diff changeset
   319
          (ComboBoxSpec
c1ba77b8dfc0 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 14542
diff changeset
   320
             name: 'ComboBox1'
19375
cc84d2db5f7c #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 19348
diff changeset
   321
             layout: (LayoutFrame 0 0.5 -244 1 -3 1 -218 1) activeHelpKey: tag
17837
bf1bde1037ca #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17186
diff changeset
   322
             uuid: '35293ee0-d93d-11e7-8a1e-c42c033b4871'
14685
c1ba77b8dfc0 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 14542
diff changeset
   323
             enableChannel: notMarkAsStableHolder
c1ba77b8dfc0 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 14542
diff changeset
   324
             model: tagHolder
c1ba77b8dfc0 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 14542
diff changeset
   325
             acceptOnReturn: true
c1ba77b8dfc0 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 14542
diff changeset
   326
             acceptOnTab: true
c1ba77b8dfc0 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 14542
diff changeset
   327
             acceptOnLostFocus: true
c1ba77b8dfc0 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 14542
diff changeset
   328
             acceptOnPointerLeave: false
c1ba77b8dfc0 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 14542
diff changeset
   329
             comboList: recentTagsList
19018
268408ec0be5 #FEATURE by exept
Claus Gittinger <cg@exept.de>
parents: 18438
diff changeset
   330
          )
19375
cc84d2db5f7c #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 19348
diff changeset
   331
          (CheckBoxSpec
cc84d2db5f7c #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 19348
diff changeset
   332
             label: 'Remember as Default'
cc84d2db5f7c #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 19348
diff changeset
   333
             name: 'CheckBox2'
cc84d2db5f7c #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 19348
diff changeset
   334
             layout: (LayoutFrame 0 0.5 356 0 0 1 378 0) uuid: '52187b7c-3870-11b2-aba0-00d861a3d4eb'
cc84d2db5f7c #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 19348
diff changeset
   335
             model: rememberTagAsDefaultHolder
cc84d2db5f7c #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 19348
diff changeset
   336
             translateLabel: true
cc84d2db5f7c #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 19348
diff changeset
   337
          )
15849
9e9179e9f829 #BUGFIX
Claus Gittinger <cg@exept.de>
parents: 15841
diff changeset
   338
          (LabelSpec
9e9179e9f829 #BUGFIX
Claus Gittinger <cg@exept.de>
parents: 15841
diff changeset
   339
             label: 'Reason for Checkin:'
9e9179e9f829 #BUGFIX
Claus Gittinger <cg@exept.de>
parents: 15841
diff changeset
   340
             name: 'Label6'
19018
268408ec0be5 #FEATURE by exept
Claus Gittinger <cg@exept.de>
parents: 18438
diff changeset
   341
             layout: (LayoutOrigin 2 0 -184 1) activeHelpKey: checkinReason
17837
bf1bde1037ca #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17186
diff changeset
   342
             uuid: '35294232-d93d-11e7-8a1e-c42c033b4871'
15849
9e9179e9f829 #BUGFIX
Claus Gittinger <cg@exept.de>
parents: 15841
diff changeset
   343
             translateLabel: true
9e9179e9f829 #BUGFIX
Claus Gittinger <cg@exept.de>
parents: 15841
diff changeset
   344
             resizeForLabel: true
9e9179e9f829 #BUGFIX
Claus Gittinger <cg@exept.de>
parents: 15841
diff changeset
   345
             adjust: right
19018
268408ec0be5 #FEATURE by exept
Claus Gittinger <cg@exept.de>
parents: 18438
diff changeset
   346
          )
15849
9e9179e9f829 #BUGFIX
Claus Gittinger <cg@exept.de>
parents: 15841
diff changeset
   347
          (RadioButtonSpec
9e9179e9f829 #BUGFIX
Claus Gittinger <cg@exept.de>
parents: 15841
diff changeset
   348
             label: 'Bugfix'
9e9179e9f829 #BUGFIX
Claus Gittinger <cg@exept.de>
parents: 15841
diff changeset
   349
             name: 'RadioButton1'
19018
268408ec0be5 #FEATURE by exept
Claus Gittinger <cg@exept.de>
parents: 18438
diff changeset
   350
             layout: (LayoutFrame 20 0.0 -159 1 300 0 -137 1) activeHelpKey: checkinReasonBugfix
17837
bf1bde1037ca #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17186
diff changeset
   351
             uuid: '3529437c-d93d-11e7-8a1e-c42c033b4871'
15849
9e9179e9f829 #BUGFIX
Claus Gittinger <cg@exept.de>
parents: 15841
diff changeset
   352
             translateLabel: true
9e9179e9f829 #BUGFIX
Claus Gittinger <cg@exept.de>
parents: 15841
diff changeset
   353
             model: checkinReasonHolder
9e9179e9f829 #BUGFIX
Claus Gittinger <cg@exept.de>
parents: 15841
diff changeset
   354
             isTriggerOnDown: true
16922
68e9bcff55d2 #BUGFIX by mawalch
mawalch
parents: 16520
diff changeset
   355
             select: reasonBugfix
19018
268408ec0be5 #FEATURE by exept
Claus Gittinger <cg@exept.de>
parents: 18438
diff changeset
   356
          )
15849
9e9179e9f829 #BUGFIX
Claus Gittinger <cg@exept.de>
parents: 15841
diff changeset
   357
          (RadioButtonSpec
9e9179e9f829 #BUGFIX
Claus Gittinger <cg@exept.de>
parents: 15841
diff changeset
   358
             label: 'Feature / Enhancement'
9e9179e9f829 #BUGFIX
Claus Gittinger <cg@exept.de>
parents: 15841
diff changeset
   359
             name: 'RadioButton2'
19018
268408ec0be5 #FEATURE by exept
Claus Gittinger <cg@exept.de>
parents: 18438
diff changeset
   360
             layout: (LayoutFrame 20 0 -135 1 -279 1 -113 1) activeHelpKey: checkinReasonFeature
17837
bf1bde1037ca #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17186
diff changeset
   361
             uuid: '35294656-d93d-11e7-8a1e-c42c033b4871'
15849
9e9179e9f829 #BUGFIX
Claus Gittinger <cg@exept.de>
parents: 15841
diff changeset
   362
             translateLabel: true
9e9179e9f829 #BUGFIX
Claus Gittinger <cg@exept.de>
parents: 15841
diff changeset
   363
             model: checkinReasonHolder
9e9179e9f829 #BUGFIX
Claus Gittinger <cg@exept.de>
parents: 15841
diff changeset
   364
             isTriggerOnDown: true
9e9179e9f829 #BUGFIX
Claus Gittinger <cg@exept.de>
parents: 15841
diff changeset
   365
             select: reasonFeature
19018
268408ec0be5 #FEATURE by exept
Claus Gittinger <cg@exept.de>
parents: 18438
diff changeset
   366
          )
15849
9e9179e9f829 #BUGFIX
Claus Gittinger <cg@exept.de>
parents: 15841
diff changeset
   367
          (RadioButtonSpec
9e9179e9f829 #BUGFIX
Claus Gittinger <cg@exept.de>
parents: 15841
diff changeset
   368
             label: 'Refactoring / Code Cleanup'
9e9179e9f829 #BUGFIX
Claus Gittinger <cg@exept.de>
parents: 15841
diff changeset
   369
             name: 'RadioButton3'
19018
268408ec0be5 #FEATURE by exept
Claus Gittinger <cg@exept.de>
parents: 18438
diff changeset
   370
             layout: (LayoutFrame 9 0.5 -159 1 0 1 -137 1) activeHelpKey: checkinReasonRefactoring
17837
bf1bde1037ca #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17186
diff changeset
   371
             uuid: '35294840-d93d-11e7-8a1e-c42c033b4871'
15849
9e9179e9f829 #BUGFIX
Claus Gittinger <cg@exept.de>
parents: 15841
diff changeset
   372
             translateLabel: true
9e9179e9f829 #BUGFIX
Claus Gittinger <cg@exept.de>
parents: 15841
diff changeset
   373
             model: checkinReasonHolder
9e9179e9f829 #BUGFIX
Claus Gittinger <cg@exept.de>
parents: 15841
diff changeset
   374
             isTriggerOnDown: true
9e9179e9f829 #BUGFIX
Claus Gittinger <cg@exept.de>
parents: 15841
diff changeset
   375
             select: reasonRefactoring
19018
268408ec0be5 #FEATURE by exept
Claus Gittinger <cg@exept.de>
parents: 18438
diff changeset
   376
          )
15849
9e9179e9f829 #BUGFIX
Claus Gittinger <cg@exept.de>
parents: 15841
diff changeset
   377
          (RadioButtonSpec
15873
45119443a715 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 15853
diff changeset
   378
             label: 'UI Enhancement / Beautification'
45119443a715 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 15853
diff changeset
   379
             name: 'RadioButton6'
19018
268408ec0be5 #FEATURE by exept
Claus Gittinger <cg@exept.de>
parents: 18438
diff changeset
   380
             layout: (LayoutFrame 20 0 -111 1 -279 1 -89 1) activeHelpKey: checkinReasonUIEnhancement
17837
bf1bde1037ca #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17186
diff changeset
   381
             uuid: '35294a02-d93d-11e7-8a1e-c42c033b4871'
15873
45119443a715 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 15853
diff changeset
   382
             translateLabel: true
45119443a715 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 15853
diff changeset
   383
             model: checkinReasonHolder
45119443a715 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 15853
diff changeset
   384
             isTriggerOnDown: true
45119443a715 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 15853
diff changeset
   385
             select: reasonUIEnhancement
19018
268408ec0be5 #FEATURE by exept
Claus Gittinger <cg@exept.de>
parents: 18438
diff changeset
   386
          )
15873
45119443a715 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 15853
diff changeset
   387
          (RadioButtonSpec
15853
00d7a229b2f0 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 15849
diff changeset
   388
             label: 'Documentation / Comment Only'
00d7a229b2f0 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 15849
diff changeset
   389
             name: 'RadioButton5'
19018
268408ec0be5 #FEATURE by exept
Claus Gittinger <cg@exept.de>
parents: 18438
diff changeset
   390
             layout: (LayoutFrame 9 0.5 -111 1 0 1 -89 1) activeHelpKey: checkinReasonDocumentation
17837
bf1bde1037ca #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17186
diff changeset
   391
             uuid: '35294bb0-d93d-11e7-8a1e-c42c033b4871'
15853
00d7a229b2f0 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 15849
diff changeset
   392
             translateLabel: true
00d7a229b2f0 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 15849
diff changeset
   393
             model: checkinReasonHolder
00d7a229b2f0 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 15849
diff changeset
   394
             isTriggerOnDown: true
00d7a229b2f0 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 15849
diff changeset
   395
             select: reasonDocumentation
19018
268408ec0be5 #FEATURE by exept
Claus Gittinger <cg@exept.de>
parents: 18438
diff changeset
   396
          )
15853
00d7a229b2f0 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 15849
diff changeset
   397
          (RadioButtonSpec
16224
83f5f04b9c56 #UI_ENHANCEMENT
Claus Gittinger <cg@exept.de>
parents: 15874
diff changeset
   398
             label: 'Tuning'
83f5f04b9c56 #UI_ENHANCEMENT
Claus Gittinger <cg@exept.de>
parents: 15874
diff changeset
   399
             name: 'RadioButton4a'
19018
268408ec0be5 #FEATURE by exept
Claus Gittinger <cg@exept.de>
parents: 18438
diff changeset
   400
             layout: (LayoutFrame 20 0 -87 1 -279 1 -65 1) activeHelpKey: checkinReasonTuning
17837
bf1bde1037ca #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17186
diff changeset
   401
             uuid: '35294d5e-d93d-11e7-8a1e-c42c033b4871'
16224
83f5f04b9c56 #UI_ENHANCEMENT
Claus Gittinger <cg@exept.de>
parents: 15874
diff changeset
   402
             translateLabel: true
83f5f04b9c56 #UI_ENHANCEMENT
Claus Gittinger <cg@exept.de>
parents: 15874
diff changeset
   403
             model: checkinReasonHolder
83f5f04b9c56 #UI_ENHANCEMENT
Claus Gittinger <cg@exept.de>
parents: 15874
diff changeset
   404
             isTriggerOnDown: true
83f5f04b9c56 #UI_ENHANCEMENT
Claus Gittinger <cg@exept.de>
parents: 15874
diff changeset
   405
             select: reasonTuning
19018
268408ec0be5 #FEATURE by exept
Claus Gittinger <cg@exept.de>
parents: 18438
diff changeset
   406
          )
16224
83f5f04b9c56 #UI_ENHANCEMENT
Claus Gittinger <cg@exept.de>
parents: 15874
diff changeset
   407
          (RadioButtonSpec
16236
5a78db3ebecc #UI_ENHANCEMENT
Claus Gittinger <cg@exept.de>
parents: 16224
diff changeset
   408
             label: 'Quality (Debuggability / Testability)'
15849
9e9179e9f829 #BUGFIX
Claus Gittinger <cg@exept.de>
parents: 15841
diff changeset
   409
             name: 'RadioButton4'
19018
268408ec0be5 #FEATURE by exept
Claus Gittinger <cg@exept.de>
parents: 18438
diff changeset
   410
             layout: (LayoutFrame 9 0.5 -135 1 0 1 -113 1) activeHelpKey: checkinReasonQuality
17837
bf1bde1037ca #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17186
diff changeset
   411
             uuid: '35294f0c-d93d-11e7-8a1e-c42c033b4871'
16224
83f5f04b9c56 #UI_ENHANCEMENT
Claus Gittinger <cg@exept.de>
parents: 15874
diff changeset
   412
             translateLabel: true
83f5f04b9c56 #UI_ENHANCEMENT
Claus Gittinger <cg@exept.de>
parents: 15874
diff changeset
   413
             model: checkinReasonHolder
83f5f04b9c56 #UI_ENHANCEMENT
Claus Gittinger <cg@exept.de>
parents: 15874
diff changeset
   414
             isTriggerOnDown: true
83f5f04b9c56 #UI_ENHANCEMENT
Claus Gittinger <cg@exept.de>
parents: 15874
diff changeset
   415
             select: reasonQuality
19018
268408ec0be5 #FEATURE by exept
Claus Gittinger <cg@exept.de>
parents: 18438
diff changeset
   416
          )
16224
83f5f04b9c56 #UI_ENHANCEMENT
Claus Gittinger <cg@exept.de>
parents: 15874
diff changeset
   417
          (RadioButtonSpec
83f5f04b9c56 #UI_ENHANCEMENT
Claus Gittinger <cg@exept.de>
parents: 15874
diff changeset
   418
             label: 'None of the Above'
83f5f04b9c56 #UI_ENHANCEMENT
Claus Gittinger <cg@exept.de>
parents: 15874
diff changeset
   419
             name: 'RadioButton7'
19018
268408ec0be5 #FEATURE by exept
Claus Gittinger <cg@exept.de>
parents: 18438
diff changeset
   420
             layout: (LayoutFrame 20 0 -63 1 -279 1 -41 1) activeHelpKey: checkinReasonOther
17837
bf1bde1037ca #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17186
diff changeset
   421
             uuid: '352950ba-d93d-11e7-8a1e-c42c033b4871'
15849
9e9179e9f829 #BUGFIX
Claus Gittinger <cg@exept.de>
parents: 15841
diff changeset
   422
             translateLabel: true
9e9179e9f829 #BUGFIX
Claus Gittinger <cg@exept.de>
parents: 15841
diff changeset
   423
             model: checkinReasonHolder
9e9179e9f829 #BUGFIX
Claus Gittinger <cg@exept.de>
parents: 15841
diff changeset
   424
             isTriggerOnDown: true
9e9179e9f829 #BUGFIX
Claus Gittinger <cg@exept.de>
parents: 15841
diff changeset
   425
             select: reasonOther
19018
268408ec0be5 #FEATURE by exept
Claus Gittinger <cg@exept.de>
parents: 18438
diff changeset
   426
          )
14685
c1ba77b8dfc0 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 14542
diff changeset
   427
          (HorizontalPanelViewSpec
c1ba77b8dfc0 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 14542
diff changeset
   428
             name: 'ButtonPanel1'
19018
268408ec0be5 #FEATURE by exept
Claus Gittinger <cg@exept.de>
parents: 18438
diff changeset
   429
             layout: (LayoutFrame 0 0.0 -40 1 -16 1.0 0 1.0) uuid: '35295268-d93d-11e7-8a1e-c42c033b4871'
14685
c1ba77b8dfc0 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 14542
diff changeset
   430
             horizontalLayout: fitSpace
18220
d1ebaddf1100 #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 18211
diff changeset
   431
             verticalLayout: centerMax
14685
c1ba77b8dfc0 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 14542
diff changeset
   432
             horizontalSpace: 3
c1ba77b8dfc0 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 14542
diff changeset
   433
             verticalSpace: 2
c1ba77b8dfc0 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 14542
diff changeset
   434
             reverseOrderIfOKAtLeft: true
c1ba77b8dfc0 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 14542
diff changeset
   435
             component: 
c1ba77b8dfc0 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 14542
diff changeset
   436
            (SpecCollection
c1ba77b8dfc0 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 14542
diff changeset
   437
               collection: (
c1ba77b8dfc0 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 14542
diff changeset
   438
                (ActionButtonSpec
c1ba77b8dfc0 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 14542
diff changeset
   439
                   label: 'Cancel'
c1ba77b8dfc0 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 14542
diff changeset
   440
                   name: 'Button2'
17837
bf1bde1037ca #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17186
diff changeset
   441
                   uuid: '352953a8-d93d-11e7-8a1e-c42c033b4871'
14685
c1ba77b8dfc0 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 14542
diff changeset
   442
                   translateLabel: true
c1ba77b8dfc0 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 14542
diff changeset
   443
                   model: doCancel
19018
268408ec0be5 #FEATURE by exept
Claus Gittinger <cg@exept.de>
parents: 18438
diff changeset
   444
                   extent: (Point 183 34) usePreferredHeight: true
268408ec0be5 #FEATURE by exept
Claus Gittinger <cg@exept.de>
parents: 18438
diff changeset
   445
                )
14685
c1ba77b8dfc0 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 14542
diff changeset
   446
                (ActionButtonSpec
18130
64f823c2b648 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17882
diff changeset
   447
                   label: 'What Changed?'
64f823c2b648 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17882
diff changeset
   448
                   name: 'Button3'
64f823c2b648 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17882
diff changeset
   449
                   activeHelpKey: showDiffs
64f823c2b648 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17882
diff changeset
   450
                   uuid: '6573b3de-5a05-11e8-ad24-b8f6b1108e05'
64f823c2b648 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17882
diff changeset
   451
                   visibilityChannel: showChangesButtonVisible
64f823c2b648 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17882
diff changeset
   452
                   translateLabel: true
64f823c2b648 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17882
diff changeset
   453
                   model: showChanges
19018
268408ec0be5 #FEATURE by exept
Claus Gittinger <cg@exept.de>
parents: 18438
diff changeset
   454
                   extent: (Point 183 34)
268408ec0be5 #FEATURE by exept
Claus Gittinger <cg@exept.de>
parents: 18438
diff changeset
   455
                )
18130
64f823c2b648 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17882
diff changeset
   456
                (ActionButtonSpec
14685
c1ba77b8dfc0 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 14542
diff changeset
   457
                   label: 'OK'
c1ba77b8dfc0 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 14542
diff changeset
   458
                   name: 'Button1'
17837
bf1bde1037ca #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17186
diff changeset
   459
                   uuid: '35295560-d93d-11e7-8a1e-c42c033b4871'
14685
c1ba77b8dfc0 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 14542
diff changeset
   460
                   translateLabel: true
c1ba77b8dfc0 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 14542
diff changeset
   461
                   model: doAccept
19018
268408ec0be5 #FEATURE by exept
Claus Gittinger <cg@exept.de>
parents: 18438
diff changeset
   462
                   extent: (Point 184 34) usePreferredHeight: true
14685
c1ba77b8dfc0 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 14542
diff changeset
   463
                )
19018
268408ec0be5 #FEATURE by exept
Claus Gittinger <cg@exept.de>
parents: 18438
diff changeset
   464
              )
268408ec0be5 #FEATURE by exept
Claus Gittinger <cg@exept.de>
parents: 18438
diff changeset
   465
            ) keepSpaceForOSXResizeHandleH: true
14685
c1ba77b8dfc0 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 14542
diff changeset
   466
          )
19018
268408ec0be5 #FEATURE by exept
Claus Gittinger <cg@exept.de>
parents: 18438
diff changeset
   467
          (RadioButtonSpec
268408ec0be5 #FEATURE by exept
Claus Gittinger <cg@exept.de>
parents: 18438
diff changeset
   468
             label: 'Workaround (Investigate Further)'
268408ec0be5 #FEATURE by exept
Claus Gittinger <cg@exept.de>
parents: 18438
diff changeset
   469
             name: 'RadioButton8'
268408ec0be5 #FEATURE by exept
Claus Gittinger <cg@exept.de>
parents: 18438
diff changeset
   470
             layout: (LayoutFrame 9 0.5 -87 1 0 1 -65 1) activeHelpKey: checkinReasonWorkaround
268408ec0be5 #FEATURE by exept
Claus Gittinger <cg@exept.de>
parents: 18438
diff changeset
   471
             uuid: '35294d5e-d93d-11e7-8a1e-c42c033b4871'
268408ec0be5 #FEATURE by exept
Claus Gittinger <cg@exept.de>
parents: 18438
diff changeset
   472
             translateLabel: true
268408ec0be5 #FEATURE by exept
Claus Gittinger <cg@exept.de>
parents: 18438
diff changeset
   473
             model: checkinReasonHolder
268408ec0be5 #FEATURE by exept
Claus Gittinger <cg@exept.de>
parents: 18438
diff changeset
   474
             isTriggerOnDown: true
268408ec0be5 #FEATURE by exept
Claus Gittinger <cg@exept.de>
parents: 18438
diff changeset
   475
             select: reasonWorkaround
268408ec0be5 #FEATURE by exept
Claus Gittinger <cg@exept.de>
parents: 18438
diff changeset
   476
          )
268408ec0be5 #FEATURE by exept
Claus Gittinger <cg@exept.de>
parents: 18438
diff changeset
   477
        )
268408ec0be5 #FEATURE by exept
Claus Gittinger <cg@exept.de>
parents: 18438
diff changeset
   478
      )
268408ec0be5 #FEATURE by exept
Claus Gittinger <cg@exept.de>
parents: 18438
diff changeset
   479
    )
6799
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   480
! !
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   481
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   482
!CheckinInfoDialog class methodsFor:'opening'!
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   483
17837
bf1bde1037ca #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17186
diff changeset
   484
getCheckinInfoFor:infoString initialAnswer:initialAnswer
11412
66ebae1951eb previous log messages
Claus Gittinger <cg@exept.de>
parents: 9950
diff changeset
   485
    ^ self 
17837
bf1bde1037ca #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17186
diff changeset
   486
        getCheckinInfoFor:infoString 
11412
66ebae1951eb previous log messages
Claus Gittinger <cg@exept.de>
parents: 9950
diff changeset
   487
        initialAnswer:initialAnswer 
66ebae1951eb previous log messages
Claus Gittinger <cg@exept.de>
parents: 9950
diff changeset
   488
        withQuickOption:false
6979
048fb7930a28 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6799
diff changeset
   489
048fb7930a28 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6799
diff changeset
   490
    "
048fb7930a28 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6799
diff changeset
   491
      self getCheckinInfoFor:'hello' initialAnswer:'bla'
048fb7930a28 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6799
diff changeset
   492
    "
11412
66ebae1951eb previous log messages
Claus Gittinger <cg@exept.de>
parents: 9950
diff changeset
   493
17837
bf1bde1037ca #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17186
diff changeset
   494
    "Modified (format): / 04-12-2017 / 23:08:50 / cg"
6979
048fb7930a28 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6799
diff changeset
   495
!
048fb7930a28 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6799
diff changeset
   496
17837
bf1bde1037ca #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17186
diff changeset
   497
getCheckinInfoFor:infoString initialAnswer:initialAnswer withQuickOption:withQuickOption
11412
66ebae1951eb previous log messages
Claus Gittinger <cg@exept.de>
parents: 9950
diff changeset
   498
    ^ self
17837
bf1bde1037ca #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17186
diff changeset
   499
        getCheckinInfoFor:infoString 
11412
66ebae1951eb previous log messages
Claus Gittinger <cg@exept.de>
parents: 9950
diff changeset
   500
        initialAnswer:initialAnswer 
66ebae1951eb previous log messages
Claus Gittinger <cg@exept.de>
parents: 9950
diff changeset
   501
        withQuickOption:withQuickOption
66ebae1951eb previous log messages
Claus Gittinger <cg@exept.de>
parents: 9950
diff changeset
   502
        logHistory:#()
66ebae1951eb previous log messages
Claus Gittinger <cg@exept.de>
parents: 9950
diff changeset
   503
66ebae1951eb previous log messages
Claus Gittinger <cg@exept.de>
parents: 9950
diff changeset
   504
    "
66ebae1951eb previous log messages
Claus Gittinger <cg@exept.de>
parents: 9950
diff changeset
   505
     self getCheckinInfoFor:'hello' initialAnswer:'bla'
66ebae1951eb previous log messages
Claus Gittinger <cg@exept.de>
parents: 9950
diff changeset
   506
    "
66ebae1951eb previous log messages
Claus Gittinger <cg@exept.de>
parents: 9950
diff changeset
   507
66ebae1951eb previous log messages
Claus Gittinger <cg@exept.de>
parents: 9950
diff changeset
   508
    "Modified: / 12-03-2012 / 12:39:00 / cg"
17837
bf1bde1037ca #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17186
diff changeset
   509
    "Modified (format): / 04-12-2017 / 23:08:40 / cg"
11412
66ebae1951eb previous log messages
Claus Gittinger <cg@exept.de>
parents: 9950
diff changeset
   510
!
66ebae1951eb previous log messages
Claus Gittinger <cg@exept.de>
parents: 9950
diff changeset
   511
17837
bf1bde1037ca #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17186
diff changeset
   512
getCheckinInfoFor:infoString initialAnswer:initialAnswer withQuickOption:withQuickOption logHistory:logHistoryArg
12537
2ddd00171375 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 11413
diff changeset
   513
    ^  self     
17837
bf1bde1037ca #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17186
diff changeset
   514
        getCheckinInfoFor:infoString 
12537
2ddd00171375 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 11413
diff changeset
   515
        initialAnswer:initialAnswer 
2ddd00171375 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 11413
diff changeset
   516
        withQuickOption:withQuickOption 
2ddd00171375 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 11413
diff changeset
   517
        logHistory:logHistoryArg 
2ddd00171375 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 11413
diff changeset
   518
        withValidateConsistencyOption:false
2ddd00171375 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 11413
diff changeset
   519
2ddd00171375 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 11413
diff changeset
   520
    "
2ddd00171375 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 11413
diff changeset
   521
     self getCheckinInfoFor:'hello' initialAnswer:'bla'
2ddd00171375 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 11413
diff changeset
   522
     self getCheckinInfoFor:'hello' initialAnswer:'bla' withQuickOption:true
2ddd00171375 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 11413
diff changeset
   523
     self getCheckinInfoFor:'hello' initialAnswer:'bla' withQuickOption:true logHistory:nil withConsistencyCheckOption:true
2ddd00171375 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 11413
diff changeset
   524
    "
2ddd00171375 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 11413
diff changeset
   525
2ddd00171375 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 11413
diff changeset
   526
    "Created: / 12-03-2012 / 12:36:26 / cg"
17837
bf1bde1037ca #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17186
diff changeset
   527
    "Modified (format): / 04-12-2017 / 23:08:35 / cg"
12537
2ddd00171375 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 11413
diff changeset
   528
!
2ddd00171375 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 11413
diff changeset
   529
17837
bf1bde1037ca #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17186
diff changeset
   530
getCheckinInfoFor:infoString initialAnswer:initialAnswer 
15841
c9885b9e9fc1 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 15829
diff changeset
   531
                withQuickOption:withQuickOption 
c9885b9e9fc1 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 15829
diff changeset
   532
                logHistory:logHistoryArg 
c9885b9e9fc1 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 15829
diff changeset
   533
                withValidateConsistencyOption:withValidateConsistencyOption
18131
9e7156478039 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 18130
diff changeset
   534
    ^ self new
9e7156478039 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 18130
diff changeset
   535
        getCheckinInfoFor:infoString initialAnswer:initialAnswer 
15841
c9885b9e9fc1 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 15829
diff changeset
   536
        withQuickOption:withQuickOption 
c9885b9e9fc1 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 15829
diff changeset
   537
        logHistory:logHistoryArg 
c9885b9e9fc1 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 15829
diff changeset
   538
        withValidateConsistencyOption:withValidateConsistencyOption
c9885b9e9fc1 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 15829
diff changeset
   539
c9885b9e9fc1 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 15829
diff changeset
   540
    "
c9885b9e9fc1 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 15829
diff changeset
   541
     self getCheckinInfoFor:'hello' initialAnswer:'bla'
c9885b9e9fc1 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 15829
diff changeset
   542
    "
c9885b9e9fc1 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 15829
diff changeset
   543
c9885b9e9fc1 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 15829
diff changeset
   544
    "Created: / 12-03-2012 / 12:36:26 / cg"
17837
bf1bde1037ca #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17186
diff changeset
   545
    "Modified (format): / 04-12-2017 / 23:07:46 / cg"
15841
c9885b9e9fc1 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 15829
diff changeset
   546
!
c9885b9e9fc1 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 15829
diff changeset
   547
17837
bf1bde1037ca #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17186
diff changeset
   548
getCheckinInfoFor:infoString initialAnswer:initialAnswer 
15841
c9885b9e9fc1 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 15829
diff changeset
   549
            withQuickOption:withQuickOption 
c9885b9e9fc1 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 15829
diff changeset
   550
            logHistory:logHistoryArg 
c9885b9e9fc1 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 15829
diff changeset
   551
            withValidateConsistencyOption:withValidateConsistencyOption
c9885b9e9fc1 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 15829
diff changeset
   552
            initialReason:defaultReason
c9885b9e9fc1 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 15829
diff changeset
   553
18131
9e7156478039 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 18130
diff changeset
   554
    ^ self new
9e7156478039 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 18130
diff changeset
   555
        getCheckinInfoFor:infoString initialAnswer:initialAnswer 
9e7156478039 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 18130
diff changeset
   556
        withQuickOption:withQuickOption 
19118
da8efbeb3302 #REFACTORING by exept
Claus Gittinger <cg@exept.de>
parents: 19067
diff changeset
   557
        isClassCheckin:false
18131
9e7156478039 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 18130
diff changeset
   558
        logHistory:logHistoryArg 
9e7156478039 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 18130
diff changeset
   559
        withValidateConsistencyOption:withValidateConsistencyOption
9e7156478039 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 18130
diff changeset
   560
        initialReason:defaultReason
6799
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   561
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   562
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   563
    "
7110
86a7ea1388a1 no tagIt checkBox - non-empty tag value means: tagIt
Claus Gittinger <cg@exept.de>
parents: 7097
diff changeset
   564
     self getCheckinInfoFor:'hello' initialAnswer:'bla'
6799
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   565
    "
7110
86a7ea1388a1 no tagIt checkBox - non-empty tag value means: tagIt
Claus Gittinger <cg@exept.de>
parents: 7097
diff changeset
   566
11412
66ebae1951eb previous log messages
Claus Gittinger <cg@exept.de>
parents: 9950
diff changeset
   567
    "Created: / 12-03-2012 / 12:36:26 / cg"
17843
b9274a1ada02 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17840
diff changeset
   568
    "Modified: / 05-12-2017 / 23:07:06 / cg"
6799
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   569
! !
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   570
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   571
!CheckinInfoDialog methodsFor:'accessing'!
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   572
9508
6ecac35f25b6 enforce a non-empty logmessage;
Claus Gittinger <cg@exept.de>
parents: 9161
diff changeset
   573
allowEmptyLogMessage
6ecac35f25b6 enforce a non-empty logmessage;
Claus Gittinger <cg@exept.de>
parents: 9161
diff changeset
   574
    ^ allowEmptyLogMessage ? false
6ecac35f25b6 enforce a non-empty logmessage;
Claus Gittinger <cg@exept.de>
parents: 9161
diff changeset
   575
6ecac35f25b6 enforce a non-empty logmessage;
Claus Gittinger <cg@exept.de>
parents: 9161
diff changeset
   576
    "Created: / 06-07-2010 / 11:23:18 / cg"
6ecac35f25b6 enforce a non-empty logmessage;
Claus Gittinger <cg@exept.de>
parents: 9161
diff changeset
   577
!
6ecac35f25b6 enforce a non-empty logmessage;
Claus Gittinger <cg@exept.de>
parents: 9161
diff changeset
   578
6ecac35f25b6 enforce a non-empty logmessage;
Claus Gittinger <cg@exept.de>
parents: 9161
diff changeset
   579
allowEmptyLogMessage:aBoolean 
6ecac35f25b6 enforce a non-empty logmessage;
Claus Gittinger <cg@exept.de>
parents: 9161
diff changeset
   580
    allowEmptyLogMessage := aBoolean
6ecac35f25b6 enforce a non-empty logmessage;
Claus Gittinger <cg@exept.de>
parents: 9161
diff changeset
   581
6ecac35f25b6 enforce a non-empty logmessage;
Claus Gittinger <cg@exept.de>
parents: 9161
diff changeset
   582
    "Created: / 06-07-2010 / 11:23:31 / cg"
6ecac35f25b6 enforce a non-empty logmessage;
Claus Gittinger <cg@exept.de>
parents: 9161
diff changeset
   583
!
6ecac35f25b6 enforce a non-empty logmessage;
Claus Gittinger <cg@exept.de>
parents: 9161
diff changeset
   584
17843
b9274a1ada02 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17840
diff changeset
   585
branchInfo:aString
b9274a1ada02 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17840
diff changeset
   586
    self branchInfoHolder value:aString
b9274a1ada02 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17840
diff changeset
   587
b9274a1ada02 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17840
diff changeset
   588
    "Created: / 05-12-2017 / 23:08:09 / cg"
b9274a1ada02 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17840
diff changeset
   589
!
b9274a1ada02 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17840
diff changeset
   590
15841
c9885b9e9fc1 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 15829
diff changeset
   591
checkinReason
19018
268408ec0be5 #FEATURE by exept
Claus Gittinger <cg@exept.de>
parents: 18438
diff changeset
   592
    "returns one of: #(reasonBugfix reasonFeature reasonRefactoring reasonDocumentation reasonOther reasonWorkaround)"
15841
c9885b9e9fc1 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 15829
diff changeset
   593
c9885b9e9fc1 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 15829
diff changeset
   594
    ^ self checkinReasonHolder value
c9885b9e9fc1 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 15829
diff changeset
   595
!
c9885b9e9fc1 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 15829
diff changeset
   596
c9885b9e9fc1 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 15829
diff changeset
   597
checkinReason:aSymbolicReason
16224
83f5f04b9c56 #UI_ENHANCEMENT
Claus Gittinger <cg@exept.de>
parents: 15874
diff changeset
   598
    self assert:( self class possibleReasons includes:aSymbolicReason).
15841
c9885b9e9fc1 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 15829
diff changeset
   599
    self checkinReasonHolder value:aSymbolicReason
16224
83f5f04b9c56 #UI_ENHANCEMENT
Claus Gittinger <cg@exept.de>
parents: 15874
diff changeset
   600
83f5f04b9c56 #UI_ENHANCEMENT
Claus Gittinger <cg@exept.de>
parents: 15874
diff changeset
   601
    "Modified: / 31-03-2016 / 17:58:45 / cg"
15841
c9885b9e9fc1 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 15829
diff changeset
   602
!
c9885b9e9fc1 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 15829
diff changeset
   603
6799
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   604
description
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   605
    ^ self descriptionHolder value
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   606
!
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   607
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   608
description:aString
7179
8229aa65d96b *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7110
diff changeset
   609
    self descriptionHolder value:aString allBold
6799
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   610
!
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   611
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   612
isStable
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   613
    ^ self isStableHolder value
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   614
!
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   615
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   616
isStable:aBoolean
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   617
    self isStableHolder value:aBoolean
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   618
!
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   619
11413
d78e22496f0a previous log messages
Claus Gittinger <cg@exept.de>
parents: 11412
diff changeset
   620
logHistory:something
d78e22496f0a previous log messages
Claus Gittinger <cg@exept.de>
parents: 11412
diff changeset
   621
    logHistory := something.
d78e22496f0a previous log messages
Claus Gittinger <cg@exept.de>
parents: 11412
diff changeset
   622
!
d78e22496f0a previous log messages
Claus Gittinger <cg@exept.de>
parents: 11412
diff changeset
   623
6799
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   624
logMessage
15829
ba4d543aff02 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 14685
diff changeset
   625
    ^ self logMessageHolder value ? ''
6799
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   626
!
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   627
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   628
logMessage:aString
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   629
    self logMessageHolder value:aString
6979
048fb7930a28 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6799
diff changeset
   630
!
048fb7930a28 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6799
diff changeset
   631
048fb7930a28 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6799
diff changeset
   632
quickCheckIn
048fb7930a28 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6799
diff changeset
   633
    ^ self quickCheckInHolder value
048fb7930a28 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6799
diff changeset
   634
!
048fb7930a28 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6799
diff changeset
   635
048fb7930a28 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6799
diff changeset
   636
quickCheckIn:aBoolean
048fb7930a28 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6799
diff changeset
   637
    self quickCheckInHolder value:aBoolean
048fb7930a28 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6799
diff changeset
   638
!
048fb7930a28 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6799
diff changeset
   639
17843
b9274a1ada02 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17840
diff changeset
   640
repositoryInfo:aString
b9274a1ada02 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17840
diff changeset
   641
    self repositoryInfoHolder value:aString
b9274a1ada02 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17840
diff changeset
   642
b9274a1ada02 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17840
diff changeset
   643
    "Created: / 05-12-2017 / 23:08:05 / cg"
b9274a1ada02 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17840
diff changeset
   644
!
b9274a1ada02 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17840
diff changeset
   645
18130
64f823c2b648 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17882
diff changeset
   646
showChangesAction:aBlock
64f823c2b648 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17882
diff changeset
   647
    "if non-nil, an additional 'Show Changes' button appears,
64f823c2b648 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17882
diff changeset
   648
     which evaluates this action"
64f823c2b648 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17882
diff changeset
   649
     
64f823c2b648 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17882
diff changeset
   650
    showChangesAction := aBlock
64f823c2b648 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17882
diff changeset
   651
!
64f823c2b648 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17882
diff changeset
   652
6979
048fb7930a28 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6799
diff changeset
   653
tag
13299
f7c2eb0610c5 class: Tools::CheckinInfoDialog
Stefan Vogel <sv@exept.de>
parents: 12860
diff changeset
   654
    ^ (self tagHolder value ? '') withoutSeparators
6979
048fb7930a28 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6799
diff changeset
   655
!
048fb7930a28 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6799
diff changeset
   656
7110
86a7ea1388a1 no tagIt checkBox - non-empty tag value means: tagIt
Claus Gittinger <cg@exept.de>
parents: 7097
diff changeset
   657
tag:aStringOrNil
86a7ea1388a1 no tagIt checkBox - non-empty tag value means: tagIt
Claus Gittinger <cg@exept.de>
parents: 7097
diff changeset
   658
    self tagHolder value:aStringOrNil
86a7ea1388a1 no tagIt checkBox - non-empty tag value means: tagIt
Claus Gittinger <cg@exept.de>
parents: 7097
diff changeset
   659
86a7ea1388a1 no tagIt checkBox - non-empty tag value means: tagIt
Claus Gittinger <cg@exept.de>
parents: 7097
diff changeset
   660
    "Modified: / 12-09-2006 / 12:03:50 / cg"
6979
048fb7930a28 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6799
diff changeset
   661
!
048fb7930a28 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6799
diff changeset
   662
048fb7930a28 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6799
diff changeset
   663
tagIt
7110
86a7ea1388a1 no tagIt checkBox - non-empty tag value means: tagIt
Claus Gittinger <cg@exept.de>
parents: 7097
diff changeset
   664
    ^ self tag notEmptyOrNil
6979
048fb7930a28 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6799
diff changeset
   665
7110
86a7ea1388a1 no tagIt checkBox - non-empty tag value means: tagIt
Claus Gittinger <cg@exept.de>
parents: 7097
diff changeset
   666
    "Created: / 12-09-2006 / 13:06:49 / cg"
6979
048fb7930a28 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6799
diff changeset
   667
!
048fb7930a28 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6799
diff changeset
   668
12537
2ddd00171375 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 11413
diff changeset
   669
validateConsistency
2ddd00171375 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 11413
diff changeset
   670
    ^ self validateConsistencyHolder value
2ddd00171375 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 11413
diff changeset
   671
!
2ddd00171375 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 11413
diff changeset
   672
6979
048fb7930a28 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6799
diff changeset
   673
withQuickOption:aBoolean
15841
c9885b9e9fc1 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 15829
diff changeset
   674
    self quickCheckInEnabledHolder value:aBoolean
c9885b9e9fc1 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 15829
diff changeset
   675
    "/ self quickCheckInVisibleHolder value:aBoolean
12537
2ddd00171375 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 11413
diff changeset
   676
!
2ddd00171375 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 11413
diff changeset
   677
2ddd00171375 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 11413
diff changeset
   678
withValidateConsistencyOption:aBoolean
15841
c9885b9e9fc1 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 15829
diff changeset
   679
    self validateConsistencyEnabledHolder value:aBoolean
c9885b9e9fc1 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 15829
diff changeset
   680
    "/ self validateConsistencyVisibleHolder value:aBoolean
6799
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   681
! !
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   682
18130
64f823c2b648 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17882
diff changeset
   683
!CheckinInfoDialog methodsFor:'actions'!
64f823c2b648 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17882
diff changeset
   684
64f823c2b648 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17882
diff changeset
   685
showChanges
64f823c2b648 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17882
diff changeset
   686
    showChangesAction value
64f823c2b648 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17882
diff changeset
   687
! !
64f823c2b648 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17882
diff changeset
   688
6799
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   689
!CheckinInfoDialog methodsFor:'aspects'!
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   690
17843
b9274a1ada02 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17840
diff changeset
   691
branchInfoHolder
b9274a1ada02 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17840
diff changeset
   692
    branchInfoHolder isNil ifTrue:[
b9274a1ada02 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17840
diff changeset
   693
        branchInfoHolder := ValueHolder new.
b9274a1ada02 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17840
diff changeset
   694
    ].
b9274a1ada02 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17840
diff changeset
   695
    ^ branchInfoHolder
b9274a1ada02 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17840
diff changeset
   696
b9274a1ada02 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17840
diff changeset
   697
    "Created: / 05-12-2017 / 23:07:40 / cg"
b9274a1ada02 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17840
diff changeset
   698
!
b9274a1ada02 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17840
diff changeset
   699
15841
c9885b9e9fc1 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 15829
diff changeset
   700
checkinReasonHolder
c9885b9e9fc1 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 15829
diff changeset
   701
    checkinReasonHolder isNil ifTrue:[
c9885b9e9fc1 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 15829
diff changeset
   702
        checkinReasonHolder := (LastReason ? self class reasonBugfix) asValue.
c9885b9e9fc1 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 15829
diff changeset
   703
    ].
c9885b9e9fc1 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 15829
diff changeset
   704
    ^ checkinReasonHolder
c9885b9e9fc1 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 15829
diff changeset
   705
!
c9885b9e9fc1 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 15829
diff changeset
   706
6799
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   707
descriptionHolder
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   708
    descriptionHolder isNil ifTrue:[
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   709
        descriptionHolder := ValueHolder new.
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   710
    ].
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   711
    ^ descriptionHolder
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   712
!
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   713
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   714
isStableHolder
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   715
    isStableHolder isNil ifTrue:[
7592
f9204291e800 isStable is not the default (too slow for now)
Claus Gittinger <cg@exept.de>
parents: 7591
diff changeset
   716
        isStableHolder := false asValue.
6799
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   717
    ].
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   718
    ^ isStableHolder.
7591
61cf0097b5dc isStable is default
Claus Gittinger <cg@exept.de>
parents: 7179
diff changeset
   719
7592
f9204291e800 isStable is not the default (too slow for now)
Claus Gittinger <cg@exept.de>
parents: 7591
diff changeset
   720
    "Modified: / 16-01-2007 / 16:00:26 / cg"
6799
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   721
!
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   722
11412
66ebae1951eb previous log messages
Claus Gittinger <cg@exept.de>
parents: 9950
diff changeset
   723
logHistoryHeadLineSelectionHolder
66ebae1951eb previous log messages
Claus Gittinger <cg@exept.de>
parents: 9950
diff changeset
   724
    logHistoryHeadLineSelectionHolder isNil ifTrue:[
66ebae1951eb previous log messages
Claus Gittinger <cg@exept.de>
parents: 9950
diff changeset
   725
        logHistoryHeadLineSelectionHolder := nil asValue.
66ebae1951eb previous log messages
Claus Gittinger <cg@exept.de>
parents: 9950
diff changeset
   726
        logHistoryHeadLineSelectionHolder 
66ebae1951eb previous log messages
Claus Gittinger <cg@exept.de>
parents: 9950
diff changeset
   727
            onChangeEvaluate:
66ebae1951eb previous log messages
Claus Gittinger <cg@exept.de>
parents: 9950
diff changeset
   728
                [
66ebae1951eb previous log messages
Claus Gittinger <cg@exept.de>
parents: 9950
diff changeset
   729
                    self logMessageHolder value:(logHistory at:logHistoryHeadLineSelectionHolder value)
66ebae1951eb previous log messages
Claus Gittinger <cg@exept.de>
parents: 9950
diff changeset
   730
                ].
66ebae1951eb previous log messages
Claus Gittinger <cg@exept.de>
parents: 9950
diff changeset
   731
    ].
66ebae1951eb previous log messages
Claus Gittinger <cg@exept.de>
parents: 9950
diff changeset
   732
    ^ logHistoryHeadLineSelectionHolder
66ebae1951eb previous log messages
Claus Gittinger <cg@exept.de>
parents: 9950
diff changeset
   733
66ebae1951eb previous log messages
Claus Gittinger <cg@exept.de>
parents: 9950
diff changeset
   734
    "Created: / 12-03-2012 / 12:40:36 / cg"
66ebae1951eb previous log messages
Claus Gittinger <cg@exept.de>
parents: 9950
diff changeset
   735
!
66ebae1951eb previous log messages
Claus Gittinger <cg@exept.de>
parents: 9950
diff changeset
   736
66ebae1951eb previous log messages
Claus Gittinger <cg@exept.de>
parents: 9950
diff changeset
   737
logHistoryHeadLines
66ebae1951eb previous log messages
Claus Gittinger <cg@exept.de>
parents: 9950
diff changeset
   738
    ^ (logHistory ? #())
66ebae1951eb previous log messages
Claus Gittinger <cg@exept.de>
parents: 9950
diff changeset
   739
        collect:[:msg |
66ebae1951eb previous log messages
Claus Gittinger <cg@exept.de>
parents: 9950
diff changeset
   740
            msg withoutLeadingSeparators asCollectionOfLines first , '...'
66ebae1951eb previous log messages
Claus Gittinger <cg@exept.de>
parents: 9950
diff changeset
   741
        ]
66ebae1951eb previous log messages
Claus Gittinger <cg@exept.de>
parents: 9950
diff changeset
   742
66ebae1951eb previous log messages
Claus Gittinger <cg@exept.de>
parents: 9950
diff changeset
   743
    "Created: / 12-03-2012 / 12:39:35 / cg"
66ebae1951eb previous log messages
Claus Gittinger <cg@exept.de>
parents: 9950
diff changeset
   744
!
66ebae1951eb previous log messages
Claus Gittinger <cg@exept.de>
parents: 9950
diff changeset
   745
6799
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   746
logMessageHolder
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   747
    logMessageHolder isNil ifTrue:[
11412
66ebae1951eb previous log messages
Claus Gittinger <cg@exept.de>
parents: 9950
diff changeset
   748
        logMessageHolder := '' asValue.
6799
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   749
    ].
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   750
    ^ logMessageHolder.
11412
66ebae1951eb previous log messages
Claus Gittinger <cg@exept.de>
parents: 9950
diff changeset
   751
66ebae1951eb previous log messages
Claus Gittinger <cg@exept.de>
parents: 9950
diff changeset
   752
    "Modified: / 12-03-2012 / 12:34:13 / cg"
6979
048fb7930a28 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6799
diff changeset
   753
!
048fb7930a28 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6799
diff changeset
   754
14685
c1ba77b8dfc0 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 14542
diff changeset
   755
notMarkAsStableHolder
c1ba77b8dfc0 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 14542
diff changeset
   756
    ^ BlockValue forLogicalNot:self isStableHolder
c1ba77b8dfc0 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 14542
diff changeset
   757
!
c1ba77b8dfc0 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 14542
diff changeset
   758
15841
c9885b9e9fc1 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 15829
diff changeset
   759
quickCheckInEnabledHolder
c9885b9e9fc1 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 15829
diff changeset
   760
    quickCheckInEnabledHolder isNil ifTrue:[
c9885b9e9fc1 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 15829
diff changeset
   761
        quickCheckInEnabledHolder := false asValue.
c9885b9e9fc1 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 15829
diff changeset
   762
    ].
c9885b9e9fc1 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 15829
diff changeset
   763
    ^ quickCheckInEnabledHolder
c9885b9e9fc1 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 15829
diff changeset
   764
!
c9885b9e9fc1 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 15829
diff changeset
   765
6979
048fb7930a28 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6799
diff changeset
   766
quickCheckInHolder
048fb7930a28 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6799
diff changeset
   767
    quickCheckInHolder isNil ifTrue:[
048fb7930a28 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6799
diff changeset
   768
        quickCheckInHolder := true asValue.
048fb7930a28 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6799
diff changeset
   769
    ].
048fb7930a28 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6799
diff changeset
   770
    ^ quickCheckInHolder
048fb7930a28 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6799
diff changeset
   771
!
048fb7930a28 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6799
diff changeset
   772
048fb7930a28 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6799
diff changeset
   773
quickCheckInVisibleHolder
048fb7930a28 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6799
diff changeset
   774
    quickCheckInVisibleHolder isNil ifTrue:[
15841
c9885b9e9fc1 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 15829
diff changeset
   775
        quickCheckInVisibleHolder := true asValue.
6979
048fb7930a28 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6799
diff changeset
   776
    ].
048fb7930a28 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6799
diff changeset
   777
    ^ quickCheckInVisibleHolder
048fb7930a28 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6799
diff changeset
   778
!
048fb7930a28 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6799
diff changeset
   779
14685
c1ba77b8dfc0 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 14542
diff changeset
   780
recentTagsList
c1ba77b8dfc0 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 14542
diff changeset
   781
    ^ [ CVSSourceCodeManager recentTags ]
c1ba77b8dfc0 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 14542
diff changeset
   782
!
c1ba77b8dfc0 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 14542
diff changeset
   783
19375
cc84d2db5f7c #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 19348
diff changeset
   784
rememberTagAsDefaultHolder
cc84d2db5f7c #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 19348
diff changeset
   785
    rememberTagAsDefaultHolder isNil ifTrue:[
cc84d2db5f7c #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 19348
diff changeset
   786
        rememberTagAsDefaultHolder := false asValue.
cc84d2db5f7c #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 19348
diff changeset
   787
    ].
cc84d2db5f7c #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 19348
diff changeset
   788
    ^ rememberTagAsDefaultHolder
cc84d2db5f7c #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 19348
diff changeset
   789
cc84d2db5f7c #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 19348
diff changeset
   790
    "Created: / 05-12-2017 / 23:07:40 / cg"
cc84d2db5f7c #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 19348
diff changeset
   791
!
cc84d2db5f7c #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 19348
diff changeset
   792
17843
b9274a1ada02 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17840
diff changeset
   793
repositoryInfoHolder
b9274a1ada02 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17840
diff changeset
   794
    repositoryInfoHolder isNil ifTrue:[
b9274a1ada02 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17840
diff changeset
   795
        repositoryInfoHolder := ValueHolder new.
b9274a1ada02 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17840
diff changeset
   796
    ].
b9274a1ada02 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17840
diff changeset
   797
    ^ repositoryInfoHolder
b9274a1ada02 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17840
diff changeset
   798
b9274a1ada02 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17840
diff changeset
   799
    "Created: / 05-12-2017 / 23:07:34 / cg"
b9274a1ada02 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17840
diff changeset
   800
!
b9274a1ada02 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17840
diff changeset
   801
18130
64f823c2b648 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17882
diff changeset
   802
showChangesButtonVisible
64f823c2b648 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17882
diff changeset
   803
    ^ showChangesAction notNil
64f823c2b648 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17882
diff changeset
   804
!
64f823c2b648 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 17882
diff changeset
   805
6979
048fb7930a28 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6799
diff changeset
   806
tagHolder
048fb7930a28 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6799
diff changeset
   807
    tagHolder isNil ifTrue:[
14685
c1ba77b8dfc0 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 14542
diff changeset
   808
        tagHolder := ("CVSSourceCodeManager recentTag ?" '') asValue.
6979
048fb7930a28 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6799
diff changeset
   809
    ].
048fb7930a28 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6799
diff changeset
   810
    ^ tagHolder
9508
6ecac35f25b6 enforce a non-empty logmessage;
Claus Gittinger <cg@exept.de>
parents: 9161
diff changeset
   811
!
6ecac35f25b6 enforce a non-empty logmessage;
Claus Gittinger <cg@exept.de>
parents: 9161
diff changeset
   812
15841
c9885b9e9fc1 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 15829
diff changeset
   813
validateConsistencyEnabledHolder
c9885b9e9fc1 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 15829
diff changeset
   814
    validateConsistencyEnabledHolder isNil ifTrue:[
c9885b9e9fc1 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 15829
diff changeset
   815
        validateConsistencyEnabledHolder := false asValue.
c9885b9e9fc1 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 15829
diff changeset
   816
    ].
c9885b9e9fc1 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 15829
diff changeset
   817
    ^ validateConsistencyEnabledHolder
c9885b9e9fc1 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 15829
diff changeset
   818
!
c9885b9e9fc1 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 15829
diff changeset
   819
12537
2ddd00171375 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 11413
diff changeset
   820
validateConsistencyHolder
2ddd00171375 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 11413
diff changeset
   821
    validateConsistencyHolder isNil ifTrue:[
2ddd00171375 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 11413
diff changeset
   822
        validateConsistencyHolder := true asValue.
2ddd00171375 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 11413
diff changeset
   823
    ].
2ddd00171375 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 11413
diff changeset
   824
    ^ validateConsistencyHolder
2ddd00171375 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 11413
diff changeset
   825
!
2ddd00171375 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 11413
diff changeset
   826
2ddd00171375 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 11413
diff changeset
   827
validateConsistencyVisibleHolder
2ddd00171375 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 11413
diff changeset
   828
    validateConsistencyVisibleHolder isNil ifTrue:[
15841
c9885b9e9fc1 #FEATURE
Claus Gittinger <cg@exept.de>
parents: 15829
diff changeset
   829
        validateConsistencyVisibleHolder := true asValue.
12537
2ddd00171375 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 11413
diff changeset
   830
    ].
2ddd00171375 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 11413
diff changeset
   831
    ^ validateConsistencyVisibleHolder
2ddd00171375 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 11413
diff changeset
   832
!
2ddd00171375 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 11413
diff changeset
   833
9508
6ecac35f25b6 enforce a non-empty logmessage;
Claus Gittinger <cg@exept.de>
parents: 9161
diff changeset
   834
warningMessageHolder
6ecac35f25b6 enforce a non-empty logmessage;
Claus Gittinger <cg@exept.de>
parents: 9161
diff changeset
   835
    warningMessageHolder isNil ifTrue:[
6ecac35f25b6 enforce a non-empty logmessage;
Claus Gittinger <cg@exept.de>
parents: 9161
diff changeset
   836
        warningMessageHolder := nil asValue.
6ecac35f25b6 enforce a non-empty logmessage;
Claus Gittinger <cg@exept.de>
parents: 9161
diff changeset
   837
    ].
6ecac35f25b6 enforce a non-empty logmessage;
Claus Gittinger <cg@exept.de>
parents: 9161
diff changeset
   838
    ^ warningMessageHolder.
6ecac35f25b6 enforce a non-empty logmessage;
Claus Gittinger <cg@exept.de>
parents: 9161
diff changeset
   839
6ecac35f25b6 enforce a non-empty logmessage;
Claus Gittinger <cg@exept.de>
parents: 9161
diff changeset
   840
    "Created: / 06-07-2010 / 11:30:29 / cg"
6799
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   841
! !
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   842
18131
9e7156478039 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 18130
diff changeset
   843
!CheckinInfoDialog methodsFor:'opening'!
9e7156478039 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 18130
diff changeset
   844
9e7156478039 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 18130
diff changeset
   845
getCheckinInfoFor:infoString initialAnswer:initialAnswer 
19118
da8efbeb3302 #REFACTORING by exept
Claus Gittinger <cg@exept.de>
parents: 19067
diff changeset
   846
                withQuickOption:withQuickOption
da8efbeb3302 #REFACTORING by exept
Claus Gittinger <cg@exept.de>
parents: 19067
diff changeset
   847
                isClassCheckin:isClassCheckin
da8efbeb3302 #REFACTORING by exept
Claus Gittinger <cg@exept.de>
parents: 19067
diff changeset
   848
                logHistory:logHistoryArg 
da8efbeb3302 #REFACTORING by exept
Claus Gittinger <cg@exept.de>
parents: 19067
diff changeset
   849
                withValidateConsistencyOption:withValidateConsistencyOption
da8efbeb3302 #REFACTORING by exept
Claus Gittinger <cg@exept.de>
parents: 19067
diff changeset
   850
    ^ self
da8efbeb3302 #REFACTORING by exept
Claus Gittinger <cg@exept.de>
parents: 19067
diff changeset
   851
        getCheckinInfoFor:infoString 
da8efbeb3302 #REFACTORING by exept
Claus Gittinger <cg@exept.de>
parents: 19067
diff changeset
   852
        initialAnswer:initialAnswer 
da8efbeb3302 #REFACTORING by exept
Claus Gittinger <cg@exept.de>
parents: 19067
diff changeset
   853
        withQuickOption:withQuickOption
da8efbeb3302 #REFACTORING by exept
Claus Gittinger <cg@exept.de>
parents: 19067
diff changeset
   854
        isClassCheckin:isClassCheckin
da8efbeb3302 #REFACTORING by exept
Claus Gittinger <cg@exept.de>
parents: 19067
diff changeset
   855
        logHistory:logHistoryArg 
da8efbeb3302 #REFACTORING by exept
Claus Gittinger <cg@exept.de>
parents: 19067
diff changeset
   856
        withValidateConsistencyOption:withValidateConsistencyOption
da8efbeb3302 #REFACTORING by exept
Claus Gittinger <cg@exept.de>
parents: 19067
diff changeset
   857
        initialReason:(LastReason ? self class reasonBugfix)
da8efbeb3302 #REFACTORING by exept
Claus Gittinger <cg@exept.de>
parents: 19067
diff changeset
   858
!
da8efbeb3302 #REFACTORING by exept
Claus Gittinger <cg@exept.de>
parents: 19067
diff changeset
   859
da8efbeb3302 #REFACTORING by exept
Claus Gittinger <cg@exept.de>
parents: 19067
diff changeset
   860
getCheckinInfoFor:infoString initialAnswer:initialAnswer 
da8efbeb3302 #REFACTORING by exept
Claus Gittinger <cg@exept.de>
parents: 19067
diff changeset
   861
            withQuickOption:withQuickOption isClassCheckin:isClassCheckin 
da8efbeb3302 #REFACTORING by exept
Claus Gittinger <cg@exept.de>
parents: 19067
diff changeset
   862
            logHistory:logHistoryArg 
da8efbeb3302 #REFACTORING by exept
Claus Gittinger <cg@exept.de>
parents: 19067
diff changeset
   863
            withValidateConsistencyOption:withValidateConsistencyOption
da8efbeb3302 #REFACTORING by exept
Claus Gittinger <cg@exept.de>
parents: 19067
diff changeset
   864
            initialReason:defaultReason
da8efbeb3302 #REFACTORING by exept
Claus Gittinger <cg@exept.de>
parents: 19067
diff changeset
   865
da8efbeb3302 #REFACTORING by exept
Claus Gittinger <cg@exept.de>
parents: 19067
diff changeset
   866
    "ask the user for a log-message to be attached to a commit.
da8efbeb3302 #REFACTORING by exept
Claus Gittinger <cg@exept.de>
parents: 19067
diff changeset
   867
     Do not allow an empty input (i.e. ask again, until either canceled or a string was given)"
da8efbeb3302 #REFACTORING by exept
Claus Gittinger <cg@exept.de>
parents: 19067
diff changeset
   868
da8efbeb3302 #REFACTORING by exept
Claus Gittinger <cg@exept.de>
parents: 19067
diff changeset
   869
    |warnMessage|
da8efbeb3302 #REFACTORING by exept
Claus Gittinger <cg@exept.de>
parents: 19067
diff changeset
   870
da8efbeb3302 #REFACTORING by exept
Claus Gittinger <cg@exept.de>
parents: 19067
diff changeset
   871
    warnMessage := nil.
da8efbeb3302 #REFACTORING by exept
Claus Gittinger <cg@exept.de>
parents: 19067
diff changeset
   872
    [
da8efbeb3302 #REFACTORING by exept
Claus Gittinger <cg@exept.de>
parents: 19067
diff changeset
   873
        |lines infoString1 repositoryInfo branchInfo|
da8efbeb3302 #REFACTORING by exept
Claus Gittinger <cg@exept.de>
parents: 19067
diff changeset
   874
da8efbeb3302 #REFACTORING by exept
Claus Gittinger <cg@exept.de>
parents: 19067
diff changeset
   875
        infoString1 := infoString.
da8efbeb3302 #REFACTORING by exept
Claus Gittinger <cg@exept.de>
parents: 19067
diff changeset
   876
        lines := infoString asStringCollection.
da8efbeb3302 #REFACTORING by exept
Claus Gittinger <cg@exept.de>
parents: 19067
diff changeset
   877
        lines size > 1 ifTrue:[
da8efbeb3302 #REFACTORING by exept
Claus Gittinger <cg@exept.de>
parents: 19067
diff changeset
   878
            repositoryInfo := lines second string.
da8efbeb3302 #REFACTORING by exept
Claus Gittinger <cg@exept.de>
parents: 19067
diff changeset
   879
            self repositoryInfo:repositoryInfo.
da8efbeb3302 #REFACTORING by exept
Claus Gittinger <cg@exept.de>
parents: 19067
diff changeset
   880
            lines size > 2 ifTrue:[
da8efbeb3302 #REFACTORING by exept
Claus Gittinger <cg@exept.de>
parents: 19067
diff changeset
   881
                branchInfo := lines third string.
da8efbeb3302 #REFACTORING by exept
Claus Gittinger <cg@exept.de>
parents: 19067
diff changeset
   882
                self branchInfo:branchInfo.
da8efbeb3302 #REFACTORING by exept
Claus Gittinger <cg@exept.de>
parents: 19067
diff changeset
   883
            ].    
da8efbeb3302 #REFACTORING by exept
Claus Gittinger <cg@exept.de>
parents: 19067
diff changeset
   884
            infoString1 := lines first.
da8efbeb3302 #REFACTORING by exept
Claus Gittinger <cg@exept.de>
parents: 19067
diff changeset
   885
        ].
19375
cc84d2db5f7c #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 19348
diff changeset
   886
        DefaultTag notNil ifTrue:[
cc84d2db5f7c #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 19348
diff changeset
   887
            self tagHolder value:DefaultTag.
cc84d2db5f7c #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 19348
diff changeset
   888
            self rememberTagAsDefaultHolder value:true.
cc84d2db5f7c #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 19348
diff changeset
   889
        ].
19118
da8efbeb3302 #REFACTORING by exept
Claus Gittinger <cg@exept.de>
parents: 19067
diff changeset
   890
        self
da8efbeb3302 #REFACTORING by exept
Claus Gittinger <cg@exept.de>
parents: 19067
diff changeset
   891
            description:infoString1; 
da8efbeb3302 #REFACTORING by exept
Claus Gittinger <cg@exept.de>
parents: 19067
diff changeset
   892
            logMessage:initialAnswer;
da8efbeb3302 #REFACTORING by exept
Claus Gittinger <cg@exept.de>
parents: 19067
diff changeset
   893
            withQuickOption:withQuickOption;
da8efbeb3302 #REFACTORING by exept
Claus Gittinger <cg@exept.de>
parents: 19067
diff changeset
   894
            withValidateConsistencyOption:withValidateConsistencyOption;
da8efbeb3302 #REFACTORING by exept
Claus Gittinger <cg@exept.de>
parents: 19067
diff changeset
   895
            logHistory:logHistoryArg;
da8efbeb3302 #REFACTORING by exept
Claus Gittinger <cg@exept.de>
parents: 19067
diff changeset
   896
            checkinReason:defaultReason.
da8efbeb3302 #REFACTORING by exept
Claus Gittinger <cg@exept.de>
parents: 19067
diff changeset
   897
da8efbeb3302 #REFACTORING by exept
Claus Gittinger <cg@exept.de>
parents: 19067
diff changeset
   898
        self warningMessageHolder value:warnMessage.
da8efbeb3302 #REFACTORING by exept
Claus Gittinger <cg@exept.de>
parents: 19067
diff changeset
   899
        isClassCheckin ifFalse:[
da8efbeb3302 #REFACTORING by exept
Claus Gittinger <cg@exept.de>
parents: 19067
diff changeset
   900
            self quickCheckInVisibleHolder value:false.
da8efbeb3302 #REFACTORING by exept
Claus Gittinger <cg@exept.de>
parents: 19067
diff changeset
   901
            self quickCheckInEnabledHolder value:false.
da8efbeb3302 #REFACTORING by exept
Claus Gittinger <cg@exept.de>
parents: 19067
diff changeset
   902
            self validateConsistencyVisibleHolder value:false.
da8efbeb3302 #REFACTORING by exept
Claus Gittinger <cg@exept.de>
parents: 19067
diff changeset
   903
            self validateConsistencyEnabledHolder value:false.
da8efbeb3302 #REFACTORING by exept
Claus Gittinger <cg@exept.de>
parents: 19067
diff changeset
   904
        ].
da8efbeb3302 #REFACTORING by exept
Claus Gittinger <cg@exept.de>
parents: 19067
diff changeset
   905
da8efbeb3302 #REFACTORING by exept
Claus Gittinger <cg@exept.de>
parents: 19067
diff changeset
   906
        self open.
da8efbeb3302 #REFACTORING by exept
Claus Gittinger <cg@exept.de>
parents: 19067
diff changeset
   907
        self accepted ifFalse:[ ^ nil ].
da8efbeb3302 #REFACTORING by exept
Claus Gittinger <cg@exept.de>
parents: 19067
diff changeset
   908
    ] doUntil:[
da8efbeb3302 #REFACTORING by exept
Claus Gittinger <cg@exept.de>
parents: 19067
diff changeset
   909
        |stopAsking|
da8efbeb3302 #REFACTORING by exept
Claus Gittinger <cg@exept.de>
parents: 19067
diff changeset
   910
da8efbeb3302 #REFACTORING by exept
Claus Gittinger <cg@exept.de>
parents: 19067
diff changeset
   911
        stopAsking := self allowEmptyLogMessage 
da8efbeb3302 #REFACTORING by exept
Claus Gittinger <cg@exept.de>
parents: 19067
diff changeset
   912
                      or:[ (self logMessage) withoutSeparators notEmptyOrNil ].
da8efbeb3302 #REFACTORING by exept
Claus Gittinger <cg@exept.de>
parents: 19067
diff changeset
   913
        stopAsking ifFalse:[
da8efbeb3302 #REFACTORING by exept
Claus Gittinger <cg@exept.de>
parents: 19067
diff changeset
   914
            warnMessage := (resources string:'Please enter a description of your changes!!') allRed.
da8efbeb3302 #REFACTORING by exept
Claus Gittinger <cg@exept.de>
parents: 19067
diff changeset
   915
        ].
da8efbeb3302 #REFACTORING by exept
Claus Gittinger <cg@exept.de>
parents: 19067
diff changeset
   916
        stopAsking
da8efbeb3302 #REFACTORING by exept
Claus Gittinger <cg@exept.de>
parents: 19067
diff changeset
   917
    ].
da8efbeb3302 #REFACTORING by exept
Claus Gittinger <cg@exept.de>
parents: 19067
diff changeset
   918
    LastReason := self checkinReason.
19375
cc84d2db5f7c #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 19348
diff changeset
   919
    rememberTagAsDefaultHolder value ifTrue:[
cc84d2db5f7c #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 19348
diff changeset
   920
        DefaultTag := tagHolder value.
cc84d2db5f7c #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 19348
diff changeset
   921
    ] ifFalse:[
cc84d2db5f7c #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 19348
diff changeset
   922
        DefaultTag := nil
cc84d2db5f7c #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 19348
diff changeset
   923
    ].
19118
da8efbeb3302 #REFACTORING by exept
Claus Gittinger <cg@exept.de>
parents: 19067
diff changeset
   924
    ^ self    
da8efbeb3302 #REFACTORING by exept
Claus Gittinger <cg@exept.de>
parents: 19067
diff changeset
   925
da8efbeb3302 #REFACTORING by exept
Claus Gittinger <cg@exept.de>
parents: 19067
diff changeset
   926
    "
da8efbeb3302 #REFACTORING by exept
Claus Gittinger <cg@exept.de>
parents: 19067
diff changeset
   927
     self getCheckinInfoFor:'hello' initialAnswer:'bla'
da8efbeb3302 #REFACTORING by exept
Claus Gittinger <cg@exept.de>
parents: 19067
diff changeset
   928
    "
da8efbeb3302 #REFACTORING by exept
Claus Gittinger <cg@exept.de>
parents: 19067
diff changeset
   929
da8efbeb3302 #REFACTORING by exept
Claus Gittinger <cg@exept.de>
parents: 19067
diff changeset
   930
    "Created: / 12-03-2012 / 12:36:26 / cg"
da8efbeb3302 #REFACTORING by exept
Claus Gittinger <cg@exept.de>
parents: 19067
diff changeset
   931
    "Modified: / 05-12-2017 / 23:07:06 / cg"
da8efbeb3302 #REFACTORING by exept
Claus Gittinger <cg@exept.de>
parents: 19067
diff changeset
   932
!
da8efbeb3302 #REFACTORING by exept
Claus Gittinger <cg@exept.de>
parents: 19067
diff changeset
   933
da8efbeb3302 #REFACTORING by exept
Claus Gittinger <cg@exept.de>
parents: 19067
diff changeset
   934
getCheckinInfoFor:infoString initialAnswer:initialAnswer 
18131
9e7156478039 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 18130
diff changeset
   935
                withQuickOption:withQuickOption 
9e7156478039 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 18130
diff changeset
   936
                logHistory:logHistoryArg 
9e7156478039 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 18130
diff changeset
   937
                withValidateConsistencyOption:withValidateConsistencyOption
9e7156478039 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 18130
diff changeset
   938
    ^ self
9e7156478039 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 18130
diff changeset
   939
        getCheckinInfoFor:infoString 
9e7156478039 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 18130
diff changeset
   940
        initialAnswer:initialAnswer 
19118
da8efbeb3302 #REFACTORING by exept
Claus Gittinger <cg@exept.de>
parents: 19067
diff changeset
   941
        withQuickOption:withQuickOption
da8efbeb3302 #REFACTORING by exept
Claus Gittinger <cg@exept.de>
parents: 19067
diff changeset
   942
        isClassCheckin:false
18131
9e7156478039 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 18130
diff changeset
   943
        logHistory:logHistoryArg 
9e7156478039 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 18130
diff changeset
   944
        withValidateConsistencyOption:withValidateConsistencyOption
9e7156478039 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 18130
diff changeset
   945
        initialReason:(LastReason ? self class reasonBugfix)
9e7156478039 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 18130
diff changeset
   946
!
9e7156478039 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 18130
diff changeset
   947
9e7156478039 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 18130
diff changeset
   948
getCheckinInfoFor:infoString initialAnswer:initialAnswer 
9e7156478039 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 18130
diff changeset
   949
            withQuickOption:withQuickOption 
9e7156478039 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 18130
diff changeset
   950
            logHistory:logHistoryArg 
9e7156478039 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 18130
diff changeset
   951
            withValidateConsistencyOption:withValidateConsistencyOption
9e7156478039 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 18130
diff changeset
   952
            initialReason:defaultReason
9e7156478039 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 18130
diff changeset
   953
19067
993ed008232c #OTHER by exept
Claus Gittinger <cg@exept.de>
parents: 19018
diff changeset
   954
    "ask the user for a log-message to be attached to a commit.
993ed008232c #OTHER by exept
Claus Gittinger <cg@exept.de>
parents: 19018
diff changeset
   955
     Do not allow an empty input (i.e. ask again, until either canceled or a string was given)"
993ed008232c #OTHER by exept
Claus Gittinger <cg@exept.de>
parents: 19018
diff changeset
   956
19375
cc84d2db5f7c #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 19348
diff changeset
   957
    ^ self 
cc84d2db5f7c #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 19348
diff changeset
   958
        getCheckinInfoFor:infoString initialAnswer:initialAnswer 
cc84d2db5f7c #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 19348
diff changeset
   959
        withQuickOption:withQuickOption isClassCheckin:true 
cc84d2db5f7c #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 19348
diff changeset
   960
        logHistory:logHistoryArg 
cc84d2db5f7c #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 19348
diff changeset
   961
        withValidateConsistencyOption:withValidateConsistencyOption
cc84d2db5f7c #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 19348
diff changeset
   962
        initialReason:defaultReason
18131
9e7156478039 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 18130
diff changeset
   963
! !
9e7156478039 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 18130
diff changeset
   964
6799
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   965
!CheckinInfoDialog class methodsFor:'documentation'!
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   966
11413
d78e22496f0a previous log messages
Claus Gittinger <cg@exept.de>
parents: 11412
diff changeset
   967
version
15829
ba4d543aff02 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 14685
diff changeset
   968
    ^ '$Header$'
11413
d78e22496f0a previous log messages
Claus Gittinger <cg@exept.de>
parents: 11412
diff changeset
   969
!
d78e22496f0a previous log messages
Claus Gittinger <cg@exept.de>
parents: 11412
diff changeset
   970
9161
e4761f8c188d botton order - ok at right in spec,
Claus Gittinger <cg@exept.de>
parents: 8766
diff changeset
   971
version_CVS
15829
ba4d543aff02 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 14685
diff changeset
   972
    ^ '$Header$'
6799
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   973
! !
12537
2ddd00171375 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 11413
diff changeset
   974