Tools__CheckinInfoDialog.st
author Claus Gittinger <cg@exept.de>
Thu, 06 Jun 2013 12:56:17 +0200
changeset 12860 0f3e9cd38b91
parent 12560 27c2f7b1baa4
child 13170 c9b815af5777
child 13299 f7c2eb0610c5
permissions -rw-r--r--
class: Tools::CheckinInfoDialog changed: #tagHolder
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
6799
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
     1
"
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
     2
 COPYRIGHT (c) 2005 eXept Software AG
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
     3
              All Rights Reserved
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
     4
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
     5
 This software is furnished under a license and may be used
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
     6
 only in accordance with the terms of that license and with the
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
     7
 inclusion of the above copyright notice.   This software may not
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
     8
 be provided or otherwise made available to, or used by, any
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
     9
 other person.  No title to or ownership of the software is
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    10
 hereby transferred.
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    11
"
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    12
"{ Package: 'stx:libtool' }"
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    13
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    14
"{ NameSpace: Tools }"
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    15
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    16
SimpleDialog subclass:#CheckinInfoDialog
6979
048fb7930a28 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6799
diff changeset
    17
	instanceVariableNames:'descriptionHolder logMessageHolder isStableHolder tagHolder
9508
6ecac35f25b6 enforce a non-empty logmessage;
Claus Gittinger <cg@exept.de>
parents: 9161
diff changeset
    18
		quickCheckInHolder quickCheckInVisibleHolder allowEmptyLogMessage
12537
2ddd00171375 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 11413
diff changeset
    19
		warningMessageHolder logHistory logHistoryHeadLineSelectionHolder
2ddd00171375 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 11413
diff changeset
    20
		validateConsistencyHolder validateConsistencyVisibleHolder'
11412
66ebae1951eb previous log messages
Claus Gittinger <cg@exept.de>
parents: 9950
diff changeset
    21
	classVariableNames:''
6799
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    22
	poolDictionaries:''
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    23
	category:'System-SourceCodeManagement'
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    24
!
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    25
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    26
!CheckinInfoDialog class methodsFor:'documentation'!
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    27
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    28
copyright
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    29
"
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    30
 COPYRIGHT (c) 2005 eXept Software AG
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    31
              All Rights Reserved
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    32
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    33
 This software is furnished under a license and may be used
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    34
 only in accordance with the terms of that license and with the
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    35
 inclusion of the above copyright notice.   This software may not
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    36
 be provided or otherwise made available to, or used by, any
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    37
 other person.  No title to or ownership of the software is
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    38
 hereby transferred.
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    39
"
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    40
!
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    41
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    42
documentation
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    43
"
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    44
    checkin-dialog.
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    45
    used to be private in SourceCodeManagerUtilites.
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    46
    moved to libtool because libbasic3 should not contain code inheriting from GUI classes.
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    47
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    48
    [author:]
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    49
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    50
    [see also:]
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    51
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    52
    [instance variables:]
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    53
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    54
    [class variables:]
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    55
"
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    56
! !
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    57
12537
2ddd00171375 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 11413
diff changeset
    58
!CheckinInfoDialog class methodsFor:'help specs'!
2ddd00171375 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 11413
diff changeset
    59
2ddd00171375 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 11413
diff changeset
    60
flyByHelpSpec
2ddd00171375 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 11413
diff changeset
    61
    "This resource specification was automatically generated
2ddd00171375 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 11413
diff changeset
    62
     by the UIHelpTool of ST/X."
2ddd00171375 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 11413
diff changeset
    63
2ddd00171375 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 11413
diff changeset
    64
    "Do not manually edit this!! If it is corrupted,
2ddd00171375 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 11413
diff changeset
    65
     the UIHelpTool may not be able to read the specification."
2ddd00171375 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 11413
diff changeset
    66
2ddd00171375 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 11413
diff changeset
    67
    "
2ddd00171375 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 11413
diff changeset
    68
     UIHelpTool openOnClass:Tools::CheckinInfoDialog    
2ddd00171375 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 11413
diff changeset
    69
    "
2ddd00171375 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 11413
diff changeset
    70
2ddd00171375 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 11413
diff changeset
    71
    <resource: #help>
2ddd00171375 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 11413
diff changeset
    72
2ddd00171375 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 11413
diff changeset
    73
    ^ super flyByHelpSpec addPairsFrom:#(
2ddd00171375 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 11413
diff changeset
    74
2ddd00171375 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 11413
diff changeset
    75
#logMessage
2ddd00171375 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 11413
diff changeset
    76
'This message is added as a check-in log message. 
2ddd00171375 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 11413
diff changeset
    77
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
    78
2ddd00171375 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 11413
diff changeset
    79
#markAsStable
2ddd00171375 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 11413
diff changeset
    80
'Mark this as a stable version (i.e. give it a stable tag)'
2ddd00171375 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 11413
diff changeset
    81
2ddd00171375 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 11413
diff changeset
    82
#quickCheckin
2ddd00171375 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 11413
diff changeset
    83
'Only checkin classes which have been vreated or changed during this session'
2ddd00171375 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 11413
diff changeset
    84
2ddd00171375 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 11413
diff changeset
    85
#tag
2ddd00171375 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 11413
diff changeset
    86
'Mark this version with a tag'
2ddd00171375 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 11413
diff changeset
    87
2ddd00171375 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 11413
diff changeset
    88
#validateConsistency
2ddd00171375 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 11413
diff changeset
    89
'Perform some consistency checks before checking in. 
2ddd00171375 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 11413
diff changeset
    90
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
    91
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
6799
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    95
!CheckinInfoDialog class methodsFor:'interface specs'!
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    96
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    97
windowSpec
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    98
    "This resource specification was automatically generated
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    99
     by the UIPainter of ST/X."
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   100
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   101
    "Do not manually edit this!! If it is corrupted,
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   102
     the UIPainter may not be able to read the specification."
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   103
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   104
    "
6979
048fb7930a28 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6799
diff changeset
   105
     UIPainter new openOnClass:Tools::CheckinInfoDialog andSelector:#windowSpec
048fb7930a28 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6799
diff changeset
   106
     Tools::CheckinInfoDialog new openInterface:#windowSpec
048fb7930a28 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6799
diff changeset
   107
     Tools::CheckinInfoDialog open
6799
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   108
    "
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   109
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   110
    <resource: #canvas>
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   111
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   112
    ^ 
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   113
     #(FullSpec
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   114
        name: windowSpec
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   115
        window: 
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   116
       (WindowSpec
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   117
          label: 'Enter Log Message'
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   118
          name: 'Enter Log Message'
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   119
          min: (Point 10 10)
6979
048fb7930a28 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6799
diff changeset
   120
          bounds: (Rectangle 0 0 563 327)
6799
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   121
        )
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   122
        component: 
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   123
       (SpecCollection
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   124
          collection: (
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   125
           (HorizontalPanelViewSpec
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   126
              name: 'HorizontalPanel2'
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   127
              layout: (LayoutFrame 0 0.0 0 0 0 1.0 32 0)
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   128
              horizontalLayout: left
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   129
              verticalLayout: center
6979
048fb7930a28 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6799
diff changeset
   130
              horizontalSpace: 0
6799
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   131
              verticalSpace: 3
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   132
              component: 
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   133
             (SpecCollection
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   134
                collection: (
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   135
                 (LabelSpec
7179
8229aa65d96b *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7110
diff changeset
   136
                    label: 'Enter checkIn log-message for:'
6799
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   137
                    name: 'Label1'
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   138
                    translateLabel: true
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   139
                    resizeForLabel: true
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   140
                    useDefaultExtent: true
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   141
                  )
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   142
                 (LabelSpec
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   143
                    name: 'Label2'
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   144
                    translateLabel: true
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   145
                    labelChannel: descriptionHolder
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   146
                    useDefaultExtent: true
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   147
                  )
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   148
                 )
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   149
               
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   150
              )
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   151
            )
12537
2ddd00171375 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 11413
diff changeset
   152
           (LabelSpec
2ddd00171375 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 11413
diff changeset
   153
              label: 'Previous Log Messages:'
2ddd00171375 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 11413
diff changeset
   154
              name: 'Label5'
2ddd00171375 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 11413
diff changeset
   155
              layout: (LayoutFrame 0 0 37 0 180 0 59 0)
2ddd00171375 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 11413
diff changeset
   156
              translateLabel: true
2ddd00171375 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 11413
diff changeset
   157
              adjust: right
2ddd00171375 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 11413
diff changeset
   158
            )
2ddd00171375 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 11413
diff changeset
   159
           (ComboListSpec
2ddd00171375 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 11413
diff changeset
   160
              name: 'ComboList1'
2ddd00171375 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 11413
diff changeset
   161
              layout: (LayoutFrame 180 0.0 38 0 0 1.0 58 0)
2ddd00171375 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 11413
diff changeset
   162
              model: logHistoryHeadLineSelectionHolder
2ddd00171375 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 11413
diff changeset
   163
              comboList: logHistoryHeadLines
2ddd00171375 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 11413
diff changeset
   164
              useIndex: true
2ddd00171375 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 11413
diff changeset
   165
            )
6799
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   166
           (TextEditorSpec
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   167
              name: 'TextEditor1'
12537
2ddd00171375 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 11413
diff changeset
   168
              layout: (LayoutFrame 2 0.0 68 0 -2 1 -152 1)
2ddd00171375 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 11413
diff changeset
   169
              activeHelpKey: logMessage
6799
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   170
              model: logMessageHolder
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   171
              hasHorizontalScrollBar: true
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   172
              hasVerticalScrollBar: true
9161
e4761f8c188d botton order - ok at right in spec,
Claus Gittinger <cg@exept.de>
parents: 8766
diff changeset
   173
              hasKeyboardFocusInitially: false
6799
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   174
            )
9510
2f5d8b51fc42 changed: #windowSpec
Claus Gittinger <cg@exept.de>
parents: 9508
diff changeset
   175
           (LabelSpec
2f5d8b51fc42 changed: #windowSpec
Claus Gittinger <cg@exept.de>
parents: 9508
diff changeset
   176
              name: 'Label4'
12537
2ddd00171375 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 11413
diff changeset
   177
              layout: (LayoutFrame 0 0.0 -147 1 0 1.0 -125 1)
9510
2f5d8b51fc42 changed: #windowSpec
Claus Gittinger <cg@exept.de>
parents: 9508
diff changeset
   178
              translateLabel: true
2f5d8b51fc42 changed: #windowSpec
Claus Gittinger <cg@exept.de>
parents: 9508
diff changeset
   179
              labelChannel: warningMessageHolder
2f5d8b51fc42 changed: #windowSpec
Claus Gittinger <cg@exept.de>
parents: 9508
diff changeset
   180
            )
6799
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   181
           (CheckBoxSpec
12537
2ddd00171375 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 11413
diff changeset
   182
              label: 'Validate Package Consistency'
2ddd00171375 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 11413
diff changeset
   183
              name: 'CheckBox1'
2ddd00171375 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 11413
diff changeset
   184
              layout: (LayoutFrame 3 0 -122 1 -3 1 -100 1)
2ddd00171375 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 11413
diff changeset
   185
              activeHelpKey: validateConsistency
2ddd00171375 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 11413
diff changeset
   186
              visibilityChannel: validateConsistencyVisibleHolder
2ddd00171375 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 11413
diff changeset
   187
              model: validateConsistencyHolder
2ddd00171375 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 11413
diff changeset
   188
              translateLabel: true
2ddd00171375 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 11413
diff changeset
   189
            )
2ddd00171375 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 11413
diff changeset
   190
           (CheckBoxSpec
6979
048fb7930a28 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6799
diff changeset
   191
              label: 'Quick Checkin (Only Classes in ChangeSet)'
048fb7930a28 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6799
diff changeset
   192
              name: 'CheckInChangedOnlyCheckbox'
7110
86a7ea1388a1 no tagIt checkBox - non-empty tag value means: tagIt
Claus Gittinger <cg@exept.de>
parents: 7097
diff changeset
   193
              layout: (LayoutFrame 3 0 -95 1 -3 1 -73 1)
12537
2ddd00171375 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 11413
diff changeset
   194
              activeHelpKey: quickCheckin
6979
048fb7930a28 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6799
diff changeset
   195
              visibilityChannel: quickCheckInVisibleHolder
048fb7930a28 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6799
diff changeset
   196
              model: quickCheckInHolder
048fb7930a28 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6799
diff changeset
   197
              translateLabel: true
048fb7930a28 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6799
diff changeset
   198
            )
048fb7930a28 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6799
diff changeset
   199
           (CheckBoxSpec
048fb7930a28 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6799
diff changeset
   200
              label: 'Mark as Stable'
048fb7930a28 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6799
diff changeset
   201
              name: 'MarkStableCheckBox'
7110
86a7ea1388a1 no tagIt checkBox - non-empty tag value means: tagIt
Claus Gittinger <cg@exept.de>
parents: 7097
diff changeset
   202
              layout: (LayoutFrame 3 0 -68 1 -3 1 -46 1)
12537
2ddd00171375 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 11413
diff changeset
   203
              activeHelpKey: markAsStable
6799
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   204
              model: isStableHolder
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   205
              translateLabel: true
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   206
            )
9508
6ecac35f25b6 enforce a non-empty logmessage;
Claus Gittinger <cg@exept.de>
parents: 9161
diff changeset
   207
           (LabelSpec
6ecac35f25b6 enforce a non-empty logmessage;
Claus Gittinger <cg@exept.de>
parents: 9161
diff changeset
   208
              label: 'Tag:'
6ecac35f25b6 enforce a non-empty logmessage;
Claus Gittinger <cg@exept.de>
parents: 9161
diff changeset
   209
              name: 'Label3'
6ecac35f25b6 enforce a non-empty logmessage;
Claus Gittinger <cg@exept.de>
parents: 9161
diff changeset
   210
              layout: (LayoutFrame -40 0.5 -67 1 0 0.5 -45 1)
12537
2ddd00171375 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 11413
diff changeset
   211
              activeHelpKey: tag
9508
6ecac35f25b6 enforce a non-empty logmessage;
Claus Gittinger <cg@exept.de>
parents: 9161
diff changeset
   212
              translateLabel: true
6ecac35f25b6 enforce a non-empty logmessage;
Claus Gittinger <cg@exept.de>
parents: 9161
diff changeset
   213
              adjust: right
6ecac35f25b6 enforce a non-empty logmessage;
Claus Gittinger <cg@exept.de>
parents: 9161
diff changeset
   214
            )
6979
048fb7930a28 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6799
diff changeset
   215
           (InputFieldSpec
048fb7930a28 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6799
diff changeset
   216
              name: 'TagEntryField'
7110
86a7ea1388a1 no tagIt checkBox - non-empty tag value means: tagIt
Claus Gittinger <cg@exept.de>
parents: 7097
diff changeset
   217
              layout: (LayoutFrame 0 0.5 -68 1 -3 1 -46 1)
6979
048fb7930a28 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6799
diff changeset
   218
              enableChannel: tagItInHolder
048fb7930a28 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6799
diff changeset
   219
              model: tagHolder
048fb7930a28 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6799
diff changeset
   220
              acceptOnReturn: true
048fb7930a28 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6799
diff changeset
   221
              acceptOnTab: true
048fb7930a28 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6799
diff changeset
   222
              acceptOnLostFocus: true
048fb7930a28 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6799
diff changeset
   223
              acceptOnPointerLeave: false
048fb7930a28 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6799
diff changeset
   224
            )
6799
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   225
           (HorizontalPanelViewSpec
9161
e4761f8c188d botton order - ok at right in spec,
Claus Gittinger <cg@exept.de>
parents: 8766
diff changeset
   226
              name: 'ButtonPanel1'
6979
048fb7930a28 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6799
diff changeset
   227
              layout: (LayoutFrame 0 0.0 -40 1 0 1.0 0 1.0)
6799
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   228
              horizontalLayout: fitSpace
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   229
              verticalLayout: center
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   230
              horizontalSpace: 3
6979
048fb7930a28 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6799
diff changeset
   231
              verticalSpace: 2
9161
e4761f8c188d botton order - ok at right in spec,
Claus Gittinger <cg@exept.de>
parents: 8766
diff changeset
   232
              reverseOrderIfOKAtLeft: true
6799
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   233
              component: 
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   234
             (SpecCollection
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   235
                collection: (
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   236
                 (ActionButtonSpec
9161
e4761f8c188d botton order - ok at right in spec,
Claus Gittinger <cg@exept.de>
parents: 8766
diff changeset
   237
                    label: 'Cancel'
e4761f8c188d botton order - ok at right in spec,
Claus Gittinger <cg@exept.de>
parents: 8766
diff changeset
   238
                    name: 'Button2'
e4761f8c188d botton order - ok at right in spec,
Claus Gittinger <cg@exept.de>
parents: 8766
diff changeset
   239
                    translateLabel: true
e4761f8c188d botton order - ok at right in spec,
Claus Gittinger <cg@exept.de>
parents: 8766
diff changeset
   240
                    model: doCancel
e4761f8c188d botton order - ok at right in spec,
Claus Gittinger <cg@exept.de>
parents: 8766
diff changeset
   241
                    extent: (Point 277 22)
e4761f8c188d botton order - ok at right in spec,
Claus Gittinger <cg@exept.de>
parents: 8766
diff changeset
   242
                  )
e4761f8c188d botton order - ok at right in spec,
Claus Gittinger <cg@exept.de>
parents: 8766
diff changeset
   243
                 (ActionButtonSpec
6799
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   244
                    label: 'OK'
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   245
                    name: 'Button1'
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   246
                    translateLabel: true
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   247
                    model: doAccept
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   248
                    extent: (Point 277 22)
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   249
                  )
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   250
                 )
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   251
               
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   252
              )
12560
27c2f7b1baa4 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 12537
diff changeset
   253
              keepSpaceForOSXResizeHandleH: true
6799
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   254
            )
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   255
           )
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   256
         
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   257
        )
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   258
      )
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   259
! !
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   260
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   261
!CheckinInfoDialog class methodsFor:'opening'!
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   262
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   263
getCheckinInfoFor:aString initialAnswer:initialAnswer
11412
66ebae1951eb previous log messages
Claus Gittinger <cg@exept.de>
parents: 9950
diff changeset
   264
    ^ self 
66ebae1951eb previous log messages
Claus Gittinger <cg@exept.de>
parents: 9950
diff changeset
   265
        getCheckinInfoFor:aString 
66ebae1951eb previous log messages
Claus Gittinger <cg@exept.de>
parents: 9950
diff changeset
   266
        initialAnswer:initialAnswer 
66ebae1951eb previous log messages
Claus Gittinger <cg@exept.de>
parents: 9950
diff changeset
   267
        withQuickOption:false
6979
048fb7930a28 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6799
diff changeset
   268
048fb7930a28 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6799
diff changeset
   269
    "
048fb7930a28 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6799
diff changeset
   270
      self getCheckinInfoFor:'hello' initialAnswer:'bla'
048fb7930a28 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6799
diff changeset
   271
    "
11412
66ebae1951eb previous log messages
Claus Gittinger <cg@exept.de>
parents: 9950
diff changeset
   272
66ebae1951eb previous log messages
Claus Gittinger <cg@exept.de>
parents: 9950
diff changeset
   273
    "Modified (format): / 12-03-2012 / 12:38:48 / cg"
6979
048fb7930a28 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6799
diff changeset
   274
!
048fb7930a28 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6799
diff changeset
   275
8766
f9af1c29b401 comment/format in: #getCheckinInfoFor:initialAnswer:withQuickOption:
Claus Gittinger <cg@exept.de>
parents: 7592
diff changeset
   276
getCheckinInfoFor:aClassNameOrPackageNameString initialAnswer:initialAnswer withQuickOption:withQuickOption
11412
66ebae1951eb previous log messages
Claus Gittinger <cg@exept.de>
parents: 9950
diff changeset
   277
    ^ self
66ebae1951eb previous log messages
Claus Gittinger <cg@exept.de>
parents: 9950
diff changeset
   278
        getCheckinInfoFor:aClassNameOrPackageNameString 
66ebae1951eb previous log messages
Claus Gittinger <cg@exept.de>
parents: 9950
diff changeset
   279
        initialAnswer:initialAnswer 
66ebae1951eb previous log messages
Claus Gittinger <cg@exept.de>
parents: 9950
diff changeset
   280
        withQuickOption:withQuickOption
66ebae1951eb previous log messages
Claus Gittinger <cg@exept.de>
parents: 9950
diff changeset
   281
        logHistory:#()
66ebae1951eb previous log messages
Claus Gittinger <cg@exept.de>
parents: 9950
diff changeset
   282
66ebae1951eb previous log messages
Claus Gittinger <cg@exept.de>
parents: 9950
diff changeset
   283
    "
66ebae1951eb previous log messages
Claus Gittinger <cg@exept.de>
parents: 9950
diff changeset
   284
     self getCheckinInfoFor:'hello' initialAnswer:'bla'
66ebae1951eb previous log messages
Claus Gittinger <cg@exept.de>
parents: 9950
diff changeset
   285
    "
66ebae1951eb previous log messages
Claus Gittinger <cg@exept.de>
parents: 9950
diff changeset
   286
66ebae1951eb previous log messages
Claus Gittinger <cg@exept.de>
parents: 9950
diff changeset
   287
    "Modified: / 12-03-2012 / 12:39:00 / cg"
66ebae1951eb previous log messages
Claus Gittinger <cg@exept.de>
parents: 9950
diff changeset
   288
!
66ebae1951eb previous log messages
Claus Gittinger <cg@exept.de>
parents: 9950
diff changeset
   289
11413
d78e22496f0a previous log messages
Claus Gittinger <cg@exept.de>
parents: 11412
diff changeset
   290
getCheckinInfoFor:aClassNameOrPackageNameString initialAnswer:initialAnswer withQuickOption:withQuickOption logHistory:logHistoryArg
12537
2ddd00171375 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 11413
diff changeset
   291
    ^  self     
2ddd00171375 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 11413
diff changeset
   292
        getCheckinInfoFor:aClassNameOrPackageNameString 
2ddd00171375 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 11413
diff changeset
   293
        initialAnswer:initialAnswer 
2ddd00171375 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 11413
diff changeset
   294
        withQuickOption:withQuickOption 
2ddd00171375 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 11413
diff changeset
   295
        logHistory:logHistoryArg 
2ddd00171375 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 11413
diff changeset
   296
        withValidateConsistencyOption:false
2ddd00171375 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 11413
diff changeset
   297
2ddd00171375 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 11413
diff changeset
   298
    "
2ddd00171375 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 11413
diff changeset
   299
     self getCheckinInfoFor:'hello' initialAnswer:'bla'
2ddd00171375 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 11413
diff changeset
   300
     self getCheckinInfoFor:'hello' initialAnswer:'bla' withQuickOption:true
2ddd00171375 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 11413
diff changeset
   301
     self getCheckinInfoFor:'hello' initialAnswer:'bla' withQuickOption:true logHistory:nil withConsistencyCheckOption:true
2ddd00171375 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 11413
diff changeset
   302
    "
2ddd00171375 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 11413
diff changeset
   303
2ddd00171375 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 11413
diff changeset
   304
    "Created: / 12-03-2012 / 12:36:26 / cg"
2ddd00171375 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 11413
diff changeset
   305
!
2ddd00171375 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 11413
diff changeset
   306
2ddd00171375 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 11413
diff changeset
   307
getCheckinInfoFor:aClassNameOrPackageNameString initialAnswer:initialAnswer withQuickOption:withQuickOption logHistory:logHistoryArg withValidateConsistencyOption:withValidateConsistencyOption
9508
6ecac35f25b6 enforce a non-empty logmessage;
Claus Gittinger <cg@exept.de>
parents: 9161
diff changeset
   308
    |dialog warnMessage|
6ecac35f25b6 enforce a non-empty logmessage;
Claus Gittinger <cg@exept.de>
parents: 9161
diff changeset
   309
6ecac35f25b6 enforce a non-empty logmessage;
Claus Gittinger <cg@exept.de>
parents: 9161
diff changeset
   310
    warnMessage := nil.
6ecac35f25b6 enforce a non-empty logmessage;
Claus Gittinger <cg@exept.de>
parents: 9161
diff changeset
   311
6ecac35f25b6 enforce a non-empty logmessage;
Claus Gittinger <cg@exept.de>
parents: 9161
diff changeset
   312
    [
6ecac35f25b6 enforce a non-empty logmessage;
Claus Gittinger <cg@exept.de>
parents: 9161
diff changeset
   313
        dialog := self new.
6ecac35f25b6 enforce a non-empty logmessage;
Claus Gittinger <cg@exept.de>
parents: 9161
diff changeset
   314
        dialog 
6ecac35f25b6 enforce a non-empty logmessage;
Claus Gittinger <cg@exept.de>
parents: 9161
diff changeset
   315
            description:aClassNameOrPackageNameString; 
6ecac35f25b6 enforce a non-empty logmessage;
Claus Gittinger <cg@exept.de>
parents: 9161
diff changeset
   316
            logMessage:initialAnswer;
11413
d78e22496f0a previous log messages
Claus Gittinger <cg@exept.de>
parents: 11412
diff changeset
   317
            withQuickOption:withQuickOption;
12537
2ddd00171375 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 11413
diff changeset
   318
            withValidateConsistencyOption:withValidateConsistencyOption;
11413
d78e22496f0a previous log messages
Claus Gittinger <cg@exept.de>
parents: 11412
diff changeset
   319
            logHistory:logHistoryArg.
6799
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   320
9508
6ecac35f25b6 enforce a non-empty logmessage;
Claus Gittinger <cg@exept.de>
parents: 9161
diff changeset
   321
        dialog warningMessageHolder value:warnMessage.
6ecac35f25b6 enforce a non-empty logmessage;
Claus Gittinger <cg@exept.de>
parents: 9161
diff changeset
   322
        dialog open.
6ecac35f25b6 enforce a non-empty logmessage;
Claus Gittinger <cg@exept.de>
parents: 9161
diff changeset
   323
        dialog accepted ifFalse:[ ^ nil ].
6ecac35f25b6 enforce a non-empty logmessage;
Claus Gittinger <cg@exept.de>
parents: 9161
diff changeset
   324
    ] doUntil:[
6ecac35f25b6 enforce a non-empty logmessage;
Claus Gittinger <cg@exept.de>
parents: 9161
diff changeset
   325
        |stopAsking|
6799
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   326
9508
6ecac35f25b6 enforce a non-empty logmessage;
Claus Gittinger <cg@exept.de>
parents: 9161
diff changeset
   327
        stopAsking := dialog allowEmptyLogMessage 
6ecac35f25b6 enforce a non-empty logmessage;
Claus Gittinger <cg@exept.de>
parents: 9161
diff changeset
   328
                      or:[ dialog logMessage withoutSeparators notEmptyOrNil ].
6ecac35f25b6 enforce a non-empty logmessage;
Claus Gittinger <cg@exept.de>
parents: 9161
diff changeset
   329
        stopAsking ifFalse:[
6ecac35f25b6 enforce a non-empty logmessage;
Claus Gittinger <cg@exept.de>
parents: 9161
diff changeset
   330
            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
   331
                                asText 
6ecac35f25b6 enforce a non-empty logmessage;
Claus Gittinger <cg@exept.de>
parents: 9161
diff changeset
   332
                                    colorizeAllWith:Color red.
6ecac35f25b6 enforce a non-empty logmessage;
Claus Gittinger <cg@exept.de>
parents: 9161
diff changeset
   333
        ].
6ecac35f25b6 enforce a non-empty logmessage;
Claus Gittinger <cg@exept.de>
parents: 9161
diff changeset
   334
        stopAsking
6799
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   335
    ].
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   336
    ^ dialog    
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   337
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   338
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   339
    "
7110
86a7ea1388a1 no tagIt checkBox - non-empty tag value means: tagIt
Claus Gittinger <cg@exept.de>
parents: 7097
diff changeset
   340
     self getCheckinInfoFor:'hello' initialAnswer:'bla'
6799
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   341
    "
7110
86a7ea1388a1 no tagIt checkBox - non-empty tag value means: tagIt
Claus Gittinger <cg@exept.de>
parents: 7097
diff changeset
   342
11412
66ebae1951eb previous log messages
Claus Gittinger <cg@exept.de>
parents: 9950
diff changeset
   343
    "Created: / 12-03-2012 / 12:36:26 / cg"
6799
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   344
! !
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   345
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   346
!CheckinInfoDialog methodsFor:'accessing'!
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   347
9508
6ecac35f25b6 enforce a non-empty logmessage;
Claus Gittinger <cg@exept.de>
parents: 9161
diff changeset
   348
allowEmptyLogMessage
6ecac35f25b6 enforce a non-empty logmessage;
Claus Gittinger <cg@exept.de>
parents: 9161
diff changeset
   349
    ^ allowEmptyLogMessage ? false
6ecac35f25b6 enforce a non-empty logmessage;
Claus Gittinger <cg@exept.de>
parents: 9161
diff changeset
   350
6ecac35f25b6 enforce a non-empty logmessage;
Claus Gittinger <cg@exept.de>
parents: 9161
diff changeset
   351
    "Created: / 06-07-2010 / 11:23:18 / cg"
6ecac35f25b6 enforce a non-empty logmessage;
Claus Gittinger <cg@exept.de>
parents: 9161
diff changeset
   352
!
6ecac35f25b6 enforce a non-empty logmessage;
Claus Gittinger <cg@exept.de>
parents: 9161
diff changeset
   353
6ecac35f25b6 enforce a non-empty logmessage;
Claus Gittinger <cg@exept.de>
parents: 9161
diff changeset
   354
allowEmptyLogMessage:aBoolean 
6ecac35f25b6 enforce a non-empty logmessage;
Claus Gittinger <cg@exept.de>
parents: 9161
diff changeset
   355
    allowEmptyLogMessage := aBoolean
6ecac35f25b6 enforce a non-empty logmessage;
Claus Gittinger <cg@exept.de>
parents: 9161
diff changeset
   356
6ecac35f25b6 enforce a non-empty logmessage;
Claus Gittinger <cg@exept.de>
parents: 9161
diff changeset
   357
    "Created: / 06-07-2010 / 11:23:31 / cg"
6ecac35f25b6 enforce a non-empty logmessage;
Claus Gittinger <cg@exept.de>
parents: 9161
diff changeset
   358
!
6ecac35f25b6 enforce a non-empty logmessage;
Claus Gittinger <cg@exept.de>
parents: 9161
diff changeset
   359
6799
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   360
description
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   361
    ^ self descriptionHolder value
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   362
!
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   363
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   364
description:aString
7179
8229aa65d96b *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7110
diff changeset
   365
    self descriptionHolder value:aString allBold
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
isStable
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   369
    ^ self isStableHolder value
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   370
!
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   371
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   372
isStable:aBoolean
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   373
    self isStableHolder value:aBoolean
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   374
!
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   375
11413
d78e22496f0a previous log messages
Claus Gittinger <cg@exept.de>
parents: 11412
diff changeset
   376
logHistory:something
d78e22496f0a previous log messages
Claus Gittinger <cg@exept.de>
parents: 11412
diff changeset
   377
    logHistory := something.
d78e22496f0a previous log messages
Claus Gittinger <cg@exept.de>
parents: 11412
diff changeset
   378
!
d78e22496f0a previous log messages
Claus Gittinger <cg@exept.de>
parents: 11412
diff changeset
   379
6799
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   380
logMessage
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   381
    ^ self logMessageHolder value
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   382
!
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   383
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   384
logMessage:aString
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   385
    self logMessageHolder value:aString
6979
048fb7930a28 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6799
diff changeset
   386
!
048fb7930a28 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6799
diff changeset
   387
048fb7930a28 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6799
diff changeset
   388
quickCheckIn
048fb7930a28 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6799
diff changeset
   389
    ^ self quickCheckInHolder value
048fb7930a28 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6799
diff changeset
   390
!
048fb7930a28 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6799
diff changeset
   391
048fb7930a28 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6799
diff changeset
   392
quickCheckIn:aBoolean
048fb7930a28 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6799
diff changeset
   393
    self quickCheckInHolder value:aBoolean
048fb7930a28 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6799
diff changeset
   394
!
048fb7930a28 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6799
diff changeset
   395
048fb7930a28 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6799
diff changeset
   396
tag
6990
deb2eb9ba97b *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6979
diff changeset
   397
    ^ self tagHolder value withoutSeparators
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
7110
86a7ea1388a1 no tagIt checkBox - non-empty tag value means: tagIt
Claus Gittinger <cg@exept.de>
parents: 7097
diff changeset
   400
tag:aStringOrNil
86a7ea1388a1 no tagIt checkBox - non-empty tag value means: tagIt
Claus Gittinger <cg@exept.de>
parents: 7097
diff changeset
   401
    self tagHolder value:aStringOrNil
86a7ea1388a1 no tagIt checkBox - non-empty tag value means: tagIt
Claus Gittinger <cg@exept.de>
parents: 7097
diff changeset
   402
86a7ea1388a1 no tagIt checkBox - non-empty tag value means: tagIt
Claus Gittinger <cg@exept.de>
parents: 7097
diff changeset
   403
    "Modified: / 12-09-2006 / 12:03:50 / cg"
6979
048fb7930a28 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6799
diff changeset
   404
!
048fb7930a28 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6799
diff changeset
   405
048fb7930a28 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6799
diff changeset
   406
tagIt
7110
86a7ea1388a1 no tagIt checkBox - non-empty tag value means: tagIt
Claus Gittinger <cg@exept.de>
parents: 7097
diff changeset
   407
    ^ self tag notEmptyOrNil
6979
048fb7930a28 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6799
diff changeset
   408
7110
86a7ea1388a1 no tagIt checkBox - non-empty tag value means: tagIt
Claus Gittinger <cg@exept.de>
parents: 7097
diff changeset
   409
    "Created: / 12-09-2006 / 13:06:49 / cg"
6979
048fb7930a28 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6799
diff changeset
   410
!
048fb7930a28 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6799
diff changeset
   411
12537
2ddd00171375 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 11413
diff changeset
   412
validateConsistency
2ddd00171375 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 11413
diff changeset
   413
    ^ self validateConsistencyHolder value
2ddd00171375 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 11413
diff changeset
   414
!
2ddd00171375 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 11413
diff changeset
   415
6979
048fb7930a28 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6799
diff changeset
   416
withQuickOption:aBoolean
048fb7930a28 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6799
diff changeset
   417
    ^ self quickCheckInVisibleHolder value:aBoolean
12537
2ddd00171375 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 11413
diff changeset
   418
!
2ddd00171375 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 11413
diff changeset
   419
2ddd00171375 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 11413
diff changeset
   420
withValidateConsistencyOption:aBoolean
2ddd00171375 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 11413
diff changeset
   421
    ^ self validateConsistencyVisibleHolder value:aBoolean
6799
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   422
! !
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   423
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   424
!CheckinInfoDialog methodsFor:'aspects'!
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   425
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   426
descriptionHolder
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   427
    descriptionHolder isNil ifTrue:[
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   428
        descriptionHolder := ValueHolder new.
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   429
    ].
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   430
    ^ descriptionHolder
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   431
!
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   432
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   433
isStableHolder
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   434
    isStableHolder isNil ifTrue:[
7592
f9204291e800 isStable is not the default (too slow for now)
Claus Gittinger <cg@exept.de>
parents: 7591
diff changeset
   435
        isStableHolder := false asValue.
6799
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   436
    ].
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   437
    ^ isStableHolder.
7591
61cf0097b5dc isStable is default
Claus Gittinger <cg@exept.de>
parents: 7179
diff changeset
   438
7592
f9204291e800 isStable is not the default (too slow for now)
Claus Gittinger <cg@exept.de>
parents: 7591
diff changeset
   439
    "Modified: / 16-01-2007 / 16:00:26 / cg"
6799
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   440
!
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   441
11412
66ebae1951eb previous log messages
Claus Gittinger <cg@exept.de>
parents: 9950
diff changeset
   442
logHistoryHeadLineSelectionHolder
66ebae1951eb previous log messages
Claus Gittinger <cg@exept.de>
parents: 9950
diff changeset
   443
    logHistoryHeadLineSelectionHolder isNil ifTrue:[
66ebae1951eb previous log messages
Claus Gittinger <cg@exept.de>
parents: 9950
diff changeset
   444
        logHistoryHeadLineSelectionHolder := nil asValue.
66ebae1951eb previous log messages
Claus Gittinger <cg@exept.de>
parents: 9950
diff changeset
   445
        logHistoryHeadLineSelectionHolder 
66ebae1951eb previous log messages
Claus Gittinger <cg@exept.de>
parents: 9950
diff changeset
   446
            onChangeEvaluate:
66ebae1951eb previous log messages
Claus Gittinger <cg@exept.de>
parents: 9950
diff changeset
   447
                [
66ebae1951eb previous log messages
Claus Gittinger <cg@exept.de>
parents: 9950
diff changeset
   448
                    self logMessageHolder value:(logHistory at:logHistoryHeadLineSelectionHolder value)
66ebae1951eb previous log messages
Claus Gittinger <cg@exept.de>
parents: 9950
diff changeset
   449
                ].
66ebae1951eb previous log messages
Claus Gittinger <cg@exept.de>
parents: 9950
diff changeset
   450
    ].
66ebae1951eb previous log messages
Claus Gittinger <cg@exept.de>
parents: 9950
diff changeset
   451
    ^ logHistoryHeadLineSelectionHolder
66ebae1951eb previous log messages
Claus Gittinger <cg@exept.de>
parents: 9950
diff changeset
   452
66ebae1951eb previous log messages
Claus Gittinger <cg@exept.de>
parents: 9950
diff changeset
   453
    "Created: / 12-03-2012 / 12:40:36 / cg"
66ebae1951eb previous log messages
Claus Gittinger <cg@exept.de>
parents: 9950
diff changeset
   454
!
66ebae1951eb previous log messages
Claus Gittinger <cg@exept.de>
parents: 9950
diff changeset
   455
66ebae1951eb previous log messages
Claus Gittinger <cg@exept.de>
parents: 9950
diff changeset
   456
logHistoryHeadLines
66ebae1951eb previous log messages
Claus Gittinger <cg@exept.de>
parents: 9950
diff changeset
   457
    ^ (logHistory ? #())
66ebae1951eb previous log messages
Claus Gittinger <cg@exept.de>
parents: 9950
diff changeset
   458
        collect:[:msg |
66ebae1951eb previous log messages
Claus Gittinger <cg@exept.de>
parents: 9950
diff changeset
   459
            msg withoutLeadingSeparators asCollectionOfLines first , '...'
66ebae1951eb previous log messages
Claus Gittinger <cg@exept.de>
parents: 9950
diff changeset
   460
        ]
66ebae1951eb previous log messages
Claus Gittinger <cg@exept.de>
parents: 9950
diff changeset
   461
66ebae1951eb previous log messages
Claus Gittinger <cg@exept.de>
parents: 9950
diff changeset
   462
    "Created: / 12-03-2012 / 12:39:35 / cg"
66ebae1951eb previous log messages
Claus Gittinger <cg@exept.de>
parents: 9950
diff changeset
   463
!
66ebae1951eb previous log messages
Claus Gittinger <cg@exept.de>
parents: 9950
diff changeset
   464
6799
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   465
logMessageHolder
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   466
    logMessageHolder isNil ifTrue:[
11412
66ebae1951eb previous log messages
Claus Gittinger <cg@exept.de>
parents: 9950
diff changeset
   467
        logMessageHolder := '' asValue.
6799
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   468
    ].
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   469
    ^ logMessageHolder.
11412
66ebae1951eb previous log messages
Claus Gittinger <cg@exept.de>
parents: 9950
diff changeset
   470
66ebae1951eb previous log messages
Claus Gittinger <cg@exept.de>
parents: 9950
diff changeset
   471
    "Modified: / 12-03-2012 / 12:34:13 / cg"
6979
048fb7930a28 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6799
diff changeset
   472
!
048fb7930a28 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6799
diff changeset
   473
048fb7930a28 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6799
diff changeset
   474
quickCheckInHolder
048fb7930a28 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6799
diff changeset
   475
    quickCheckInHolder isNil ifTrue:[
048fb7930a28 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6799
diff changeset
   476
        quickCheckInHolder := true asValue.
048fb7930a28 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6799
diff changeset
   477
    ].
048fb7930a28 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6799
diff changeset
   478
    ^ quickCheckInHolder
048fb7930a28 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6799
diff changeset
   479
!
048fb7930a28 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6799
diff changeset
   480
048fb7930a28 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6799
diff changeset
   481
quickCheckInVisibleHolder
048fb7930a28 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6799
diff changeset
   482
    quickCheckInVisibleHolder isNil ifTrue:[
048fb7930a28 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6799
diff changeset
   483
        quickCheckInVisibleHolder := false asValue.
048fb7930a28 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6799
diff changeset
   484
    ].
048fb7930a28 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6799
diff changeset
   485
    ^ quickCheckInVisibleHolder
048fb7930a28 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6799
diff changeset
   486
!
048fb7930a28 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6799
diff changeset
   487
048fb7930a28 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6799
diff changeset
   488
tagHolder
048fb7930a28 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6799
diff changeset
   489
    tagHolder isNil ifTrue:[
12860
0f3e9cd38b91 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 12560
diff changeset
   490
        tagHolder := (CVSSourceCodeManager recentTag ? '') asValue.
6979
048fb7930a28 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6799
diff changeset
   491
    ].
048fb7930a28 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6799
diff changeset
   492
    ^ tagHolder
9508
6ecac35f25b6 enforce a non-empty logmessage;
Claus Gittinger <cg@exept.de>
parents: 9161
diff changeset
   493
!
6ecac35f25b6 enforce a non-empty logmessage;
Claus Gittinger <cg@exept.de>
parents: 9161
diff changeset
   494
12537
2ddd00171375 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 11413
diff changeset
   495
validateConsistencyHolder
2ddd00171375 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 11413
diff changeset
   496
    validateConsistencyHolder isNil ifTrue:[
2ddd00171375 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 11413
diff changeset
   497
        validateConsistencyHolder := true asValue.
2ddd00171375 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 11413
diff changeset
   498
    ].
2ddd00171375 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 11413
diff changeset
   499
    ^ validateConsistencyHolder
2ddd00171375 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 11413
diff changeset
   500
!
2ddd00171375 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 11413
diff changeset
   501
2ddd00171375 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 11413
diff changeset
   502
validateConsistencyVisibleHolder
2ddd00171375 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 11413
diff changeset
   503
    validateConsistencyVisibleHolder isNil ifTrue:[
2ddd00171375 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 11413
diff changeset
   504
        validateConsistencyVisibleHolder := false asValue.
2ddd00171375 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 11413
diff changeset
   505
    ].
2ddd00171375 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 11413
diff changeset
   506
    ^ validateConsistencyVisibleHolder
2ddd00171375 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 11413
diff changeset
   507
!
2ddd00171375 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 11413
diff changeset
   508
9508
6ecac35f25b6 enforce a non-empty logmessage;
Claus Gittinger <cg@exept.de>
parents: 9161
diff changeset
   509
warningMessageHolder
6ecac35f25b6 enforce a non-empty logmessage;
Claus Gittinger <cg@exept.de>
parents: 9161
diff changeset
   510
    warningMessageHolder isNil ifTrue:[
6ecac35f25b6 enforce a non-empty logmessage;
Claus Gittinger <cg@exept.de>
parents: 9161
diff changeset
   511
        warningMessageHolder := nil asValue.
6ecac35f25b6 enforce a non-empty logmessage;
Claus Gittinger <cg@exept.de>
parents: 9161
diff changeset
   512
    ].
6ecac35f25b6 enforce a non-empty logmessage;
Claus Gittinger <cg@exept.de>
parents: 9161
diff changeset
   513
    ^ warningMessageHolder.
6ecac35f25b6 enforce a non-empty logmessage;
Claus Gittinger <cg@exept.de>
parents: 9161
diff changeset
   514
6ecac35f25b6 enforce a non-empty logmessage;
Claus Gittinger <cg@exept.de>
parents: 9161
diff changeset
   515
    "Created: / 06-07-2010 / 11:30:29 / cg"
6799
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   516
! !
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   517
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   518
!CheckinInfoDialog class methodsFor:'documentation'!
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   519
11413
d78e22496f0a previous log messages
Claus Gittinger <cg@exept.de>
parents: 11412
diff changeset
   520
version
12860
0f3e9cd38b91 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 12560
diff changeset
   521
    ^ '$Header: /cvs/stx/stx/libtool/Tools__CheckinInfoDialog.st,v 1.18 2013-06-06 10:56:17 cg Exp $'
11413
d78e22496f0a previous log messages
Claus Gittinger <cg@exept.de>
parents: 11412
diff changeset
   522
!
d78e22496f0a previous log messages
Claus Gittinger <cg@exept.de>
parents: 11412
diff changeset
   523
9161
e4761f8c188d botton order - ok at right in spec,
Claus Gittinger <cg@exept.de>
parents: 8766
diff changeset
   524
version_CVS
12860
0f3e9cd38b91 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 12560
diff changeset
   525
    ^ '$Header: /cvs/stx/stx/libtool/Tools__CheckinInfoDialog.st,v 1.18 2013-06-06 10:56:17 cg Exp $'
6799
587271967bde initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   526
! !
12537
2ddd00171375 class: Tools::CheckinInfoDialog
Claus Gittinger <cg@exept.de>
parents: 11413
diff changeset
   527