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