MCCommitDialog.st
author Claus Gittinger <cg@exept.de>
Fri, 19 Apr 2013 02:24:00 +0200
changeset 784 cac151328dea
parent 758 e52bf52fafbb
child 785 4e581e7b9634
permissions -rw-r--r--
class: MCCommitDialog class definition added: #clearChangeSet #helpSpec changed: #contentSpec #doAccept #flyByHelpSpec
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
360
49f34323f6c6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
     1
"{ Package: 'stx:goodies/monticello' }"
49f34323f6c6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
     2
49f34323f6c6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
     3
MCDialog subclass:#MCCommitDialog
49f34323f6c6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
     4
	instanceVariableNames:'workingCopyHolder repositoryHolder versionNameHolder
742
65fd0b6f3267 class: MCCommitDialog
Claus Gittinger <cg@exept.de>
parents: 580
diff changeset
     5
		messageHolder messageView versionNameFinderProcess
784
cac151328dea class: MCCommitDialog
Claus Gittinger <cg@exept.de>
parents: 758
diff changeset
     6
		includeExtrasForSTX clearChangeSet'
cac151328dea class: MCCommitDialog
Claus Gittinger <cg@exept.de>
parents: 758
diff changeset
     7
	classVariableNames:'LastRepository DefaultForIncludeSTXExtras
cac151328dea class: MCCommitDialog
Claus Gittinger <cg@exept.de>
parents: 758
diff changeset
     8
		DefaultForClearChangeSet'
360
49f34323f6c6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
     9
	poolDictionaries:''
580
d510eb1a7606 category change
Claus Gittinger <cg@exept.de>
parents: 573
diff changeset
    10
	category:'SCM-Monticello-St/X UI'
360
49f34323f6c6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    11
!
49f34323f6c6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    12
49f34323f6c6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    13
742
65fd0b6f3267 class: MCCommitDialog
Claus Gittinger <cg@exept.de>
parents: 580
diff changeset
    14
!MCCommitDialog class methodsFor:'help specs'!
65fd0b6f3267 class: MCCommitDialog
Claus Gittinger <cg@exept.de>
parents: 580
diff changeset
    15
65fd0b6f3267 class: MCCommitDialog
Claus Gittinger <cg@exept.de>
parents: 580
diff changeset
    16
flyByHelpSpec
65fd0b6f3267 class: MCCommitDialog
Claus Gittinger <cg@exept.de>
parents: 580
diff changeset
    17
    "This resource specification was automatically generated
65fd0b6f3267 class: MCCommitDialog
Claus Gittinger <cg@exept.de>
parents: 580
diff changeset
    18
     by the UIHelpTool of ST/X."
65fd0b6f3267 class: MCCommitDialog
Claus Gittinger <cg@exept.de>
parents: 580
diff changeset
    19
65fd0b6f3267 class: MCCommitDialog
Claus Gittinger <cg@exept.de>
parents: 580
diff changeset
    20
    "Do not manually edit this!! If it is corrupted,
65fd0b6f3267 class: MCCommitDialog
Claus Gittinger <cg@exept.de>
parents: 580
diff changeset
    21
     the UIHelpTool may not be able to read the specification."
65fd0b6f3267 class: MCCommitDialog
Claus Gittinger <cg@exept.de>
parents: 580
diff changeset
    22
65fd0b6f3267 class: MCCommitDialog
Claus Gittinger <cg@exept.de>
parents: 580
diff changeset
    23
    "
65fd0b6f3267 class: MCCommitDialog
Claus Gittinger <cg@exept.de>
parents: 580
diff changeset
    24
     UIHelpTool openOnClass:MCCommitDialog    
65fd0b6f3267 class: MCCommitDialog
Claus Gittinger <cg@exept.de>
parents: 580
diff changeset
    25
    "
65fd0b6f3267 class: MCCommitDialog
Claus Gittinger <cg@exept.de>
parents: 580
diff changeset
    26
65fd0b6f3267 class: MCCommitDialog
Claus Gittinger <cg@exept.de>
parents: 580
diff changeset
    27
    <resource: #help>
65fd0b6f3267 class: MCCommitDialog
Claus Gittinger <cg@exept.de>
parents: 580
diff changeset
    28
65fd0b6f3267 class: MCCommitDialog
Claus Gittinger <cg@exept.de>
parents: 580
diff changeset
    29
    ^ super flyByHelpSpec addPairsFrom:#(
65fd0b6f3267 class: MCCommitDialog
Claus Gittinger <cg@exept.de>
parents: 580
diff changeset
    30
65fd0b6f3267 class: MCCommitDialog
Claus Gittinger <cg@exept.de>
parents: 580
diff changeset
    31
#commitMessage
65fd0b6f3267 class: MCCommitDialog
Claus Gittinger <cg@exept.de>
parents: 580
diff changeset
    32
'A log message describing this version (your changes)'
65fd0b6f3267 class: MCCommitDialog
Claus Gittinger <cg@exept.de>
parents: 580
diff changeset
    33
65fd0b6f3267 class: MCCommitDialog
Claus Gittinger <cg@exept.de>
parents: 580
diff changeset
    34
#includeExtrasForSTX
65fd0b6f3267 class: MCCommitDialog
Claus Gittinger <cg@exept.de>
parents: 580
diff changeset
    35
'Include extra support files (makefiles) needed to build a binary class library under ST/X.
65fd0b6f3267 class: MCCommitDialog
Claus Gittinger <cg@exept.de>
parents: 580
diff changeset
    36
If this is not checked, only the plain code is saved which is needed to load the package as bytecode.
65fd0b6f3267 class: MCCommitDialog
Claus Gittinger <cg@exept.de>
parents: 580
diff changeset
    37
Notice, that those files are not strictly required - they can easily be recreated by loading the package,
65fd0b6f3267 class: MCCommitDialog
Claus Gittinger <cg@exept.de>
parents: 580
diff changeset
    38
and then recreating the support files from the system browser on the target system.
65fd0b6f3267 class: MCCommitDialog
Claus Gittinger <cg@exept.de>
parents: 580
diff changeset
    39
Turn this off, if this package is meant to be transported to or shared with other Smalltalk dialects.
65fd0b6f3267 class: MCCommitDialog
Claus Gittinger <cg@exept.de>
parents: 580
diff changeset
    40
(however, this is transparent to other Smalltalk dialects - these will simply ignore these additional definitions)'
65fd0b6f3267 class: MCCommitDialog
Claus Gittinger <cg@exept.de>
parents: 580
diff changeset
    41
784
cac151328dea class: MCCommitDialog
Claus Gittinger <cg@exept.de>
parents: 758
diff changeset
    42
#clearChangeSet
cac151328dea class: MCCommitDialog
Claus Gittinger <cg@exept.de>
parents: 758
diff changeset
    43
'Clear the internal changeset after the Monticello commit'
cac151328dea class: MCCommitDialog
Claus Gittinger <cg@exept.de>
parents: 758
diff changeset
    44
742
65fd0b6f3267 class: MCCommitDialog
Claus Gittinger <cg@exept.de>
parents: 580
diff changeset
    45
#repository
65fd0b6f3267 class: MCCommitDialog
Claus Gittinger <cg@exept.de>
parents: 580
diff changeset
    46
'A repository or the name of a directory where the generated package file is to be stored'
65fd0b6f3267 class: MCCommitDialog
Claus Gittinger <cg@exept.de>
parents: 580
diff changeset
    47
65fd0b6f3267 class: MCCommitDialog
Claus Gittinger <cg@exept.de>
parents: 580
diff changeset
    48
#versionName
65fd0b6f3267 class: MCCommitDialog
Claus Gittinger <cg@exept.de>
parents: 580
diff changeset
    49
'The name of the version (will also be the name of the generated package file)'
65fd0b6f3267 class: MCCommitDialog
Claus Gittinger <cg@exept.de>
parents: 580
diff changeset
    50
65fd0b6f3267 class: MCCommitDialog
Claus Gittinger <cg@exept.de>
parents: 580
diff changeset
    51
)
65fd0b6f3267 class: MCCommitDialog
Claus Gittinger <cg@exept.de>
parents: 580
diff changeset
    52
! !
65fd0b6f3267 class: MCCommitDialog
Claus Gittinger <cg@exept.de>
parents: 580
diff changeset
    53
360
49f34323f6c6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    54
!MCCommitDialog class methodsFor:'interface specs'!
49f34323f6c6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    55
49f34323f6c6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    56
contentSpec
49f34323f6c6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    57
    "This resource specification was automatically generated
49f34323f6c6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    58
     by the UIPainter of ST/X."
49f34323f6c6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    59
49f34323f6c6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    60
    "Do not manually edit this!! If it is corrupted,
49f34323f6c6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    61
     the UIPainter may not be able to read the specification."
49f34323f6c6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    62
49f34323f6c6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    63
    "
49f34323f6c6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    64
     UIPainter new openOnClass:MCCommitDialog andSelector:#contentSpec
49f34323f6c6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    65
     MCCommitDialog new openInterface:#contentSpec
49f34323f6c6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    66
    "
49f34323f6c6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    67
49f34323f6c6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    68
    <resource: #canvas>
49f34323f6c6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    69
49f34323f6c6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    70
    ^ 
49f34323f6c6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    71
     #(FullSpec
49f34323f6c6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    72
        name: contentSpec
49f34323f6c6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    73
        window: 
49f34323f6c6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    74
       (WindowSpec
49f34323f6c6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    75
          label: 'Commit Dialog'
49f34323f6c6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    76
          name: 'Commit Dialog'
49f34323f6c6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    77
          min: (Point 10 10)
742
65fd0b6f3267 class: MCCommitDialog
Claus Gittinger <cg@exept.de>
parents: 580
diff changeset
    78
          bounds: (Rectangle 0 0 555 303)
360
49f34323f6c6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    79
        )
49f34323f6c6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    80
        component: 
49f34323f6c6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    81
       (SpecCollection
49f34323f6c6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    82
          collection: (
537
f84d9254b1ba checkin support
Claus Gittinger <cg@exept.de>
parents: 529
diff changeset
    83
           (LabelSpec
f84d9254b1ba checkin support
Claus Gittinger <cg@exept.de>
parents: 529
diff changeset
    84
              label: 'Repository:'
f84d9254b1ba checkin support
Claus Gittinger <cg@exept.de>
parents: 529
diff changeset
    85
              name: 'Label1'
f84d9254b1ba checkin support
Claus Gittinger <cg@exept.de>
parents: 529
diff changeset
    86
              layout: (LayoutFrame 3 0 4 0 94 0 26 0)
742
65fd0b6f3267 class: MCCommitDialog
Claus Gittinger <cg@exept.de>
parents: 580
diff changeset
    87
              activeHelpKey: repository
537
f84d9254b1ba checkin support
Claus Gittinger <cg@exept.de>
parents: 529
diff changeset
    88
              translateLabel: true
f84d9254b1ba checkin support
Claus Gittinger <cg@exept.de>
parents: 529
diff changeset
    89
              adjust: left
f84d9254b1ba checkin support
Claus Gittinger <cg@exept.de>
parents: 529
diff changeset
    90
            )
360
49f34323f6c6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    91
           (ComboListSpec
49f34323f6c6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    92
              name: 'RepositoryList'
537
f84d9254b1ba checkin support
Claus Gittinger <cg@exept.de>
parents: 529
diff changeset
    93
              layout: (LayoutFrame 101 0 0 0 0 1 25 0)
742
65fd0b6f3267 class: MCCommitDialog
Claus Gittinger <cg@exept.de>
parents: 580
diff changeset
    94
              activeHelpKey: repository
360
49f34323f6c6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    95
              model: repositoryHolder
49f34323f6c6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    96
              comboList: repositoryList
49f34323f6c6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    97
              useIndex: false
49f34323f6c6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    98
            )
537
f84d9254b1ba checkin support
Claus Gittinger <cg@exept.de>
parents: 529
diff changeset
    99
           (LabelSpec
f84d9254b1ba checkin support
Claus Gittinger <cg@exept.de>
parents: 529
diff changeset
   100
              label: 'Version:'
f84d9254b1ba checkin support
Claus Gittinger <cg@exept.de>
parents: 529
diff changeset
   101
              name: 'Label2'
f84d9254b1ba checkin support
Claus Gittinger <cg@exept.de>
parents: 529
diff changeset
   102
              layout: (LayoutFrame 3 0 30 0 94 0 52 0)
742
65fd0b6f3267 class: MCCommitDialog
Claus Gittinger <cg@exept.de>
parents: 580
diff changeset
   103
              activeHelpKey: versionName
537
f84d9254b1ba checkin support
Claus Gittinger <cg@exept.de>
parents: 529
diff changeset
   104
              translateLabel: true
f84d9254b1ba checkin support
Claus Gittinger <cg@exept.de>
parents: 529
diff changeset
   105
              adjust: left
f84d9254b1ba checkin support
Claus Gittinger <cg@exept.de>
parents: 529
diff changeset
   106
            )
360
49f34323f6c6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   107
           (InputFieldSpec
49f34323f6c6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   108
              name: 'VersionName'
537
f84d9254b1ba checkin support
Claus Gittinger <cg@exept.de>
parents: 529
diff changeset
   109
              layout: (LayoutFrame 101 0 30 0 0 1 55 0)
742
65fd0b6f3267 class: MCCommitDialog
Claus Gittinger <cg@exept.de>
parents: 580
diff changeset
   110
              activeHelpKey: versionName
360
49f34323f6c6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   111
              model: versionNameHolder
49f34323f6c6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   112
              immediateAccept: true
49f34323f6c6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   113
              acceptOnReturn: true
49f34323f6c6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   114
              acceptOnTab: true
49f34323f6c6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   115
              acceptOnPointerLeave: true
49f34323f6c6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   116
            )
742
65fd0b6f3267 class: MCCommitDialog
Claus Gittinger <cg@exept.de>
parents: 580
diff changeset
   117
           (CheckBoxSpec
65fd0b6f3267 class: MCCommitDialog
Claus Gittinger <cg@exept.de>
parents: 580
diff changeset
   118
              label: 'Include ST/X Support Files'
65fd0b6f3267 class: MCCommitDialog
Claus Gittinger <cg@exept.de>
parents: 580
diff changeset
   119
              name: 'CheckBox1'
65fd0b6f3267 class: MCCommitDialog
Claus Gittinger <cg@exept.de>
parents: 580
diff changeset
   120
              layout: (LayoutFrame 96 0 63 0 232 1 85 0)
65fd0b6f3267 class: MCCommitDialog
Claus Gittinger <cg@exept.de>
parents: 580
diff changeset
   121
              activeHelpKey: includeExtrasForSTX
65fd0b6f3267 class: MCCommitDialog
Claus Gittinger <cg@exept.de>
parents: 580
diff changeset
   122
              model: includeExtrasForSTX
65fd0b6f3267 class: MCCommitDialog
Claus Gittinger <cg@exept.de>
parents: 580
diff changeset
   123
              translateLabel: true
65fd0b6f3267 class: MCCommitDialog
Claus Gittinger <cg@exept.de>
parents: 580
diff changeset
   124
            )
784
cac151328dea class: MCCommitDialog
Claus Gittinger <cg@exept.de>
parents: 758
diff changeset
   125
           (CheckBoxSpec
cac151328dea class: MCCommitDialog
Claus Gittinger <cg@exept.de>
parents: 758
diff changeset
   126
              label: 'Clear Change Set'
cac151328dea class: MCCommitDialog
Claus Gittinger <cg@exept.de>
parents: 758
diff changeset
   127
              name: 'CheckBox2'
cac151328dea class: MCCommitDialog
Claus Gittinger <cg@exept.de>
parents: 758
diff changeset
   128
              layout: (LayoutFrame 96 0 90 0 232 1 112 0)
cac151328dea class: MCCommitDialog
Claus Gittinger <cg@exept.de>
parents: 758
diff changeset
   129
              activeHelpKey: clearChangeSet
cac151328dea class: MCCommitDialog
Claus Gittinger <cg@exept.de>
parents: 758
diff changeset
   130
              model: clearChangeSet
cac151328dea class: MCCommitDialog
Claus Gittinger <cg@exept.de>
parents: 758
diff changeset
   131
              translateLabel: true
cac151328dea class: MCCommitDialog
Claus Gittinger <cg@exept.de>
parents: 758
diff changeset
   132
            )
cac151328dea class: MCCommitDialog
Claus Gittinger <cg@exept.de>
parents: 758
diff changeset
   133
           (TextEditorSpec
cac151328dea class: MCCommitDialog
Claus Gittinger <cg@exept.de>
parents: 758
diff changeset
   134
              name: 'CommitMessage'
cac151328dea class: MCCommitDialog
Claus Gittinger <cg@exept.de>
parents: 758
diff changeset
   135
              layout: (LayoutFrame 0 0 120 0 0 1 0 1)
cac151328dea class: MCCommitDialog
Claus Gittinger <cg@exept.de>
parents: 758
diff changeset
   136
              activeHelpKey: commitMessage
cac151328dea class: MCCommitDialog
Claus Gittinger <cg@exept.de>
parents: 758
diff changeset
   137
              model: messageHolder
cac151328dea class: MCCommitDialog
Claus Gittinger <cg@exept.de>
parents: 758
diff changeset
   138
              hasHorizontalScrollBar: true
cac151328dea class: MCCommitDialog
Claus Gittinger <cg@exept.de>
parents: 758
diff changeset
   139
              hasVerticalScrollBar: true
cac151328dea class: MCCommitDialog
Claus Gittinger <cg@exept.de>
parents: 758
diff changeset
   140
              hasKeyboardFocusInitially: false
cac151328dea class: MCCommitDialog
Claus Gittinger <cg@exept.de>
parents: 758
diff changeset
   141
              postBuildCallback: postBuildMessageView:
cac151328dea class: MCCommitDialog
Claus Gittinger <cg@exept.de>
parents: 758
diff changeset
   142
            )
360
49f34323f6c6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   143
           )
49f34323f6c6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   144
         
49f34323f6c6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   145
        )
49f34323f6c6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   146
      )
49f34323f6c6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   147
! !
49f34323f6c6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   148
49f34323f6c6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   149
!MCCommitDialog methodsFor:'accessing'!
49f34323f6c6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   150
49f34323f6c6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   151
workingCopy: aMCWorkingCopy
49f34323f6c6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   152
49f34323f6c6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   153
    ^self workingCopyHolder value: aMCWorkingCopy
49f34323f6c6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   154
49f34323f6c6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   155
    "Created: / 14-09-2010 / 23:43:21 / Jan Vrany <jan.vrany@fit.cvut.cz>"
49f34323f6c6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   156
! !
49f34323f6c6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   157
49f34323f6c6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   158
!MCCommitDialog methodsFor:'accessing - defaults'!
49f34323f6c6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   159
49f34323f6c6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   160
defaultTitle
49f34323f6c6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   161
    "superclass MCDialog says that I am responsible to implement this method"
49f34323f6c6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   162
537
f84d9254b1ba checkin support
Claus Gittinger <cg@exept.de>
parents: 529
diff changeset
   163
    ^ 'Monticello Commit'
360
49f34323f6c6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   164
49f34323f6c6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   165
    "Modified: / 14-09-2010 / 23:00:13 / Jan Vrany <jan.vrany@fit.cvut.cz>"
537
f84d9254b1ba checkin support
Claus Gittinger <cg@exept.de>
parents: 529
diff changeset
   166
    "Modified: / 02-12-2011 / 15:44:08 / cg"
360
49f34323f6c6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   167
! !
49f34323f6c6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   168
49f34323f6c6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   169
!MCCommitDialog methodsFor:'actions'!
49f34323f6c6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   170
49f34323f6c6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   171
doAccept
537
f84d9254b1ba checkin support
Claus Gittinger <cg@exept.de>
parents: 529
diff changeset
   172
    self acceptEnabled ifFalse:[^self].
360
49f34323f6c6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   173
537
f84d9254b1ba checkin support
Claus Gittinger <cg@exept.de>
parents: 529
diff changeset
   174
    self withWaitCursorDo:[
784
cac151328dea class: MCCommitDialog
Claus Gittinger <cg@exept.de>
parents: 758
diff changeset
   175
        |workingCopy version repository clearChangeSet
cac151328dea class: MCCommitDialog
Claus Gittinger <cg@exept.de>
parents: 758
diff changeset
   176
         newVersionString stxPackageID defClass|
537
f84d9254b1ba checkin support
Claus Gittinger <cg@exept.de>
parents: 529
diff changeset
   177
f84d9254b1ba checkin support
Claus Gittinger <cg@exept.de>
parents: 529
diff changeset
   178
        workingCopy := self workingCopyHolder value.
569
8ee0dffb7160 class definition
Claus Gittinger <cg@exept.de>
parents: 537
diff changeset
   179
        repository := self repositoryHolder value.
8ee0dffb7160 class definition
Claus Gittinger <cg@exept.de>
parents: 537
diff changeset
   180
        LastRepository := repository.
784
cac151328dea class: MCCommitDialog
Claus Gittinger <cg@exept.de>
parents: 758
diff changeset
   181
        DefaultForIncludeSTXExtras := clearChangeSet := self clearChangeSet value.
569
8ee0dffb7160 class definition
Claus Gittinger <cg@exept.de>
parents: 537
diff changeset
   182
537
f84d9254b1ba checkin support
Claus Gittinger <cg@exept.de>
parents: 529
diff changeset
   183
        [
f84d9254b1ba checkin support
Claus Gittinger <cg@exept.de>
parents: 529
diff changeset
   184
            version := workingCopy newVersion
f84d9254b1ba checkin support
Claus Gittinger <cg@exept.de>
parents: 529
diff changeset
   185
        ] on: MCVersionNameAndMessageRequest do:[:n | 
f84d9254b1ba checkin support
Claus Gittinger <cg@exept.de>
parents: 529
diff changeset
   186
            n resume: (Array with: self versionNameHolder value 
f84d9254b1ba checkin support
Claus Gittinger <cg@exept.de>
parents: 529
diff changeset
   187
                             with: messageView contents asText string)
f84d9254b1ba checkin support
Claus Gittinger <cg@exept.de>
parents: 529
diff changeset
   188
        ].
f84d9254b1ba checkin support
Claus Gittinger <cg@exept.de>
parents: 529
diff changeset
   189
f84d9254b1ba checkin support
Claus Gittinger <cg@exept.de>
parents: 529
diff changeset
   190
        stxPackageID := version package name.
f84d9254b1ba checkin support
Claus Gittinger <cg@exept.de>
parents: 529
diff changeset
   191
        defClass := ProjectDefinition definitionClassForPackage:stxPackageID.
f84d9254b1ba checkin support
Claus Gittinger <cg@exept.de>
parents: 529
diff changeset
   192
        newVersionString := MCSourceCodeManager revisionStringForVersion:version.
360
49f34323f6c6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   193
537
f84d9254b1ba checkin support
Claus Gittinger <cg@exept.de>
parents: 529
diff changeset
   194
        "/ update all project classes version_MC
f84d9254b1ba checkin support
Claus Gittinger <cg@exept.de>
parents: 529
diff changeset
   195
        defClass allClasses do:[:cls |
f84d9254b1ba checkin support
Claus Gittinger <cg@exept.de>
parents: 529
diff changeset
   196
            MCSourceCodeManager 
f84d9254b1ba checkin support
Claus Gittinger <cg@exept.de>
parents: 529
diff changeset
   197
                updateVersionMethod:(MCSourceCodeManager nameOfVersionMethodInClasses) 
f84d9254b1ba checkin support
Claus Gittinger <cg@exept.de>
parents: 529
diff changeset
   198
                of:cls 
f84d9254b1ba checkin support
Claus Gittinger <cg@exept.de>
parents: 529
diff changeset
   199
                for:newVersionString.
f84d9254b1ba checkin support
Claus Gittinger <cg@exept.de>
parents: 529
diff changeset
   200
        ].
f84d9254b1ba checkin support
Claus Gittinger <cg@exept.de>
parents: 529
diff changeset
   201
f84d9254b1ba checkin support
Claus Gittinger <cg@exept.de>
parents: 529
diff changeset
   202
        "/ update the project definition classes version_MC
f84d9254b1ba checkin support
Claus Gittinger <cg@exept.de>
parents: 529
diff changeset
   203
        MCSourceCodeManager 
f84d9254b1ba checkin support
Claus Gittinger <cg@exept.de>
parents: 529
diff changeset
   204
            updateVersionMethod:(MCSourceCodeManager nameOfVersionMethodInClasses) 
f84d9254b1ba checkin support
Claus Gittinger <cg@exept.de>
parents: 529
diff changeset
   205
            of:defClass 
f84d9254b1ba checkin support
Claus Gittinger <cg@exept.de>
parents: 529
diff changeset
   206
            for:newVersionString.
f84d9254b1ba checkin support
Claus Gittinger <cg@exept.de>
parents: 529
diff changeset
   207
        MCSourceCodeManager 
f84d9254b1ba checkin support
Claus Gittinger <cg@exept.de>
parents: 529
diff changeset
   208
            updateVersionMethod:(MCSourceCodeManager nameOfVersionMethodForExtensions) 
f84d9254b1ba checkin support
Claus Gittinger <cg@exept.de>
parents: 529
diff changeset
   209
            of:defClass 
f84d9254b1ba checkin support
Claus Gittinger <cg@exept.de>
parents: 529
diff changeset
   210
            for:newVersionString.
f84d9254b1ba checkin support
Claus Gittinger <cg@exept.de>
parents: 529
diff changeset
   211
f84d9254b1ba checkin support
Claus Gittinger <cg@exept.de>
parents: 529
diff changeset
   212
        "/ sigh: make a new snapshot (now with updated version methods)
f84d9254b1ba checkin support
Claus Gittinger <cg@exept.de>
parents: 529
diff changeset
   213
        version snapshot:version package snapshot.
742
65fd0b6f3267 class: MCCommitDialog
Claus Gittinger <cg@exept.de>
parents: 580
diff changeset
   214
        version cachable:false. "/ force new a write (otherwise, the mcz is not rewritten)
758
e52bf52fafbb class: MCCommitDialog
Claus Gittinger <cg@exept.de>
parents: 757
diff changeset
   215
        version snapshot includeExtrasForSTX:(DefaultForIncludeSTXExtras := self includeExtrasForSTX value).
537
f84d9254b1ba checkin support
Claus Gittinger <cg@exept.de>
parents: 529
diff changeset
   216
        repository storeVersion: version.
758
e52bf52fafbb class: MCCommitDialog
Claus Gittinger <cg@exept.de>
parents: 757
diff changeset
   217
784
cac151328dea class: MCCommitDialog
Claus Gittinger <cg@exept.de>
parents: 758
diff changeset
   218
        clearChangeSet ifTrue:[
cac151328dea class: MCCommitDialog
Claus Gittinger <cg@exept.de>
parents: 758
diff changeset
   219
            ChangeSet current condenseChangesForPackage:stxPackageID
cac151328dea class: MCCommitDialog
Claus Gittinger <cg@exept.de>
parents: 758
diff changeset
   220
        ].
537
f84d9254b1ba checkin support
Claus Gittinger <cg@exept.de>
parents: 529
diff changeset
   221
    ].
784
cac151328dea class: MCCommitDialog
Claus Gittinger <cg@exept.de>
parents: 758
diff changeset
   222
    super doAccept.
360
49f34323f6c6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   223
49f34323f6c6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   224
    "Created: / 15-09-2010 / 14:07:10 / Jan Vrany <jan.vrany@fit.cvut.cz>"
569
8ee0dffb7160 class definition
Claus Gittinger <cg@exept.de>
parents: 537
diff changeset
   225
    "Modified: / 24-07-2012 / 16:33:56 / cg"
360
49f34323f6c6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   226
! !
49f34323f6c6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   227
49f34323f6c6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   228
!MCCommitDialog methodsFor:'aspects'!
49f34323f6c6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   229
784
cac151328dea class: MCCommitDialog
Claus Gittinger <cg@exept.de>
parents: 758
diff changeset
   230
clearChangeSet
cac151328dea class: MCCommitDialog
Claus Gittinger <cg@exept.de>
parents: 758
diff changeset
   231
    clearChangeSet isNil ifTrue:[
cac151328dea class: MCCommitDialog
Claus Gittinger <cg@exept.de>
parents: 758
diff changeset
   232
        clearChangeSet := (DefaultForClearChangeSet ? true) asValue.
cac151328dea class: MCCommitDialog
Claus Gittinger <cg@exept.de>
parents: 758
diff changeset
   233
    ].
cac151328dea class: MCCommitDialog
Claus Gittinger <cg@exept.de>
parents: 758
diff changeset
   234
    ^ clearChangeSet
cac151328dea class: MCCommitDialog
Claus Gittinger <cg@exept.de>
parents: 758
diff changeset
   235
!
cac151328dea class: MCCommitDialog
Claus Gittinger <cg@exept.de>
parents: 758
diff changeset
   236
742
65fd0b6f3267 class: MCCommitDialog
Claus Gittinger <cg@exept.de>
parents: 580
diff changeset
   237
includeExtrasForSTX
65fd0b6f3267 class: MCCommitDialog
Claus Gittinger <cg@exept.de>
parents: 580
diff changeset
   238
    includeExtrasForSTX isNil ifTrue:[
758
e52bf52fafbb class: MCCommitDialog
Claus Gittinger <cg@exept.de>
parents: 757
diff changeset
   239
        includeExtrasForSTX := (DefaultForIncludeSTXExtras ? true) asValue.
742
65fd0b6f3267 class: MCCommitDialog
Claus Gittinger <cg@exept.de>
parents: 580
diff changeset
   240
    ].
65fd0b6f3267 class: MCCommitDialog
Claus Gittinger <cg@exept.de>
parents: 580
diff changeset
   241
    ^ includeExtrasForSTX
65fd0b6f3267 class: MCCommitDialog
Claus Gittinger <cg@exept.de>
parents: 580
diff changeset
   242
!
65fd0b6f3267 class: MCCommitDialog
Claus Gittinger <cg@exept.de>
parents: 580
diff changeset
   243
360
49f34323f6c6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   244
messageHolder
49f34323f6c6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   245
    "return/create the 'messageHolder' value holder (automatically generated)"
49f34323f6c6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   246
49f34323f6c6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   247
    messageHolder isNil ifTrue:[
49f34323f6c6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   248
        messageHolder := ValueHolder with: ('Commit message' asText colorizeAllWith: Color gray).
49f34323f6c6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   249
        messageHolder addDependent:self.
49f34323f6c6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   250
    ].
49f34323f6c6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   251
    ^ messageHolder
49f34323f6c6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   252
49f34323f6c6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   253
    "Modified: / 15-09-2010 / 13:58:37 / Jan Vrany <jan.vrany@fit.cvut.cz>"
49f34323f6c6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   254
!
49f34323f6c6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   255
49f34323f6c6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   256
messageHolder:something
49f34323f6c6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   257
    "set the 'messageHolder' value holder (automatically generated)"
49f34323f6c6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   258
49f34323f6c6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   259
    |oldValue newValue|
49f34323f6c6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   260
49f34323f6c6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   261
    messageHolder notNil ifTrue:[
49f34323f6c6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   262
        oldValue := messageHolder value.
49f34323f6c6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   263
        messageHolder removeDependent:self.
49f34323f6c6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   264
    ].
49f34323f6c6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   265
    messageHolder := something.
49f34323f6c6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   266
    messageHolder notNil ifTrue:[
49f34323f6c6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   267
        messageHolder addDependent:self.
49f34323f6c6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   268
    ].
49f34323f6c6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   269
    newValue := messageHolder value.
49f34323f6c6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   270
    oldValue ~~ newValue ifTrue:[
49f34323f6c6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   271
        self update:#value with:newValue from:messageHolder.
49f34323f6c6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   272
    ].
49f34323f6c6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   273
!
49f34323f6c6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   274
49f34323f6c6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   275
repositoryHolder
49f34323f6c6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   276
    "return/create the 'repositoryHolder' value holder (automatically generated)"
49f34323f6c6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   277
569
8ee0dffb7160 class definition
Claus Gittinger <cg@exept.de>
parents: 537
diff changeset
   278
    |initial|
8ee0dffb7160 class definition
Claus Gittinger <cg@exept.de>
parents: 537
diff changeset
   279
360
49f34323f6c6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   280
    repositoryHolder isNil ifTrue:[
49f34323f6c6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   281
        repositoryHolder := ValueHolder new.
569
8ee0dffb7160 class definition
Claus Gittinger <cg@exept.de>
parents: 537
diff changeset
   282
        initial := LastRepository.
8ee0dffb7160 class definition
Claus Gittinger <cg@exept.de>
parents: 537
diff changeset
   283
        initial isNil ifTrue:[
8ee0dffb7160 class definition
Claus Gittinger <cg@exept.de>
parents: 537
diff changeset
   284
            initial := UserPreferences current at:#mcPrimaryRepository ifAbsent:nil.
8ee0dffb7160 class definition
Claus Gittinger <cg@exept.de>
parents: 537
diff changeset
   285
        ].
8ee0dffb7160 class definition
Claus Gittinger <cg@exept.de>
parents: 537
diff changeset
   286
        repositoryHolder value:initial.
360
49f34323f6c6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   287
        repositoryHolder addDependent:self.
49f34323f6c6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   288
    ].
49f34323f6c6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   289
    ^ repositoryHolder
529
d0d668b95c4c changed: #repositoryHolder
Claus Gittinger <cg@exept.de>
parents: 440
diff changeset
   290
569
8ee0dffb7160 class definition
Claus Gittinger <cg@exept.de>
parents: 537
diff changeset
   291
    "Modified: / 24-07-2012 / 16:32:01 / cg"
360
49f34323f6c6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   292
!
49f34323f6c6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   293
49f34323f6c6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   294
repositoryHolder:something
49f34323f6c6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   295
    "set the 'repositoryHolder' value holder (automatically generated)"
49f34323f6c6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   296
49f34323f6c6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   297
    |oldValue newValue|
49f34323f6c6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   298
49f34323f6c6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   299
    repositoryHolder notNil ifTrue:[
49f34323f6c6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   300
        oldValue := repositoryHolder value.
49f34323f6c6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   301
        repositoryHolder removeDependent:self.
49f34323f6c6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   302
    ].
49f34323f6c6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   303
    repositoryHolder := something.
49f34323f6c6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   304
    repositoryHolder notNil ifTrue:[
49f34323f6c6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   305
        repositoryHolder addDependent:self.
49f34323f6c6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   306
    ].
49f34323f6c6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   307
    newValue := repositoryHolder value.
49f34323f6c6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   308
    oldValue ~~ newValue ifTrue:[
49f34323f6c6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   309
        self update:#value with:newValue from:repositoryHolder.
49f34323f6c6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   310
    ].
49f34323f6c6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   311
!
49f34323f6c6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   312
49f34323f6c6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   313
repositoryList
49f34323f6c6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   314
573
4cc009526331 class definition
Claus Gittinger <cg@exept.de>
parents: 569
diff changeset
   315
    ^[MCRepositoryGroup default repositories
4cc009526331 class definition
Claus Gittinger <cg@exept.de>
parents: 569
diff changeset
   316
      , #(nil)
4cc009526331 class definition
Claus Gittinger <cg@exept.de>
parents: 569
diff changeset
   317
      , (Array with:(resources string:'Add Repository...')) ]
360
49f34323f6c6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   318
49f34323f6c6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   319
    "Created: / 14-09-2010 / 23:16:46 / Jan Vrany <jan.vrany@fit.cvut.cz>"
573
4cc009526331 class definition
Claus Gittinger <cg@exept.de>
parents: 569
diff changeset
   320
    "Modified: / 31-08-2012 / 11:39:42 / cg"
360
49f34323f6c6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   321
!
49f34323f6c6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   322
49f34323f6c6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   323
versionNameHolder
49f34323f6c6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   324
    "return/create the 'versionNameHolder' value holder (automatically generated)"
49f34323f6c6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   325
49f34323f6c6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   326
    versionNameHolder isNil ifTrue:[
49f34323f6c6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   327
        versionNameHolder := ValueHolder new.
49f34323f6c6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   328
        versionNameHolder addDependent:self.
49f34323f6c6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   329
    ].
49f34323f6c6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   330
    ^ versionNameHolder
49f34323f6c6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   331
!
49f34323f6c6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   332
49f34323f6c6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   333
versionNameHolder:something
49f34323f6c6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   334
    "set the 'versionNameHolder' value holder (automatically generated)"
49f34323f6c6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   335
49f34323f6c6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   336
    |oldValue newValue|
49f34323f6c6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   337
49f34323f6c6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   338
    versionNameHolder notNil ifTrue:[
49f34323f6c6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   339
        oldValue := versionNameHolder value.
49f34323f6c6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   340
        versionNameHolder removeDependent:self.
49f34323f6c6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   341
    ].
49f34323f6c6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   342
    versionNameHolder := something.
49f34323f6c6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   343
    versionNameHolder notNil ifTrue:[
49f34323f6c6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   344
        versionNameHolder addDependent:self.
49f34323f6c6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   345
    ].
49f34323f6c6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   346
    newValue := versionNameHolder value.
49f34323f6c6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   347
    oldValue ~~ newValue ifTrue:[
49f34323f6c6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   348
        self update:#value with:newValue from:versionNameHolder.
49f34323f6c6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   349
    ].
49f34323f6c6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   350
!
49f34323f6c6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   351
49f34323f6c6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   352
workingCopyHolder
49f34323f6c6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   353
    "return/create the 'workingCopyHolder' value holder (automatically generated)"
49f34323f6c6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   354
49f34323f6c6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   355
    workingCopyHolder isNil ifTrue:[
49f34323f6c6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   356
        workingCopyHolder := ValueHolder new.
49f34323f6c6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   357
        workingCopyHolder addDependent:self.
49f34323f6c6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   358
    ].
49f34323f6c6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   359
    ^ workingCopyHolder
49f34323f6c6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   360
!
49f34323f6c6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   361
49f34323f6c6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   362
workingCopyHolder:something
49f34323f6c6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   363
    "set the 'workingCopyHolder' value holder (automatically generated)"
49f34323f6c6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   364
49f34323f6c6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   365
    |oldValue newValue|
49f34323f6c6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   366
49f34323f6c6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   367
    workingCopyHolder notNil ifTrue:[
49f34323f6c6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   368
        oldValue := workingCopyHolder value.
49f34323f6c6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   369
        workingCopyHolder removeDependent:self.
49f34323f6c6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   370
    ].
49f34323f6c6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   371
    workingCopyHolder := something.
49f34323f6c6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   372
    workingCopyHolder notNil ifTrue:[
49f34323f6c6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   373
        workingCopyHolder addDependent:self.
49f34323f6c6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   374
    ].
49f34323f6c6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   375
    newValue := workingCopyHolder value.
49f34323f6c6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   376
    oldValue ~~ newValue ifTrue:[
49f34323f6c6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   377
        self update:#value with:newValue from:workingCopyHolder.
49f34323f6c6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   378
    ].
49f34323f6c6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   379
! !
49f34323f6c6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   380
49f34323f6c6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   381
!MCCommitDialog methodsFor:'change & update'!
49f34323f6c6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   382
573
4cc009526331 class definition
Claus Gittinger <cg@exept.de>
parents: 569
diff changeset
   383
findUniqueVersionNumber
4cc009526331 class definition
Claus Gittinger <cg@exept.de>
parents: 569
diff changeset
   384
    | wc versionName |
4cc009526331 class definition
Claus Gittinger <cg@exept.de>
parents: 569
diff changeset
   385
4cc009526331 class definition
Claus Gittinger <cg@exept.de>
parents: 569
diff changeset
   386
    self versionNameHolder value:('One Moment, please...' colorizeAllWith:Color grey).
4cc009526331 class definition
Claus Gittinger <cg@exept.de>
parents: 569
diff changeset
   387
4cc009526331 class definition
Claus Gittinger <cg@exept.de>
parents: 569
diff changeset
   388
    wc := self workingCopyHolder value.
4cc009526331 class definition
Claus Gittinger <cg@exept.de>
parents: 569
diff changeset
   389
    self assert:wc notNil.
4cc009526331 class definition
Claus Gittinger <cg@exept.de>
parents: 569
diff changeset
   390
4cc009526331 class definition
Claus Gittinger <cg@exept.de>
parents: 569
diff changeset
   391
    self subtitle: wc package name.
4cc009526331 class definition
Claus Gittinger <cg@exept.de>
parents: 569
diff changeset
   392
    versionName := wc uniqueVersionName.
4cc009526331 class definition
Claus Gittinger <cg@exept.de>
parents: 569
diff changeset
   393
    self 
4cc009526331 class definition
Claus Gittinger <cg@exept.de>
parents: 569
diff changeset
   394
        enqueueMessage:#updateVersionNumberTo:
4cc009526331 class definition
Claus Gittinger <cg@exept.de>
parents: 569
diff changeset
   395
        for:self
4cc009526331 class definition
Claus Gittinger <cg@exept.de>
parents: 569
diff changeset
   396
        arguments: { versionName }
4cc009526331 class definition
Claus Gittinger <cg@exept.de>
parents: 569
diff changeset
   397
4cc009526331 class definition
Claus Gittinger <cg@exept.de>
parents: 569
diff changeset
   398
    "Created: / 31-08-2012 / 11:49:56 / cg"
4cc009526331 class definition
Claus Gittinger <cg@exept.de>
parents: 569
diff changeset
   399
!
4cc009526331 class definition
Claus Gittinger <cg@exept.de>
parents: 569
diff changeset
   400
360
49f34323f6c6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   401
messageChanged
49f34323f6c6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   402
49f34323f6c6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   403
    self halt
49f34323f6c6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   404
49f34323f6c6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   405
    "Created: / 15-09-2010 / 10:04:08 / Jan Vrany <jan.vrany@fit.cvut.cz>"
49f34323f6c6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   406
!
49f34323f6c6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   407
49f34323f6c6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   408
repositoryChanged
573
4cc009526331 class definition
Claus Gittinger <cg@exept.de>
parents: 569
diff changeset
   409
    self repositoryHolder value isString ifTrue:[
4cc009526331 class definition
Claus Gittinger <cg@exept.de>
parents: 569
diff changeset
   410
        MCSettingsApp open.
4cc009526331 class definition
Claus Gittinger <cg@exept.de>
parents: 569
diff changeset
   411
        self repositoryHolder 
4cc009526331 class definition
Claus Gittinger <cg@exept.de>
parents: 569
diff changeset
   412
            value:(self repositoryList value first)
4cc009526331 class definition
Claus Gittinger <cg@exept.de>
parents: 569
diff changeset
   413
            withoutNotifying:self.
4cc009526331 class definition
Claus Gittinger <cg@exept.de>
parents: 569
diff changeset
   414
    ].
360
49f34323f6c6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   415
49f34323f6c6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   416
    self updateAcceptEnabled
49f34323f6c6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   417
49f34323f6c6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   418
    "Created: / 15-09-2010 / 14:02:03 / Jan Vrany <jan.vrany@fit.cvut.cz>"
573
4cc009526331 class definition
Claus Gittinger <cg@exept.de>
parents: 569
diff changeset
   419
    "Modified: / 31-08-2012 / 12:01:02 / cg"
360
49f34323f6c6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   420
!
49f34323f6c6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   421
49f34323f6c6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   422
update:something with:aParameter from:changedObject
49f34323f6c6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   423
    "Invoked when an object that I depend upon sends a change notification."
49f34323f6c6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   424
49f34323f6c6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   425
    "stub code automatically generated - please change as required"
49f34323f6c6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   426
49f34323f6c6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   427
    changedObject == workingCopyHolder ifTrue:[
49f34323f6c6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   428
         self workingCopyChanged.
49f34323f6c6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   429
         ^ self.
49f34323f6c6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   430
    ].
49f34323f6c6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   431
49f34323f6c6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   432
    changedObject == messageHolder ifTrue:[
49f34323f6c6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   433
         self messageChanged.
49f34323f6c6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   434
         ^ self.
49f34323f6c6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   435
    ].
49f34323f6c6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   436
    changedObject == repositoryHolder ifTrue:[
49f34323f6c6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   437
         self repositoryChanged.
49f34323f6c6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   438
         ^ self.
49f34323f6c6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   439
    ].
49f34323f6c6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   440
49f34323f6c6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   441
    super update:something with:aParameter from:changedObject
49f34323f6c6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   442
49f34323f6c6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   443
    "Modified: / 15-09-2010 / 14:02:19 / Jan Vrany <jan.vrany@fit.cvut.cz>"
49f34323f6c6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   444
!
49f34323f6c6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   445
49f34323f6c6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   446
updateAcceptEnabled
573
4cc009526331 class definition
Claus Gittinger <cg@exept.de>
parents: 569
diff changeset
   447
    | enabled |
360
49f34323f6c6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   448
49f34323f6c6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   449
    enabled := true.
49f34323f6c6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   450
    enabled := enabled and:[self workingCopyHolder value notNil].
49f34323f6c6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   451
    enabled := enabled and:[self repositoryHolder value notNil].
49f34323f6c6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   452
    self acceptEnabledHolder value: enabled.
49f34323f6c6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   453
49f34323f6c6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   454
    "Created: / 15-09-2010 / 14:01:33 / Jan Vrany <jan.vrany@fit.cvut.cz>"
573
4cc009526331 class definition
Claus Gittinger <cg@exept.de>
parents: 569
diff changeset
   455
    "Modified: / 31-08-2012 / 11:59:09 / cg"
4cc009526331 class definition
Claus Gittinger <cg@exept.de>
parents: 569
diff changeset
   456
!
4cc009526331 class definition
Claus Gittinger <cg@exept.de>
parents: 569
diff changeset
   457
4cc009526331 class definition
Claus Gittinger <cg@exept.de>
parents: 569
diff changeset
   458
updateVersionNumberTo:versionName
4cc009526331 class definition
Claus Gittinger <cg@exept.de>
parents: 569
diff changeset
   459
    self versionNameHolder value: versionName.
4cc009526331 class definition
Claus Gittinger <cg@exept.de>
parents: 569
diff changeset
   460
    self updateAcceptEnabled
4cc009526331 class definition
Claus Gittinger <cg@exept.de>
parents: 569
diff changeset
   461
4cc009526331 class definition
Claus Gittinger <cg@exept.de>
parents: 569
diff changeset
   462
    "Created: / 31-08-2012 / 11:54:15 / cg"
360
49f34323f6c6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   463
!
49f34323f6c6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   464
49f34323f6c6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   465
workingCopyChanged
573
4cc009526331 class definition
Claus Gittinger <cg@exept.de>
parents: 569
diff changeset
   466
    |p|
360
49f34323f6c6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   467
573
4cc009526331 class definition
Claus Gittinger <cg@exept.de>
parents: 569
diff changeset
   468
    self window isNil ifTrue:[
4cc009526331 class definition
Claus Gittinger <cg@exept.de>
parents: 569
diff changeset
   469
        versionNameFinderProcess isNil ifTrue:[
4cc009526331 class definition
Claus Gittinger <cg@exept.de>
parents: 569
diff changeset
   470
            versionNameFinderProcess :=
4cc009526331 class definition
Claus Gittinger <cg@exept.de>
parents: 569
diff changeset
   471
                [
4cc009526331 class definition
Claus Gittinger <cg@exept.de>
parents: 569
diff changeset
   472
                    self findUniqueVersionNumber.
4cc009526331 class definition
Claus Gittinger <cg@exept.de>
parents: 569
diff changeset
   473
                ] fork.
4cc009526331 class definition
Claus Gittinger <cg@exept.de>
parents: 569
diff changeset
   474
        ].
4cc009526331 class definition
Claus Gittinger <cg@exept.de>
parents: 569
diff changeset
   475
        ^ self.
4cc009526331 class definition
Claus Gittinger <cg@exept.de>
parents: 569
diff changeset
   476
    ].
4cc009526331 class definition
Claus Gittinger <cg@exept.de>
parents: 569
diff changeset
   477
4cc009526331 class definition
Claus Gittinger <cg@exept.de>
parents: 569
diff changeset
   478
    (self workingCopyHolder value) notNil ifTrue:[
4cc009526331 class definition
Claus Gittinger <cg@exept.de>
parents: 569
diff changeset
   479
        (p := versionNameFinderProcess) notNil ifTrue:[
4cc009526331 class definition
Claus Gittinger <cg@exept.de>
parents: 569
diff changeset
   480
            versionNameFinderProcess := nil.
4cc009526331 class definition
Claus Gittinger <cg@exept.de>
parents: 569
diff changeset
   481
            p terminateAndWait.
4cc009526331 class definition
Claus Gittinger <cg@exept.de>
parents: 569
diff changeset
   482
        ].
4cc009526331 class definition
Claus Gittinger <cg@exept.de>
parents: 569
diff changeset
   483
        self findUniqueVersionNumber.
4cc009526331 class definition
Claus Gittinger <cg@exept.de>
parents: 569
diff changeset
   484
    ].
360
49f34323f6c6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   485
49f34323f6c6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   486
    "Created: / 15-09-2010 / 09:30:17 / Jan Vrany <jan.vrany@fit.cvut.cz>"
49f34323f6c6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   487
    "Modified: / 15-09-2010 / 14:01:44 / Jan Vrany <jan.vrany@fit.cvut.cz>"
573
4cc009526331 class definition
Claus Gittinger <cg@exept.de>
parents: 569
diff changeset
   488
    "Modified: / 31-08-2012 / 11:53:32 / cg"
360
49f34323f6c6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   489
! !
49f34323f6c6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   490
49f34323f6c6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   491
!MCCommitDialog methodsFor:'hooks'!
49f34323f6c6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   492
49f34323f6c6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   493
postBuildMessageView: aView
49f34323f6c6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   494
49f34323f6c6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   495
    messageView := aView scrolledView
49f34323f6c6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   496
49f34323f6c6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   497
    "Created: / 15-09-2010 / 13:56:32 / Jan Vrany <jan.vrany@fit.cvut.cz>"
49f34323f6c6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   498
! !
49f34323f6c6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   499
49f34323f6c6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   500
!MCCommitDialog class methodsFor:'documentation'!
49f34323f6c6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   501
49f34323f6c6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   502
version
784
cac151328dea class: MCCommitDialog
Claus Gittinger <cg@exept.de>
parents: 758
diff changeset
   503
    ^ '$Header: /cvs/stx/stx/goodies/monticello/MCCommitDialog.st,v 1.11 2013-04-19 00:24:00 cg Exp $'
360
49f34323f6c6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   504
!
49f34323f6c6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   505
49f34323f6c6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   506
version_CVS
784
cac151328dea class: MCCommitDialog
Claus Gittinger <cg@exept.de>
parents: 758
diff changeset
   507
    ^ '$Header: /cvs/stx/stx/goodies/monticello/MCCommitDialog.st,v 1.11 2013-04-19 00:24:00 cg Exp $'
573
4cc009526331 class definition
Claus Gittinger <cg@exept.de>
parents: 569
diff changeset
   508
!
4cc009526331 class definition
Claus Gittinger <cg@exept.de>
parents: 569
diff changeset
   509
4cc009526331 class definition
Claus Gittinger <cg@exept.de>
parents: 569
diff changeset
   510
version_MC
4cc009526331 class definition
Claus Gittinger <cg@exept.de>
parents: 569
diff changeset
   511
    ^ '§stx:goodies/monticello-cg.3 4e70fe70-f030-11e1-ac62-001f3bda2d09 2012-08-27T12:16:46 cg§'
360
49f34323f6c6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   512
!
49f34323f6c6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   513
49f34323f6c6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   514
version_SVN
49f34323f6c6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   515
    ^ '§Id: MCCommitDialog.st 12 2010-09-15 13:13:22Z vranyj1 §'
49f34323f6c6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   516
! !
742
65fd0b6f3267 class: MCCommitDialog
Claus Gittinger <cg@exept.de>
parents: 580
diff changeset
   517