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