PerforceSourceCodeManagementSettingsAppl.st
author Claus Gittinger <cg@exept.de>
Wed, 20 Apr 2011 12:55:00 +0200
changeset 9873 c17fe1531c2b
parent 9864 d9b21106b707
child 10029 7a3812d7edc3
permissions -rw-r--r--
changed: #settingsApplicationClass
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
9837
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
     1
"{ Package: 'stx:libtool' }"
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
     2
9864
d9b21106b707 class definition
Claus Gittinger <cg@exept.de>
parents: 9861
diff changeset
     3
AbstractSourceCodeManagementSettingsAppl subclass:#PerforceSourceCodeManagementSettingsAppl
d9b21106b707 class definition
Claus Gittinger <cg@exept.de>
parents: 9861
diff changeset
     4
	instanceVariableNames:'sourceCacheDir listOfModules removeEnabled acceptChannel
d9b21106b707 class definition
Claus Gittinger <cg@exept.de>
parents: 9861
diff changeset
     5
		selectedPerModuleRoot verboseSourceCodeAccess
d9b21106b707 class definition
Claus Gittinger <cg@exept.de>
parents: 9861
diff changeset
     6
		perforceExecutableHolder listOfPerforceModules
d9b21106b707 class definition
Claus Gittinger <cg@exept.de>
parents: 9861
diff changeset
     7
		defaultSettingsHolder tableColumns defaultSettingsPrototypeList'
d9b21106b707 class definition
Claus Gittinger <cg@exept.de>
parents: 9861
diff changeset
     8
	classVariableNames:'RecentlyUsedCVSRoots RecentlyUsedStoreHosts
d9b21106b707 class definition
Claus Gittinger <cg@exept.de>
parents: 9861
diff changeset
     9
		RecentlyUsedSmallTeamHosts LastStoreHost LastStoreUser
d9b21106b707 class definition
Claus Gittinger <cg@exept.de>
parents: 9861
diff changeset
    10
		LastStorePassword'
d9b21106b707 class definition
Claus Gittinger <cg@exept.de>
parents: 9861
diff changeset
    11
	poolDictionaries:''
9873
c17fe1531c2b changed: #settingsApplicationClass
Claus Gittinger <cg@exept.de>
parents: 9864
diff changeset
    12
	category:'System-SourceCodeManagement'
9837
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    13
!
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    14
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    15
ApplicationModel subclass:#ManagerPerModuleApp
9864
d9b21106b707 class definition
Claus Gittinger <cg@exept.de>
parents: 9861
diff changeset
    16
	instanceVariableNames:'moduleHolder acceptChannel settingsHolder
d9b21106b707 class definition
Claus Gittinger <cg@exept.de>
parents: 9861
diff changeset
    17
		sourceCodeManagementSettingsApp acceptEnableChannel canceled
d9b21106b707 class definition
Claus Gittinger <cg@exept.de>
parents: 9861
diff changeset
    18
		defaultSettingsPrototypeList'
d9b21106b707 class definition
Claus Gittinger <cg@exept.de>
parents: 9861
diff changeset
    19
	classVariableNames:''
d9b21106b707 class definition
Claus Gittinger <cg@exept.de>
parents: 9861
diff changeset
    20
	poolDictionaries:''
d9b21106b707 class definition
Claus Gittinger <cg@exept.de>
parents: 9861
diff changeset
    21
	privateIn:PerforceSourceCodeManagementSettingsAppl
9837
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    22
!
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    23
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    24
Object subclass:#ModuleManager
9864
d9b21106b707 class definition
Claus Gittinger <cg@exept.de>
parents: 9861
diff changeset
    25
	instanceVariableNames:'manager module settings app'
d9b21106b707 class definition
Claus Gittinger <cg@exept.de>
parents: 9861
diff changeset
    26
	classVariableNames:''
d9b21106b707 class definition
Claus Gittinger <cg@exept.de>
parents: 9861
diff changeset
    27
	poolDictionaries:''
d9b21106b707 class definition
Claus Gittinger <cg@exept.de>
parents: 9861
diff changeset
    28
	privateIn:PerforceSourceCodeManagementSettingsAppl
9837
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    29
!
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    30
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    31
9864
d9b21106b707 class definition
Claus Gittinger <cg@exept.de>
parents: 9861
diff changeset
    32
!PerforceSourceCodeManagementSettingsAppl class methodsFor:'image specs'!
9837
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    33
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    34
defaultIcon
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    35
    "This resource specification was automatically generated
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    36
     by the ImageEditor of ST/X."
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    37
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    38
    "Do not manually edit this!! If it is corrupted,
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    39
     the ImageEditor may not be able to read the specification."
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    40
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    41
    "
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    42
     self defaultIcon inspect
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    43
     ImageEditor openOnClass:self andSelector:#defaultIcon
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    44
     Icon flushCachedIcons
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    45
    "
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    46
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    47
    <resource: #image>
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    48
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    49
    ^Icon
9861
2fb5f110fe82 class definition
Claus Gittinger <cg@exept.de>
parents: 9848
diff changeset
    50
        constantNamed:#'AbstractSettingsApplication::SourceCodeManagementSettingsAppl class defaultIcon'
2fb5f110fe82 class definition
Claus Gittinger <cg@exept.de>
parents: 9848
diff changeset
    51
        ifAbsentPut:[(Depth8Image new) width: 22; height: 22; photometric:(#palette); bitsPerSample:(#(8 )); samplesPerPixel:(1); bits:(ByteArray fromPackedString:'
9837
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    52
@@@@@@@@@@@A@PHB@0P@@@@@@@@@@@@@@@@@@@HEA \HA $JB0HD@@@@@@@@@@@@@@HLA04NC0HD@@L@@ P@@@@@@@@@@@@ED@ NDP@@@@@@@@@D@@@@@@@@
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    53
@@@BA \FAPP@@@@@@@@@@@P@@@@@@@@@AQ@RC0@@@@@@@@@@@@@@@@@@@@@@@@TGA!!DD@@@@@@@@@@@@@@@@@@@D@PDIA08OA@@@@@@@@@@@@@@@@@@@AP S
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    54
A0XIBPXGC0P@@@@@@@@@@@@@@@@ECAPLBPXOAP@@@@@@EQX@@@@@@@@@@@TIE@XOAP@@@@@@EQ\XE @@@@@@@@@@AP$OAP@@@@@@FQ\ZE!! V@@@@@@@@@@@E
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    55
F0@@@@@@EQ\ZF!!(VFAX@@@@@@@@@@@@@@@@ZEQ\VE!!(ZF!!XWF @@@@@@@@@@@@@@@@@@@A\ZE!!(@@@@@@@@@@@@@@@@@@@@@@@@XE!!XZ@@@@@@@@@@@@@@@@
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    56
@@@@@@@@EQ(V@@@@@@@@@@@@@@@@@@@@@@@@EQ\VE @@@@@@@@@@@@@@@@@@@@@@EQ VE @@@@@@@@@@@@@@F @@@@@WEQ VE!!(@@@@@@@@@@@@@@@@@E!!\W
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    57
EQXVE @@@@@@@@@@@@@@@@@@@@@@@A(Z@@@@@@@@@@@@@@@a') ; colorMapFromArray:#[0 0 0 32 64 0 0 64 0 32 32 0 0 32 0 32 96 32 96 192 128 192 224 192 160 224 160 32 128 64 64 96 64 64 96 32 32 160 64 160 224 192 64 160 96 32 128 32 224 224 224 64 128 64 160 192 160 224 224 192 32 160 96 160 160 160 64 64 64 96 96 96 128 128 128 192 192 192 32 32 32 32 64 32]; mask:((ImageMask new) width: 22; height: 22; photometric:(#blackIs0); bitsPerSample:(#(1 )); samplesPerPixel:(1); bits:(ByteArray fromPackedString:'@O8@@?>@A??@A?C C<@0C8@PC8@@??@@??F@_>O@O<_ G8?0C1?8A#?<@C?<@@_@H@_@L@?@GC>@C?>@A?<@@_0@') ; yourself); yourself]
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    58
! !
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    59
9864
d9b21106b707 class definition
Claus Gittinger <cg@exept.de>
parents: 9861
diff changeset
    60
!PerforceSourceCodeManagementSettingsAppl class methodsFor:'interface specs'!
9837
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    61
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    62
windowSpec
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    63
    "This resource specification was automatically generated
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    64
     by the UIPainter of ST/X."
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    65
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    66
    "Do not manually edit this!! If it is corrupted,
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    67
     the UIPainter may not be able to read the specification."
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    68
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    69
    "
9873
c17fe1531c2b changed: #settingsApplicationClass
Claus Gittinger <cg@exept.de>
parents: 9864
diff changeset
    70
     UIPainter new openOnClass:PerforceSourceCodeManagementSettingsAppl andSelector:#windowSpec
c17fe1531c2b changed: #settingsApplicationClass
Claus Gittinger <cg@exept.de>
parents: 9864
diff changeset
    71
     PerforceSourceCodeManagementSettingsAppl new openInterface:#windowSpec
c17fe1531c2b changed: #settingsApplicationClass
Claus Gittinger <cg@exept.de>
parents: 9864
diff changeset
    72
     PerforceSourceCodeManagementSettingsAppl open
9837
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    73
    "
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    74
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    75
    <resource: #canvas>
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    76
9848
74fc0d845a9b comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents: 9846
diff changeset
    77
    ^ 
9837
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    78
     #(FullSpec
9848
74fc0d845a9b comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents: 9846
diff changeset
    79
        name: windowSpec
74fc0d845a9b comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents: 9846
diff changeset
    80
        window: 
9837
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    81
       (WindowSpec
9848
74fc0d845a9b comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents: 9846
diff changeset
    82
          label: 'Source Code Manager Settings'
74fc0d845a9b comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents: 9846
diff changeset
    83
          name: 'Source Code Manager Settings'
74fc0d845a9b comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents: 9846
diff changeset
    84
          min: (Point 10 10)
74fc0d845a9b comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents: 9846
diff changeset
    85
          bounds: (Rectangle 0 0 726 653)
74fc0d845a9b comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents: 9846
diff changeset
    86
        )
74fc0d845a9b comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents: 9846
diff changeset
    87
        component: 
9837
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    88
       (SpecCollection
9848
74fc0d845a9b comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents: 9846
diff changeset
    89
          collection: (
74fc0d845a9b comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents: 9846
diff changeset
    90
           (VerticalPanelViewSpec
74fc0d845a9b comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents: 9846
diff changeset
    91
              name: 'VerticalPanel2'
74fc0d845a9b comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents: 9846
diff changeset
    92
              layout: (LayoutFrame 0 0.0 0 0.0 0 1.0 0 1.0)
74fc0d845a9b comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents: 9846
diff changeset
    93
              horizontalLayout: fit
74fc0d845a9b comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents: 9846
diff changeset
    94
              verticalLayout: topSpace
74fc0d845a9b comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents: 9846
diff changeset
    95
              horizontalSpace: 3
74fc0d845a9b comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents: 9846
diff changeset
    96
              verticalSpace: 20
74fc0d845a9b comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents: 9846
diff changeset
    97
              component: 
74fc0d845a9b comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents: 9846
diff changeset
    98
             (SpecCollection
74fc0d845a9b comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents: 9846
diff changeset
    99
                collection: (
74fc0d845a9b comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents: 9846
diff changeset
   100
                 (VerticalPanelViewSpec
74fc0d845a9b comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents: 9846
diff changeset
   101
                    name: 'VerticalPanel3'
74fc0d845a9b comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents: 9846
diff changeset
   102
                    horizontalLayout: fit
74fc0d845a9b comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents: 9846
diff changeset
   103
                    verticalLayout: top
74fc0d845a9b comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents: 9846
diff changeset
   104
                    horizontalSpace: 3
74fc0d845a9b comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents: 9846
diff changeset
   105
                    verticalSpace: 4
74fc0d845a9b comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents: 9846
diff changeset
   106
                    component: 
74fc0d845a9b comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents: 9846
diff changeset
   107
                   (SpecCollection
74fc0d845a9b comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents: 9846
diff changeset
   108
                      collection: (
9873
c17fe1531c2b changed: #settingsApplicationClass
Claus Gittinger <cg@exept.de>
parents: 9864
diff changeset
   109
                       (FramedBoxSpec
c17fe1531c2b changed: #settingsApplicationClass
Claus Gittinger <cg@exept.de>
parents: 9864
diff changeset
   110
                          label: 'Perforce (P4) Sourcecode Manager Settings'
c17fe1531c2b changed: #settingsApplicationClass
Claus Gittinger <cg@exept.de>
parents: 9864
diff changeset
   111
                          name: 'FramedBox3'
c17fe1531c2b changed: #settingsApplicationClass
Claus Gittinger <cg@exept.de>
parents: 9864
diff changeset
   112
                          labelPosition: topLeft
c17fe1531c2b changed: #settingsApplicationClass
Claus Gittinger <cg@exept.de>
parents: 9864
diff changeset
   113
                          translateLabel: true
9848
74fc0d845a9b comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents: 9846
diff changeset
   114
                          component: 
74fc0d845a9b comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents: 9846
diff changeset
   115
                         (SpecCollection
74fc0d845a9b comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents: 9846
diff changeset
   116
                            collection: (
9873
c17fe1531c2b changed: #settingsApplicationClass
Claus Gittinger <cg@exept.de>
parents: 9864
diff changeset
   117
                             (ViewSpec
c17fe1531c2b changed: #settingsApplicationClass
Claus Gittinger <cg@exept.de>
parents: 9864
diff changeset
   118
                                name: 'Box3'
c17fe1531c2b changed: #settingsApplicationClass
Claus Gittinger <cg@exept.de>
parents: 9864
diff changeset
   119
                                layout: (LayoutFrame 0 0 0 0 0 1 0 1)
c17fe1531c2b changed: #settingsApplicationClass
Claus Gittinger <cg@exept.de>
parents: 9864
diff changeset
   120
                                component: 
c17fe1531c2b changed: #settingsApplicationClass
Claus Gittinger <cg@exept.de>
parents: 9864
diff changeset
   121
                               (SpecCollection
c17fe1531c2b changed: #settingsApplicationClass
Claus Gittinger <cg@exept.de>
parents: 9864
diff changeset
   122
                                  collection: (
c17fe1531c2b changed: #settingsApplicationClass
Claus Gittinger <cg@exept.de>
parents: 9864
diff changeset
   123
                                   (LabelSpec
c17fe1531c2b changed: #settingsApplicationClass
Claus Gittinger <cg@exept.de>
parents: 9864
diff changeset
   124
                                      label: 'Default Perforce Root'
c17fe1531c2b changed: #settingsApplicationClass
Claus Gittinger <cg@exept.de>
parents: 9864
diff changeset
   125
                                      name: ''
c17fe1531c2b changed: #settingsApplicationClass
Claus Gittinger <cg@exept.de>
parents: 9864
diff changeset
   126
                                      layout: (LayoutFrame 0 0.0 1 0 60 0.25 23 0)
c17fe1531c2b changed: #settingsApplicationClass
Claus Gittinger <cg@exept.de>
parents: 9864
diff changeset
   127
                                      level: 0
c17fe1531c2b changed: #settingsApplicationClass
Claus Gittinger <cg@exept.de>
parents: 9864
diff changeset
   128
                                      translateLabel: true
c17fe1531c2b changed: #settingsApplicationClass
Claus Gittinger <cg@exept.de>
parents: 9864
diff changeset
   129
                                      adjust: right
c17fe1531c2b changed: #settingsApplicationClass
Claus Gittinger <cg@exept.de>
parents: 9864
diff changeset
   130
                                    )
c17fe1531c2b changed: #settingsApplicationClass
Claus Gittinger <cg@exept.de>
parents: 9864
diff changeset
   131
                                   (LabelSpec
c17fe1531c2b changed: #settingsApplicationClass
Claus Gittinger <cg@exept.de>
parents: 9864
diff changeset
   132
                                      label: 'client:user:pass@host:port '
c17fe1531c2b changed: #settingsApplicationClass
Claus Gittinger <cg@exept.de>
parents: 9864
diff changeset
   133
                                      name: 'Label18'
c17fe1531c2b changed: #settingsApplicationClass
Claus Gittinger <cg@exept.de>
parents: 9864
diff changeset
   134
                                      layout: (LayoutFrame 4 0.0 19 0 64 0.25 34 0)
c17fe1531c2b changed: #settingsApplicationClass
Claus Gittinger <cg@exept.de>
parents: 9864
diff changeset
   135
                                      style: (FontDescription helvetica medium roman 10)
c17fe1531c2b changed: #settingsApplicationClass
Claus Gittinger <cg@exept.de>
parents: 9864
diff changeset
   136
                                      level: 0
c17fe1531c2b changed: #settingsApplicationClass
Claus Gittinger <cg@exept.de>
parents: 9864
diff changeset
   137
                                      translateLabel: true
c17fe1531c2b changed: #settingsApplicationClass
Claus Gittinger <cg@exept.de>
parents: 9864
diff changeset
   138
                                      adjust: right
c17fe1531c2b changed: #settingsApplicationClass
Claus Gittinger <cg@exept.de>
parents: 9864
diff changeset
   139
                                    )
c17fe1531c2b changed: #settingsApplicationClass
Claus Gittinger <cg@exept.de>
parents: 9864
diff changeset
   140
                                   (ComboBoxSpec
c17fe1531c2b changed: #settingsApplicationClass
Claus Gittinger <cg@exept.de>
parents: 9864
diff changeset
   141
                                      name: 'cvsRootComboBox'
c17fe1531c2b changed: #settingsApplicationClass
Claus Gittinger <cg@exept.de>
parents: 9864
diff changeset
   142
                                      layout: (LayoutFrame 66 0.25 7 0 -5 1 29 0)
c17fe1531c2b changed: #settingsApplicationClass
Claus Gittinger <cg@exept.de>
parents: 9864
diff changeset
   143
                                      tabable: true
c17fe1531c2b changed: #settingsApplicationClass
Claus Gittinger <cg@exept.de>
parents: 9864
diff changeset
   144
                                      model: defaultSettingsHolder
c17fe1531c2b changed: #settingsApplicationClass
Claus Gittinger <cg@exept.de>
parents: 9864
diff changeset
   145
                                      immediateAccept: true
c17fe1531c2b changed: #settingsApplicationClass
Claus Gittinger <cg@exept.de>
parents: 9864
diff changeset
   146
                                      acceptOnLeave: true
c17fe1531c2b changed: #settingsApplicationClass
Claus Gittinger <cg@exept.de>
parents: 9864
diff changeset
   147
                                      acceptOnReturn: true
c17fe1531c2b changed: #settingsApplicationClass
Claus Gittinger <cg@exept.de>
parents: 9864
diff changeset
   148
                                      acceptOnTab: true
c17fe1531c2b changed: #settingsApplicationClass
Claus Gittinger <cg@exept.de>
parents: 9864
diff changeset
   149
                                      acceptOnLostFocus: true
c17fe1531c2b changed: #settingsApplicationClass
Claus Gittinger <cg@exept.de>
parents: 9864
diff changeset
   150
                                      acceptChannel: acceptChannel
c17fe1531c2b changed: #settingsApplicationClass
Claus Gittinger <cg@exept.de>
parents: 9864
diff changeset
   151
                                      acceptOnPointerLeave: true
c17fe1531c2b changed: #settingsApplicationClass
Claus Gittinger <cg@exept.de>
parents: 9864
diff changeset
   152
                                      comboList: defaultSettingsPrototypeList
c17fe1531c2b changed: #settingsApplicationClass
Claus Gittinger <cg@exept.de>
parents: 9864
diff changeset
   153
                                    )
c17fe1531c2b changed: #settingsApplicationClass
Claus Gittinger <cg@exept.de>
parents: 9864
diff changeset
   154
                                   (LabelSpec
c17fe1531c2b changed: #settingsApplicationClass
Claus Gittinger <cg@exept.de>
parents: 9864
diff changeset
   155
                                      label: 'Perforce Command or Path:'
c17fe1531c2b changed: #settingsApplicationClass
Claus Gittinger <cg@exept.de>
parents: 9864
diff changeset
   156
                                      name: 'Label22'
c17fe1531c2b changed: #settingsApplicationClass
Claus Gittinger <cg@exept.de>
parents: 9864
diff changeset
   157
                                      layout: (LayoutFrame 0 0.0 38 0 60 0.25 60 0)
c17fe1531c2b changed: #settingsApplicationClass
Claus Gittinger <cg@exept.de>
parents: 9864
diff changeset
   158
                                      level: 0
c17fe1531c2b changed: #settingsApplicationClass
Claus Gittinger <cg@exept.de>
parents: 9864
diff changeset
   159
                                      translateLabel: true
c17fe1531c2b changed: #settingsApplicationClass
Claus Gittinger <cg@exept.de>
parents: 9864
diff changeset
   160
                                      adjust: right
c17fe1531c2b changed: #settingsApplicationClass
Claus Gittinger <cg@exept.de>
parents: 9864
diff changeset
   161
                                    )
c17fe1531c2b changed: #settingsApplicationClass
Claus Gittinger <cg@exept.de>
parents: 9864
diff changeset
   162
                                   (InputFieldSpec
c17fe1531c2b changed: #settingsApplicationClass
Claus Gittinger <cg@exept.de>
parents: 9864
diff changeset
   163
                                      name: 'EntryField8'
c17fe1531c2b changed: #settingsApplicationClass
Claus Gittinger <cg@exept.de>
parents: 9864
diff changeset
   164
                                      layout: (LayoutFrame 66 0.25 38 0 -5 1 60 0)
c17fe1531c2b changed: #settingsApplicationClass
Claus Gittinger <cg@exept.de>
parents: 9864
diff changeset
   165
                                      tabable: true
c17fe1531c2b changed: #settingsApplicationClass
Claus Gittinger <cg@exept.de>
parents: 9864
diff changeset
   166
                                      model: perforceExecutableHolder
c17fe1531c2b changed: #settingsApplicationClass
Claus Gittinger <cg@exept.de>
parents: 9864
diff changeset
   167
                                      immediateAccept: false
c17fe1531c2b changed: #settingsApplicationClass
Claus Gittinger <cg@exept.de>
parents: 9864
diff changeset
   168
                                      acceptOnLostFocus: true
c17fe1531c2b changed: #settingsApplicationClass
Claus Gittinger <cg@exept.de>
parents: 9864
diff changeset
   169
                                      acceptChannel: acceptChannel
c17fe1531c2b changed: #settingsApplicationClass
Claus Gittinger <cg@exept.de>
parents: 9864
diff changeset
   170
                                      acceptOnPointerLeave: true
c17fe1531c2b changed: #settingsApplicationClass
Claus Gittinger <cg@exept.de>
parents: 9864
diff changeset
   171
                                    )
c17fe1531c2b changed: #settingsApplicationClass
Claus Gittinger <cg@exept.de>
parents: 9864
diff changeset
   172
                                   )
c17fe1531c2b changed: #settingsApplicationClass
Claus Gittinger <cg@exept.de>
parents: 9864
diff changeset
   173
                                 
c17fe1531c2b changed: #settingsApplicationClass
Claus Gittinger <cg@exept.de>
parents: 9864
diff changeset
   174
                                )
9848
74fc0d845a9b comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents: 9846
diff changeset
   175
                              )
74fc0d845a9b comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents: 9846
diff changeset
   176
                             )
74fc0d845a9b comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents: 9846
diff changeset
   177
                           
74fc0d845a9b comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents: 9846
diff changeset
   178
                          )
9873
c17fe1531c2b changed: #settingsApplicationClass
Claus Gittinger <cg@exept.de>
parents: 9864
diff changeset
   179
                          extent: (Point 726 95)
9848
74fc0d845a9b comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents: 9846
diff changeset
   180
                        )
74fc0d845a9b comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents: 9846
diff changeset
   181
                       (ViewSpec
74fc0d845a9b comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents: 9846
diff changeset
   182
                          name: 'ManagerSetupBoxx'
74fc0d845a9b comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents: 9846
diff changeset
   183
                          component: 
74fc0d845a9b comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents: 9846
diff changeset
   184
                         (SpecCollection
74fc0d845a9b comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents: 9846
diff changeset
   185
                            collection: (
74fc0d845a9b comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents: 9846
diff changeset
   186
                             (FramedBoxSpec
74fc0d845a9b comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents: 9846
diff changeset
   187
                                label: 'Per Module Manager Setup'
74fc0d845a9b comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents: 9846
diff changeset
   188
                                name: 'PerModuleManagerSetup'
74fc0d845a9b comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents: 9846
diff changeset
   189
                                layout: (LayoutFrame 0 0 -1 0 0 1 -3 1)
74fc0d845a9b comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents: 9846
diff changeset
   190
                                labelPosition: topLeft
74fc0d845a9b comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents: 9846
diff changeset
   191
                                translateLabel: true
74fc0d845a9b comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents: 9846
diff changeset
   192
                                component: 
74fc0d845a9b comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents: 9846
diff changeset
   193
                               (SpecCollection
74fc0d845a9b comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents: 9846
diff changeset
   194
                                  collection: (
74fc0d845a9b comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents: 9846
diff changeset
   195
                                   (DataSetSpec
74fc0d845a9b comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents: 9846
diff changeset
   196
                                      name: 'Table1'
74fc0d845a9b comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents: 9846
diff changeset
   197
                                      layout: (LayoutFrame 5 0 5 0 0 1 180 0)
74fc0d845a9b comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents: 9846
diff changeset
   198
                                      model: selectedPerModuleRoot
74fc0d845a9b comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents: 9846
diff changeset
   199
                                      hasHorizontalScrollBar: true
74fc0d845a9b comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents: 9846
diff changeset
   200
                                      hasVerticalScrollBar: true
74fc0d845a9b comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents: 9846
diff changeset
   201
                                      dataList: listOfModules
74fc0d845a9b comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents: 9846
diff changeset
   202
                                      useIndex: false
74fc0d845a9b comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents: 9846
diff changeset
   203
                                      columnHolder: tableColumns
74fc0d845a9b comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents: 9846
diff changeset
   204
                                      beDependentOfRows: true
74fc0d845a9b comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents: 9846
diff changeset
   205
                                    )
74fc0d845a9b comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents: 9846
diff changeset
   206
                                   (HorizontalPanelViewSpec
74fc0d845a9b comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents: 9846
diff changeset
   207
                                      name: 'HorizontalPanel11'
74fc0d845a9b comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents: 9846
diff changeset
   208
                                      layout: (LayoutFrame 5 0 -25 1 -1 1 0 1)
74fc0d845a9b comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents: 9846
diff changeset
   209
                                      horizontalLayout: fitSpace
74fc0d845a9b comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents: 9846
diff changeset
   210
                                      verticalLayout: center
74fc0d845a9b comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents: 9846
diff changeset
   211
                                      horizontalSpace: 3
74fc0d845a9b comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents: 9846
diff changeset
   212
                                      verticalSpace: 3
74fc0d845a9b comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents: 9846
diff changeset
   213
                                      component: 
74fc0d845a9b comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents: 9846
diff changeset
   214
                                     (SpecCollection
74fc0d845a9b comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents: 9846
diff changeset
   215
                                        collection: (
74fc0d845a9b comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents: 9846
diff changeset
   216
                                         (ActionButtonSpec
74fc0d845a9b comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents: 9846
diff changeset
   217
                                            label: 'Add/Apply'
74fc0d845a9b comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents: 9846
diff changeset
   218
                                            name: 'Button2'
74fc0d845a9b comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents: 9846
diff changeset
   219
                                            translateLabel: true
74fc0d845a9b comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents: 9846
diff changeset
   220
                                            tabable: true
74fc0d845a9b comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents: 9846
diff changeset
   221
                                            model: addPerModuleRoot
9873
c17fe1531c2b changed: #settingsApplicationClass
Claus Gittinger <cg@exept.de>
parents: 9864
diff changeset
   222
                                            extent: (Point 338 22)
9848
74fc0d845a9b comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents: 9846
diff changeset
   223
                                          )
74fc0d845a9b comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents: 9846
diff changeset
   224
                                         (ActionButtonSpec
74fc0d845a9b comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents: 9846
diff changeset
   225
                                            label: 'Remove'
74fc0d845a9b comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents: 9846
diff changeset
   226
                                            name: 'Button3'
74fc0d845a9b comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents: 9846
diff changeset
   227
                                            translateLabel: true
74fc0d845a9b comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents: 9846
diff changeset
   228
                                            tabable: true
74fc0d845a9b comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents: 9846
diff changeset
   229
                                            model: removePerModuleRoot
74fc0d845a9b comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents: 9846
diff changeset
   230
                                            enableChannel: removeEnabled
9873
c17fe1531c2b changed: #settingsApplicationClass
Claus Gittinger <cg@exept.de>
parents: 9864
diff changeset
   231
                                            extent: (Point 339 22)
9848
74fc0d845a9b comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents: 9846
diff changeset
   232
                                          )
74fc0d845a9b comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents: 9846
diff changeset
   233
                                         )
74fc0d845a9b comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents: 9846
diff changeset
   234
                                       
74fc0d845a9b comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents: 9846
diff changeset
   235
                                      )
74fc0d845a9b comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents: 9846
diff changeset
   236
                                    )
74fc0d845a9b comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents: 9846
diff changeset
   237
                                   )
74fc0d845a9b comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents: 9846
diff changeset
   238
                                 
74fc0d845a9b comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents: 9846
diff changeset
   239
                                )
74fc0d845a9b comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents: 9846
diff changeset
   240
                              )
74fc0d845a9b comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents: 9846
diff changeset
   241
                             )
74fc0d845a9b comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents: 9846
diff changeset
   242
                           
74fc0d845a9b comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents: 9846
diff changeset
   243
                          )
74fc0d845a9b comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents: 9846
diff changeset
   244
                          extent: (Point 726 250)
74fc0d845a9b comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents: 9846
diff changeset
   245
                        )
74fc0d845a9b comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents: 9846
diff changeset
   246
                       (FramedBoxSpec
74fc0d845a9b comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents: 9846
diff changeset
   247
                          label: 'Source Cache'
74fc0d845a9b comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents: 9846
diff changeset
   248
                          name: 'FramedBox2'
74fc0d845a9b comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents: 9846
diff changeset
   249
                          labelPosition: topLeft
74fc0d845a9b comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents: 9846
diff changeset
   250
                          translateLabel: true
74fc0d845a9b comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents: 9846
diff changeset
   251
                          component: 
74fc0d845a9b comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents: 9846
diff changeset
   252
                         (SpecCollection
74fc0d845a9b comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents: 9846
diff changeset
   253
                            collection: (
74fc0d845a9b comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents: 9846
diff changeset
   254
                             (ViewSpec
74fc0d845a9b comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents: 9846
diff changeset
   255
                                name: 'Box4'
74fc0d845a9b comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents: 9846
diff changeset
   256
                                layout: (LayoutFrame 0 0 0 0 0 1 30 0)
74fc0d845a9b comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents: 9846
diff changeset
   257
                                component: 
74fc0d845a9b comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents: 9846
diff changeset
   258
                               (SpecCollection
74fc0d845a9b comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents: 9846
diff changeset
   259
                                  collection: (
74fc0d845a9b comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents: 9846
diff changeset
   260
                                   (LabelSpec
74fc0d845a9b comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents: 9846
diff changeset
   261
                                      label: 'Source Cache Dir:'
74fc0d845a9b comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents: 9846
diff changeset
   262
                                      name: 'Label23'
74fc0d845a9b comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents: 9846
diff changeset
   263
                                      layout: (LayoutFrame 0 0.0 0 0 60 0.25 22 0)
74fc0d845a9b comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents: 9846
diff changeset
   264
                                      translateLabel: true
74fc0d845a9b comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents: 9846
diff changeset
   265
                                      adjust: right
74fc0d845a9b comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents: 9846
diff changeset
   266
                                    )
74fc0d845a9b comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents: 9846
diff changeset
   267
                                   (InputFieldSpec
74fc0d845a9b comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents: 9846
diff changeset
   268
                                      name: 'EntryField9'
74fc0d845a9b comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents: 9846
diff changeset
   269
                                      layout: (LayoutFrame 64 0.25 0 0 0 1 22 0)
74fc0d845a9b comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents: 9846
diff changeset
   270
                                      model: sourceCacheDir
74fc0d845a9b comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents: 9846
diff changeset
   271
                                      immediateAccept: false
74fc0d845a9b comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents: 9846
diff changeset
   272
                                      acceptOnReturn: true
74fc0d845a9b comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents: 9846
diff changeset
   273
                                      acceptOnTab: true
74fc0d845a9b comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents: 9846
diff changeset
   274
                                      acceptOnLostFocus: true
74fc0d845a9b comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents: 9846
diff changeset
   275
                                      acceptOnPointerLeave: true
74fc0d845a9b comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents: 9846
diff changeset
   276
                                    )
74fc0d845a9b comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents: 9846
diff changeset
   277
                                   )
74fc0d845a9b comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents: 9846
diff changeset
   278
                                 
74fc0d845a9b comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents: 9846
diff changeset
   279
                                )
74fc0d845a9b comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents: 9846
diff changeset
   280
                              )
74fc0d845a9b comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents: 9846
diff changeset
   281
                             (HorizontalPanelViewSpec
74fc0d845a9b comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents: 9846
diff changeset
   282
                                name: 'HorizontalPanel12'
74fc0d845a9b comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents: 9846
diff changeset
   283
                                layout: (LayoutFrame 44 0.25 33 0 0 1 67 0)
74fc0d845a9b comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents: 9846
diff changeset
   284
                                horizontalLayout: fitSpace
74fc0d845a9b comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents: 9846
diff changeset
   285
                                verticalLayout: center
74fc0d845a9b comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents: 9846
diff changeset
   286
                                horizontalSpace: 3
74fc0d845a9b comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents: 9846
diff changeset
   287
                                verticalSpace: 3
74fc0d845a9b comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents: 9846
diff changeset
   288
                                component: 
74fc0d845a9b comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents: 9846
diff changeset
   289
                               (SpecCollection
74fc0d845a9b comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents: 9846
diff changeset
   290
                                  collection: (
74fc0d845a9b comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents: 9846
diff changeset
   291
                                   (ActionButtonSpec
74fc0d845a9b comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents: 9846
diff changeset
   292
                                      label: 'Flush Cache now'
74fc0d845a9b comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents: 9846
diff changeset
   293
                                      name: 'Button4'
74fc0d845a9b comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents: 9846
diff changeset
   294
                                      translateLabel: true
74fc0d845a9b comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents: 9846
diff changeset
   295
                                      tabable: true
74fc0d845a9b comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents: 9846
diff changeset
   296
                                      model: flushSourceCache
9873
c17fe1531c2b changed: #settingsApplicationClass
Claus Gittinger <cg@exept.de>
parents: 9864
diff changeset
   297
                                      extent: (Point 233 22)
9848
74fc0d845a9b comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents: 9846
diff changeset
   298
                                    )
74fc0d845a9b comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents: 9846
diff changeset
   299
                                   (ActionButtonSpec
74fc0d845a9b comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents: 9846
diff changeset
   300
                                      label: 'Condense Cache now'
74fc0d845a9b comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents: 9846
diff changeset
   301
                                      name: 'Button5'
74fc0d845a9b comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents: 9846
diff changeset
   302
                                      translateLabel: true
74fc0d845a9b comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents: 9846
diff changeset
   303
                                      tabable: true
74fc0d845a9b comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents: 9846
diff changeset
   304
                                      model: condenseSourceCache
9873
c17fe1531c2b changed: #settingsApplicationClass
Claus Gittinger <cg@exept.de>
parents: 9864
diff changeset
   305
                                      extent: (Point 233 22)
9848
74fc0d845a9b comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents: 9846
diff changeset
   306
                                    )
74fc0d845a9b comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents: 9846
diff changeset
   307
                                   )
74fc0d845a9b comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents: 9846
diff changeset
   308
                                 
74fc0d845a9b comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents: 9846
diff changeset
   309
                                )
74fc0d845a9b comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents: 9846
diff changeset
   310
                              )
74fc0d845a9b comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents: 9846
diff changeset
   311
                             )
74fc0d845a9b comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents: 9846
diff changeset
   312
                           
74fc0d845a9b comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents: 9846
diff changeset
   313
                          )
74fc0d845a9b comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents: 9846
diff changeset
   314
                          extent: (Point 726 95)
74fc0d845a9b comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents: 9846
diff changeset
   315
                        )
74fc0d845a9b comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents: 9846
diff changeset
   316
                       (ViewSpec
74fc0d845a9b comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents: 9846
diff changeset
   317
                          name: 'VerboseBox'
74fc0d845a9b comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents: 9846
diff changeset
   318
                          component: 
74fc0d845a9b comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents: 9846
diff changeset
   319
                         (SpecCollection
74fc0d845a9b comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents: 9846
diff changeset
   320
                            collection: (
74fc0d845a9b comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents: 9846
diff changeset
   321
                             (CheckBoxSpec
74fc0d845a9b comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents: 9846
diff changeset
   322
                                label: 'Verbose (Trace Access on Transcript)'
74fc0d845a9b comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents: 9846
diff changeset
   323
                                name: 'CheckBox6'
74fc0d845a9b comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents: 9846
diff changeset
   324
                                layout: (LayoutFrame 30 0 5 0 -5 1 27 0)
74fc0d845a9b comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents: 9846
diff changeset
   325
                                model: verboseSourceCodeAccess
74fc0d845a9b comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents: 9846
diff changeset
   326
                                translateLabel: true
74fc0d845a9b comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents: 9846
diff changeset
   327
                              )
74fc0d845a9b comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents: 9846
diff changeset
   328
                             )
74fc0d845a9b comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents: 9846
diff changeset
   329
                           
74fc0d845a9b comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents: 9846
diff changeset
   330
                          )
74fc0d845a9b comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents: 9846
diff changeset
   331
                          extent: (Point 726 25)
74fc0d845a9b comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents: 9846
diff changeset
   332
                        )
74fc0d845a9b comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents: 9846
diff changeset
   333
                       )
74fc0d845a9b comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents: 9846
diff changeset
   334
                     
74fc0d845a9b comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents: 9846
diff changeset
   335
                    )
74fc0d845a9b comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents: 9846
diff changeset
   336
                    extent: (Point 726 768)
74fc0d845a9b comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents: 9846
diff changeset
   337
                  )
74fc0d845a9b comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents: 9846
diff changeset
   338
                 )
74fc0d845a9b comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents: 9846
diff changeset
   339
               
74fc0d845a9b comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents: 9846
diff changeset
   340
              )
74fc0d845a9b comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents: 9846
diff changeset
   341
            )
74fc0d845a9b comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents: 9846
diff changeset
   342
           )
74fc0d845a9b comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents: 9846
diff changeset
   343
         
74fc0d845a9b comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents: 9846
diff changeset
   344
        )
9837
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   345
      )
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   346
! !
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   347
9864
d9b21106b707 class definition
Claus Gittinger <cg@exept.de>
parents: 9861
diff changeset
   348
!PerforceSourceCodeManagementSettingsAppl class methodsFor:'queries'!
9861
2fb5f110fe82 class definition
Claus Gittinger <cg@exept.de>
parents: 9848
diff changeset
   349
2fb5f110fe82 class definition
Claus Gittinger <cg@exept.de>
parents: 9848
diff changeset
   350
managerClass
2fb5f110fe82 class definition
Claus Gittinger <cg@exept.de>
parents: 9848
diff changeset
   351
    "backlink to my manager class (needed by the settings app)"
2fb5f110fe82 class definition
Claus Gittinger <cg@exept.de>
parents: 9848
diff changeset
   352
2fb5f110fe82 class definition
Claus Gittinger <cg@exept.de>
parents: 9848
diff changeset
   353
    ^ PerforceSourceCodeManager
2fb5f110fe82 class definition
Claus Gittinger <cg@exept.de>
parents: 9848
diff changeset
   354
2fb5f110fe82 class definition
Claus Gittinger <cg@exept.de>
parents: 9848
diff changeset
   355
    "Created: / 19-04-2011 / 12:52:02 / cg"
2fb5f110fe82 class definition
Claus Gittinger <cg@exept.de>
parents: 9848
diff changeset
   356
! !
2fb5f110fe82 class definition
Claus Gittinger <cg@exept.de>
parents: 9848
diff changeset
   357
9864
d9b21106b707 class definition
Claus Gittinger <cg@exept.de>
parents: 9861
diff changeset
   358
!PerforceSourceCodeManagementSettingsAppl class methodsFor:'tableColumns specs'!
9837
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   359
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   360
tableColumns
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   361
    "This resource specification was automatically generated
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   362
     by the DataSetBuilder of ST/X."
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   363
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   364
    "Do not manually edit this!! If it is corrupted,
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   365
     the DataSetBuilder may not be able to read the specification."
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   366
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   367
    "
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   368
     DataSetBuilder new openOnClass:P4SourceCodeManagementSettingsAppl andSelector:#tableColumns
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   369
    "
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   370
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   371
    <resource: #tableColumns>
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   372
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   373
    ^#(
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   374
      (DataSetColumnSpec
9861
2fb5f110fe82 class definition
Claus Gittinger <cg@exept.de>
parents: 9848
diff changeset
   375
         label: 'Module'
2fb5f110fe82 class definition
Claus Gittinger <cg@exept.de>
parents: 9848
diff changeset
   376
         labelButtonType: Button
2fb5f110fe82 class definition
Claus Gittinger <cg@exept.de>
parents: 9848
diff changeset
   377
         usePreferredWidth: true
2fb5f110fe82 class definition
Claus Gittinger <cg@exept.de>
parents: 9848
diff changeset
   378
         model: module
9837
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   379
       )
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   380
      (DataSetColumnSpec
9861
2fb5f110fe82 class definition
Claus Gittinger <cg@exept.de>
parents: 9848
diff changeset
   381
         label: 'Settings'
2fb5f110fe82 class definition
Claus Gittinger <cg@exept.de>
parents: 9848
diff changeset
   382
         labelButtonType: Button
2fb5f110fe82 class definition
Claus Gittinger <cg@exept.de>
parents: 9848
diff changeset
   383
         editorType: InputField
2fb5f110fe82 class definition
Claus Gittinger <cg@exept.de>
parents: 9848
diff changeset
   384
         model: settings
2fb5f110fe82 class definition
Claus Gittinger <cg@exept.de>
parents: 9848
diff changeset
   385
         isResizeable: false
9837
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   386
       )
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   387
      )
9846
646dc5b511fe changed:
Claus Gittinger <cg@exept.de>
parents: 9837
diff changeset
   388
9837
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   389
! !
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   390
9864
d9b21106b707 class definition
Claus Gittinger <cg@exept.de>
parents: 9861
diff changeset
   391
!PerforceSourceCodeManagementSettingsAppl methodsFor:'actions'!
9837
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   392
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   393
addModule:aModuleManager
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   394
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   395
    |detectedManager|
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   396
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   397
    detectedManager := self listOfModules detect:[:eachModuleManager| eachModuleManager module = aModuleManager module] ifNone:nil.
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   398
    detectedManager isNil ifTrue:[
9861
2fb5f110fe82 class definition
Claus Gittinger <cg@exept.de>
parents: 9848
diff changeset
   399
        self listOfModules add:aModuleManager; sort.
2fb5f110fe82 class definition
Claus Gittinger <cg@exept.de>
parents: 9848
diff changeset
   400
        self updateModifiedChannel.
9837
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   401
    ] ifFalse:[
9861
2fb5f110fe82 class definition
Claus Gittinger <cg@exept.de>
parents: 9848
diff changeset
   402
        Dialog information:'Manager for Module ', aModuleManager module, ' already exists'.
9837
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   403
    ].
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   404
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   405
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   406
    "Created: / 08-11-2006 / 19:25:21 / cg"
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   407
!
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   408
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   409
addModule:module withData:data
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   410
    (self listOfModules includes:module) ifFalse:[
9861
2fb5f110fe82 class definition
Claus Gittinger <cg@exept.de>
parents: 9848
diff changeset
   411
        self listOfModules add:module; sort.
9837
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   412
    ].
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   413
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   414
    self updateModifiedChannel.
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   415
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   416
    "Created: / 08-11-2006 / 19:25:21 / cg"
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   417
!
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   418
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   419
addPerModuleRoot
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   420
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   421
    |app moduleManager|
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   422
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   423
    app := ManagerPerModuleApp openFromSourceCodeManagementSettingsApp:self.
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   424
    app canceled ifFalse:[
9848
74fc0d845a9b comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents: 9846
diff changeset
   425
        moduleManager := ModuleManager newForApplication:self.
74fc0d845a9b comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents: 9846
diff changeset
   426
        app moduleHolder value isEmptyOrNil ifTrue:[
74fc0d845a9b comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents: 9846
diff changeset
   427
            self information:'Adding without module name not allowed'.
74fc0d845a9b comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents: 9846
diff changeset
   428
            ^ self.
74fc0d845a9b comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents: 9846
diff changeset
   429
        ].
74fc0d845a9b comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents: 9846
diff changeset
   430
        moduleManager module:app moduleHolder value.
74fc0d845a9b comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents: 9846
diff changeset
   431
        moduleManager settings:app settingsHolder value.
74fc0d845a9b comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents: 9846
diff changeset
   432
        moduleManager settings:app settingsHolder value.
74fc0d845a9b comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents: 9846
diff changeset
   433
        self listOfModules add:moduleManager.
74fc0d845a9b comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents: 9846
diff changeset
   434
        self updateModifiedChannel.
9837
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   435
    ].
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   436
    "Modified: / 08-11-2006 / 19:27:39 / cg"
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   437
!
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   438
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   439
basicReadSettings
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   440
    |moduleManager moduleAndSettings|
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   441
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   442
    self initialize.
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   443
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   444
    self defaultSettingsHolder value:PerforceSourceCodeManager getPerforceDefaultSettingsString.
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   445
    self listOfModules removeAll.
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   446
    moduleAndSettings := PerforceSourceCodeManager repositoryInfoPerModule copy.
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   447
    moduleAndSettings notEmptyOrNil ifTrue:[
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   448
        moduleAndSettings keysAndValuesDo:[:module :settings|
9848
74fc0d845a9b comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents: 9846
diff changeset
   449
            moduleManager := ModuleManager newForApplication:self.
9837
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   450
            moduleManager module:module.
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   451
            moduleManager settings:settings.
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   452
            self listOfModules add:moduleManager.
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   453
        ].
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   454
    ].
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   455
    self listOfModules sort.
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   456
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   457
    self hasManager ifTrue:[
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   458
        self sourceCacheDir value:(PerforceSourceCodeManager cacheDirectoryName).
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   459
    ].
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   460
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   461
    self perforceExecutableHolder value:PerforceSourceCodeManager perforceExecutable.
9846
646dc5b511fe changed:
Claus Gittinger <cg@exept.de>
parents: 9837
diff changeset
   462
    self verboseSourceCodeAccess value:PerforceSourceCodeManager verboseSourceCodeAccess.
9837
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   463
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   464
"/    self selectedPerModuleRootChanged.
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   465
9846
646dc5b511fe changed:
Claus Gittinger <cg@exept.de>
parents: 9837
diff changeset
   466
    "Modified: / 19-04-2011 / 10:53:15 / cg"
9837
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   467
!
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   468
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   469
basicSaveSettings
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   470
    |client settings repositoryInfoPerModule|
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   471
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   472
    self hasManager ifTrue:[
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   473
        | nm fn|
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   474
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   475
        nm := self sourceCacheDir value.
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   476
        nm notEmptyOrNil ifTrue:[
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   477
            (fn := nm asFilename) exists ifFalse:[
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   478
                (self confirm:('Perforce cache directory ''' , nm , ''' does not exist\create ?' withCRs)) ifTrue:[
9846
646dc5b511fe changed:
Claus Gittinger <cg@exept.de>
parents: 9837
diff changeset
   479
                    fn makeDirectory;
9837
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   480
                       makeReadableForAll;
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   481
                       makeWritableForAll;
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   482
                       makeExecutableForAll.
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   483
                ]
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   484
            ].
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   485
            (fn isDirectory
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   486
            and:[fn isReadable
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   487
            and:[fn isWritable]]) ifTrue:[
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   488
                PerforceSourceCodeManager cacheDirectoryName:nm.
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   489
            ] ifFalse:[
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   490
                self warn:'Invalid sourceCache directory.'
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   491
            ]
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   492
        ].
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   493
        repositoryInfoPerModule := Dictionary new.
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   494
        self listOfModules do:[:aModuleManager|
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   495
            repositoryInfoPerModule at:aModuleManager module put:aModuleManager settings.
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   496
        ].
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   497
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   498
        PerforceSourceCodeManager repositoryInfoPerModule:repositoryInfoPerModule.
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   499
        PerforceSourceCodeManager perforceExecutable:((self perforceExecutableHolder value ? '') withoutSeparators).
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   500
        client := self defaultSettingsHolder value.
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   501
        client notNil ifTrue:[
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   502
            settings := PerforceSourceCodeManager getPerforceSettingsFromString:client.
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   503
            PerforceSourceCodeManager perforceClient:(settings at:#client ifAbsent:nil).
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   504
            PerforceSourceCodeManager perforceUser:(settings at:#user ifAbsent:nil).
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   505
            PerforceSourceCodeManager perforcePort:(settings at:#port ifAbsent:nil).
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   506
            PerforceSourceCodeManager perforcePassword:(settings at:#password ifAbsent:nil).
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   507
        ].
9846
646dc5b511fe changed:
Claus Gittinger <cg@exept.de>
parents: 9837
diff changeset
   508
        PerforceSourceCodeManager verboseSourceCodeAccess:self verboseSourceCodeAccess value.
9837
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   509
    ].
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   510
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   511
    self acceptChannel value.
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   512
9846
646dc5b511fe changed:
Claus Gittinger <cg@exept.de>
parents: 9837
diff changeset
   513
    "Modified: / 19-04-2011 / 10:53:46 / cg"
9837
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   514
!
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   515
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   516
condenseSourceCache
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   517
    self withWaitCursorDo:[ AbstractSourceCodeManager condenseSourceCache ].
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   518
    Method flushSourceStreamCache.
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   519
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   520
    "Modified: / 28-11-2006 / 12:21:33 / cg"
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   521
!
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   522
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   523
flushSourceCache
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   524
    self withWaitCursorDo:[ AbstractSourceCodeManager flushSourceCache ].
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   525
    Method flushSourceStreamCache.
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   526
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   527
    "Modified: / 28-11-2006 / 12:21:21 / cg"
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   528
!
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   529
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   530
removePerModuleRoot
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   531
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   532
    |module|
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   533
9846
646dc5b511fe changed:
Claus Gittinger <cg@exept.de>
parents: 9837
diff changeset
   534
    acceptChannel value:true.
9837
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   535
    module := self selectedPerModuleRoot value.
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   536
    self listOfModules remove:module ifAbsent:nil.
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   537
    self updateModifiedChannel.
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   538
! !
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   539
9864
d9b21106b707 class definition
Claus Gittinger <cg@exept.de>
parents: 9861
diff changeset
   540
!PerforceSourceCodeManagementSettingsAppl methodsFor:'aspects'!
9837
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   541
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   542
acceptChannel
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   543
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   544
    acceptChannel isNil ifTrue:[
9861
2fb5f110fe82 class definition
Claus Gittinger <cg@exept.de>
parents: 9848
diff changeset
   545
        acceptChannel := TriggerValue new.
9837
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   546
    ].
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   547
    ^ acceptChannel.
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   548
!
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   549
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   550
defaultSettingsHolder
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   551
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   552
    defaultSettingsHolder isNil ifTrue:[
9861
2fb5f110fe82 class definition
Claus Gittinger <cg@exept.de>
parents: 9848
diff changeset
   553
        defaultSettingsHolder := ValueHolder new.
2fb5f110fe82 class definition
Claus Gittinger <cg@exept.de>
parents: 9848
diff changeset
   554
        defaultSettingsHolder addDependent:self.
9837
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   555
    ].
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   556
    ^ defaultSettingsHolder.
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   557
!
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   558
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   559
defaultSettingsPrototypeList
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   560
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   561
    defaultSettingsPrototypeList isNil ifTrue:[
9861
2fb5f110fe82 class definition
Claus Gittinger <cg@exept.de>
parents: 9848
diff changeset
   562
        defaultSettingsPrototypeList := self perforcePrototypeList.
9837
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   563
    ].
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   564
    ^ defaultSettingsPrototypeList.
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   565
!
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   566
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   567
listOfModules
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   568
9846
646dc5b511fe changed:
Claus Gittinger <cg@exept.de>
parents: 9837
diff changeset
   569
    listOfModules isNil ifTrue:[
9861
2fb5f110fe82 class definition
Claus Gittinger <cg@exept.de>
parents: 9848
diff changeset
   570
        listOfModules := List new.
2fb5f110fe82 class definition
Claus Gittinger <cg@exept.de>
parents: 9848
diff changeset
   571
        listOfModules addDependent:self.
9837
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   572
    ].
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   573
    ^ listOfModules.
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   574
!
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   575
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   576
perforceExecutableHolder
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   577
    perforceExecutableHolder isNil ifTrue:[
9861
2fb5f110fe82 class definition
Claus Gittinger <cg@exept.de>
parents: 9848
diff changeset
   578
        perforceExecutableHolder := ValueHolder new.
2fb5f110fe82 class definition
Claus Gittinger <cg@exept.de>
parents: 9848
diff changeset
   579
        perforceExecutableHolder onChangeSend:#updateModifiedChannel to:self
9837
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   580
    ].
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   581
    ^ perforceExecutableHolder.
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   582
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   583
    "Created: / 21-09-2006 / 15:37:06 / cg"
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   584
!
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   585
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   586
perforcePrototypeList
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   587
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   588
    |first client|
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   589
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   590
    client := PerforceSourceCodeManager perforceClient.
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   591
    client isEmptyOrNil ifTrue:[
9861
2fb5f110fe82 class definition
Claus Gittinger <cg@exept.de>
parents: 9848
diff changeset
   592
        client := 'workspace'.
9837
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   593
    ].
9846
646dc5b511fe changed:
Claus Gittinger <cg@exept.de>
parents: 9837
diff changeset
   594
    first := (client ,':', PerforceSourceCodeManager perforceUser, ':',
9861
2fb5f110fe82 class definition
Claus Gittinger <cg@exept.de>
parents: 9848
diff changeset
   595
                           (PerforceSourceCodeManager perforcePassword ? 'pass'), '@',
2fb5f110fe82 class definition
Claus Gittinger <cg@exept.de>
parents: 9848
diff changeset
   596
                           PerforceSourceCodeManager perforcePort).
9837
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   597
    ^ Array with:first.
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   598
!
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   599
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   600
removeEnabled
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   601
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   602
    removeEnabled isNil ifTrue:[
9861
2fb5f110fe82 class definition
Claus Gittinger <cg@exept.de>
parents: 9848
diff changeset
   603
        removeEnabled := false asValue.
9837
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   604
    ].
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   605
    ^ removeEnabled.
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   606
!
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   607
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   608
selectedPerModuleRoot
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   609
    selectedPerModuleRoot isNil ifTrue:[
9861
2fb5f110fe82 class definition
Claus Gittinger <cg@exept.de>
parents: 9848
diff changeset
   610
        selectedPerModuleRoot := ValueHolder new.
2fb5f110fe82 class definition
Claus Gittinger <cg@exept.de>
parents: 9848
diff changeset
   611
        selectedPerModuleRoot addDependent:self.
9837
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   612
    ].
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   613
    ^ selectedPerModuleRoot.
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   614
!
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   615
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   616
sourceCacheDir
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   617
    sourceCacheDir isNil ifTrue:[
9861
2fb5f110fe82 class definition
Claus Gittinger <cg@exept.de>
parents: 9848
diff changeset
   618
        sourceCacheDir := ValueHolder new.
2fb5f110fe82 class definition
Claus Gittinger <cg@exept.de>
parents: 9848
diff changeset
   619
        sourceCacheDir onChangeSend:#updateModifiedChannel to:self
9837
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   620
    ].
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   621
    ^ sourceCacheDir.
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   622
!
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   623
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   624
tableColumns
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   625
    <resource: #uiAspect>
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   626
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   627
    "automatically generated by UIPainter ..."
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   628
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   629
    "*** the code below creates a default model when invoked."
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   630
    "*** (which may not be the one you wanted)"
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   631
    "*** Please change as required and accept it in the browser."
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   632
    "*** (and replace this comment by something more useful ;-)"
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   633
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   634
    tableColumns isNil ifTrue:[
9861
2fb5f110fe82 class definition
Claus Gittinger <cg@exept.de>
parents: 9848
diff changeset
   635
        tableColumns := self class tableColumns asValue.
9837
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   636
"/ if your app needs to be notified of changes, uncomment one of the lines below:
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   637
"/       tableColumns addDependent:self.
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   638
"/       tableColumns onChangeSend:#tableColumnsChanged to:self.
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   639
    ].
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   640
    ^ tableColumns.
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   641
!
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   642
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   643
verboseSourceCodeAccess
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   644
    verboseSourceCodeAccess isNil ifTrue:[
9861
2fb5f110fe82 class definition
Claus Gittinger <cg@exept.de>
parents: 9848
diff changeset
   645
        verboseSourceCodeAccess := false asValue.
2fb5f110fe82 class definition
Claus Gittinger <cg@exept.de>
parents: 9848
diff changeset
   646
        verboseSourceCodeAccess onChangeSend:#updateModifiedChannel to:self
9837
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   647
    ].
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   648
    ^ verboseSourceCodeAccess.
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   649
! !
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   650
9864
d9b21106b707 class definition
Claus Gittinger <cg@exept.de>
parents: 9861
diff changeset
   651
!PerforceSourceCodeManagementSettingsAppl methodsFor:'change & update'!
9837
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   652
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   653
selectedPerModuleRootChanged
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   654
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   655
    self removeEnabled value:self selectedPerModuleRoot value notNil.
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   656
!
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   657
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   658
sourceDirChanged
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   659
    | nm fn|
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   660
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   661
    nm := self sourceCacheDir value.
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   662
    nm isEmptyOrNil ifTrue:[^ self].
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   663
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   664
    (fn := nm asFilename) exists ifFalse:[
9861
2fb5f110fe82 class definition
Claus Gittinger <cg@exept.de>
parents: 9848
diff changeset
   665
        (self confirm:('SourceCache directory ''' , nm , ''' does not exist.\Create ?' withCRs)) ifTrue:[
2fb5f110fe82 class definition
Claus Gittinger <cg@exept.de>
parents: 9848
diff changeset
   666
            fn makeDirectory;
2fb5f110fe82 class definition
Claus Gittinger <cg@exept.de>
parents: 9848
diff changeset
   667
               makeReadableForAll;
2fb5f110fe82 class definition
Claus Gittinger <cg@exept.de>
parents: 9848
diff changeset
   668
               makeWritableForAll;
2fb5f110fe82 class definition
Claus Gittinger <cg@exept.de>
parents: 9848
diff changeset
   669
               makeExecutableForAll.
2fb5f110fe82 class definition
Claus Gittinger <cg@exept.de>
parents: 9848
diff changeset
   670
        ] ifFalse:[
2fb5f110fe82 class definition
Claus Gittinger <cg@exept.de>
parents: 9848
diff changeset
   671
            self sourceCacheDir value:(AbstractSourceCodeManager cacheDirectoryName).
2fb5f110fe82 class definition
Claus Gittinger <cg@exept.de>
parents: 9848
diff changeset
   672
            ^ self.
2fb5f110fe82 class definition
Claus Gittinger <cg@exept.de>
parents: 9848
diff changeset
   673
        ].
9837
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   674
    ].
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   675
    (fn isDirectory
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   676
    and:[fn isReadable
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   677
    and:[fn isWritable]]) ifTrue:[
9861
2fb5f110fe82 class definition
Claus Gittinger <cg@exept.de>
parents: 9848
diff changeset
   678
        AbstractSourceCodeManager cacheDirectoryName:nm.
9837
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   679
    ] ifFalse:[
9861
2fb5f110fe82 class definition
Claus Gittinger <cg@exept.de>
parents: 9848
diff changeset
   680
        self warn:'Invalid sourceCache directory.'.
2fb5f110fe82 class definition
Claus Gittinger <cg@exept.de>
parents: 9848
diff changeset
   681
        self sourceCacheDir value:(AbstractSourceCodeManager cacheDirectoryName).
9837
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   682
    ].
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   683
!
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   684
9846
646dc5b511fe changed:
Claus Gittinger <cg@exept.de>
parents: 9837
diff changeset
   685
update:something with:aParameter from:changedObject
646dc5b511fe changed:
Claus Gittinger <cg@exept.de>
parents: 9837
diff changeset
   686
    "/ common
9837
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   687
    changedObject == sourceCacheDir ifTrue:[
9848
74fc0d845a9b comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents: 9846
diff changeset
   688
        self sourceDirChanged.
74fc0d845a9b comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents: 9846
diff changeset
   689
        self updateModifiedChannel.
74fc0d845a9b comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents: 9846
diff changeset
   690
        ^ self
9837
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   691
    ].
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   692
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   693
    changedObject == selectedPerModuleRoot ifTrue:[
9848
74fc0d845a9b comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents: 9846
diff changeset
   694
        self selectedPerModuleRootChanged.
74fc0d845a9b comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents: 9846
diff changeset
   695
        ^ self
9837
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   696
    ].
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   697
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   698
    changedObject == self listOfModules ifTrue:[
9848
74fc0d845a9b comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents: 9846
diff changeset
   699
        self updateModifiedChannel.
9837
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   700
    ].
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   701
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   702
    changedObject == defaultSettingsHolder ifTrue:[
9848
74fc0d845a9b comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents: 9846
diff changeset
   703
        self updateModifiedChannel.
9837
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   704
    ].
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   705
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   706
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   707
    super update:something with:aParameter from:changedObject
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   708
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   709
    "Modified: / 09-11-2006 / 14:41:10 / cg"
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   710
! !
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   711
9864
d9b21106b707 class definition
Claus Gittinger <cg@exept.de>
parents: 9861
diff changeset
   712
!PerforceSourceCodeManagementSettingsAppl methodsFor:'help'!
9837
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   713
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   714
helpFilename
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   715
    ^ 'Launcher/cvsSetup.html'
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   716
! !
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   717
9864
d9b21106b707 class definition
Claus Gittinger <cg@exept.de>
parents: 9861
diff changeset
   718
!PerforceSourceCodeManagementSettingsAppl methodsFor:'initialization & release'!
9837
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   719
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   720
initialize
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   721
    (AbstractSourceCodeManager notNil) ifTrue:[ AbstractSourceCodeManager autoload ].
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   722
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   723
    sourceCacheDir := nil asValue.
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   724
    sourceCacheDir addDependent:self.
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   725
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   726
    super initialize.
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   727
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   728
    "Modified: / 08-11-2006 / 19:20:32 / cg"
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   729
! !
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   730
9864
d9b21106b707 class definition
Claus Gittinger <cg@exept.de>
parents: 9861
diff changeset
   731
!PerforceSourceCodeManagementSettingsAppl methodsFor:'queries'!
9837
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   732
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   733
hasManager
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   734
    "true if ANY source code management class is available"
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   735
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   736
    ^ PerforceSourceCodeManager notNil and:[PerforceSourceCodeManager isLoaded]
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   737
!
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   738
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   739
hasUnsavedChanges
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   740
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   741
    |repositoryInfoPerModule client settings|
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   742
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   743
    client := self defaultSettingsHolder value.
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   744
    client notNil ifTrue:[
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   745
        settings := PerforceSourceCodeManager getPerforceSettingsFromString:client.
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   746
        PerforceSourceCodeManager perforceClient ~= (settings at:#client ifAbsent:nil) ifTrue:[
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   747
            ^ true
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   748
        ].
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   749
        PerforceSourceCodeManager perforceUser ~= (settings at:#user ifAbsent:nil) ifTrue:[
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   750
            ^ true
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   751
        ].
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   752
        PerforceSourceCodeManager perforcePort ~= (settings at:#port ifAbsent:nil) ifTrue:[
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   753
            ^ true
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   754
        ].
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   755
        PerforceSourceCodeManager perforcePassword ~= (settings at:#password ifAbsent:nil) ifTrue:[
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   756
            ^ true
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   757
        ].
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   758
    ].
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   759
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   760
    repositoryInfoPerModule := Dictionary new.
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   761
    self listOfModules do:[:aModuleManager|
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   762
        repositoryInfoPerModule at:aModuleManager module put:aModuleManager settings.
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   763
    ].
9846
646dc5b511fe changed:
Claus Gittinger <cg@exept.de>
parents: 9837
diff changeset
   764
    PerforceSourceCodeManager verboseSourceCodeAccess ~= self verboseSourceCodeAccess value ifTrue:[
646dc5b511fe changed:
Claus Gittinger <cg@exept.de>
parents: 9837
diff changeset
   765
        ^true
646dc5b511fe changed:
Claus Gittinger <cg@exept.de>
parents: 9837
diff changeset
   766
    ].
9837
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   767
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   768
    PerforceSourceCodeManager repositoryInfoPerModule keysAndValuesDo:[:module :info |
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   769
        ((repositoryInfoPerModule includesKey:module) and:[info = (repositoryInfoPerModule at:module)])
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   770
        ifFalse:[^ true].
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   771
    ].
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   772
    repositoryInfoPerModule keysAndValuesDo:[:module :info|
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   773
        ((PerforceSourceCodeManager repositoryInfoPerModule includesKey:module) and:[(PerforceSourceCodeManager repositoryInfoPerModule at:module) = info])
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   774
        ifFalse:[^ true].
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   775
    ].
9848
74fc0d845a9b comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents: 9846
diff changeset
   776
    self perforceExecutableHolder value ~= PerforceSourceCodeManager perforceExecutable ifTrue:[
74fc0d845a9b comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents: 9846
diff changeset
   777
        ^true
74fc0d845a9b comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents: 9846
diff changeset
   778
    ].
9837
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   779
    ^ false
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   780
9846
646dc5b511fe changed:
Claus Gittinger <cg@exept.de>
parents: 9837
diff changeset
   781
    "Modified: / 19-04-2011 / 10:54:31 / cg"
9837
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   782
!
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   783
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   784
repositoryInfoPerModuleFor:sourceCodeManager
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   785
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   786
    |repositoryInfoPerModule|
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   787
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   788
    repositoryInfoPerModule := Dictionary new.
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   789
    self listOfModules do:[:aModuleManager|
9861
2fb5f110fe82 class definition
Claus Gittinger <cg@exept.de>
parents: 9848
diff changeset
   790
        repositoryInfoPerModule at:aModuleManager module put:aModuleManager settings.
9837
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   791
    ].
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   792
    ^ repositoryInfoPerModule
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   793
! !
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   794
9864
d9b21106b707 class definition
Claus Gittinger <cg@exept.de>
parents: 9861
diff changeset
   795
!PerforceSourceCodeManagementSettingsAppl::ManagerPerModuleApp class methodsFor:'instance creation'!
9837
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   796
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   797
openFromSourceCodeManagementSettingsApp:something
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   798
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   799
    |inst|
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   800
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   801
    inst := self new.
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   802
    inst sourceCodeManagementSettingsApp:something.
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   803
    inst openModal.
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   804
    ^ inst
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   805
! !
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   806
9864
d9b21106b707 class definition
Claus Gittinger <cg@exept.de>
parents: 9861
diff changeset
   807
!PerforceSourceCodeManagementSettingsAppl::ManagerPerModuleApp class methodsFor:'interface specs'!
9837
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   808
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   809
windowSpec
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   810
    "This resource specification was automatically generated
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   811
     by the UIPainter of ST/X."
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   812
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   813
    "Do not manually edit this!! If it is corrupted,
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   814
     the UIPainter may not be able to read the specification."
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   815
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   816
    "
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   817
     UIPainter new openOnClass:P4SourceCodeManagementSettingsAppl::ManagerPerModuleApp andSelector:#windowSpec
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   818
     P4SourceCodeManagementSettingsAppl::ManagerPerModuleApp new openInterface:#windowSpec
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   819
     P4SourceCodeManagementSettingsAppl::ManagerPerModuleApp open
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   820
    "
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   821
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   822
    <resource: #canvas>
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   823
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   824
    ^ 
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   825
     #(FullSpec
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   826
        name: windowSpec
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   827
        window: 
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   828
       (WindowSpec
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   829
          label: 'Manager per Module'
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   830
          name: 'Manager per Module'
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   831
          min: (Point 10 10)
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   832
          max: (Point 1024 768)
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   833
          bounds: (Rectangle 0 0 653 100)
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   834
        )
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   835
        component: 
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   836
       (SpecCollection
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   837
          collection: (
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   838
           (VerticalPanelViewSpec
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   839
              name: 'VerticalPanel1'
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   840
              layout: (LayoutFrame 0 0 0 0 -5 1 -30 1)
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   841
              horizontalLayout: fit
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   842
              verticalLayout: topSpace
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   843
              horizontalSpace: 3
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   844
              verticalSpace: 3
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   845
              component: 
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   846
             (SpecCollection
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   847
                collection: (
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   848
                 (HorizontalPanelViewSpec
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   849
                    name: 'HorizontalPanel1'
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   850
                    horizontalLayout: leftFit
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   851
                    verticalLayout: center
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   852
                    horizontalSpace: 3
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   853
                    verticalSpace: 3
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   854
                    component: 
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   855
                   (SpecCollection
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   856
                      collection: (
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   857
                       (LabelSpec
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   858
                          label: 'Module:'
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   859
                          name: 'Label16'
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   860
                          translateLabel: true
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   861
                          adjust: right
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   862
                          extent: (Point 180 17)
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   863
                        )
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   864
                       (InputFieldSpec
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   865
                          name: 'EntryField7'
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   866
                          tabable: true
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   867
                          model: moduleHolder
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   868
                          acceptChannel: acceptChannel
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   869
                          acceptOnPointerLeave: true
9846
646dc5b511fe changed:
Claus Gittinger <cg@exept.de>
parents: 9837
diff changeset
   870
                          extent: (Point 465 22)
9837
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   871
                        )
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   872
                       )
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   873
                     
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   874
                    )
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   875
                    extent: (Point 648 23)
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   876
                  )
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   877
                 (HorizontalPanelViewSpec
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   878
                    name: 'HorizontalPanel4'
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   879
                    horizontalLayout: leftFit
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   880
                    verticalLayout: topSpace
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   881
                    horizontalSpace: 3
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   882
                    verticalSpace: 3
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   883
                    component: 
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   884
                   (SpecCollection
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   885
                      collection: (
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   886
                       (ViewSpec
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   887
                          name: 'Box1'
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   888
                          component: 
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   889
                         (SpecCollection
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   890
                            collection: (
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   891
                             (LabelSpec
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   892
                                label: 'Manager Info'
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   893
                                name: 'Label18'
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   894
                                layout: (LayoutFrame 0 0 0 0 149 0 16 0)
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   895
                                translateLabel: true
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   896
                                adjust: right
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   897
                              )
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   898
                             (LabelSpec
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   899
                                label: 'client:user:pass@host:port '
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   900
                                name: 'Label19'
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   901
                                layout: (LayoutFrame 0 0 14 0 180 0 29 0)
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   902
                                style: (FontDescription helvetica medium roman 10)
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   903
                                level: 0
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   904
                                translateLabel: true
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   905
                                adjust: right
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   906
                              )
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   907
                             )
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   908
                           
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   909
                          )
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   910
                          extent: (Point 180 35)
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   911
                        )
9846
646dc5b511fe changed:
Claus Gittinger <cg@exept.de>
parents: 9837
diff changeset
   912
                       (ComboBoxSpec
646dc5b511fe changed:
Claus Gittinger <cg@exept.de>
parents: 9837
diff changeset
   913
                          name: 'ComboBox1'
9837
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   914
                          model: settingsHolder
9846
646dc5b511fe changed:
Claus Gittinger <cg@exept.de>
parents: 9837
diff changeset
   915
                          acceptOnPointerLeave: false
9837
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   916
                          comboList: defaultSettingsPrototypeList
9846
646dc5b511fe changed:
Claus Gittinger <cg@exept.de>
parents: 9837
diff changeset
   917
                          extent: (Point 465 20)
9837
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   918
                        )
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   919
                       )
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   920
                     
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   921
                    )
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   922
                    extent: (Point 648 35)
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   923
                  )
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   924
                 )
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   925
               
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   926
              )
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   927
            )
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   928
           (HorizontalPanelViewSpec
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   929
              name: 'HorizontalPanel2'
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   930
              layout: (LayoutFrame 0 0 -30 1 0 1 0 1)
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   931
              horizontalLayout: fitSpace
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   932
              verticalLayout: center
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   933
              horizontalSpace: 3
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   934
              verticalSpace: 3
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   935
              component: 
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   936
             (SpecCollection
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   937
                collection: (
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   938
                 (ActionButtonSpec
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   939
                    label: 'Add'
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   940
                    name: 'Button1'
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   941
                    translateLabel: true
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   942
                    model: doAccept
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   943
                    enableChannel: acceptEnableChannel
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   944
                    extent: (Point 322 22)
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   945
                  )
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   946
                 (ActionButtonSpec
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   947
                    label: 'Cancel'
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   948
                    name: 'Button2'
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   949
                    translateLabel: true
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   950
                    model: doCancel
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   951
                    extent: (Point 322 22)
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   952
                  )
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   953
                 )
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   954
               
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   955
              )
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   956
            )
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   957
           )
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   958
         
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   959
        )
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   960
      )
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   961
! !
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   962
9864
d9b21106b707 class definition
Claus Gittinger <cg@exept.de>
parents: 9861
diff changeset
   963
!PerforceSourceCodeManagementSettingsAppl::ManagerPerModuleApp methodsFor:'accessing'!
9837
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   964
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   965
canceled
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   966
    ^ canceled
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   967
!
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   968
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   969
defaultSettingsPrototypeList
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   970
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   971
    defaultSettingsPrototypeList isNil ifTrue:[
9861
2fb5f110fe82 class definition
Claus Gittinger <cg@exept.de>
parents: 9848
diff changeset
   972
        defaultSettingsPrototypeList := sourceCodeManagementSettingsApp perforcePrototypeList.
9837
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   973
    ].
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   974
    ^ defaultSettingsPrototypeList.
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   975
!
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   976
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   977
sourceCodeManagementSettingsApp
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   978
    ^ sourceCodeManagementSettingsApp
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   979
!
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   980
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   981
sourceCodeManagementSettingsApp:something
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   982
    sourceCodeManagementSettingsApp := something.
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   983
! !
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   984
9864
d9b21106b707 class definition
Claus Gittinger <cg@exept.de>
parents: 9861
diff changeset
   985
!PerforceSourceCodeManagementSettingsAppl::ManagerPerModuleApp methodsFor:'aspects'!
9837
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   986
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   987
acceptChannel
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   988
    <resource: #uiAspect>
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   989
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   990
    "automatically generated by UIPainter ..."
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   991
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   992
    "*** the code below creates a default model when invoked."
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   993
    "*** (which may not be the one you wanted)"
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   994
    "*** Please change as required and accept it in the browser."
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   995
    "*** (and replace this comment by something more useful ;-)"
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   996
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   997
    acceptChannel isNil ifTrue:[
9861
2fb5f110fe82 class definition
Claus Gittinger <cg@exept.de>
parents: 9848
diff changeset
   998
        acceptChannel := TriggerValue new.
9837
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   999
    ].
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1000
    ^ acceptChannel.
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1001
!
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1002
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1003
acceptEnableChannel
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1004
    <resource: #uiAspect>
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1005
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1006
    "automatically generated by UIPainter ..."
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1007
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1008
    "*** the code below creates a default model when invoked."
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1009
    "*** (which may not be the one you wanted)"
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1010
    "*** Please change as required and accept it in the browser."
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1011
    "*** (and replace this comment by something more useful ;-)"
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1012
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1013
    acceptEnableChannel isNil ifTrue:[
9861
2fb5f110fe82 class definition
Claus Gittinger <cg@exept.de>
parents: 9848
diff changeset
  1014
        acceptEnableChannel := true asValue.
9837
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1015
"/ if your app needs to be notified of changes, uncomment one of the lines below:
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1016
"/       acceptEnableChannel addDependent:self.
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1017
"/       acceptEnableChannel onChangeSend:#acceptEnableChannelChanged to:self.
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1018
    ].
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1019
    ^ acceptEnableChannel.
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1020
!
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1021
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1022
moduleHolder
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1023
    <resource: #uiAspect>
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1024
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1025
    "automatically generated by UIPainter ..."
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1026
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1027
    "*** the code below creates a default model when invoked."
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1028
    "*** (which may not be the one you wanted)"
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1029
    "*** Please change as required and accept it in the browser."
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1030
    "*** (and replace this comment by something more useful ;-)"
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1031
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1032
    moduleHolder isNil ifTrue:[
9861
2fb5f110fe82 class definition
Claus Gittinger <cg@exept.de>
parents: 9848
diff changeset
  1033
        moduleHolder := ValueHolder new.
9837
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1034
"/ if your app needs to be notified of changes, uncomment one of the lines below:
9861
2fb5f110fe82 class definition
Claus Gittinger <cg@exept.de>
parents: 9848
diff changeset
  1035
        moduleHolder addDependent:self.
9837
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1036
"/       moduleHolder onChangeSend:#moduleHolderChanged to:self.
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1037
    ].
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1038
    ^ moduleHolder.
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1039
!
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1040
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1041
settingsHolder
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1042
    <resource: #uiAspect>
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1043
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1044
    "automatically generated by UIPainter ..."
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1045
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1046
    "*** the code below creates a default model when invoked."
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1047
    "*** (which may not be the one you wanted)"
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1048
    "*** Please change as required and accept it in the browser."
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1049
    "*** (and replace this comment by something more useful ;-)"
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1050
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1051
    settingsHolder isNil ifTrue:[
9861
2fb5f110fe82 class definition
Claus Gittinger <cg@exept.de>
parents: 9848
diff changeset
  1052
        settingsHolder := ValueHolder new.
9837
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1053
"/ if your app needs to be notified of changes, uncomment one of the lines below:
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1054
"/       settingsHolder addDependent:self.
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1055
"/       settingsHolder onChangeSend:#settingsHolderChanged to:self.
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1056
    ].
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1057
    ^ settingsHolder.
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1058
! !
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1059
9864
d9b21106b707 class definition
Claus Gittinger <cg@exept.de>
parents: 9861
diff changeset
  1060
!PerforceSourceCodeManagementSettingsAppl::ManagerPerModuleApp methodsFor:'initialization & release'!
9837
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1061
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1062
doCancel
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1063
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1064
    canceled := true.
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1065
    ^ super doCancel
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1066
!
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1067
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1068
postBuildWith:aBuilder
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1069
    "This is a hook method generated by the Browser.
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1070
     It will be invoked during the initialization of your app/dialog,
9846
646dc5b511fe changed:
Claus Gittinger <cg@exept.de>
parents: 9837
diff changeset
  1071
     after all of the visual components have been built,
9837
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1072
     but BEFORE the top window is made visible.
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1073
     Add any app-specific actions here (reading files, setting up values etc.)
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1074
     See also #postOpenWith:, which is invoked after opening."
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1075
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1076
    "/ add any code here ...
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1077
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1078
    canceled := false.
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1079
    ^ super postBuildWith:aBuilder
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1080
!
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1081
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1082
postOpenWith:aBuilder
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1083
    "This is a hook method generated by the Browser.
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1084
     It will be invoked right after the applications window has been opened.
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1085
     Add any app-specific actions here (starting background processes etc.).
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1086
     See also #postBuildWith:, which is invoked before opening."
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1087
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1088
    "/ add any code here ...
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1089
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1090
    ^ super postOpenWith:aBuilder
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1091
! !
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1092
9864
d9b21106b707 class definition
Claus Gittinger <cg@exept.de>
parents: 9861
diff changeset
  1093
!PerforceSourceCodeManagementSettingsAppl::ModuleManager class methodsFor:'instance creation'!
9848
74fc0d845a9b comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents: 9846
diff changeset
  1094
74fc0d845a9b comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents: 9846
diff changeset
  1095
newForApplication:anApplication
74fc0d845a9b comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents: 9846
diff changeset
  1096
    |instance|
74fc0d845a9b comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents: 9846
diff changeset
  1097
74fc0d845a9b comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents: 9846
diff changeset
  1098
    instance := self new.
74fc0d845a9b comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents: 9846
diff changeset
  1099
    instance app:anApplication.
74fc0d845a9b comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents: 9846
diff changeset
  1100
    ^instance
74fc0d845a9b comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents: 9846
diff changeset
  1101
! !
74fc0d845a9b comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents: 9846
diff changeset
  1102
9864
d9b21106b707 class definition
Claus Gittinger <cg@exept.de>
parents: 9861
diff changeset
  1103
!PerforceSourceCodeManagementSettingsAppl::ModuleManager methodsFor:'accessing'!
9837
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1104
9848
74fc0d845a9b comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents: 9846
diff changeset
  1105
app
74fc0d845a9b comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents: 9846
diff changeset
  1106
    ^ app
74fc0d845a9b comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents: 9846
diff changeset
  1107
!
74fc0d845a9b comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents: 9846
diff changeset
  1108
74fc0d845a9b comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents: 9846
diff changeset
  1109
app:something
74fc0d845a9b comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents: 9846
diff changeset
  1110
    app := something.
74fc0d845a9b comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents: 9846
diff changeset
  1111
!
74fc0d845a9b comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents: 9846
diff changeset
  1112
9837
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1113
manager
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1114
    ^ manager
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1115
!
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1116
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1117
manager:something
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1118
    manager := something.
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1119
!
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1120
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1121
module
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1122
    ^ module
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1123
!
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1124
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1125
module:something
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1126
    module := something.
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1127
!
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1128
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1129
settings
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1130
    ^ settings
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1131
!
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1132
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1133
settings:something
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1134
    settings := something.
9848
74fc0d845a9b comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents: 9846
diff changeset
  1135
    app notNil ifTrue:[
74fc0d845a9b comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents: 9846
diff changeset
  1136
        app listOfModules changed.
74fc0d845a9b comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents: 9846
diff changeset
  1137
    ].
9837
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1138
! !
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1139
9864
d9b21106b707 class definition
Claus Gittinger <cg@exept.de>
parents: 9861
diff changeset
  1140
!PerforceSourceCodeManagementSettingsAppl::ModuleManager methodsFor:'comparing'!
9837
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1141
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1142
< aModuleManager
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1143
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1144
    ^ self module < aModuleManager module
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1145
! !
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1146
9864
d9b21106b707 class definition
Claus Gittinger <cg@exept.de>
parents: 9861
diff changeset
  1147
!PerforceSourceCodeManagementSettingsAppl::ModuleManager methodsFor:'queries'!
9837
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1148
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1149
availableManagerTypeNames
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1150
    ^ AbstractSourceCodeManager availableManagers collect:[:cls | cls managerTypeName].
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1151
!
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1152
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1153
managerClass
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1154
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1155
    ^ AbstractSourceCodeManager availableManagers detect:[:cls | cls managerTypeName = manager] ifNone:[nil].
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1156
! !
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1157
9864
d9b21106b707 class definition
Claus Gittinger <cg@exept.de>
parents: 9861
diff changeset
  1158
!PerforceSourceCodeManagementSettingsAppl class methodsFor:'documentation'!
9837
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1159
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1160
version_CVS
9873
c17fe1531c2b changed: #settingsApplicationClass
Claus Gittinger <cg@exept.de>
parents: 9864
diff changeset
  1161
    ^ '$Header: /cvs/stx/stx/libtool/PerforceSourceCodeManagementSettingsAppl.st,v 1.6 2011-04-20 10:55:00 cg Exp $'
9837
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1162
! !