PerforceSourceCodeManagementSettingsAppl.st
author Claus Gittinger <cg@exept.de>
Wed, 05 Jun 2019 14:16:59 +0200
changeset 18805 f6df57c6dbfb
parent 18289 e1fdf7583090
child 18918 e3e314aab0bb
permissions -rw-r--r--
#BUGFIX by cg class: AbstractFileBrowser changed: #currentFileNameHolder endless loop if file not present.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
18084
b611644fdac8 #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 16681
diff changeset
     1
"{ Encoding: utf8 }"
b611644fdac8 #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 16681
diff changeset
     2
10029
7a3812d7edc3 changed: #copyright
Claus Gittinger <cg@exept.de>
parents: 9873
diff changeset
     3
"
7a3812d7edc3 changed: #copyright
Claus Gittinger <cg@exept.de>
parents: 9873
diff changeset
     4
 COPYRIGHT (c) 2011 by eXept Software AG
7a3812d7edc3 changed: #copyright
Claus Gittinger <cg@exept.de>
parents: 9873
diff changeset
     5
              All Rights Reserved
7a3812d7edc3 changed: #copyright
Claus Gittinger <cg@exept.de>
parents: 9873
diff changeset
     6
7a3812d7edc3 changed: #copyright
Claus Gittinger <cg@exept.de>
parents: 9873
diff changeset
     7
 This software is furnished under a license and may be used
7a3812d7edc3 changed: #copyright
Claus Gittinger <cg@exept.de>
parents: 9873
diff changeset
     8
 only in accordance with the terms of that license and with the
7a3812d7edc3 changed: #copyright
Claus Gittinger <cg@exept.de>
parents: 9873
diff changeset
     9
 inclusion of the above copyright notice.   This software may not
7a3812d7edc3 changed: #copyright
Claus Gittinger <cg@exept.de>
parents: 9873
diff changeset
    10
 be provided or otherwise made available to, or used by, any
7a3812d7edc3 changed: #copyright
Claus Gittinger <cg@exept.de>
parents: 9873
diff changeset
    11
 other person.  No title to or ownership of the software is
7a3812d7edc3 changed: #copyright
Claus Gittinger <cg@exept.de>
parents: 9873
diff changeset
    12
 hereby transferred.
7a3812d7edc3 changed: #copyright
Claus Gittinger <cg@exept.de>
parents: 9873
diff changeset
    13
"
11546
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
    14
"{ Package: 'stx:libtool' }"
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
    15
16182
4103fc305543 #DOCUMENTATION
Claus Gittinger <cg@exept.de>
parents: 14397
diff changeset
    16
"{ NameSpace: Smalltalk }"
4103fc305543 #DOCUMENTATION
Claus Gittinger <cg@exept.de>
parents: 14397
diff changeset
    17
9864
d9b21106b707 class definition
Claus Gittinger <cg@exept.de>
parents: 9861
diff changeset
    18
AbstractSourceCodeManagementSettingsAppl subclass:#PerforceSourceCodeManagementSettingsAppl
11531
f5f8306664d7 class definition
Claus Gittinger <cg@exept.de>
parents: 11530
diff changeset
    19
	instanceVariableNames:'selectedPerModuleRoot perforceExecutableHolder
f5f8306664d7 class definition
Claus Gittinger <cg@exept.de>
parents: 11530
diff changeset
    20
		listOfPerforceModules defaultSettingsHolder tableColumns
f5f8306664d7 class definition
Claus Gittinger <cg@exept.de>
parents: 11530
diff changeset
    21
		defaultSettingsPrototypeList checkLabel'
16657
9a1fffad3222 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16352
diff changeset
    22
	classVariableNames:''
11531
f5f8306664d7 class definition
Claus Gittinger <cg@exept.de>
parents: 11530
diff changeset
    23
	poolDictionaries:''
f5f8306664d7 class definition
Claus Gittinger <cg@exept.de>
parents: 11530
diff changeset
    24
	category:'System-SourceCodeManagement'
9837
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    25
!
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    26
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    27
ApplicationModel subclass:#ManagerPerModuleApp
11531
f5f8306664d7 class definition
Claus Gittinger <cg@exept.de>
parents: 11530
diff changeset
    28
	instanceVariableNames:'moduleHolder acceptChannel settingsHolder
f5f8306664d7 class definition
Claus Gittinger <cg@exept.de>
parents: 11530
diff changeset
    29
		sourceCodeManagementSettingsApp acceptEnableChannel canceled
f5f8306664d7 class definition
Claus Gittinger <cg@exept.de>
parents: 11530
diff changeset
    30
		defaultSettingsPrototypeList'
f5f8306664d7 class definition
Claus Gittinger <cg@exept.de>
parents: 11530
diff changeset
    31
	classVariableNames:''
f5f8306664d7 class definition
Claus Gittinger <cg@exept.de>
parents: 11530
diff changeset
    32
	poolDictionaries:''
f5f8306664d7 class definition
Claus Gittinger <cg@exept.de>
parents: 11530
diff changeset
    33
	privateIn:PerforceSourceCodeManagementSettingsAppl
9837
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    34
!
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    35
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    36
Object subclass:#ModuleManager
11531
f5f8306664d7 class definition
Claus Gittinger <cg@exept.de>
parents: 11530
diff changeset
    37
	instanceVariableNames:'manager module settings app check checkIcon'
f5f8306664d7 class definition
Claus Gittinger <cg@exept.de>
parents: 11530
diff changeset
    38
	classVariableNames:''
f5f8306664d7 class definition
Claus Gittinger <cg@exept.de>
parents: 11530
diff changeset
    39
	poolDictionaries:''
f5f8306664d7 class definition
Claus Gittinger <cg@exept.de>
parents: 11530
diff changeset
    40
	privateIn:PerforceSourceCodeManagementSettingsAppl
11022
e19e9601a49c added: #defaultIcon4
Claus Gittinger <cg@exept.de>
parents: 11012
diff changeset
    41
!
e19e9601a49c added: #defaultIcon4
Claus Gittinger <cg@exept.de>
parents: 11012
diff changeset
    42
11546
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
    43
!PerforceSourceCodeManagementSettingsAppl class methodsFor:'documentation'!
11022
e19e9601a49c added: #defaultIcon4
Claus Gittinger <cg@exept.de>
parents: 11012
diff changeset
    44
11546
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
    45
copyright
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
    46
"
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
    47
 COPYRIGHT (c) 2011 by eXept Software AG
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
    48
              All Rights Reserved
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
    49
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
    50
 This software is furnished under a license and may be used
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
    51
 only in accordance with the terms of that license and with the
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
    52
 inclusion of the above copyright notice.   This software may not
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
    53
 be provided or otherwise made available to, or used by, any
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
    54
 other person.  No title to or ownership of the software is
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
    55
 hereby transferred.
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
    56
"
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
    57
! !
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
    58
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
    59
!PerforceSourceCodeManagementSettingsAppl class methodsFor:'image specs'!
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
    60
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
    61
defaultIcon
14339
8a92b620a2f1 Mark program icons with resource
Stefan Vogel <sv@exept.de>
parents: 14314
diff changeset
    62
    <resource: #programImage>
8a92b620a2f1 Mark program icons with resource
Stefan Vogel <sv@exept.de>
parents: 14314
diff changeset
    63
11546
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
    64
    ^ self defaultIcon4.
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
    65
    "/ ^ self defaultIcon3
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
    66
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
    67
    "Created: / 21-12-2011 / 12:35:05 / cg"
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
    68
!
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
    69
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
    70
defaultIcon1
14397
00f8034ba2d4 Change images to use ImageMask instances instead of Depth1Image instances as
Stefan Vogel <sv@exept.de>
parents: 14339
diff changeset
    71
    <resource: #image>
11546
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
    72
    "This resource specification was automatically generated
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
    73
     by the ImageEditor of ST/X."
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
    74
    "Do not manually edit this!! If it is corrupted,
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
    75
     the ImageEditor may not be able to read the specification."
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
    76
    "
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
    77
     self defaultIcon1 inspect
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
    78
     ImageEditor openOnClass:self andSelector:#defaultIcon1
14397
00f8034ba2d4 Change images to use ImageMask instances instead of Depth1Image instances as
Stefan Vogel <sv@exept.de>
parents: 14339
diff changeset
    79
     Icon flushCachedIcons"
00f8034ba2d4 Change images to use ImageMask instances instead of Depth1Image instances as
Stefan Vogel <sv@exept.de>
parents: 14339
diff changeset
    80
    
00f8034ba2d4 Change images to use ImageMask instances instead of Depth1Image instances as
Stefan Vogel <sv@exept.de>
parents: 14339
diff changeset
    81
    ^ Icon 
11546
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
    82
        constantNamed:'PerforceSourceCodeManagementSettingsAppl class defaultIcon1'
14397
00f8034ba2d4 Change images to use ImageMask instances instead of Depth1Image instances as
Stefan Vogel <sv@exept.de>
parents: 14339
diff changeset
    83
        ifAbsentPut:[
00f8034ba2d4 Change images to use ImageMask instances instead of Depth1Image instances as
Stefan Vogel <sv@exept.de>
parents: 14339
diff changeset
    84
            (Depth8Image new)
00f8034ba2d4 Change images to use ImageMask instances instead of Depth1Image instances as
Stefan Vogel <sv@exept.de>
parents: 14339
diff changeset
    85
                width:22;
00f8034ba2d4 Change images to use ImageMask instances instead of Depth1Image instances as
Stefan Vogel <sv@exept.de>
parents: 14339
diff changeset
    86
                height:22;
00f8034ba2d4 Change images to use ImageMask instances instead of Depth1Image instances as
Stefan Vogel <sv@exept.de>
parents: 14339
diff changeset
    87
                photometric:(#palette);
00f8034ba2d4 Change images to use ImageMask instances instead of Depth1Image instances as
Stefan Vogel <sv@exept.de>
parents: 14339
diff changeset
    88
                bitsPerSample:(#[ 8 ]);
00f8034ba2d4 Change images to use ImageMask instances instead of Depth1Image instances as
Stefan Vogel <sv@exept.de>
parents: 14339
diff changeset
    89
                samplesPerPixel:(1);
00f8034ba2d4 Change images to use ImageMask instances instead of Depth1Image instances as
Stefan Vogel <sv@exept.de>
parents: 14339
diff changeset
    90
                bits:(ByteArray 
00f8034ba2d4 Change images to use ImageMask instances instead of Depth1Image instances as
Stefan Vogel <sv@exept.de>
parents: 14339
diff changeset
    91
                            fromPackedString:'
11546
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
    92
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@PHA@PHA@0D@@@D@@@@@@@@@@@@@@ TFA XFA \B@@@C@ HB@ @@@@@@
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
    93
@@HIB (IBP(IA@LB@ $JBPH@@@@@@@@BBP(LCPXJB $N@!!@JB!!@B@@@@@@@@@!!@PCP@@D!!@PA (PBP(P@ @@@@@@@@HPDAH@@ALPDA@PD@(PD@H@@@@@@@@B
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
    94
EQ@VB (WDA@PEQLMEP(B@@@@@@@@@!!TWEQ$ZE1\WEQ@@F1$S@ @@@@@@@@HZEQ@SF1TUEQT\@AXZA H@@@@@@@@BF!!4S@@4ZF!!4Q@@@^G00B@@@@@@@@@!!8^
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
    95
D2@^F!!(G@@@QH"L$IPH@@@@@@@H''G!!TUG" )AR(EJ2L,KR4B@@@@@@@B@!!D/LBL"H#D1LRH2H3L4@ @@@@@@@@@BJ3L6KB0,KB0#H2L#H0H@@@@@@@@@@ HB
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
    96
@ HB@ HBH#(-@ HB@@@@@@@@@@@@@@@@@@@@@#(4KPH@@@@@@@@@@@@@@@@@@@@@@@H=O H@@@@@@@@@@@@@@@@@@@@@@@@B@ HB@@@@@@@@@@@@@@@@@@@@
14397
00f8034ba2d4 Change images to use ImageMask instances instead of Depth1Image instances as
Stefan Vogel <sv@exept.de>
parents: 14339
diff changeset
    97
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@a');
00f8034ba2d4 Change images to use ImageMask instances instead of Depth1Image instances as
Stefan Vogel <sv@exept.de>
parents: 14339
diff changeset
    98
                colorMapFromArray:#[ 240 240 240 224 232 250 208 232 250 224 240 250 160 192 210 128 176 200 144 176 200 160 192 220 144 176 210 112 160 180 128 160 180 160 200 220 128 168 200 160 184 210 208 224 240 176 208 220 112 152 180 176 200 220 144 184 210 144 168 200 192 216 240 112 144 170 128 152 180 112 144 180 128 168 180 96 136 170 112 136 170 144 168 180 192 216 220 96 136 160 96 128 160 48 112 140 176 192 220 144 184 220 16 96 130 32 96 130 144 200 220 192 232 250 176 216 250 96 120 140 80 120 140 80 128 160 112 168 200 80 136 170 32 104 140 96 152 180 128 184 210 96 144 170 48 104 140 16 88 120 32 104 130 16 88 130 0 80 100 176 224 250 32 96 140 144 192 220 160 208 240 160 208 220 16 80 120 80 144 170 80 144 180 0 64 100 0 72 100 ];
00f8034ba2d4 Change images to use ImageMask instances instead of Depth1Image instances as
Stefan Vogel <sv@exept.de>
parents: 14339
diff changeset
    99
                mask:((ImageMask new)
00f8034ba2d4 Change images to use ImageMask instances instead of Depth1Image instances as
Stefan Vogel <sv@exept.de>
parents: 14339
diff changeset
   100
                            width:22;
00f8034ba2d4 Change images to use ImageMask instances instead of Depth1Image instances as
Stefan Vogel <sv@exept.de>
parents: 14339
diff changeset
   101
                            height:22;
00f8034ba2d4 Change images to use ImageMask instances instead of Depth1Image instances as
Stefan Vogel <sv@exept.de>
parents: 14339
diff changeset
   102
                            bits:(ByteArray 
00f8034ba2d4 Change images to use ImageMask instances instead of Depth1Image instances as
Stefan Vogel <sv@exept.de>
parents: 14339
diff changeset
   103
                                        fromPackedString:'@@@@@@@@G?H@G?O G?? G?? G''? G''? G?? G?7 G?7 G/'' G?O0G??0G??0A??0A??0@@_@@@^@@@^@@@@@@@@@');
00f8034ba2d4 Change images to use ImageMask instances instead of Depth1Image instances as
Stefan Vogel <sv@exept.de>
parents: 14339
diff changeset
   104
                            yourself);
00f8034ba2d4 Change images to use ImageMask instances instead of Depth1Image instances as
Stefan Vogel <sv@exept.de>
parents: 14339
diff changeset
   105
                yourself
00f8034ba2d4 Change images to use ImageMask instances instead of Depth1Image instances as
Stefan Vogel <sv@exept.de>
parents: 14339
diff changeset
   106
        ]
11546
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   107
!
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   108
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   109
defaultIcon2
14397
00f8034ba2d4 Change images to use ImageMask instances instead of Depth1Image instances as
Stefan Vogel <sv@exept.de>
parents: 14339
diff changeset
   110
    <resource: #image>
11546
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   111
    "This resource specification was automatically generated
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   112
     by the ImageEditor of ST/X."
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   113
    "Do not manually edit this!! If it is corrupted,
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   114
     the ImageEditor may not be able to read the specification."
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   115
    "
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   116
     self defaultIcon2 inspect
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   117
     ImageEditor openOnClass:self andSelector:#defaultIcon2
14397
00f8034ba2d4 Change images to use ImageMask instances instead of Depth1Image instances as
Stefan Vogel <sv@exept.de>
parents: 14339
diff changeset
   118
     Icon flushCachedIcons"
00f8034ba2d4 Change images to use ImageMask instances instead of Depth1Image instances as
Stefan Vogel <sv@exept.de>
parents: 14339
diff changeset
   119
    
00f8034ba2d4 Change images to use ImageMask instances instead of Depth1Image instances as
Stefan Vogel <sv@exept.de>
parents: 14339
diff changeset
   120
    ^ Icon 
11546
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   121
        constantNamed:'PerforceSourceCodeManagementSettingsAppl class defaultIcon2'
14397
00f8034ba2d4 Change images to use ImageMask instances instead of Depth1Image instances as
Stefan Vogel <sv@exept.de>
parents: 14339
diff changeset
   122
        ifAbsentPut:[
00f8034ba2d4 Change images to use ImageMask instances instead of Depth1Image instances as
Stefan Vogel <sv@exept.de>
parents: 14339
diff changeset
   123
            (Depth4Image new)
00f8034ba2d4 Change images to use ImageMask instances instead of Depth1Image instances as
Stefan Vogel <sv@exept.de>
parents: 14339
diff changeset
   124
                width:24;
00f8034ba2d4 Change images to use ImageMask instances instead of Depth1Image instances as
Stefan Vogel <sv@exept.de>
parents: 14339
diff changeset
   125
                height:24;
00f8034ba2d4 Change images to use ImageMask instances instead of Depth1Image instances as
Stefan Vogel <sv@exept.de>
parents: 14339
diff changeset
   126
                photometric:(#palette);
00f8034ba2d4 Change images to use ImageMask instances instead of Depth1Image instances as
Stefan Vogel <sv@exept.de>
parents: 14339
diff changeset
   127
                bitsPerSample:(#[ 4 ]);
00f8034ba2d4 Change images to use ImageMask instances instead of Depth1Image instances as
Stefan Vogel <sv@exept.de>
parents: 14339
diff changeset
   128
                samplesPerPixel:(1);
00f8034ba2d4 Change images to use ImageMask instances instead of Depth1Image instances as
Stefan Vogel <sv@exept.de>
parents: 14339
diff changeset
   129
                bits:(ByteArray 
00f8034ba2d4 Change images to use ImageMask instances instead of Depth1Image instances as
Stefan Vogel <sv@exept.de>
parents: 14339
diff changeset
   130
                            fromPackedString:'
11546
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   131
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@AH@@@@@@@@@@@@@QUUV@@@@@@@@@@A%UUUUUX@@@@@@BUUUUUUUUUTP@@@HUUUUUUUUUUUU$@@@@@UUUU
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   132
UUUU$@@@@@@@@FUUUUT@@@@@@@@@@@AUUZ@@)B@@@@@@H@@BL@BUUV @@@BEUU @@HUUZP@@@@YUUUUQ!!%UY@@@@@@@$UUUUUUVP@@@@@@@@@BUUUU@@QUP@
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   133
@@@@@@@AU@B%UP@@@@@@A0@@@@EUP@@@@@@@UUU@@DUY@@@@@@@UUUUUUUV@@@@@@@JH$VUUUU @@@@@@@@@@@@HYY@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
14397
00f8034ba2d4 Change images to use ImageMask instances instead of Depth1Image instances as
Stefan Vogel <sv@exept.de>
parents: 14339
diff changeset
   134
@@@@@@@@@@@@@@@@@@@@@@@@');
00f8034ba2d4 Change images to use ImageMask instances instead of Depth1Image instances as
Stefan Vogel <sv@exept.de>
parents: 14339
diff changeset
   135
                colorMapFromArray:#[ 255 248 248 240 200 104 255 216 160 255 248 240 240 192 64 240 168 24 240 176 48 255 240 224 255 224 176 255 208 136 255 232 208 ];
00f8034ba2d4 Change images to use ImageMask instances instead of Depth1Image instances as
Stefan Vogel <sv@exept.de>
parents: 14339
diff changeset
   136
                mask:((ImageMask new)
00f8034ba2d4 Change images to use ImageMask instances instead of Depth1Image instances as
Stefan Vogel <sv@exept.de>
parents: 14339
diff changeset
   137
                            width:24;
00f8034ba2d4 Change images to use ImageMask instances instead of Depth1Image instances as
Stefan Vogel <sv@exept.de>
parents: 14339
diff changeset
   138
                            height:24;
00f8034ba2d4 Change images to use ImageMask instances instead of Depth1Image instances as
Stefan Vogel <sv@exept.de>
parents: 14339
diff changeset
   139
                            bits:(ByteArray 
00f8034ba2d4 Change images to use ImageMask instances instead of Depth1Image instances as
Stefan Vogel <sv@exept.de>
parents: 14339
diff changeset
   140
                                        fromPackedString:'@@@@@@@@@A @@G8@@_?@C??0O??<@?? @O<@@C88@!!#<C<O0G??@C?>@@O8<@A30@PG @>O@C?>@G?<@@A8@@@@@@@@@@@@@');
00f8034ba2d4 Change images to use ImageMask instances instead of Depth1Image instances as
Stefan Vogel <sv@exept.de>
parents: 14339
diff changeset
   141
                            yourself);
00f8034ba2d4 Change images to use ImageMask instances instead of Depth1Image instances as
Stefan Vogel <sv@exept.de>
parents: 14339
diff changeset
   142
                yourself
00f8034ba2d4 Change images to use ImageMask instances instead of Depth1Image instances as
Stefan Vogel <sv@exept.de>
parents: 14339
diff changeset
   143
        ]
11546
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   144
!
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   145
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   146
defaultIcon3
14397
00f8034ba2d4 Change images to use ImageMask instances instead of Depth1Image instances as
Stefan Vogel <sv@exept.de>
parents: 14339
diff changeset
   147
    <resource: #image>
11546
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   148
    "This resource specification was automatically generated
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   149
     by the ImageEditor of ST/X."
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   150
    "Do not manually edit this!! If it is corrupted,
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   151
     the ImageEditor may not be able to read the specification."
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   152
    "
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   153
     self defaultIcon3 inspect
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   154
     ImageEditor openOnClass:self andSelector:#defaultIcon3
14397
00f8034ba2d4 Change images to use ImageMask instances instead of Depth1Image instances as
Stefan Vogel <sv@exept.de>
parents: 14339
diff changeset
   155
     Icon flushCachedIcons"
00f8034ba2d4 Change images to use ImageMask instances instead of Depth1Image instances as
Stefan Vogel <sv@exept.de>
parents: 14339
diff changeset
   156
    
00f8034ba2d4 Change images to use ImageMask instances instead of Depth1Image instances as
Stefan Vogel <sv@exept.de>
parents: 14339
diff changeset
   157
    ^ Icon 
11546
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   158
        constantNamed:'PerforceSourceCodeManagementSettingsAppl class defaultIcon3'
14397
00f8034ba2d4 Change images to use ImageMask instances instead of Depth1Image instances as
Stefan Vogel <sv@exept.de>
parents: 14339
diff changeset
   159
        ifAbsentPut:[
00f8034ba2d4 Change images to use ImageMask instances instead of Depth1Image instances as
Stefan Vogel <sv@exept.de>
parents: 14339
diff changeset
   160
            (Depth8Image new)
00f8034ba2d4 Change images to use ImageMask instances instead of Depth1Image instances as
Stefan Vogel <sv@exept.de>
parents: 14339
diff changeset
   161
                width:22;
00f8034ba2d4 Change images to use ImageMask instances instead of Depth1Image instances as
Stefan Vogel <sv@exept.de>
parents: 14339
diff changeset
   162
                height:22;
00f8034ba2d4 Change images to use ImageMask instances instead of Depth1Image instances as
Stefan Vogel <sv@exept.de>
parents: 14339
diff changeset
   163
                photometric:(#palette);
00f8034ba2d4 Change images to use ImageMask instances instead of Depth1Image instances as
Stefan Vogel <sv@exept.de>
parents: 14339
diff changeset
   164
                bitsPerSample:(#[ 8 ]);
00f8034ba2d4 Change images to use ImageMask instances instead of Depth1Image instances as
Stefan Vogel <sv@exept.de>
parents: 14339
diff changeset
   165
                samplesPerPixel:(1);
00f8034ba2d4 Change images to use ImageMask instances instead of Depth1Image instances as
Stefan Vogel <sv@exept.de>
parents: 14339
diff changeset
   166
                bits:(ByteArray 
00f8034ba2d4 Change images to use ImageMask instances instead of Depth1Image instances as
Stefan Vogel <sv@exept.de>
parents: 14339
diff changeset
   167
                            fromPackedString:'
11546
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   168
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@PHA@PHA@0D@@@D@@@@@@@@@@@@@@ PEAPTEAPXB@@@C@ HB@ @@@@@@
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   169
@@HGB@ GA0 GBPLB@ \HA0H@@@@@@@@BA0 JB0THB@\L@ 4HB@4B@@@@@@@@@ 4MB0@@C 4MAP MA0 M@ @@@@@@@@HMCP8@@@<MCP4MCP MCPH@@@@@@@@B
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   170
D@4QB@ RCP4MD@<KD@ B@@@@@@@@@!!@RDALTD!!HRD@4@EQLO@ @@@@@@@@HTM#X3L1@PDA@V@ADTAPH@@@@@@@@BL3X6M#X3EA\X@@@YF (B@@@@@@@@L#X6
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   171
C1,YECLF@@@XGA4^G0H@@@@@@CL4L1@PFRD"ABLDIA4%I"XB@@@@L3L6MSX7JA48GB$)JQ0*GR,,@ @@@@@3MSX3IB,8NC %IRT]GQ4]GPH@@@@@@CL<@ H8
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   172
N3,:N@HBGB8&@ HB@@@@@@@@@@@8NC$8NC @@"8,I H@@@@@@@@8@@@@@@@8N@@@@@H/L@H@@@@@@@@@@C 8NC 8NCD@@@@B@ HB@@@@@@@@@@@@NS 8NCD@
14397
00f8034ba2d4 Change images to use ImageMask instances instead of Depth1Image instances as
Stefan Vogel <sv@exept.de>
parents: 14339
diff changeset
   173
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@a');
00f8034ba2d4 Change images to use ImageMask instances instead of Depth1Image instances as
Stefan Vogel <sv@exept.de>
parents: 14339
diff changeset
   174
                colorMapFromArray:#[ 247 247 247 239 243 252 231 243 252 239 247 252 191 215 227 199 215 227 207 223 237 183 207 217 191 207 217 207 223 232 191 211 227 207 219 232 231 239 247 183 203 217 199 219 232 199 211 227 183 199 212 191 203 217 183 199 217 175 195 212 183 195 212 199 211 217 223 235 237 175 195 207 215 227 237 175 191 207 151 183 197 215 223 237 135 175 192 143 175 192 199 227 237 223 243 252 175 187 197 167 187 197 167 191 207 183 211 227 167 195 212 143 179 197 175 203 217 175 199 212 151 179 197 135 171 187 143 179 192 135 171 192 127 167 177 143 175 197 135 167 187 127 159 177 127 163 177 0 0 0 0 64 0 32 96 32 96 192 128 32 128 64 32 160 64 32 128 32 64 64 64 96 96 96 128 128 128 32 32 32 32 64 32 ];
00f8034ba2d4 Change images to use ImageMask instances instead of Depth1Image instances as
Stefan Vogel <sv@exept.de>
parents: 14339
diff changeset
   175
                mask:((ImageMask new)
00f8034ba2d4 Change images to use ImageMask instances instead of Depth1Image instances as
Stefan Vogel <sv@exept.de>
parents: 14339
diff changeset
   176
                            width:22;
00f8034ba2d4 Change images to use ImageMask instances instead of Depth1Image instances as
Stefan Vogel <sv@exept.de>
parents: 14339
diff changeset
   177
                            height:22;
00f8034ba2d4 Change images to use ImageMask instances instead of Depth1Image instances as
Stefan Vogel <sv@exept.de>
parents: 14339
diff changeset
   178
                            bits:(ByteArray 
00f8034ba2d4 Change images to use ImageMask instances instead of Depth1Image instances as
Stefan Vogel <sv@exept.de>
parents: 14339
diff changeset
   179
                                        fromPackedString:'@@@@@@@@G?H@G?O G?? G?? G''? G''? G?? G?7 G?7 G?'' G?O0G??0_??0O??0G??0@?_@HL^@G<^@C8@@@@@@');
00f8034ba2d4 Change images to use ImageMask instances instead of Depth1Image instances as
Stefan Vogel <sv@exept.de>
parents: 14339
diff changeset
   180
                            yourself);
00f8034ba2d4 Change images to use ImageMask instances instead of Depth1Image instances as
Stefan Vogel <sv@exept.de>
parents: 14339
diff changeset
   181
                yourself
00f8034ba2d4 Change images to use ImageMask instances instead of Depth1Image instances as
Stefan Vogel <sv@exept.de>
parents: 14339
diff changeset
   182
        ]
11546
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   183
!
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   184
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   185
defaultIcon4
14397
00f8034ba2d4 Change images to use ImageMask instances instead of Depth1Image instances as
Stefan Vogel <sv@exept.de>
parents: 14339
diff changeset
   186
    <resource: #image>
11546
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   187
    "This resource specification was automatically generated
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   188
     by the ImageEditor of ST/X."
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   189
    "Do not manually edit this!! If it is corrupted,
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   190
     the ImageEditor may not be able to read the specification."
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   191
    "
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   192
     self defaultIcon4 inspect
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   193
     ImageEditor openOnClass:self andSelector:#defaultIcon4
14397
00f8034ba2d4 Change images to use ImageMask instances instead of Depth1Image instances as
Stefan Vogel <sv@exept.de>
parents: 14339
diff changeset
   194
     Icon flushCachedIcons"
00f8034ba2d4 Change images to use ImageMask instances instead of Depth1Image instances as
Stefan Vogel <sv@exept.de>
parents: 14339
diff changeset
   195
    
00f8034ba2d4 Change images to use ImageMask instances instead of Depth1Image instances as
Stefan Vogel <sv@exept.de>
parents: 14339
diff changeset
   196
    ^ Icon 
11546
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   197
        constantNamed:'PerforceSourceCodeManagementSettingsAppl class defaultIcon4'
14397
00f8034ba2d4 Change images to use ImageMask instances instead of Depth1Image instances as
Stefan Vogel <sv@exept.de>
parents: 14339
diff changeset
   198
        ifAbsentPut:[
00f8034ba2d4 Change images to use ImageMask instances instead of Depth1Image instances as
Stefan Vogel <sv@exept.de>
parents: 14339
diff changeset
   199
            (Depth8Image new)
00f8034ba2d4 Change images to use ImageMask instances instead of Depth1Image instances as
Stefan Vogel <sv@exept.de>
parents: 14339
diff changeset
   200
                width:22;
00f8034ba2d4 Change images to use ImageMask instances instead of Depth1Image instances as
Stefan Vogel <sv@exept.de>
parents: 14339
diff changeset
   201
                height:22;
00f8034ba2d4 Change images to use ImageMask instances instead of Depth1Image instances as
Stefan Vogel <sv@exept.de>
parents: 14339
diff changeset
   202
                photometric:(#palette);
00f8034ba2d4 Change images to use ImageMask instances instead of Depth1Image instances as
Stefan Vogel <sv@exept.de>
parents: 14339
diff changeset
   203
                bitsPerSample:(#[ 8 ]);
00f8034ba2d4 Change images to use ImageMask instances instead of Depth1Image instances as
Stefan Vogel <sv@exept.de>
parents: 14339
diff changeset
   204
                samplesPerPixel:(1);
00f8034ba2d4 Change images to use ImageMask instances instead of Depth1Image instances as
Stefan Vogel <sv@exept.de>
parents: 14339
diff changeset
   205
                bits:(ByteArray 
00f8034ba2d4 Change images to use ImageMask instances instead of Depth1Image instances as
Stefan Vogel <sv@exept.de>
parents: 14339
diff changeset
   206
                            fromPackedString:'
11546
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   207
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@AUUUUUU @@@@@@@@@@@@@@@@@@
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   208
@@@@U(F.+Y]QJ@@@FB\$(P@@@@@@@@@@@ET)H#U7JS]IFRX)S%\@@@@@@@@@@@@SO6B1E1F+$C5SJSYB@@@@@@@@@@@@D:>MW)>Y_P!!;#8HI\0@@@@@@@@@@
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   209
@D@)J!!R0& 0])J"CG!!0@@@@@@@@@@@AAJ08J^VM_(1TP_7 G@@@@@@@@@@@@-;^4-J2NM@=5$'':)@@@@@@@@@@@@-K^7-;^4^&T2@C1OK@@@@@@@@@@@,;^7
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   210
SBB''%+P@''HY/%E$K@@@@@@@@@KR5-@YPHR4A''X]0JU)DSZH@@@@@-KR7-+^8@D"9\WE[CTU!!K0L3@@@@@@B4-+^4@@B9.[$@@C@Z)X0@@@@@@@@@@KR=@@B9
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   211
/K2;.PBJWT]K@@@@@@@@@@@@@@B9.[*9.[$@@H,[@@@@@@@@@@B9@@@@@@B9.P@@@@@@@@@@@@@@@@@@@K&9.[&9.[H@@@@@@@@@@@@@@@@@@@@@.+&9.[H@
14397
00f8034ba2d4 Change images to use ImageMask instances instead of Depth1Image instances as
Stefan Vogel <sv@exept.de>
parents: 14339
diff changeset
   212
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@a');
00f8034ba2d4 Change images to use ImageMask instances instead of Depth1Image instances as
Stefan Vogel <sv@exept.de>
parents: 14339
diff changeset
   213
                colorMapFromArray:#[ 255 207 52 214 168 55 233 238 244 117 121 125 215 219 225 217 222 228 166 169 170 185 189 193 118 113 66 175 127 29 172 137 46 183 143 46 186 146 50 149 132 77 212 161 47 102 106 106 233 202 75 244 197 63 237 243 249 253 208 64 244 197 65 116 121 116 236 242 248 141 145 139 212 219 146 193 198 148 232 179 53 146 149 152 164 168 171 127 97 27 138 106 37 200 204 209 180 136 36 187 140 37 209 152 33 214 218 223 219 166 45 223 228 234 240 194 60 240 194 64 138 131 107 230 183 62 239 191 65 230 184 63 120 122 121 213 164 49 232 237 244 104 109 109 251 215 73 225 231 235 162 166 166 180 184 188 153 111 25 175 126 27 185 134 29 186 141 39 223 228 223 217 221 226 223 227 230 232 237 235 255 235 80 227 199 81 236 241 247 232 185 63 253 216 78 253 217 79 131 135 134 230 234 240 215 159 40 232 182 60 216 221 223 96 97 95 154 158 159 178 183 183 144 110 31 199 204 209 163 130 45 175 133 40 205 150 34 203 156 46 134 121 82 223 172 50 228 233 234 232 183 60 236 243 248 253 216 79 254 241 108 123 127 129 233 184 62 255 196 50 232 182 57 118 122 120 216 220 226 211 164 51 161 167 160 102 81 27 139 107 33 147 120 48 166 132 45 167 134 50 212 217 221 94 100 98 227 233 231 224 229 234 228 183 56 253 208 63 237 243 247 238 243 250 231 235 242 234 239 246 254 208 63 240 194 65 216 168 53 114 120 119 217 221 227 148 152 153 227 232 238 178 182 180 143 110 31 171 125 28 118 105 65 173 137 46 205 150 33 214 159 37 224 166 38 221 167 46 223 170 49 231 179 56 235 239 244 245 203 72 238 190 64 233 181 58 232 184 62 128 131 126 255 230 77 215 162 44 117 121 122 222 227 232 203 152 38 150 153 155 172 176 177 132 102 33 154 121 40 147 118 49 101 101 82 228 233 221 255 235 71 227 233 230 211 164 52 228 233 237 227 181 61 244 196 63 237 242 248 233 182 59 234 184 60 236 241 248 255 205 50 214 166 51 222 226 230 195 202 151 229 233 240 153 156 155 168 172 176 138 101 24 157 117 33 119 99 56 219 225 216 184 158 61 139 130 81 100 101 96 144 149 103 225 175 53 149 154 112 245 200 66 246 202 71 232 184 63 233 183 61 131 134 130 0 0 0 0 64 0 32 96 32 96 192 128 32 128 64 32 160 64 32 128 32 64 64 64 96 96 96 128 128 128 32 32 32 32 64 32 ];
00f8034ba2d4 Change images to use ImageMask instances instead of Depth1Image instances as
Stefan Vogel <sv@exept.de>
parents: 14339
diff changeset
   214
                mask:((ImageMask new)
00f8034ba2d4 Change images to use ImageMask instances instead of Depth1Image instances as
Stefan Vogel <sv@exept.de>
parents: 14339
diff changeset
   215
                            width:22;
00f8034ba2d4 Change images to use ImageMask instances instead of Depth1Image instances as
Stefan Vogel <sv@exept.de>
parents: 14339
diff changeset
   216
                            height:22;
00f8034ba2d4 Change images to use ImageMask instances instead of Depth1Image instances as
Stefan Vogel <sv@exept.de>
parents: 14339
diff changeset
   217
                            bits:(ByteArray 
00f8034ba2d4 Change images to use ImageMask instances instead of Depth1Image instances as
Stefan Vogel <sv@exept.de>
parents: 14339
diff changeset
   218
                                        fromPackedString:'@@@C@@@C@@@CA<@CA?OCA??CA??CA??CA??CA??CA?>CC?.CG??CG??#_/?#ON^CF_^C@?LCHL@CG<@CC8@C@@@C');
00f8034ba2d4 Change images to use ImageMask instances instead of Depth1Image instances as
Stefan Vogel <sv@exept.de>
parents: 14339
diff changeset
   219
                            yourself);
00f8034ba2d4 Change images to use ImageMask instances instead of Depth1Image instances as
Stefan Vogel <sv@exept.de>
parents: 14339
diff changeset
   220
                yourself
00f8034ba2d4 Change images to use ImageMask instances instead of Depth1Image instances as
Stefan Vogel <sv@exept.de>
parents: 14339
diff changeset
   221
        ]
11546
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   222
! !
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   223
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   224
!PerforceSourceCodeManagementSettingsAppl class methodsFor:'interface specs'!
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   225
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   226
windowSpec
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   227
    "This resource specification was automatically generated
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   228
     by the UIPainter of ST/X."
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   229
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   230
    "Do not manually edit this!! If it is corrupted,
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   231
     the UIPainter may not be able to read the specification."
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   232
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   233
    "
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   234
     UIPainter new openOnClass:PerforceSourceCodeManagementSettingsAppl andSelector:#windowSpec
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   235
     PerforceSourceCodeManagementSettingsAppl new openInterface:#windowSpec
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   236
     PerforceSourceCodeManagementSettingsAppl open
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   237
    "
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   238
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   239
    <resource: #canvas>
11530
ba6b2f17e30d **** new version from Christian
Claus Gittinger <cg@exept.de>
parents: 11328
diff changeset
   240
11546
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   241
    ^ 
14257
c51afcd49135 class: PerforceSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 14250
diff changeset
   242
    #(FullSpec
c51afcd49135 class: PerforceSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 14250
diff changeset
   243
       name: windowSpec
c51afcd49135 class: PerforceSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 14250
diff changeset
   244
       window: 
c51afcd49135 class: PerforceSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 14250
diff changeset
   245
      (WindowSpec
c51afcd49135 class: PerforceSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 14250
diff changeset
   246
         label: 'Source Code Manager Settings'
c51afcd49135 class: PerforceSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 14250
diff changeset
   247
         name: 'Source Code Manager Settings'
14314
ae33d7e348d4 changed: #windowSpec
Claus Gittinger <cg@exept.de>
parents: 14269
diff changeset
   248
         flags: 1
14257
c51afcd49135 class: PerforceSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 14250
diff changeset
   249
         min: (Point 10 10)
14314
ae33d7e348d4 changed: #windowSpec
Claus Gittinger <cg@exept.de>
parents: 14269
diff changeset
   250
         bounds: (Rectangle 0 0 706 596)
14257
c51afcd49135 class: PerforceSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 14250
diff changeset
   251
       )
c51afcd49135 class: PerforceSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 14250
diff changeset
   252
       component: 
c51afcd49135 class: PerforceSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 14250
diff changeset
   253
      (SpecCollection
c51afcd49135 class: PerforceSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 14250
diff changeset
   254
         collection: (
c51afcd49135 class: PerforceSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 14250
diff changeset
   255
          (VerticalPanelViewSpec
c51afcd49135 class: PerforceSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 14250
diff changeset
   256
             name: 'VerticalPanel3'
c51afcd49135 class: PerforceSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 14250
diff changeset
   257
             layout: (LayoutFrame 0 0 0 0 0 1 0 1)
c51afcd49135 class: PerforceSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 14250
diff changeset
   258
             horizontalLayout: fit
c51afcd49135 class: PerforceSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 14250
diff changeset
   259
             verticalLayout: topSpace
c51afcd49135 class: PerforceSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 14250
diff changeset
   260
             horizontalSpace: 3
c51afcd49135 class: PerforceSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 14250
diff changeset
   261
             verticalSpace: 4
c51afcd49135 class: PerforceSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 14250
diff changeset
   262
             component: 
c51afcd49135 class: PerforceSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 14250
diff changeset
   263
            (SpecCollection
c51afcd49135 class: PerforceSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 14250
diff changeset
   264
               collection: (
c51afcd49135 class: PerforceSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 14250
diff changeset
   265
                (FramedBoxSpec
c51afcd49135 class: PerforceSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 14250
diff changeset
   266
                   label: 'Perforce (P4) Sourcecode Manager Settings'
c51afcd49135 class: PerforceSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 14250
diff changeset
   267
                   name: 'FramedBox3'
c51afcd49135 class: PerforceSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 14250
diff changeset
   268
                   labelPosition: topLeft
c51afcd49135 class: PerforceSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 14250
diff changeset
   269
                   translateLabel: true
c51afcd49135 class: PerforceSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 14250
diff changeset
   270
                   component: 
c51afcd49135 class: PerforceSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 14250
diff changeset
   271
                  (SpecCollection
c51afcd49135 class: PerforceSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 14250
diff changeset
   272
                     collection: (
c51afcd49135 class: PerforceSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 14250
diff changeset
   273
                      (CheckBoxSpec
c51afcd49135 class: PerforceSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 14250
diff changeset
   274
                         label: 'Show in Browser Menus'
c51afcd49135 class: PerforceSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 14250
diff changeset
   275
                         name: 'CheckBox1'
c51afcd49135 class: PerforceSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 14250
diff changeset
   276
                         layout: (LayoutFrame 0 0 5 0 -150 1 35 0)
c51afcd49135 class: PerforceSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 14250
diff changeset
   277
                         activeHelpKey: shownInBrowserMenus
c51afcd49135 class: PerforceSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 14250
diff changeset
   278
                         model: shownInBrowserMenusHolder
c51afcd49135 class: PerforceSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 14250
diff changeset
   279
                         translateLabel: true
c51afcd49135 class: PerforceSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 14250
diff changeset
   280
                       )
c51afcd49135 class: PerforceSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 14250
diff changeset
   281
                      (ActionButtonSpec
c51afcd49135 class: PerforceSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 14250
diff changeset
   282
                         label: 'Check'
c51afcd49135 class: PerforceSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 14250
diff changeset
   283
                         name: 'Button6'
c51afcd49135 class: PerforceSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 14250
diff changeset
   284
                         layout: (LayoutFrame -150 1 5 0 -5 1 35 0)
c51afcd49135 class: PerforceSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 14250
diff changeset
   285
                         translateLabel: true
c51afcd49135 class: PerforceSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 14250
diff changeset
   286
                         labelChannel: checkLabel
c51afcd49135 class: PerforceSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 14250
diff changeset
   287
                         model: checkPerforceSettings
c51afcd49135 class: PerforceSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 14250
diff changeset
   288
                       )
c51afcd49135 class: PerforceSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 14250
diff changeset
   289
                      (ViewSpec
c51afcd49135 class: PerforceSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 14250
diff changeset
   290
                         name: 'Box3'
c51afcd49135 class: PerforceSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 14250
diff changeset
   291
                         layout: (LayoutFrame 0 0 41 0 0 1 117 0)
c51afcd49135 class: PerforceSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 14250
diff changeset
   292
                         component: 
c51afcd49135 class: PerforceSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 14250
diff changeset
   293
                        (SpecCollection
c51afcd49135 class: PerforceSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 14250
diff changeset
   294
                           collection: (
c51afcd49135 class: PerforceSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 14250
diff changeset
   295
                            (LabelSpec
16681
3d8e44f41539 #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 16657
diff changeset
   296
                               label: 'Default P4 Root'
14257
c51afcd49135 class: PerforceSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 14250
diff changeset
   297
                               name: 'Label1'
c51afcd49135 class: PerforceSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 14250
diff changeset
   298
                               layout: (LayoutFrame 0 0.0 0 0 60 0.25 30 0)
c51afcd49135 class: PerforceSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 14250
diff changeset
   299
                               level: 0
c51afcd49135 class: PerforceSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 14250
diff changeset
   300
                               translateLabel: true
c51afcd49135 class: PerforceSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 14250
diff changeset
   301
                               adjust: right
11546
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   302
                             )
14257
c51afcd49135 class: PerforceSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 14250
diff changeset
   303
                            (LabelSpec
c51afcd49135 class: PerforceSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 14250
diff changeset
   304
                               label: '(client:user:pass@host:port) '
c51afcd49135 class: PerforceSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 14250
diff changeset
   305
                               name: 'Label18'
c51afcd49135 class: PerforceSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 14250
diff changeset
   306
                               layout: (LayoutFrame 4 0.0 25 0 64 0.25 40 0)
c51afcd49135 class: PerforceSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 14250
diff changeset
   307
                               style: (FontDescription helvetica medium roman 10)
c51afcd49135 class: PerforceSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 14250
diff changeset
   308
                               level: 0
16681
3d8e44f41539 #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 16657
diff changeset
   309
                               foregroundColor: (Color 33.0 33.0 33.0)
14257
c51afcd49135 class: PerforceSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 14250
diff changeset
   310
                               translateLabel: true
c51afcd49135 class: PerforceSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 14250
diff changeset
   311
                               adjust: right
c51afcd49135 class: PerforceSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 14250
diff changeset
   312
                             )
c51afcd49135 class: PerforceSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 14250
diff changeset
   313
                            (ComboBoxSpec
c51afcd49135 class: PerforceSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 14250
diff changeset
   314
                               name: 'cvsRootComboBox'
c51afcd49135 class: PerforceSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 14250
diff changeset
   315
                               layout: (LayoutFrame 66 0.25 0 0 -5 1 30 0)
c51afcd49135 class: PerforceSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 14250
diff changeset
   316
                               tabable: true
c51afcd49135 class: PerforceSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 14250
diff changeset
   317
                               model: defaultSettingsHolder
c51afcd49135 class: PerforceSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 14250
diff changeset
   318
                               immediateAccept: true
c51afcd49135 class: PerforceSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 14250
diff changeset
   319
                               acceptOnLeave: true
c51afcd49135 class: PerforceSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 14250
diff changeset
   320
                               acceptOnReturn: true
c51afcd49135 class: PerforceSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 14250
diff changeset
   321
                               acceptOnTab: true
c51afcd49135 class: PerforceSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 14250
diff changeset
   322
                               acceptOnLostFocus: true
c51afcd49135 class: PerforceSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 14250
diff changeset
   323
                               acceptChannel: acceptChannel
c51afcd49135 class: PerforceSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 14250
diff changeset
   324
                               acceptOnPointerLeave: true
c51afcd49135 class: PerforceSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 14250
diff changeset
   325
                               comboList: defaultSettingsPrototypeList
c51afcd49135 class: PerforceSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 14250
diff changeset
   326
                             )
c51afcd49135 class: PerforceSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 14250
diff changeset
   327
                            (LabelSpec
16681
3d8e44f41539 #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 16657
diff changeset
   328
                               label: 'Perforce Command:'
14257
c51afcd49135 class: PerforceSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 14250
diff changeset
   329
                               name: 'Label22'
c51afcd49135 class: PerforceSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 14250
diff changeset
   330
                               layout: (LayoutFrame 0 0.0 38 0 60 0.25 68 0)
c51afcd49135 class: PerforceSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 14250
diff changeset
   331
                               level: 0
c51afcd49135 class: PerforceSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 14250
diff changeset
   332
                               translateLabel: true
c51afcd49135 class: PerforceSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 14250
diff changeset
   333
                               adjust: right
c51afcd49135 class: PerforceSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 14250
diff changeset
   334
                             )
c51afcd49135 class: PerforceSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 14250
diff changeset
   335
                            (InputFieldSpec
c51afcd49135 class: PerforceSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 14250
diff changeset
   336
                               name: 'EntryField8'
c51afcd49135 class: PerforceSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 14250
diff changeset
   337
                               layout: (LayoutFrame 66 0.25 38 0 -5 1 68 0)
c51afcd49135 class: PerforceSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 14250
diff changeset
   338
                               tabable: true
c51afcd49135 class: PerforceSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 14250
diff changeset
   339
                               model: perforceExecutableHolder
c51afcd49135 class: PerforceSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 14250
diff changeset
   340
                               immediateAccept: false
c51afcd49135 class: PerforceSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 14250
diff changeset
   341
                               acceptOnLostFocus: true
c51afcd49135 class: PerforceSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 14250
diff changeset
   342
                               acceptChannel: acceptChannel
c51afcd49135 class: PerforceSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 14250
diff changeset
   343
                               acceptOnPointerLeave: true
c51afcd49135 class: PerforceSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 14250
diff changeset
   344
                             )
c51afcd49135 class: PerforceSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 14250
diff changeset
   345
                            )
c51afcd49135 class: PerforceSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 14250
diff changeset
   346
                          
c51afcd49135 class: PerforceSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 14250
diff changeset
   347
                         )
11546
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   348
                       )
14257
c51afcd49135 class: PerforceSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 14250
diff changeset
   349
                      )
c51afcd49135 class: PerforceSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 14250
diff changeset
   350
                    
c51afcd49135 class: PerforceSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 14250
diff changeset
   351
                   )
14314
ae33d7e348d4 changed: #windowSpec
Claus Gittinger <cg@exept.de>
parents: 14269
diff changeset
   352
                   extent: (Point 706 154)
14257
c51afcd49135 class: PerforceSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 14250
diff changeset
   353
                 )
c51afcd49135 class: PerforceSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 14250
diff changeset
   354
                (ViewSpec
c51afcd49135 class: PerforceSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 14250
diff changeset
   355
                   name: 'ManagerSetupBoxx'
c51afcd49135 class: PerforceSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 14250
diff changeset
   356
                   component: 
c51afcd49135 class: PerforceSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 14250
diff changeset
   357
                  (SpecCollection
c51afcd49135 class: PerforceSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 14250
diff changeset
   358
                     collection: (
c51afcd49135 class: PerforceSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 14250
diff changeset
   359
                      (FramedBoxSpec
c51afcd49135 class: PerforceSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 14250
diff changeset
   360
                         label: 'Per Module Manager Setup'
c51afcd49135 class: PerforceSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 14250
diff changeset
   361
                         name: 'PerModuleManagerSetup'
c51afcd49135 class: PerforceSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 14250
diff changeset
   362
                         layout: (LayoutFrame 0 0 -1 0 0 1 -3 1)
c51afcd49135 class: PerforceSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 14250
diff changeset
   363
                         labelPosition: topLeft
c51afcd49135 class: PerforceSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 14250
diff changeset
   364
                         translateLabel: true
c51afcd49135 class: PerforceSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 14250
diff changeset
   365
                         component: 
c51afcd49135 class: PerforceSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 14250
diff changeset
   366
                        (SpecCollection
c51afcd49135 class: PerforceSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 14250
diff changeset
   367
                           collection: (
c51afcd49135 class: PerforceSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 14250
diff changeset
   368
                            (DataSetSpec
c51afcd49135 class: PerforceSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 14250
diff changeset
   369
                               name: 'Table1'
c51afcd49135 class: PerforceSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 14250
diff changeset
   370
                               layout: (LayoutFrame 5 0 5 0 0 1 -30 1)
c51afcd49135 class: PerforceSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 14250
diff changeset
   371
                               model: selectedPerModuleRoot
c51afcd49135 class: PerforceSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 14250
diff changeset
   372
                               hasHorizontalScrollBar: true
c51afcd49135 class: PerforceSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 14250
diff changeset
   373
                               hasVerticalScrollBar: true
c51afcd49135 class: PerforceSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 14250
diff changeset
   374
                               dataList: listOfModules
c51afcd49135 class: PerforceSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 14250
diff changeset
   375
                               useIndex: false
c51afcd49135 class: PerforceSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 14250
diff changeset
   376
                               columnHolder: tableColumns
c51afcd49135 class: PerforceSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 14250
diff changeset
   377
                               beDependentOfRows: true
c51afcd49135 class: PerforceSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 14250
diff changeset
   378
                             )
c51afcd49135 class: PerforceSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 14250
diff changeset
   379
                            (HorizontalPanelViewSpec
c51afcd49135 class: PerforceSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 14250
diff changeset
   380
                               name: 'HorizontalPanel11'
c51afcd49135 class: PerforceSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 14250
diff changeset
   381
                               layout: (LayoutFrame 5 0 -30 1 -1 1 0 1)
c51afcd49135 class: PerforceSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 14250
diff changeset
   382
                               horizontalLayout: fitSpace
c51afcd49135 class: PerforceSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 14250
diff changeset
   383
                               verticalLayout: center
c51afcd49135 class: PerforceSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 14250
diff changeset
   384
                               horizontalSpace: 3
c51afcd49135 class: PerforceSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 14250
diff changeset
   385
                               verticalSpace: 3
c51afcd49135 class: PerforceSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 14250
diff changeset
   386
                               component: 
c51afcd49135 class: PerforceSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 14250
diff changeset
   387
                              (SpecCollection
c51afcd49135 class: PerforceSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 14250
diff changeset
   388
                                 collection: (
c51afcd49135 class: PerforceSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 14250
diff changeset
   389
                                  (ActionButtonSpec
c51afcd49135 class: PerforceSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 14250
diff changeset
   390
                                     label: 'Add/Apply'
c51afcd49135 class: PerforceSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 14250
diff changeset
   391
                                     name: 'Button2'
c51afcd49135 class: PerforceSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 14250
diff changeset
   392
                                     translateLabel: true
c51afcd49135 class: PerforceSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 14250
diff changeset
   393
                                     tabable: true
c51afcd49135 class: PerforceSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 14250
diff changeset
   394
                                     model: addPerModuleRoot
16681
3d8e44f41539 #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 16657
diff changeset
   395
                                     extent: (Point 323 30)
11546
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   396
                                   )
14257
c51afcd49135 class: PerforceSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 14250
diff changeset
   397
                                  (ActionButtonSpec
c51afcd49135 class: PerforceSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 14250
diff changeset
   398
                                     label: 'Remove'
c51afcd49135 class: PerforceSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 14250
diff changeset
   399
                                     name: 'Button3'
c51afcd49135 class: PerforceSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 14250
diff changeset
   400
                                     translateLabel: true
c51afcd49135 class: PerforceSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 14250
diff changeset
   401
                                     tabable: true
c51afcd49135 class: PerforceSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 14250
diff changeset
   402
                                     model: removePerModuleRoot
c51afcd49135 class: PerforceSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 14250
diff changeset
   403
                                     enableChannel: removeEnabled
16681
3d8e44f41539 #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 16657
diff changeset
   404
                                     extent: (Point 323 30)
14257
c51afcd49135 class: PerforceSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 14250
diff changeset
   405
                                   )
c51afcd49135 class: PerforceSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 14250
diff changeset
   406
                                  )
c51afcd49135 class: PerforceSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 14250
diff changeset
   407
                                
c51afcd49135 class: PerforceSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 14250
diff changeset
   408
                               )
11546
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   409
                             )
14257
c51afcd49135 class: PerforceSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 14250
diff changeset
   410
                            )
c51afcd49135 class: PerforceSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 14250
diff changeset
   411
                          
c51afcd49135 class: PerforceSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 14250
diff changeset
   412
                         )
11546
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   413
                       )
14257
c51afcd49135 class: PerforceSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 14250
diff changeset
   414
                      )
c51afcd49135 class: PerforceSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 14250
diff changeset
   415
                    
c51afcd49135 class: PerforceSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 14250
diff changeset
   416
                   )
14314
ae33d7e348d4 changed: #windowSpec
Claus Gittinger <cg@exept.de>
parents: 14269
diff changeset
   417
                   extent: (Point 706 250)
14257
c51afcd49135 class: PerforceSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 14250
diff changeset
   418
                 )
c51afcd49135 class: PerforceSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 14250
diff changeset
   419
                (FramedBoxSpec
c51afcd49135 class: PerforceSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 14250
diff changeset
   420
                   label: 'Source Cache'
c51afcd49135 class: PerforceSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 14250
diff changeset
   421
                   name: 'FramedBox2'
c51afcd49135 class: PerforceSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 14250
diff changeset
   422
                   visibilityChannel: false
c51afcd49135 class: PerforceSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 14250
diff changeset
   423
                   labelPosition: topLeft
c51afcd49135 class: PerforceSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 14250
diff changeset
   424
                   translateLabel: true
c51afcd49135 class: PerforceSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 14250
diff changeset
   425
                   component: 
c51afcd49135 class: PerforceSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 14250
diff changeset
   426
                  (SpecCollection
c51afcd49135 class: PerforceSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 14250
diff changeset
   427
                     collection: (
c51afcd49135 class: PerforceSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 14250
diff changeset
   428
                      (ViewSpec
c51afcd49135 class: PerforceSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 14250
diff changeset
   429
                         name: 'Box4'
c51afcd49135 class: PerforceSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 14250
diff changeset
   430
                         layout: (LayoutFrame 0 0 0 0 0 1 30 0)
c51afcd49135 class: PerforceSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 14250
diff changeset
   431
                         component: 
c51afcd49135 class: PerforceSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 14250
diff changeset
   432
                        (SpecCollection
c51afcd49135 class: PerforceSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 14250
diff changeset
   433
                           collection: (
c51afcd49135 class: PerforceSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 14250
diff changeset
   434
                            (LabelSpec
c51afcd49135 class: PerforceSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 14250
diff changeset
   435
                               label: 'Source Cache Dir:'
c51afcd49135 class: PerforceSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 14250
diff changeset
   436
                               name: 'Label23'
c51afcd49135 class: PerforceSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 14250
diff changeset
   437
                               layout: (LayoutFrame 0 0.0 0 0 60 0.25 30 0)
c51afcd49135 class: PerforceSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 14250
diff changeset
   438
                               translateLabel: true
c51afcd49135 class: PerforceSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 14250
diff changeset
   439
                               adjust: right
c51afcd49135 class: PerforceSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 14250
diff changeset
   440
                             )
c51afcd49135 class: PerforceSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 14250
diff changeset
   441
                            (InputFieldSpec
c51afcd49135 class: PerforceSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 14250
diff changeset
   442
                               name: 'EntryField9'
c51afcd49135 class: PerforceSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 14250
diff changeset
   443
                               layout: (LayoutFrame 64 0.25 0 0 0 1 30 0)
c51afcd49135 class: PerforceSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 14250
diff changeset
   444
                               model: sourceCacheDir
c51afcd49135 class: PerforceSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 14250
diff changeset
   445
                               immediateAccept: false
c51afcd49135 class: PerforceSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 14250
diff changeset
   446
                               acceptOnReturn: true
c51afcd49135 class: PerforceSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 14250
diff changeset
   447
                               acceptOnTab: true
c51afcd49135 class: PerforceSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 14250
diff changeset
   448
                               acceptOnLostFocus: true
c51afcd49135 class: PerforceSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 14250
diff changeset
   449
                               acceptOnPointerLeave: true
11546
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   450
                             )
14257
c51afcd49135 class: PerforceSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 14250
diff changeset
   451
                            )
c51afcd49135 class: PerforceSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 14250
diff changeset
   452
                          
c51afcd49135 class: PerforceSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 14250
diff changeset
   453
                         )
c51afcd49135 class: PerforceSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 14250
diff changeset
   454
                       )
c51afcd49135 class: PerforceSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 14250
diff changeset
   455
                      (HorizontalPanelViewSpec
c51afcd49135 class: PerforceSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 14250
diff changeset
   456
                         name: 'HorizontalPanel12'
c51afcd49135 class: PerforceSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 14250
diff changeset
   457
                         layout: (LayoutFrame 44 0.25 33 0 0 1 63 0)
c51afcd49135 class: PerforceSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 14250
diff changeset
   458
                         horizontalLayout: fitSpace
c51afcd49135 class: PerforceSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 14250
diff changeset
   459
                         verticalLayout: center
c51afcd49135 class: PerforceSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 14250
diff changeset
   460
                         horizontalSpace: 3
c51afcd49135 class: PerforceSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 14250
diff changeset
   461
                         verticalSpace: 3
c51afcd49135 class: PerforceSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 14250
diff changeset
   462
                         component: 
c51afcd49135 class: PerforceSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 14250
diff changeset
   463
                        (SpecCollection
c51afcd49135 class: PerforceSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 14250
diff changeset
   464
                           collection: (
c51afcd49135 class: PerforceSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 14250
diff changeset
   465
                            (ActionButtonSpec
c51afcd49135 class: PerforceSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 14250
diff changeset
   466
                               label: 'Flush Cache now'
c51afcd49135 class: PerforceSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 14250
diff changeset
   467
                               name: 'Button4'
c51afcd49135 class: PerforceSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 14250
diff changeset
   468
                               translateLabel: true
c51afcd49135 class: PerforceSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 14250
diff changeset
   469
                               tabable: true
c51afcd49135 class: PerforceSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 14250
diff changeset
   470
                               model: flushSourceCache
16681
3d8e44f41539 #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 16657
diff changeset
   471
                               extent: (Point 221 30)
14257
c51afcd49135 class: PerforceSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 14250
diff changeset
   472
                             )
c51afcd49135 class: PerforceSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 14250
diff changeset
   473
                            (ActionButtonSpec
c51afcd49135 class: PerforceSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 14250
diff changeset
   474
                               label: 'Condense Cache now'
c51afcd49135 class: PerforceSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 14250
diff changeset
   475
                               name: 'Button5'
c51afcd49135 class: PerforceSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 14250
diff changeset
   476
                               translateLabel: true
c51afcd49135 class: PerforceSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 14250
diff changeset
   477
                               tabable: true
c51afcd49135 class: PerforceSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 14250
diff changeset
   478
                               model: condenseSourceCache
16681
3d8e44f41539 #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 16657
diff changeset
   479
                               extent: (Point 221 30)
11546
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   480
                             )
14257
c51afcd49135 class: PerforceSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 14250
diff changeset
   481
                            )
c51afcd49135 class: PerforceSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 14250
diff changeset
   482
                          
c51afcd49135 class: PerforceSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 14250
diff changeset
   483
                         )
11546
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   484
                       )
14257
c51afcd49135 class: PerforceSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 14250
diff changeset
   485
                      )
c51afcd49135 class: PerforceSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 14250
diff changeset
   486
                    
c51afcd49135 class: PerforceSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 14250
diff changeset
   487
                   )
14314
ae33d7e348d4 changed: #windowSpec
Claus Gittinger <cg@exept.de>
parents: 14269
diff changeset
   488
                   extent: (Point 706 107)
14257
c51afcd49135 class: PerforceSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 14250
diff changeset
   489
                 )
c51afcd49135 class: PerforceSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 14250
diff changeset
   490
                (ViewSpec
c51afcd49135 class: PerforceSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 14250
diff changeset
   491
                   name: 'VerboseBox'
c51afcd49135 class: PerforceSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 14250
diff changeset
   492
                   component: 
c51afcd49135 class: PerforceSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 14250
diff changeset
   493
                  (SpecCollection
c51afcd49135 class: PerforceSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 14250
diff changeset
   494
                     collection: (
c51afcd49135 class: PerforceSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 14250
diff changeset
   495
                      (CheckBoxSpec
c51afcd49135 class: PerforceSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 14250
diff changeset
   496
                         label: 'Verbose (Trace Access on Transcript)'
c51afcd49135 class: PerforceSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 14250
diff changeset
   497
                         name: 'CheckBox6'
c51afcd49135 class: PerforceSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 14250
diff changeset
   498
                         layout: (LayoutFrame 30 0 5 0 -5 1 35 0)
c51afcd49135 class: PerforceSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 14250
diff changeset
   499
                         model: verboseSourceCodeAccess
c51afcd49135 class: PerforceSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 14250
diff changeset
   500
                         translateLabel: true
11546
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   501
                       )
14257
c51afcd49135 class: PerforceSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 14250
diff changeset
   502
                      )
c51afcd49135 class: PerforceSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 14250
diff changeset
   503
                    
c51afcd49135 class: PerforceSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 14250
diff changeset
   504
                   )
14314
ae33d7e348d4 changed: #windowSpec
Claus Gittinger <cg@exept.de>
parents: 14269
diff changeset
   505
                   extent: (Point 706 25)
11546
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   506
                 )
14257
c51afcd49135 class: PerforceSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 14250
diff changeset
   507
                )
c51afcd49135 class: PerforceSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 14250
diff changeset
   508
              
c51afcd49135 class: PerforceSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 14250
diff changeset
   509
             )
11546
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   510
           )
14257
c51afcd49135 class: PerforceSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 14250
diff changeset
   511
          )
c51afcd49135 class: PerforceSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 14250
diff changeset
   512
        
c51afcd49135 class: PerforceSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 14250
diff changeset
   513
       )
c51afcd49135 class: PerforceSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 14250
diff changeset
   514
     )
11546
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   515
! !
11530
ba6b2f17e30d **** new version from Christian
Claus Gittinger <cg@exept.de>
parents: 11328
diff changeset
   516
11546
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   517
!PerforceSourceCodeManagementSettingsAppl class methodsFor:'menu specs'!
9837
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   518
11546
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   519
menuPerModule
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   520
    "This resource specification was automatically generated
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   521
     by the MenuEditor of ST/X."
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   522
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   523
    "Do not manually edit this!! If it is corrupted,
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   524
     the MenuEditor may not be able to read the specification."
9837
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   525
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   526
11546
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   527
    "
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   528
     MenuEditor new openOnClass:PerforceSourceCodeManagementSettingsAppl andSelector:#menuPerModule
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   529
     (Menu new fromLiteralArrayEncoding:(PerforceSourceCodeManagementSettingsAppl menuPerModule)) startUp
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   530
    "
9837
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   531
11546
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   532
    <resource: #menu>
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   533
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   534
    ^ 
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   535
     #(Menu
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   536
        (
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   537
         (MenuItem
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   538
            label: 'Check'
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   539
            itemValue: checkPerforceSettings
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   540
            translateLabel: true
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   541
          )
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   542
         )
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   543
        nil
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   544
        nil
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   545
      )
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   546
! !
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   547
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   548
!PerforceSourceCodeManagementSettingsAppl class methodsFor:'queries'!
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   549
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   550
managerClass
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   551
    "backlink to my manager class (needed by the settings app)"
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   552
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   553
    ^ PerforceSourceCodeManager
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   554
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   555
    "Created: / 19-04-2011 / 12:52:02 / cg"
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   556
! !
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   557
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   558
!PerforceSourceCodeManagementSettingsAppl class methodsFor:'tableColumns specs'!
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   559
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   560
tableColumns
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   561
    "This resource specification was automatically generated
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   562
     by the DataSetBuilder of ST/X."
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   563
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   564
    "Do not manually edit this!! If it is corrupted,
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   565
     the DataSetBuilder may not be able to read the specification."
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   566
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   567
    "
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   568
     DataSetBuilder new openOnClass:PerforceSourceCodeManagementSettingsAppl andSelector:#tableColumns
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   569
    "
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   570
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   571
    <resource: #tableColumns>
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   572
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   573
    ^#(
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   574
      (DataSetColumnSpec
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   575
         label: 'Module'
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   576
         labelButtonType: Button
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   577
         usePreferredWidth: true
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   578
         width: 100
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   579
         minWidth: 100
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   580
         model: module
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   581
         menuFromApplication: false
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   582
       )
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   583
      (DataSetColumnSpec
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   584
         label: 'Settings'
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   585
         labelButtonType: Button
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   586
         editorType: InputField
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   587
         model: settings
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   588
         menuFromApplication: false
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   589
         isResizeable: false
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   590
       )
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   591
      (DataSetColumnSpec
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   592
         label: 'Check'
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   593
         labelButtonType: Button
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   594
         model: check
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   595
         menuFromApplication: false
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   596
         doubleClickedSelector: doubleClick
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   597
         isResizeable: false
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   598
       )
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   599
      )
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   600
    
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   601
! !
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   602
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   603
!PerforceSourceCodeManagementSettingsAppl methodsFor:'actions'!
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   604
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   605
addModule:aModuleManager
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   606
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   607
    |detectedManager|
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   608
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   609
    detectedManager := self listOfModules detect:[:eachModuleManager| eachModuleManager module = aModuleManager module] ifNone:nil.
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   610
    detectedManager isNil ifTrue:[
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   611
        self listOfModules add:aModuleManager; sort.
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   612
        self updateModifiedChannel.
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   613
    ] ifFalse:[
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   614
        Dialog information:'Manager for Module ', aModuleManager module, ' already exists'.
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   615
    ].
9837
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   616
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   617
11546
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   618
    "Created: / 08-11-2006 / 19:25:21 / cg"
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   619
!
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   620
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   621
addModule:module withData:data
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   622
    (self listOfModules includes:module) ifFalse:[
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   623
        self listOfModules add:module; sort.
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   624
    ].
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   625
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   626
    self updateModifiedChannel.
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   627
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   628
    "Created: / 08-11-2006 / 19:25:21 / cg"
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   629
!
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   630
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   631
addPerModuleRoot
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   632
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   633
    |app moduleManager|
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   634
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   635
    app := ManagerPerModuleApp openFromSourceCodeManagementSettingsApp:self.
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   636
    app canceled ifFalse:[
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   637
        moduleManager := ModuleManager newForApplication:self.
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   638
        app moduleHolder value isEmptyOrNil ifTrue:[
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   639
            self information:'Adding without module name not allowed'.
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   640
            ^ self.
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   641
        ].
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   642
        moduleManager module:app moduleHolder value.
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   643
        moduleManager settings:app settingsHolder value.
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   644
        self listOfModules add:moduleManager.
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   645
        self updateModifiedChannel.
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   646
    ].
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   647
    "Modified: / 08-11-2006 / 19:27:39 / cg"
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   648
!
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   649
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   650
basicReadSettings
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   651
    |moduleManager moduleAndSettings|
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   652
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   653
    self initialize.
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   654
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   655
    self defaultSettingsHolder value:PerforceSourceCodeManager getPerforceDefaultSettingsString.
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   656
    self listOfModules removeAll.
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   657
    moduleAndSettings := PerforceSourceCodeManager repositoryInfoPerModule copy.
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   658
    moduleAndSettings notEmptyOrNil ifTrue:[
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   659
        moduleAndSettings keysAndValuesDo:[:module :settings|
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   660
            moduleManager := ModuleManager newForApplication:self.
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   661
            moduleManager module:module.
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   662
            moduleManager settings:settings.
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   663
            self listOfModules add:moduleManager.
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   664
        ].
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   665
    ].
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   666
    self listOfModules sort.
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   667
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   668
    self hasManager ifTrue:[
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   669
        self sourceCacheDir value:(PerforceSourceCodeManager cacheDirectoryName).
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   670
    ].
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   671
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   672
    self perforceExecutableHolder value:PerforceSourceCodeManager perforceExecutable.
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   673
    self verboseSourceCodeAccess value:PerforceSourceCodeManager verboseSourceCodeAccess.
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   674
    self shownInBrowserMenusHolder value:PerforceSourceCodeManager shownInBrowserMenus. 
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   675
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   676
"/    self selectedPerModuleRootChanged.
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   677
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   678
    "Modified: / 10-01-2012 / 00:21:00 / cg"
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   679
!
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   680
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   681
basicSaveSettings
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   682
    |client repositoryInfoPerModule|
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   683
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   684
    self hasManager ifTrue:[
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   685
        | nm fn|
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   686
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   687
        nm := self sourceCacheDir value.
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   688
        nm notEmptyOrNil ifTrue:[
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   689
            (fn := nm asFilename) exists ifFalse:[
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   690
                (self confirm:('Perforce cache directory ''' , nm , ''' does not exist\create ?' withCRs)) ifTrue:[
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   691
                    fn makeDirectory;
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   692
                       makeReadableForAll;
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   693
                       makeWritableForAll;
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   694
                       makeExecutableForAll.
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   695
                ]
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   696
            ].
13239
946657bb28e3 Use #isWritableDirectory
Stefan Vogel <sv@exept.de>
parents: 11619
diff changeset
   697
            (fn isWritableDirectory and:[fn isReadable]) ifTrue:[
11546
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   698
                PerforceSourceCodeManager cacheDirectoryName:nm.
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   699
            ] ifFalse:[
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   700
                self warn:'Invalid sourceCache directory.'
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   701
            ]
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   702
        ].
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   703
        repositoryInfoPerModule := Dictionary new.
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   704
        self listOfModules do:[:aModuleManager|
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   705
            repositoryInfoPerModule at:aModuleManager module put:aModuleManager settings.
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   706
        ].
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   707
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   708
        PerforceSourceCodeManager repositoryInfoPerModule:repositoryInfoPerModule.
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   709
        PerforceSourceCodeManager perforceExecutable:((self perforceExecutableHolder value ? '') withoutSeparators).
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   710
        client := self defaultSettingsHolder value.
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   711
        PerforceSourceCodeManager setDefaultPerforceSettingsFromString:client.
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   712
        PerforceSourceCodeManager verboseSourceCodeAccess:self verboseSourceCodeAccess value.
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   713
        PerforceSourceCodeManager shownInBrowserMenus:self shownInBrowserMenusHolder value. 
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   714
    ].
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   715
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   716
    self acceptChannel value.
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   717
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   718
    "Modified: / 10-01-2012 / 00:21:59 / cg"
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   719
!
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   720
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   721
checkPerforceSettings
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   722
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   723
    |result icon|
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   724
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   725
    PerforceSourceCodeManager perforceError handle:[:ex|
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   726
        self warn:ex description.
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   727
        ^false
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   728
    ] do:[
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   729
        result := PerforceSourceCodeManager checkPerforceSettings:(self defaultSettingsHolder value) forPackage:nil.
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   730
        result ifTrue:[
18289
e1fdf7583090 #OTHER by cg
Claus Gittinger <cg@exept.de>
parents: 18084
diff changeset
   731
            icon := ToolbarIconLibrary ledGreen14x14.
11546
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   732
        ] ifFalse:[
18289
e1fdf7583090 #OTHER by cg
Claus Gittinger <cg@exept.de>
parents: 18084
diff changeset
   733
            icon := ToolbarIconLibrary ledRed14x14.
11546
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   734
        ].
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   735
        self checkLabel value:(LabelAndIcon label:'Check' icon:icon).
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   736
    ].
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   737
    ^false
18289
e1fdf7583090 #OTHER by cg
Claus Gittinger <cg@exept.de>
parents: 18084
diff changeset
   738
e1fdf7583090 #OTHER by cg
Claus Gittinger <cg@exept.de>
parents: 18084
diff changeset
   739
    "Modified: / 28-07-2018 / 10:01:17 / Claus Gittinger"
11546
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   740
!
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   741
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   742
condenseSourceCache
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   743
    self withWaitCursorDo:[ AbstractSourceCodeManager condenseSourceCache ].
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   744
    Method flushSourceStreamCache.
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   745
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   746
    "Modified: / 28-11-2006 / 12:21:33 / cg"
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   747
!
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   748
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   749
flushSourceCache
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   750
    self withWaitCursorDo:[ AbstractSourceCodeManager flushSourceCache ].
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   751
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   752
    "Modified: / 30-09-2011 / 13:33:51 / cg"
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   753
!
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   754
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   755
removePerModuleRoot
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   756
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   757
    |module|
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   758
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   759
    acceptChannel value:true.
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   760
    module := self selectedPerModuleRoot value.
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   761
    self listOfModules remove:module ifAbsent:nil.
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   762
    self updateModifiedChannel.
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   763
! !
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   764
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   765
!PerforceSourceCodeManagementSettingsAppl methodsFor:'aspects'!
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   766
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   767
checkLabel
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   768
    "automatically generated by UIPainter ..."
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   769
16182
4103fc305543 #DOCUMENTATION
Claus Gittinger <cg@exept.de>
parents: 14397
diff changeset
   770
    <resource: #uiAspect>
11546
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   771
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   772
    checkLabel isNil ifTrue:[
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   773
        checkLabel := 'Check' asValue.
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   774
    ].
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   775
    ^ checkLabel.
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   776
!
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   777
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   778
defaultSettingsHolder
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   779
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   780
    defaultSettingsHolder isNil ifTrue:[
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   781
        defaultSettingsHolder := ValueHolder new.
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   782
        defaultSettingsHolder addDependent:self.
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   783
    ].
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   784
    ^ defaultSettingsHolder.
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   785
!
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   786
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   787
defaultSettingsPrototypeList
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   788
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   789
    defaultSettingsPrototypeList isNil ifTrue:[
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   790
        defaultSettingsPrototypeList := self perforcePrototypeList.
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   791
    ].
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   792
    ^ defaultSettingsPrototypeList.
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   793
!
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   794
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   795
initialListOfModules
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   796
    ^ List new.
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   797
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   798
    "Created: / 02-03-2012 / 14:41:40 / cg"
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   799
!
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   800
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   801
perforceExecutableHolder
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   802
    perforceExecutableHolder isNil ifTrue:[
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   803
        perforceExecutableHolder := ValueHolder new.
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   804
        perforceExecutableHolder onChangeSend:#updateModifiedChannel to:self
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   805
    ].
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   806
    ^ perforceExecutableHolder.
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   807
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   808
    "Created: / 21-09-2006 / 15:37:06 / cg"
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   809
!
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   810
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   811
perforcePrototypeList
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   812
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   813
    |first client|
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   814
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   815
    client := PerforceSourceCodeManager perforceClient.
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   816
    client isEmptyOrNil ifTrue:[
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   817
        client := 'workspace'.
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   818
    ].
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   819
    first := (client ,':', PerforceSourceCodeManager perforceUser, ':',
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   820
                           (PerforceSourceCodeManager perforcePassword ? 'pass'), '@',
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   821
                           PerforceSourceCodeManager perforcePort).
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   822
    ^ Array with:first.
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   823
!
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   824
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   825
selectedPerModuleRoot
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   826
    selectedPerModuleRoot isNil ifTrue:[
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   827
        selectedPerModuleRoot := ValueHolder new.
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   828
        selectedPerModuleRoot addDependent:self.
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   829
    ].
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   830
    ^ selectedPerModuleRoot.
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   831
!
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   832
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   833
tableColumns
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   834
    "automatically generated by UIPainter ..."
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   835
16182
4103fc305543 #DOCUMENTATION
Claus Gittinger <cg@exept.de>
parents: 14397
diff changeset
   836
    <resource: #uiAspect>
11546
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   837
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   838
    tableColumns isNil ifTrue:[
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   839
        tableColumns := self class tableColumns asValue.
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   840
    ].
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   841
    ^ tableColumns.
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   842
!
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   843
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   844
verboseSourceCodeAccess
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   845
    verboseSourceCodeAccess isNil ifTrue:[
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   846
        verboseSourceCodeAccess := false asValue.
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   847
        verboseSourceCodeAccess onChangeSend:#updateModifiedChannel to:self
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   848
    ].
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   849
    ^ verboseSourceCodeAccess.
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   850
! !
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   851
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   852
!PerforceSourceCodeManagementSettingsAppl methodsFor:'change & update'!
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   853
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   854
selectedPerModuleRootChanged
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   855
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   856
    self removeEnabled value:self selectedPerModuleRoot value notNil.
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   857
!
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   858
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   859
update:something with:aParameter from:changedObject
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   860
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   861
    changedObject == selectedPerModuleRoot ifTrue:[
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   862
        self selectedPerModuleRootChanged.
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   863
        ^ self
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   864
    ].
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   865
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   866
    changedObject == self listOfModules ifTrue:[
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   867
        self updateModifiedChannel.
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   868
    ].
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   869
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   870
    changedObject == defaultSettingsHolder ifTrue:[
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   871
        self updateModifiedChannel.
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   872
    ].
9837
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   873
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   874
11546
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   875
    super update:something with:aParameter from:changedObject
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   876
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   877
    "Modified: / 09-11-2006 / 14:41:10 / cg"
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   878
! !
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   879
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   880
!PerforceSourceCodeManagementSettingsAppl methodsFor:'help'!
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   881
14250
af10ecb8e7c2 halp url
Claus Gittinger <cg@exept.de>
parents: 13239
diff changeset
   882
editorHelpRelativeWikiURL
af10ecb8e7c2 halp url
Claus Gittinger <cg@exept.de>
parents: 13239
diff changeset
   883
    "the relative URL of the dialog-description in the Wiki"
af10ecb8e7c2 halp url
Claus Gittinger <cg@exept.de>
parents: 13239
diff changeset
   884
af10ecb8e7c2 halp url
Claus Gittinger <cg@exept.de>
parents: 13239
diff changeset
   885
    ^ 'Settings_PerforceSourceCodeManagerSettings'
af10ecb8e7c2 halp url
Claus Gittinger <cg@exept.de>
parents: 13239
diff changeset
   886
!
af10ecb8e7c2 halp url
Claus Gittinger <cg@exept.de>
parents: 13239
diff changeset
   887
11546
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   888
helpFilename
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   889
    ^ 'Launcher/perforceSetup.html'
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   890
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   891
    "Modified: / 05-08-2011 / 09:10:03 / cg"
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   892
! !
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   893
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   894
!PerforceSourceCodeManagementSettingsAppl methodsFor:'initialization & release'!
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   895
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   896
initialize
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   897
    (AbstractSourceCodeManager notNil) ifTrue:[ AbstractSourceCodeManager autoload ].
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   898
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   899
    sourceCacheDir := nil asValue.
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   900
    sourceCacheDir addDependent:self.
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   901
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   902
    super initialize.
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   903
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   904
    "Modified: / 08-11-2006 / 19:20:32 / cg"
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   905
! !
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   906
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   907
!PerforceSourceCodeManagementSettingsAppl methodsFor:'queries'!
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   908
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   909
hasManager
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   910
    "true if ANY source code management class is available"
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   911
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   912
    ^ PerforceSourceCodeManager notNil and:[PerforceSourceCodeManager isLoaded]
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   913
!
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   914
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   915
hasUnsavedChanges
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   916
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   917
    |repositoryInfoPerModule client settings|
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   918
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   919
    (PerforceSourceCodeManager shownInBrowserMenus ~= self shownInBrowserMenusHolder value)
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   920
        ifTrue:[^ true].
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   921
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   922
    client := self defaultSettingsHolder value.
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   923
    client notNil ifTrue:[
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   924
        settings := PerforceSourceCodeManager getPerforceSettingsFromString:client.
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   925
        PerforceSourceCodeManager perforceClient ~= (settings at:#client ifAbsent:nil) ifTrue:[
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   926
            ^ true
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   927
        ].
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   928
        PerforceSourceCodeManager perforceUser ~= (settings at:#user ifAbsent:nil) ifTrue:[
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   929
            ^ true
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   930
        ].
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   931
        PerforceSourceCodeManager perforcePort ~= (settings at:#port ifAbsent:nil) ifTrue:[
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   932
            ^ true
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   933
        ].
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   934
        PerforceSourceCodeManager perforcePassword ~= (settings at:#password ifAbsent:nil) ifTrue:[
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   935
            ^ true
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   936
        ].
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   937
    ].
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   938
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   939
    repositoryInfoPerModule := Dictionary new.
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   940
    self listOfModules do:[:aModuleManager|
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   941
        repositoryInfoPerModule at:aModuleManager module put:aModuleManager settings.
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   942
    ].
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   943
    PerforceSourceCodeManager verboseSourceCodeAccess ~= self verboseSourceCodeAccess value ifTrue:[
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   944
        ^true
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   945
    ].
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   946
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   947
    PerforceSourceCodeManager repositoryInfoPerModule keysAndValuesDo:[:module :info |
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   948
        ((repositoryInfoPerModule includesKey:module) and:[info = (repositoryInfoPerModule at:module)])
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   949
        ifFalse:[^ true].
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   950
    ].
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   951
    repositoryInfoPerModule keysAndValuesDo:[:module :info|
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   952
        ((PerforceSourceCodeManager repositoryInfoPerModule includesKey:module) and:[(PerforceSourceCodeManager repositoryInfoPerModule at:module) = info])
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   953
        ifFalse:[^ true].
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   954
    ].
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   955
    self perforceExecutableHolder value ~= PerforceSourceCodeManager perforceExecutable ifTrue:[
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   956
        ^true
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   957
    ].
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   958
    ^ false
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   959
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   960
    "Modified: / 10-01-2012 / 00:31:38 / cg"
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   961
!
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   962
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   963
repositoryInfoPerModuleFor:sourceCodeManager
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   964
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   965
    |repositoryInfoPerModule|
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   966
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   967
    repositoryInfoPerModule := Dictionary new.
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   968
    self listOfModules do:[:aModuleManager|
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   969
        repositoryInfoPerModule at:aModuleManager module put:aModuleManager settings.
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   970
    ].
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   971
    ^ repositoryInfoPerModule
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
   972
! !
9837
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   973
9864
d9b21106b707 class definition
Claus Gittinger <cg@exept.de>
parents: 9861
diff changeset
   974
!PerforceSourceCodeManagementSettingsAppl::ManagerPerModuleApp class methodsFor:'instance creation'!
9837
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   975
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   976
openFromSourceCodeManagementSettingsApp:something
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   977
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   978
    |inst|
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   979
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   980
    inst := self new.
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   981
    inst sourceCodeManagementSettingsApp:something.
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   982
    inst openModal.
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   983
    ^ inst
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   984
! !
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   985
9864
d9b21106b707 class definition
Claus Gittinger <cg@exept.de>
parents: 9861
diff changeset
   986
!PerforceSourceCodeManagementSettingsAppl::ManagerPerModuleApp class methodsFor:'interface specs'!
9837
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   987
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   988
windowSpec
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   989
    "This resource specification was automatically generated
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   990
     by the UIPainter of ST/X."
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   991
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   992
    "Do not manually edit this!! If it is corrupted,
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   993
     the UIPainter may not be able to read the specification."
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   994
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   995
    "
11530
ba6b2f17e30d **** new version from Christian
Claus Gittinger <cg@exept.de>
parents: 11328
diff changeset
   996
     UIPainter new openOnClass:PerforceSourceCodeManagementSettingsAppl::ManagerPerModuleApp andSelector:#windowSpec
ba6b2f17e30d **** new version from Christian
Claus Gittinger <cg@exept.de>
parents: 11328
diff changeset
   997
     PerforceSourceCodeManagementSettingsAppl::ManagerPerModuleApp new openInterface:#windowSpec
ba6b2f17e30d **** new version from Christian
Claus Gittinger <cg@exept.de>
parents: 11328
diff changeset
   998
     PerforceSourceCodeManagementSettingsAppl::ManagerPerModuleApp open
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
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1001
    <resource: #canvas>
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1002
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1003
    ^ 
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1004
     #(FullSpec
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1005
        name: windowSpec
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1006
        window: 
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1007
       (WindowSpec
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1008
          label: 'Manager per Module'
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1009
          name: 'Manager per Module'
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1010
          min: (Point 10 10)
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1011
          bounds: (Rectangle 0 0 653 100)
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1012
        )
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1013
        component: 
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1014
       (SpecCollection
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1015
          collection: (
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1016
           (VerticalPanelViewSpec
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1017
              name: 'VerticalPanel1'
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1018
              layout: (LayoutFrame 0 0 0 0 -5 1 -30 1)
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1019
              horizontalLayout: fit
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1020
              verticalLayout: topSpace
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1021
              horizontalSpace: 3
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1022
              verticalSpace: 3
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1023
              component: 
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1024
             (SpecCollection
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1025
                collection: (
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1026
                 (HorizontalPanelViewSpec
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1027
                    name: 'HorizontalPanel1'
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1028
                    horizontalLayout: leftFit
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1029
                    verticalLayout: center
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1030
                    horizontalSpace: 3
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1031
                    verticalSpace: 3
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1032
                    component: 
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1033
                   (SpecCollection
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1034
                      collection: (
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1035
                       (LabelSpec
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1036
                          label: 'Module:'
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1037
                          name: 'Label16'
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1038
                          translateLabel: true
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1039
                          adjust: right
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1040
                          extent: (Point 180 17)
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1041
                        )
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1042
                       (InputFieldSpec
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1043
                          name: 'EntryField7'
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1044
                          tabable: true
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1045
                          model: moduleHolder
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1046
                          acceptChannel: acceptChannel
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1047
                          acceptOnPointerLeave: true
9846
646dc5b511fe changed:
Claus Gittinger <cg@exept.de>
parents: 9837
diff changeset
  1048
                          extent: (Point 465 22)
9837
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1049
                        )
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1050
                       )
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1051
                     
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1052
                    )
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1053
                    extent: (Point 648 23)
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1054
                  )
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1055
                 (HorizontalPanelViewSpec
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1056
                    name: 'HorizontalPanel4'
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1057
                    horizontalLayout: leftFit
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1058
                    verticalLayout: topSpace
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1059
                    horizontalSpace: 3
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1060
                    verticalSpace: 3
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1061
                    component: 
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1062
                   (SpecCollection
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1063
                      collection: (
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1064
                       (ViewSpec
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1065
                          name: 'Box1'
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1066
                          component: 
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1067
                         (SpecCollection
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1068
                            collection: (
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1069
                             (LabelSpec
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1070
                                label: 'Manager Info'
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1071
                                name: 'Label18'
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1072
                                layout: (LayoutFrame 0 0 0 0 149 0 16 0)
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1073
                                translateLabel: true
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1074
                                adjust: right
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1075
                              )
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1076
                             (LabelSpec
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1077
                                label: 'client:user:pass@host:port '
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1078
                                name: 'Label19'
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1079
                                layout: (LayoutFrame 0 0 14 0 180 0 29 0)
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1080
                                style: (FontDescription helvetica medium roman 10)
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1081
                                level: 0
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1082
                                translateLabel: true
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1083
                                adjust: right
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1084
                              )
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1085
                             )
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1086
                           
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1087
                          )
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1088
                          extent: (Point 180 35)
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1089
                        )
9846
646dc5b511fe changed:
Claus Gittinger <cg@exept.de>
parents: 9837
diff changeset
  1090
                       (ComboBoxSpec
646dc5b511fe changed:
Claus Gittinger <cg@exept.de>
parents: 9837
diff changeset
  1091
                          name: 'ComboBox1'
9837
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1092
                          model: settingsHolder
11530
ba6b2f17e30d **** new version from Christian
Claus Gittinger <cg@exept.de>
parents: 11328
diff changeset
  1093
                          immediateAccept: false
ba6b2f17e30d **** new version from Christian
Claus Gittinger <cg@exept.de>
parents: 11328
diff changeset
  1094
                          acceptOnLostFocus: true
9846
646dc5b511fe changed:
Claus Gittinger <cg@exept.de>
parents: 9837
diff changeset
  1095
                          acceptOnPointerLeave: false
9837
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1096
                          comboList: defaultSettingsPrototypeList
9846
646dc5b511fe changed:
Claus Gittinger <cg@exept.de>
parents: 9837
diff changeset
  1097
                          extent: (Point 465 20)
9837
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1098
                        )
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1099
                       )
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1100
                     
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1101
                    )
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1102
                    extent: (Point 648 35)
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1103
                  )
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1104
                 )
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1105
               
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1106
              )
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1107
            )
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1108
           (HorizontalPanelViewSpec
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1109
              name: 'HorizontalPanel2'
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1110
              layout: (LayoutFrame 0 0 -30 1 0 1 0 1)
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1111
              horizontalLayout: fitSpace
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1112
              verticalLayout: center
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1113
              horizontalSpace: 3
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1114
              verticalSpace: 3
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1115
              component: 
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1116
             (SpecCollection
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1117
                collection: (
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1118
                 (ActionButtonSpec
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1119
                    label: 'Add'
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1120
                    name: 'Button1'
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1121
                    translateLabel: true
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1122
                    model: doAccept
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1123
                    enableChannel: acceptEnableChannel
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1124
                    extent: (Point 322 22)
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1125
                  )
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1126
                 (ActionButtonSpec
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1127
                    label: 'Cancel'
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1128
                    name: 'Button2'
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1129
                    translateLabel: true
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1130
                    model: doCancel
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1131
                    extent: (Point 322 22)
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1132
                  )
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1133
                 )
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1134
               
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1135
              )
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1136
            )
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1137
           )
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1138
         
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1139
        )
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1140
      )
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1141
! !
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1142
9864
d9b21106b707 class definition
Claus Gittinger <cg@exept.de>
parents: 9861
diff changeset
  1143
!PerforceSourceCodeManagementSettingsAppl::ManagerPerModuleApp methodsFor:'accessing'!
9837
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1144
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1145
canceled
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1146
    ^ canceled
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1147
!
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1148
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1149
defaultSettingsPrototypeList
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1150
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1151
    defaultSettingsPrototypeList isNil ifTrue:[
9861
2fb5f110fe82 class definition
Claus Gittinger <cg@exept.de>
parents: 9848
diff changeset
  1152
        defaultSettingsPrototypeList := sourceCodeManagementSettingsApp perforcePrototypeList.
9837
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1153
    ].
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1154
    ^ defaultSettingsPrototypeList.
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1155
!
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1156
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1157
sourceCodeManagementSettingsApp
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1158
    ^ sourceCodeManagementSettingsApp
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1159
!
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1160
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1161
sourceCodeManagementSettingsApp:something
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1162
    sourceCodeManagementSettingsApp := something.
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1163
! !
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1164
9864
d9b21106b707 class definition
Claus Gittinger <cg@exept.de>
parents: 9861
diff changeset
  1165
!PerforceSourceCodeManagementSettingsAppl::ManagerPerModuleApp methodsFor:'aspects'!
9837
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1166
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1167
acceptChannel
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1168
    "automatically generated by UIPainter ..."
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1169
16182
4103fc305543 #DOCUMENTATION
Claus Gittinger <cg@exept.de>
parents: 14397
diff changeset
  1170
    <resource: #uiAspect>
9837
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1171
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1172
    acceptChannel isNil ifTrue:[
9861
2fb5f110fe82 class definition
Claus Gittinger <cg@exept.de>
parents: 9848
diff changeset
  1173
        acceptChannel := TriggerValue new.
9837
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1174
    ].
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1175
    ^ acceptChannel.
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1176
!
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1177
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1178
acceptEnableChannel
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1179
    "automatically generated by UIPainter ..."
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1180
16182
4103fc305543 #DOCUMENTATION
Claus Gittinger <cg@exept.de>
parents: 14397
diff changeset
  1181
    <resource: #uiAspect>
9837
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1182
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1183
    acceptEnableChannel isNil ifTrue:[
9861
2fb5f110fe82 class definition
Claus Gittinger <cg@exept.de>
parents: 9848
diff changeset
  1184
        acceptEnableChannel := true asValue.
9837
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1185
    ].
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1186
    ^ acceptEnableChannel.
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1187
!
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1188
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1189
moduleHolder
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1190
    "automatically generated by UIPainter ..."
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1191
16182
4103fc305543 #DOCUMENTATION
Claus Gittinger <cg@exept.de>
parents: 14397
diff changeset
  1192
    <resource: #uiAspect>
9837
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1193
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1194
    moduleHolder isNil ifTrue:[
9861
2fb5f110fe82 class definition
Claus Gittinger <cg@exept.de>
parents: 9848
diff changeset
  1195
        moduleHolder := ValueHolder new.
2fb5f110fe82 class definition
Claus Gittinger <cg@exept.de>
parents: 9848
diff changeset
  1196
        moduleHolder addDependent:self.
9837
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1197
    ].
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1198
    ^ moduleHolder.
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1199
!
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1200
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1201
settingsHolder
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1202
    "automatically generated by UIPainter ..."
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1203
16182
4103fc305543 #DOCUMENTATION
Claus Gittinger <cg@exept.de>
parents: 14397
diff changeset
  1204
    <resource: #uiAspect>
9837
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1205
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1206
    settingsHolder isNil ifTrue:[
9861
2fb5f110fe82 class definition
Claus Gittinger <cg@exept.de>
parents: 9848
diff changeset
  1207
        settingsHolder := ValueHolder new.
9837
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1208
    ].
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1209
    ^ settingsHolder.
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1210
! !
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1211
9864
d9b21106b707 class definition
Claus Gittinger <cg@exept.de>
parents: 9861
diff changeset
  1212
!PerforceSourceCodeManagementSettingsAppl::ManagerPerModuleApp methodsFor:'initialization & release'!
9837
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1213
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1214
doCancel
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1215
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1216
    canceled := true.
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1217
    ^ super doCancel
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1218
!
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1219
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1220
postBuildWith:aBuilder
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1221
    "This is a hook method generated by the Browser.
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1222
     It will be invoked during the initialization of your app/dialog,
9846
646dc5b511fe changed:
Claus Gittinger <cg@exept.de>
parents: 9837
diff changeset
  1223
     after all of the visual components have been built,
9837
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1224
     but BEFORE the top window is made visible.
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1225
     Add any app-specific actions here (reading files, setting up values etc.)
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1226
     See also #postOpenWith:, which is invoked after opening."
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1227
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1228
    "/ add any code here ...
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1229
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1230
    canceled := false.
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1231
    ^ super postBuildWith:aBuilder
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1232
! !
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1233
9864
d9b21106b707 class definition
Claus Gittinger <cg@exept.de>
parents: 9861
diff changeset
  1234
!PerforceSourceCodeManagementSettingsAppl::ModuleManager class methodsFor:'instance creation'!
9848
74fc0d845a9b comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents: 9846
diff changeset
  1235
74fc0d845a9b comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents: 9846
diff changeset
  1236
newForApplication:anApplication
74fc0d845a9b comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents: 9846
diff changeset
  1237
    |instance|
74fc0d845a9b comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents: 9846
diff changeset
  1238
74fc0d845a9b comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents: 9846
diff changeset
  1239
    instance := self new.
74fc0d845a9b comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents: 9846
diff changeset
  1240
    instance app:anApplication.
74fc0d845a9b comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents: 9846
diff changeset
  1241
    ^instance
74fc0d845a9b comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents: 9846
diff changeset
  1242
! !
74fc0d845a9b comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents: 9846
diff changeset
  1243
9864
d9b21106b707 class definition
Claus Gittinger <cg@exept.de>
parents: 9861
diff changeset
  1244
!PerforceSourceCodeManagementSettingsAppl::ModuleManager methodsFor:'accessing'!
9837
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1245
9848
74fc0d845a9b comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents: 9846
diff changeset
  1246
app
74fc0d845a9b comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents: 9846
diff changeset
  1247
    ^ app
74fc0d845a9b comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents: 9846
diff changeset
  1248
!
74fc0d845a9b comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents: 9846
diff changeset
  1249
74fc0d845a9b comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents: 9846
diff changeset
  1250
app:something
74fc0d845a9b comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents: 9846
diff changeset
  1251
    app := something.
74fc0d845a9b comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents: 9846
diff changeset
  1252
!
74fc0d845a9b comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents: 9846
diff changeset
  1253
11530
ba6b2f17e30d **** new version from Christian
Claus Gittinger <cg@exept.de>
parents: 11328
diff changeset
  1254
check
ba6b2f17e30d **** new version from Christian
Claus Gittinger <cg@exept.de>
parents: 11328
diff changeset
  1255
ba6b2f17e30d **** new version from Christian
Claus Gittinger <cg@exept.de>
parents: 11328
diff changeset
  1256
    |icon|
ba6b2f17e30d **** new version from Christian
Claus Gittinger <cg@exept.de>
parents: 11328
diff changeset
  1257
ba6b2f17e30d **** new version from Christian
Claus Gittinger <cg@exept.de>
parents: 11328
diff changeset
  1258
    check isNil ifTrue:[
ba6b2f17e30d **** new version from Christian
Claus Gittinger <cg@exept.de>
parents: 11328
diff changeset
  1259
        ^'unchecked'
ba6b2f17e30d **** new version from Christian
Claus Gittinger <cg@exept.de>
parents: 11328
diff changeset
  1260
    ].
ba6b2f17e30d **** new version from Christian
Claus Gittinger <cg@exept.de>
parents: 11328
diff changeset
  1261
    check ifTrue:[
18289
e1fdf7583090 #OTHER by cg
Claus Gittinger <cg@exept.de>
parents: 18084
diff changeset
  1262
        icon := ToolbarIconLibrary ledGreen14x14.
11530
ba6b2f17e30d **** new version from Christian
Claus Gittinger <cg@exept.de>
parents: 11328
diff changeset
  1263
    ] ifFalse:[
18289
e1fdf7583090 #OTHER by cg
Claus Gittinger <cg@exept.de>
parents: 18084
diff changeset
  1264
        icon := ToolbarIconLibrary ledRed14x14.
11530
ba6b2f17e30d **** new version from Christian
Claus Gittinger <cg@exept.de>
parents: 11328
diff changeset
  1265
    ].
ba6b2f17e30d **** new version from Christian
Claus Gittinger <cg@exept.de>
parents: 11328
diff changeset
  1266
ba6b2f17e30d **** new version from Christian
Claus Gittinger <cg@exept.de>
parents: 11328
diff changeset
  1267
    ^icon
18289
e1fdf7583090 #OTHER by cg
Claus Gittinger <cg@exept.de>
parents: 18084
diff changeset
  1268
e1fdf7583090 #OTHER by cg
Claus Gittinger <cg@exept.de>
parents: 18084
diff changeset
  1269
    "Modified: / 28-07-2018 / 10:01:10 / Claus Gittinger"
11530
ba6b2f17e30d **** new version from Christian
Claus Gittinger <cg@exept.de>
parents: 11328
diff changeset
  1270
!
ba6b2f17e30d **** new version from Christian
Claus Gittinger <cg@exept.de>
parents: 11328
diff changeset
  1271
ba6b2f17e30d **** new version from Christian
Claus Gittinger <cg@exept.de>
parents: 11328
diff changeset
  1272
check:something
ba6b2f17e30d **** new version from Christian
Claus Gittinger <cg@exept.de>
parents: 11328
diff changeset
  1273
    check := something.
ba6b2f17e30d **** new version from Christian
Claus Gittinger <cg@exept.de>
parents: 11328
diff changeset
  1274
!
ba6b2f17e30d **** new version from Christian
Claus Gittinger <cg@exept.de>
parents: 11328
diff changeset
  1275
ba6b2f17e30d **** new version from Christian
Claus Gittinger <cg@exept.de>
parents: 11328
diff changeset
  1276
checkIcon
ba6b2f17e30d **** new version from Christian
Claus Gittinger <cg@exept.de>
parents: 11328
diff changeset
  1277
    ^ checkIcon
ba6b2f17e30d **** new version from Christian
Claus Gittinger <cg@exept.de>
parents: 11328
diff changeset
  1278
!
ba6b2f17e30d **** new version from Christian
Claus Gittinger <cg@exept.de>
parents: 11328
diff changeset
  1279
ba6b2f17e30d **** new version from Christian
Claus Gittinger <cg@exept.de>
parents: 11328
diff changeset
  1280
checkIcon:something
ba6b2f17e30d **** new version from Christian
Claus Gittinger <cg@exept.de>
parents: 11328
diff changeset
  1281
    checkIcon := something.
ba6b2f17e30d **** new version from Christian
Claus Gittinger <cg@exept.de>
parents: 11328
diff changeset
  1282
!
ba6b2f17e30d **** new version from Christian
Claus Gittinger <cg@exept.de>
parents: 11328
diff changeset
  1283
9837
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1284
manager
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1285
    ^ manager
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1286
!
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1287
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1288
manager:something
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1289
    manager := something.
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1290
!
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1291
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1292
module
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1293
    ^ module
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1294
!
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1295
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1296
module:something
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1297
    module := something.
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1298
!
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1299
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1300
settings
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1301
    ^ settings
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1302
!
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1303
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1304
settings:something
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1305
    settings := something.
9848
74fc0d845a9b comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents: 9846
diff changeset
  1306
    app notNil ifTrue:[
74fc0d845a9b comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents: 9846
diff changeset
  1307
        app listOfModules changed.
74fc0d845a9b comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents: 9846
diff changeset
  1308
    ].
9837
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1309
! !
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1310
11530
ba6b2f17e30d **** new version from Christian
Claus Gittinger <cg@exept.de>
parents: 11328
diff changeset
  1311
!PerforceSourceCodeManagementSettingsAppl::ModuleManager methodsFor:'actions'!
ba6b2f17e30d **** new version from Christian
Claus Gittinger <cg@exept.de>
parents: 11328
diff changeset
  1312
ba6b2f17e30d **** new version from Christian
Claus Gittinger <cg@exept.de>
parents: 11328
diff changeset
  1313
doubleClick
ba6b2f17e30d **** new version from Christian
Claus Gittinger <cg@exept.de>
parents: 11328
diff changeset
  1314
ba6b2f17e30d **** new version from Christian
Claus Gittinger <cg@exept.de>
parents: 11328
diff changeset
  1315
    PerforceSourceCodeManager perforceError handle:[:ex|
ba6b2f17e30d **** new version from Christian
Claus Gittinger <cg@exept.de>
parents: 11328
diff changeset
  1316
        self warn:ex description.
ba6b2f17e30d **** new version from Christian
Claus Gittinger <cg@exept.de>
parents: 11328
diff changeset
  1317
        check := false.
ba6b2f17e30d **** new version from Christian
Claus Gittinger <cg@exept.de>
parents: 11328
diff changeset
  1318
    ] do:[
ba6b2f17e30d **** new version from Christian
Claus Gittinger <cg@exept.de>
parents: 11328
diff changeset
  1319
        check := PerforceSourceCodeManager checkPerforceSettings:settings forPackage:module.
ba6b2f17e30d **** new version from Christian
Claus Gittinger <cg@exept.de>
parents: 11328
diff changeset
  1320
    ].
ba6b2f17e30d **** new version from Christian
Claus Gittinger <cg@exept.de>
parents: 11328
diff changeset
  1321
    self changed.
ba6b2f17e30d **** new version from Christian
Claus Gittinger <cg@exept.de>
parents: 11328
diff changeset
  1322
! !
ba6b2f17e30d **** new version from Christian
Claus Gittinger <cg@exept.de>
parents: 11328
diff changeset
  1323
9864
d9b21106b707 class definition
Claus Gittinger <cg@exept.de>
parents: 9861
diff changeset
  1324
!PerforceSourceCodeManagementSettingsAppl::ModuleManager methodsFor:'comparing'!
9837
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1325
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1326
< aModuleManager
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1327
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1328
    ^ self module < aModuleManager module
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1329
! !
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1330
9864
d9b21106b707 class definition
Claus Gittinger <cg@exept.de>
parents: 9861
diff changeset
  1331
!PerforceSourceCodeManagementSettingsAppl::ModuleManager methodsFor:'queries'!
9837
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1332
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1333
availableManagerTypeNames
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1334
    ^ AbstractSourceCodeManager availableManagers collect:[:cls | cls managerTypeName].
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1335
!
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1336
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1337
managerClass
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1338
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1339
    ^ AbstractSourceCodeManager availableManagers detect:[:cls | cls managerTypeName = manager] ifNone:[nil].
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1340
! !
ed120c35e09b initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1341
11546
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
  1342
!PerforceSourceCodeManagementSettingsAppl class methodsFor:'documentation'!
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
  1343
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
  1344
version
16182
4103fc305543 #DOCUMENTATION
Claus Gittinger <cg@exept.de>
parents: 14397
diff changeset
  1345
    ^ '$Header$'
11546
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
  1346
!
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
  1347
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
  1348
version_CVS
16182
4103fc305543 #DOCUMENTATION
Claus Gittinger <cg@exept.de>
parents: 14397
diff changeset
  1349
    ^ '$Header$'
11546
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
  1350
!
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
  1351
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
  1352
version_SVN
16182
4103fc305543 #DOCUMENTATION
Claus Gittinger <cg@exept.de>
parents: 14397
diff changeset
  1353
    ^ '$Id$'
11546
b1bc718b6e76 oops - lost methods
Claus Gittinger <cg@exept.de>
parents: 11531
diff changeset
  1354
! !
13239
946657bb28e3 Use #isWritableDirectory
Stefan Vogel <sv@exept.de>
parents: 11619
diff changeset
  1355