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