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