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