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