CVSSourceCodeManagementSettingsAppl.st
author Claus Gittinger <cg@exept.de>
Sat, 14 Jan 2012 21:00:54 +0100
changeset 11124 dbde03bc2659
parent 11080 6bb72c93780f
child 11166 3e6429352ab7
permissions -rw-r--r--
refactored
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
9822
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
     1
"
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
     2
 COPYRIGHT (c) 2002 by eXept Software AG
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
     3
              All Rights Reserved
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
     4
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
     5
 This software is furnished under a license and may be used
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
     6
 only in accordance with the terms of that license and with the
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
     7
 inclusion of the above copyright notice.   This software may not
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
     8
 be provided or otherwise made available to, or used by, any
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
     9
 other person.  No title to or ownership of the software is
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    10
 hereby transferred.
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    11
"
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    12
"{ Package: 'stx:libtool' }"
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    13
9858
2376163ad093 added: #managerClass
Claus Gittinger <cg@exept.de>
parents: 9845
diff changeset
    14
AbstractSourceCodeManagementSettingsAppl subclass:#CVSSourceCodeManagementSettingsAppl
11124
dbde03bc2659 refactored
Claus Gittinger <cg@exept.de>
parents: 11080
diff changeset
    15
	instanceVariableNames:'repositoryHolder manager repository listOfModules
9822
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    16
		cvsRootPrototypeList addPerModuleRoot removeEnabled
11124
dbde03bc2659 refactored
Claus Gittinger <cg@exept.de>
parents: 11080
diff changeset
    17
		perModuleRootModule removePerModuleRoot perModuleRoot
dbde03bc2659 refactored
Claus Gittinger <cg@exept.de>
parents: 11080
diff changeset
    18
		cvsRootHolder selectedPerModuleRoot cvsBinDirectoryHolder
dbde03bc2659 refactored
Claus Gittinger <cg@exept.de>
parents: 11080
diff changeset
    19
		cvsExecutableHolder cvsCommandTimeoutHolder rootsPerModule
dbde03bc2659 refactored
Claus Gittinger <cg@exept.de>
parents: 11080
diff changeset
    20
		cvsLoginInModuleEnabled cvsLoginEnabled'
10999
ad10cd0cd55e refactoring
Claus Gittinger <cg@exept.de>
parents: 10986
diff changeset
    21
	classVariableNames:'RecentlyUsedCVSRoots'
9822
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    22
	poolDictionaries:''
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    23
	category:'System-SourceCodeManagement'
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    24
!
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    25
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    26
!CVSSourceCodeManagementSettingsAppl class methodsFor:'documentation'!
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    27
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    28
copyright
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    29
"
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    30
 COPYRIGHT (c) 2002 by eXept Software AG
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    31
              All Rights Reserved
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    32
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    33
 This software is furnished under a license and may be used
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    34
 only in accordance with the terms of that license and with the
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    35
 inclusion of the above copyright notice.   This software may not
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    36
 be provided or otherwise made available to, or used by, any
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    37
 other person.  No title to or ownership of the software is
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    38
 hereby transferred.
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    39
"
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    40
!
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    41
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    42
documentation
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    43
"
10981
d0794413b834 class definition
Claus Gittinger <cg@exept.de>
parents: 10740
diff changeset
    44
    CVS part of the source code settings. 
d0794413b834 class definition
Claus Gittinger <cg@exept.de>
parents: 10740
diff changeset
    45
    This settings app controls the parameters of the CVSSourceCodeManager.
d0794413b834 class definition
Claus Gittinger <cg@exept.de>
parents: 10740
diff changeset
    46
d0794413b834 class definition
Claus Gittinger <cg@exept.de>
parents: 10740
diff changeset
    47
    Extrated for pluggability from SourceCodeManagerSettings in the AbstractSettingsApplication.
9822
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    48
"
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    49
! !
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    50
9845
bfb845fd9ff2 added: #defaultRepositoryName
Claus Gittinger <cg@exept.de>
parents: 9822
diff changeset
    51
!CVSSourceCodeManagementSettingsAppl class methodsFor:'defaults'!
bfb845fd9ff2 added: #defaultRepositoryName
Claus Gittinger <cg@exept.de>
parents: 9822
diff changeset
    52
bfb845fd9ff2 added: #defaultRepositoryName
Claus Gittinger <cg@exept.de>
parents: 9822
diff changeset
    53
defaultRepositoryName
bfb845fd9ff2 added: #defaultRepositoryName
Claus Gittinger <cg@exept.de>
parents: 9822
diff changeset
    54
bfb845fd9ff2 added: #defaultRepositoryName
Claus Gittinger <cg@exept.de>
parents: 9822
diff changeset
    55
    ^ '/cvs/stx'
bfb845fd9ff2 added: #defaultRepositoryName
Claus Gittinger <cg@exept.de>
parents: 9822
diff changeset
    56
bfb845fd9ff2 added: #defaultRepositoryName
Claus Gittinger <cg@exept.de>
parents: 9822
diff changeset
    57
    "Created: / 19-04-2011 / 11:00:11 / cg"
bfb845fd9ff2 added: #defaultRepositoryName
Claus Gittinger <cg@exept.de>
parents: 9822
diff changeset
    58
! !
bfb845fd9ff2 added: #defaultRepositoryName
Claus Gittinger <cg@exept.de>
parents: 9822
diff changeset
    59
11006
7491dc45fec7 added: #helpSpec
Claus Gittinger <cg@exept.de>
parents: 10999
diff changeset
    60
!CVSSourceCodeManagementSettingsAppl class methodsFor:'help specs'!
7491dc45fec7 added: #helpSpec
Claus Gittinger <cg@exept.de>
parents: 10999
diff changeset
    61
7491dc45fec7 added: #helpSpec
Claus Gittinger <cg@exept.de>
parents: 10999
diff changeset
    62
helpSpec
7491dc45fec7 added: #helpSpec
Claus Gittinger <cg@exept.de>
parents: 10999
diff changeset
    63
    "This resource specification was automatically generated
7491dc45fec7 added: #helpSpec
Claus Gittinger <cg@exept.de>
parents: 10999
diff changeset
    64
     by the UIHelpTool of ST/X."
7491dc45fec7 added: #helpSpec
Claus Gittinger <cg@exept.de>
parents: 10999
diff changeset
    65
7491dc45fec7 added: #helpSpec
Claus Gittinger <cg@exept.de>
parents: 10999
diff changeset
    66
    "Do not manually edit this!! If it is corrupted,
7491dc45fec7 added: #helpSpec
Claus Gittinger <cg@exept.de>
parents: 10999
diff changeset
    67
     the UIHelpTool may not be able to read the specification."
7491dc45fec7 added: #helpSpec
Claus Gittinger <cg@exept.de>
parents: 10999
diff changeset
    68
7491dc45fec7 added: #helpSpec
Claus Gittinger <cg@exept.de>
parents: 10999
diff changeset
    69
    "
7491dc45fec7 added: #helpSpec
Claus Gittinger <cg@exept.de>
parents: 10999
diff changeset
    70
     UIHelpTool openOnClass:CVSSourceCodeManagementSettingsAppl    
7491dc45fec7 added: #helpSpec
Claus Gittinger <cg@exept.de>
parents: 10999
diff changeset
    71
    "
7491dc45fec7 added: #helpSpec
Claus Gittinger <cg@exept.de>
parents: 10999
diff changeset
    72
7491dc45fec7 added: #helpSpec
Claus Gittinger <cg@exept.de>
parents: 10999
diff changeset
    73
    <resource: #help>
7491dc45fec7 added: #helpSpec
Claus Gittinger <cg@exept.de>
parents: 10999
diff changeset
    74
7491dc45fec7 added: #helpSpec
Claus Gittinger <cg@exept.de>
parents: 10999
diff changeset
    75
    ^ super helpSpec addPairsFrom:#(
7491dc45fec7 added: #helpSpec
Claus Gittinger <cg@exept.de>
parents: 10999
diff changeset
    76
7491dc45fec7 added: #helpSpec
Claus Gittinger <cg@exept.de>
parents: 10999
diff changeset
    77
#addPerModuleRoot
7491dc45fec7 added: #helpSpec
Claus Gittinger <cg@exept.de>
parents: 10999
diff changeset
    78
'Add this per-module entry'
7491dc45fec7 added: #helpSpec
Claus Gittinger <cg@exept.de>
parents: 10999
diff changeset
    79
7491dc45fec7 added: #helpSpec
Claus Gittinger <cg@exept.de>
parents: 10999
diff changeset
    80
#addPerPackageManager
7491dc45fec7 added: #helpSpec
Claus Gittinger <cg@exept.de>
parents: 10999
diff changeset
    81
'Add a new per-package manager definition'
7491dc45fec7 added: #helpSpec
Claus Gittinger <cg@exept.de>
parents: 10999
diff changeset
    82
7491dc45fec7 added: #helpSpec
Claus Gittinger <cg@exept.de>
parents: 10999
diff changeset
    83
#browseSourceCache
7491dc45fec7 added: #helpSpec
Claus Gittinger <cg@exept.de>
parents: 10999
diff changeset
    84
'Open a file browser on the source cache directory'
7491dc45fec7 added: #helpSpec
Claus Gittinger <cg@exept.de>
parents: 10999
diff changeset
    85
7491dc45fec7 added: #helpSpec
Claus Gittinger <cg@exept.de>
parents: 10999
diff changeset
    86
#checkClassesWhenCheckingIn
7491dc45fec7 added: #helpSpec
Claus Gittinger <cg@exept.de>
parents: 10999
diff changeset
    87
'Before checking into the repository, check classes for leftover halt and breakpoint code.'
7491dc45fec7 added: #helpSpec
Claus Gittinger <cg@exept.de>
parents: 10999
diff changeset
    88
7491dc45fec7 added: #helpSpec
Claus Gittinger <cg@exept.de>
parents: 10999
diff changeset
    89
#checkPerPackageManager
7491dc45fec7 added: #helpSpec
Claus Gittinger <cg@exept.de>
parents: 10999
diff changeset
    90
'Open a window to show which scm-manager is responsible for which package.'
7491dc45fec7 added: #helpSpec
Claus Gittinger <cg@exept.de>
parents: 10999
diff changeset
    91
7491dc45fec7 added: #helpSpec
Claus Gittinger <cg@exept.de>
parents: 10999
diff changeset
    92
#condenseSourceCache
7491dc45fec7 added: #helpSpec
Claus Gittinger <cg@exept.de>
parents: 10999
diff changeset
    93
'Cleanup old cached versions from the source cache.\Will keep only the current (newest) version in the cache.\Access to older code versions will be slowed down (compare with old version browser function)'
7491dc45fec7 added: #helpSpec
Claus Gittinger <cg@exept.de>
parents: 10999
diff changeset
    94
7491dc45fec7 added: #helpSpec
Claus Gittinger <cg@exept.de>
parents: 10999
diff changeset
    95
#cvsCommand
7491dc45fec7 added: #helpSpec
Claus Gittinger <cg@exept.de>
parents: 10999
diff changeset
    96
'The command to use for cvs operations\(the path to "cvs"/"cvs.exe"-command. Not needed, if already in the shell''s PATH value)'
7491dc45fec7 added: #helpSpec
Claus Gittinger <cg@exept.de>
parents: 10999
diff changeset
    97
11061
0742839089e1 preps for \"showInBrowserMenus\"
Claus Gittinger <cg@exept.de>
parents: 11059
diff changeset
    98
#cvsCommandTimeout
0742839089e1 preps for \"showInBrowserMenus\"
Claus Gittinger <cg@exept.de>
parents: 11059
diff changeset
    99
'The command timeout.\For slow connections (ssl-tunnel), it may make sense to increase this value.'
0742839089e1 preps for \"showInBrowserMenus\"
Claus Gittinger <cg@exept.de>
parents: 11059
diff changeset
   100
11006
7491dc45fec7 added: #helpSpec
Claus Gittinger <cg@exept.de>
parents: 10999
diff changeset
   101
#cvsLogin
7491dc45fec7 added: #helpSpec
Claus Gittinger <cg@exept.de>
parents: 10999
diff changeset
   102
'Perform a "cvs login" operation for the default CVSROOT'
7491dc45fec7 added: #helpSpec
Claus Gittinger <cg@exept.de>
parents: 10999
diff changeset
   103
7491dc45fec7 added: #helpSpec
Claus Gittinger <cg@exept.de>
parents: 10999
diff changeset
   104
#cvsRootDefault
7491dc45fec7 added: #helpSpec
Claus Gittinger <cg@exept.de>
parents: 10999
diff changeset
   105
'The default CVSROOT.\This will be used for all modules which are not listed below.'
7491dc45fec7 added: #helpSpec
Claus Gittinger <cg@exept.de>
parents: 10999
diff changeset
   106
7491dc45fec7 added: #helpSpec
Claus Gittinger <cg@exept.de>
parents: 10999
diff changeset
   107
#cvsRootPerModule
7491dc45fec7 added: #helpSpec
Claus Gittinger <cg@exept.de>
parents: 10999
diff changeset
   108
'Specifies per-module CVSROOTs.\This allows for individual projects to be stored in different cvs repositories.'
7491dc45fec7 added: #helpSpec
Claus Gittinger <cg@exept.de>
parents: 10999
diff changeset
   109
7491dc45fec7 added: #helpSpec
Claus Gittinger <cg@exept.de>
parents: 10999
diff changeset
   110
#cvsRootPerModuleModule
7491dc45fec7 added: #helpSpec
Claus Gittinger <cg@exept.de>
parents: 10999
diff changeset
   111
'The module for which a specific CVSROOT is defined'
7491dc45fec7 added: #helpSpec
Claus Gittinger <cg@exept.de>
parents: 10999
diff changeset
   112
7491dc45fec7 added: #helpSpec
Claus Gittinger <cg@exept.de>
parents: 10999
diff changeset
   113
#cvsRootPerModuleRoot
7491dc45fec7 added: #helpSpec
Claus Gittinger <cg@exept.de>
parents: 10999
diff changeset
   114
'The CVSROOT for which this specific module is defined'
7491dc45fec7 added: #helpSpec
Claus Gittinger <cg@exept.de>
parents: 10999
diff changeset
   115
7491dc45fec7 added: #helpSpec
Claus Gittinger <cg@exept.de>
parents: 10999
diff changeset
   116
#defaultManagerType
7491dc45fec7 added: #helpSpec
Claus Gittinger <cg@exept.de>
parents: 10999
diff changeset
   117
'The default repository type.\This is used for packages for which no entry matches in the list below'
7491dc45fec7 added: #helpSpec
Claus Gittinger <cg@exept.de>
parents: 10999
diff changeset
   118
7491dc45fec7 added: #helpSpec
Claus Gittinger <cg@exept.de>
parents: 10999
diff changeset
   119
#editPerPackageManager
7491dc45fec7 added: #helpSpec
Claus Gittinger <cg@exept.de>
parents: 10999
diff changeset
   120
'Modify the selected per-package manager definition'
7491dc45fec7 added: #helpSpec
Claus Gittinger <cg@exept.de>
parents: 10999
diff changeset
   121
7491dc45fec7 added: #helpSpec
Claus Gittinger <cg@exept.de>
parents: 10999
diff changeset
   122
#flushSourceCache
7491dc45fec7 added: #helpSpec
Claus Gittinger <cg@exept.de>
parents: 10999
diff changeset
   123
'Remove all files from the source cache.\Access to source code will temporarily be slowed down,\until sources have been refetched from the repository'
7491dc45fec7 added: #helpSpec
Claus Gittinger <cg@exept.de>
parents: 10999
diff changeset
   124
7491dc45fec7 added: #helpSpec
Claus Gittinger <cg@exept.de>
parents: 10999
diff changeset
   125
#keepMethodSourceInImage
7491dc45fec7 added: #helpSpec
Claus Gittinger <cg@exept.de>
parents: 10999
diff changeset
   126
'After first file access, keep the method sources in the image itself.\All following text search operations will be much faster.\Grows the image over time (but who cares, these days)'
7491dc45fec7 added: #helpSpec
Claus Gittinger <cg@exept.de>
parents: 10999
diff changeset
   127
7491dc45fec7 added: #helpSpec
Claus Gittinger <cg@exept.de>
parents: 10999
diff changeset
   128
#loginPerModuleRoot
7491dc45fec7 added: #helpSpec
Claus Gittinger <cg@exept.de>
parents: 10999
diff changeset
   129
'Execute a "cvs login" operation for this CVSROOT'
7491dc45fec7 added: #helpSpec
Claus Gittinger <cg@exept.de>
parents: 10999
diff changeset
   130
7491dc45fec7 added: #helpSpec
Claus Gittinger <cg@exept.de>
parents: 10999
diff changeset
   131
#moveManagerDown
7491dc45fec7 added: #helpSpec
Claus Gittinger <cg@exept.de>
parents: 10999
diff changeset
   132
'Move the selected entry down in the list.\(The first matching definition is used to determine which repository type is used.)'
7491dc45fec7 added: #helpSpec
Claus Gittinger <cg@exept.de>
parents: 10999
diff changeset
   133
7491dc45fec7 added: #helpSpec
Claus Gittinger <cg@exept.de>
parents: 10999
diff changeset
   134
#moveManagerUp
7491dc45fec7 added: #helpSpec
Claus Gittinger <cg@exept.de>
parents: 10999
diff changeset
   135
'Move the selected entry up in the list.\(The first matching definition is used to determine which repository type is used.)'
7491dc45fec7 added: #helpSpec
Claus Gittinger <cg@exept.de>
parents: 10999
diff changeset
   136
7491dc45fec7 added: #helpSpec
Claus Gittinger <cg@exept.de>
parents: 10999
diff changeset
   137
#perPackageConfiguration
7491dc45fec7 added: #helpSpec
Claus Gittinger <cg@exept.de>
parents: 10999
diff changeset
   138
'Define per-package repository types here.\For any non-matching package-id, the default repository type is used.'
7491dc45fec7 added: #helpSpec
Claus Gittinger <cg@exept.de>
parents: 10999
diff changeset
   139
7491dc45fec7 added: #helpSpec
Claus Gittinger <cg@exept.de>
parents: 10999
diff changeset
   140
#removePerModuleRoot
7491dc45fec7 added: #helpSpec
Claus Gittinger <cg@exept.de>
parents: 10999
diff changeset
   141
'Remove this per-module entry'
7491dc45fec7 added: #helpSpec
Claus Gittinger <cg@exept.de>
parents: 10999
diff changeset
   142
7491dc45fec7 added: #helpSpec
Claus Gittinger <cg@exept.de>
parents: 10999
diff changeset
   143
#removePerPackageManager
7491dc45fec7 added: #helpSpec
Claus Gittinger <cg@exept.de>
parents: 10999
diff changeset
   144
'Remove the selected per-package manager definition'
7491dc45fec7 added: #helpSpec
Claus Gittinger <cg@exept.de>
parents: 10999
diff changeset
   145
7491dc45fec7 added: #helpSpec
Claus Gittinger <cg@exept.de>
parents: 10999
diff changeset
   146
#sourceCache
7491dc45fec7 added: #helpSpec
Claus Gittinger <cg@exept.de>
parents: 10999
diff changeset
   147
'After checkout, keep the sourcefile in a local file (to avoid repeated checkout of the same file)'
7491dc45fec7 added: #helpSpec
Claus Gittinger <cg@exept.de>
parents: 10999
diff changeset
   148
7491dc45fec7 added: #helpSpec
Claus Gittinger <cg@exept.de>
parents: 10999
diff changeset
   149
#useLocalSources
7491dc45fec7 added: #helpSpec
Claus Gittinger <cg@exept.de>
parents: 10999
diff changeset
   150
'If present, use the local source files (from the development system''s tree).\If checkout fails, these will always be tried as second chance.'
7491dc45fec7 added: #helpSpec
Claus Gittinger <cg@exept.de>
parents: 10999
diff changeset
   151
7491dc45fec7 added: #helpSpec
Claus Gittinger <cg@exept.de>
parents: 10999
diff changeset
   152
#useManager
7491dc45fec7 added: #helpSpec
Claus Gittinger <cg@exept.de>
parents: 10999
diff changeset
   153
'Enable source code management.\If off, all queries for sourcecode are resolved by local files (offline operation)'
7491dc45fec7 added: #helpSpec
Claus Gittinger <cg@exept.de>
parents: 10999
diff changeset
   154
7491dc45fec7 added: #helpSpec
Claus Gittinger <cg@exept.de>
parents: 10999
diff changeset
   155
#verboseSourceCodeAccess
7491dc45fec7 added: #helpSpec
Claus Gittinger <cg@exept.de>
parents: 10999
diff changeset
   156
'Output debugging messages on the Transcript\(mostly traces of the underlying scm mechanism, such as cvs commands)'
7491dc45fec7 added: #helpSpec
Claus Gittinger <cg@exept.de>
parents: 10999
diff changeset
   157
7491dc45fec7 added: #helpSpec
Claus Gittinger <cg@exept.de>
parents: 10999
diff changeset
   158
)
7491dc45fec7 added: #helpSpec
Claus Gittinger <cg@exept.de>
parents: 10999
diff changeset
   159
11061
0742839089e1 preps for \"showInBrowserMenus\"
Claus Gittinger <cg@exept.de>
parents: 11059
diff changeset
   160
    "Modified: / 09-01-2012 / 23:29:41 / cg"
11006
7491dc45fec7 added: #helpSpec
Claus Gittinger <cg@exept.de>
parents: 10999
diff changeset
   161
! !
7491dc45fec7 added: #helpSpec
Claus Gittinger <cg@exept.de>
parents: 10999
diff changeset
   162
11010
Claus Gittinger <cg@exept.de>
parents: 11007
diff changeset
   163
!CVSSourceCodeManagementSettingsAppl class methodsFor:'image specs'!
Claus Gittinger <cg@exept.de>
parents: 11007
diff changeset
   164
Claus Gittinger <cg@exept.de>
parents: 11007
diff changeset
   165
defaultIcon
Claus Gittinger <cg@exept.de>
parents: 11007
diff changeset
   166
    ^ self defaultIcon2
Claus Gittinger <cg@exept.de>
parents: 11007
diff changeset
   167
Claus Gittinger <cg@exept.de>
parents: 11007
diff changeset
   168
    "Created: / 22-12-2011 / 13:47:11 / cg"
Claus Gittinger <cg@exept.de>
parents: 11007
diff changeset
   169
!
Claus Gittinger <cg@exept.de>
parents: 11007
diff changeset
   170
Claus Gittinger <cg@exept.de>
parents: 11007
diff changeset
   171
defaultIcon1
Claus Gittinger <cg@exept.de>
parents: 11007
diff changeset
   172
    "This resource specification was automatically generated
Claus Gittinger <cg@exept.de>
parents: 11007
diff changeset
   173
     by the ImageEditor of ST/X."
Claus Gittinger <cg@exept.de>
parents: 11007
diff changeset
   174
Claus Gittinger <cg@exept.de>
parents: 11007
diff changeset
   175
    "Do not manually edit this!! If it is corrupted,
Claus Gittinger <cg@exept.de>
parents: 11007
diff changeset
   176
     the ImageEditor may not be able to read the specification."
Claus Gittinger <cg@exept.de>
parents: 11007
diff changeset
   177
Claus Gittinger <cg@exept.de>
parents: 11007
diff changeset
   178
    "
Claus Gittinger <cg@exept.de>
parents: 11007
diff changeset
   179
     self defaultIcon1 inspect
Claus Gittinger <cg@exept.de>
parents: 11007
diff changeset
   180
     ImageEditor openOnClass:self andSelector:#defaultIcon1
Claus Gittinger <cg@exept.de>
parents: 11007
diff changeset
   181
     Icon flushCachedIcons
Claus Gittinger <cg@exept.de>
parents: 11007
diff changeset
   182
    "
Claus Gittinger <cg@exept.de>
parents: 11007
diff changeset
   183
Claus Gittinger <cg@exept.de>
parents: 11007
diff changeset
   184
    <resource: #image>
Claus Gittinger <cg@exept.de>
parents: 11007
diff changeset
   185
Claus Gittinger <cg@exept.de>
parents: 11007
diff changeset
   186
    ^Icon
Claus Gittinger <cg@exept.de>
parents: 11007
diff changeset
   187
        constantNamed:'CVSSourceCodeManagementSettingsAppl class defaultIcon1'
Claus Gittinger <cg@exept.de>
parents: 11007
diff changeset
   188
        ifAbsentPut:[(Depth8Image new) width: 24; height: 24; photometric:(#palette); bitsPerSample:(#[8]); samplesPerPixel:(1); bits:(ByteArray fromPackedString:'
Claus Gittinger <cg@exept.de>
parents: 11007
diff changeset
   189
@@@@@@@@@@DB@@@@@@@@@@@@@@@@@@@@@@@@@@LDAPLFA0 I@@@@@@@@@@@@@@@@@@@@@@(KC@0MC <D@@@@@@@@@@@@@@@@@@@CB04LD@DAA@8C@ D@@@@@
Claus Gittinger <cg@exept.de>
parents: 11007
diff changeset
   190
@@@@@@@@@@@OC 4HDP(IBAHND0 @@@@@@@@@@@@@@@@EE@PU@@@@APLV@0@@@@@@@@@@@@@@@@LVC!!\E@@@@@@PXA  Y@@@@@@@@@@@@@@PVEA$Z@@@@@@P[
Claus Gittinger <cg@exept.de>
parents: 11007
diff changeset
   191
A!!0]@@@@@@@@@@@@@@@EEAXW@@@@APL[G @@@@@@@@@@@@@@@@@SD!!P_DB@JHQ8FD0 @@@@@@@@@@@@@@@@]BRHTF2L$IRX''D0 @@PH@@@@@@@@@@@@@JBD)
Claus Gittinger <cg@exept.de>
parents: 11007
diff changeset
   192
J",,KR$!!@0PE@0XGB@$@@@@@@@@@@B8!!F"4-F"D.B ,LC@4NC0P@@@@@@@@@@@@@@A\]@@LKCP0P@PDDC LB@P@@@@@@@@@@@@@@@@<NCP QB $HD 8SB@@@
Claus Gittinger <cg@exept.de>
parents: 11007
diff changeset
   193
@@@@@@@@@@@@@@TTAAT@@@@E@1XC@@@@@@@@@@@@@@@@@1XNE0T@@@@@AA FBA$@@@@@@@@@@@@@AAXTFQ(@@@@@AA,FGA4@@@@@@@@@@@@@@@TTE!!\@@@@E
Claus Gittinger <cg@exept.de>
parents: 11007
diff changeset
   194
@1,^@@@@@@@@@@@@@@@@@ALREA<PH@(!!G XSB@@@@@@@@@@@@@@@@A4IH!!P[H2P%I"\SB@@@@@@@@@@@@@@@@@@(HR$*J20-JRD@@@@@@@@@@@@@@@@@@@@@
Claus Gittinger <cg@exept.de>
parents: 11007
diff changeset
   195
K"DZKR4ZHR8@@@@@@@@@@@@@@@@@@@@@@@@@E14@@@@@@@@@') ; colorMapFromArray:#[0 0 0 160 176 200 176 192 210 176 200 220 192 208 220 224 232 240 176 208 220 208 224 220 144 168 180 192 200 220 208 216 220 208 224 240 224 232 250 224 240 250 208 232 240 160 192 210 176 184 180 128 136 140 192 216 220 160 184 210 208 240 250 144 144 160 192 224 240 160 168 180 192 232 240 160 176 180 224 224 220 192 232 250 144 168 200 176 184 200 160 200 220 192 216 240 176 192 200 160 184 200 192 224 220 176 224 250 176 216 250 160 208 240 144 192 250 144 176 210 255 248 250 160 192 220 144 184 210 160 200 240 160 192 240 128 160 180 128 152 180]; mask:((Depth1Image new) width: 24; height: 24; photometric:(#blackIs0); bitsPerSample:(#[1]); samplesPerPixel:(1); bits:(ByteArray fromPackedString:'@X@@C?@@C?@@O?0@O?0@OG @_C8@_C8@OG @O?0@O?6@G??0C??0@[?<@C?<@C18@G0>@G0>@C18@C?<@C?<@A?0@@?0@@F@') ; yourself); yourself]
Claus Gittinger <cg@exept.de>
parents: 11007
diff changeset
   196
!
Claus Gittinger <cg@exept.de>
parents: 11007
diff changeset
   197
Claus Gittinger <cg@exept.de>
parents: 11007
diff changeset
   198
defaultIcon2
Claus Gittinger <cg@exept.de>
parents: 11007
diff changeset
   199
    "This resource specification was automatically generated
Claus Gittinger <cg@exept.de>
parents: 11007
diff changeset
   200
     by the ImageEditor of ST/X."
Claus Gittinger <cg@exept.de>
parents: 11007
diff changeset
   201
Claus Gittinger <cg@exept.de>
parents: 11007
diff changeset
   202
    "Do not manually edit this!! If it is corrupted,
Claus Gittinger <cg@exept.de>
parents: 11007
diff changeset
   203
     the ImageEditor may not be able to read the specification."
Claus Gittinger <cg@exept.de>
parents: 11007
diff changeset
   204
Claus Gittinger <cg@exept.de>
parents: 11007
diff changeset
   205
    "
Claus Gittinger <cg@exept.de>
parents: 11007
diff changeset
   206
     self defaultIcon2 inspect
Claus Gittinger <cg@exept.de>
parents: 11007
diff changeset
   207
     ImageEditor openOnClass:self andSelector:#defaultIcon2
Claus Gittinger <cg@exept.de>
parents: 11007
diff changeset
   208
     Icon flushCachedIcons
Claus Gittinger <cg@exept.de>
parents: 11007
diff changeset
   209
    "
Claus Gittinger <cg@exept.de>
parents: 11007
diff changeset
   210
Claus Gittinger <cg@exept.de>
parents: 11007
diff changeset
   211
    <resource: #image>
Claus Gittinger <cg@exept.de>
parents: 11007
diff changeset
   212
Claus Gittinger <cg@exept.de>
parents: 11007
diff changeset
   213
    ^Icon
Claus Gittinger <cg@exept.de>
parents: 11007
diff changeset
   214
        constantNamed:'CVSSourceCodeManagementSettingsAppl class defaultIcon2'
Claus Gittinger <cg@exept.de>
parents: 11007
diff changeset
   215
        ifAbsentPut:[(Depth8Image new) width: 24; height: 24; photometric:(#palette); bitsPerSample:(#[8]); samplesPerPixel:(1); bits:(ByteArray fromPackedString:'
Claus Gittinger <cg@exept.de>
parents: 11007
diff changeset
   216
@@@@@@@@@@DB@@@@@@@@@@@@@@@@@@@@@@@@@@LDAPLFA0 I@@@@@@@@@@@@@@@@@@@@@@(KC@0MC <D@@@@@@@@@@@@@@@@@@@CB04LD@DAA@8C@ D@@@@@
Claus Gittinger <cg@exept.de>
parents: 11007
diff changeset
   217
@@@@@@@@@@@OC 4HDP(IBAHND0 @@@@@@@@@@@@@@@@EE@PU@@@@APLV@0@@@@@@@@@@@@@@@@LVC!!\E@@@@@@PXA  Y@@@@@@@@@@@@@@PVEA$Z@@@@@@P[
Claus Gittinger <cg@exept.de>
parents: 11007
diff changeset
   218
A!!0]@@@@@@@@@@@@@@@EEAXW@@@@APL[G @@@@@@@@@@@@@@@@@SD!!P_DB@JHQ8FD0 @@@@@@@@@@@@@@@@]BRHTF2L$IRX''D0 @@PH@@@@@@@@@@@@@JBD)
Claus Gittinger <cg@exept.de>
parents: 11007
diff changeset
   219
J",,KR$!!@0PE@0XGB@$@@@@@@@@@@B83L3@0F"D.B ,LC@4NC0P@@@@@@@@@@C@3L3L3L@LKCP0P@PDDC LB@P@@@@@@K3L3@@@@@C@NCP QB $HD 8SB@@@
Claus Gittinger <cg@exept.de>
parents: 11007
diff changeset
   220
@@@@LCD0@@@@@@TTAAT@@@@E@1XC@@@@@C@0L3H3M@@@MQXNE0T@@@@@AA FBA$@@@@0L#L0@@@5MSTTFQ(@@@@@AA,FGA4@@@@@LC$@@CT8NC\5E!!\@@@@E
Claus Gittinger <cg@exept.de>
parents: 11007
diff changeset
   221
@1,^@@@@@@@@@@@@MST6MST5EA<PH@(!!G XSB@@@@@@5@@@@@@@5MQ4IH!!P[H2P%I"\SB@@@@@@@MST5MST5@@@(HR$*J20-JRD@@@@@@@@@@CX5MST@@@@@
Claus Gittinger <cg@exept.de>
parents: 11007
diff changeset
   222
K"DZKR4ZHR8@@@@@@@@@@@@@@@@@@@@@@@@@E14@@@@@@@@@') ; colorMapFromArray:#[0 0 0 160 176 200 176 192 210 176 200 220 192 208 220 224 232 240 176 208 220 208 224 220 144 168 180 192 200 220 208 216 220 208 224 240 224 232 250 224 240 250 208 232 240 160 192 210 176 184 180 128 136 140 192 216 220 160 184 210 208 240 250 144 144 160 192 224 240 160 168 180 192 232 240 160 176 180 224 224 220 192 232 250 144 168 200 176 184 200 160 200 220 192 216 240 176 192 200 160 184 200 192 224 220 176 224 250 176 216 250 160 208 240 144 192 250 144 176 210 255 248 250 160 192 220 144 184 210 160 200 240 160 192 240 128 160 180 128 152 180 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: 24; height: 24; photometric:(#blackIs0); bitsPerSample:(#[1]); samplesPerPixel:(1); bits:(ByteArray fromPackedString:'@X@@C?@@C?@@O?0@O?0@OG @_C8@_C8@OG @O?0@O?6@G??0C??0C??<GC?<GC18_''0>OO0>F_18@??<HO?<G=?0C8?0@@F@') ; yourself); yourself]
Claus Gittinger <cg@exept.de>
parents: 11007
diff changeset
   223
! !
Claus Gittinger <cg@exept.de>
parents: 11007
diff changeset
   224
9822
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   225
!CVSSourceCodeManagementSettingsAppl class methodsFor:'interface specs'!
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   226
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   227
windowSpec
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   228
    "This resource specification was automatically generated
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   229
     by the UIPainter of ST/X."
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   230
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   231
    "Do not manually edit this!! If it is corrupted,
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   232
     the UIPainter may not be able to read the specification."
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   233
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   234
    "
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   235
     UIPainter new openOnClass:CVSSourceCodeManagementSettingsAppl andSelector:#windowSpec
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   236
     CVSSourceCodeManagementSettingsAppl new openInterface:#windowSpec
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   237
     CVSSourceCodeManagementSettingsAppl open
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   238
    "
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   239
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   240
    <resource: #canvas>
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   241
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   242
    ^ 
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   243
     #(FullSpec
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   244
        name: windowSpec
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   245
        window: 
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   246
       (WindowSpec
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   247
          label: 'CVS Settings'
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   248
          name: 'CVS Settings'
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   249
          min: (Point 10 10)
11061
0742839089e1 preps for \"showInBrowserMenus\"
Claus Gittinger <cg@exept.de>
parents: 11059
diff changeset
   250
          bounds: (Rectangle 0 0 800 497)
9822
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   251
        )
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   252
        component: 
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   253
       (SpecCollection
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   254
          collection: (
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   255
           (VerticalPanelViewSpec
11061
0742839089e1 preps for \"showInBrowserMenus\"
Claus Gittinger <cg@exept.de>
parents: 11059
diff changeset
   256
              name: 'VerticalPanel3'
0742839089e1 preps for \"showInBrowserMenus\"
Claus Gittinger <cg@exept.de>
parents: 11059
diff changeset
   257
              layout: (LayoutFrame 0 0 0 0 0 1 0 1)
9822
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   258
              horizontalLayout: fit
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   259
              verticalLayout: topSpace
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   260
              horizontalSpace: 3
11061
0742839089e1 preps for \"showInBrowserMenus\"
Claus Gittinger <cg@exept.de>
parents: 11059
diff changeset
   261
              verticalSpace: 4
9822
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   262
              component: 
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   263
             (SpecCollection
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   264
                collection: (
11061
0742839089e1 preps for \"showInBrowserMenus\"
Claus Gittinger <cg@exept.de>
parents: 11059
diff changeset
   265
                 (ViewSpec
0742839089e1 preps for \"showInBrowserMenus\"
Claus Gittinger <cg@exept.de>
parents: 11059
diff changeset
   266
                    name: 'ManagerSetupBoxx'
9822
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   267
                    component: 
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   268
                   (SpecCollection
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   269
                      collection: (
11061
0742839089e1 preps for \"showInBrowserMenus\"
Claus Gittinger <cg@exept.de>
parents: 11059
diff changeset
   270
                       (FramedBoxSpec
0742839089e1 preps for \"showInBrowserMenus\"
Claus Gittinger <cg@exept.de>
parents: 11059
diff changeset
   271
                          label: 'CVS Sourcecode Manager Settings'
0742839089e1 preps for \"showInBrowserMenus\"
Claus Gittinger <cg@exept.de>
parents: 11059
diff changeset
   272
                          name: 'CVSSetupBox'
0742839089e1 preps for \"showInBrowserMenus\"
Claus Gittinger <cg@exept.de>
parents: 11059
diff changeset
   273
                          layout: (LayoutFrame 0 0 0 0 0 1 0 1)
0742839089e1 preps for \"showInBrowserMenus\"
Claus Gittinger <cg@exept.de>
parents: 11059
diff changeset
   274
                          labelPosition: topLeft
0742839089e1 preps for \"showInBrowserMenus\"
Claus Gittinger <cg@exept.de>
parents: 11059
diff changeset
   275
                          translateLabel: true
9822
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   276
                          component: 
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   277
                         (SpecCollection
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   278
                            collection: (
11061
0742839089e1 preps for \"showInBrowserMenus\"
Claus Gittinger <cg@exept.de>
parents: 11059
diff changeset
   279
                             (CheckBoxSpec
0742839089e1 preps for \"showInBrowserMenus\"
Claus Gittinger <cg@exept.de>
parents: 11059
diff changeset
   280
                                label: 'Show in Browser Menus'
0742839089e1 preps for \"showInBrowserMenus\"
Claus Gittinger <cg@exept.de>
parents: 11059
diff changeset
   281
                                name: 'CheckBox1'
0742839089e1 preps for \"showInBrowserMenus\"
Claus Gittinger <cg@exept.de>
parents: 11059
diff changeset
   282
                                layout: (LayoutFrame 0 0 5 0 0 1 27 0)
11069
8f99a7115be3 preps for \"showInBrowserMenus\"
Claus Gittinger <cg@exept.de>
parents: 11061
diff changeset
   283
                                model: shownInBrowserMenusHolder
11080
Claus Gittinger <cg@exept.de>
parents: 11069
diff changeset
   284
                                activeHelpKey: shownInBrowserMenus
9822
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   285
                                translateLabel: true
11061
0742839089e1 preps for \"showInBrowserMenus\"
Claus Gittinger <cg@exept.de>
parents: 11059
diff changeset
   286
                              )
0742839089e1 preps for \"showInBrowserMenus\"
Claus Gittinger <cg@exept.de>
parents: 11059
diff changeset
   287
                             (ViewSpec
0742839089e1 preps for \"showInBrowserMenus\"
Claus Gittinger <cg@exept.de>
parents: 11059
diff changeset
   288
                                name: 'Box1'
0742839089e1 preps for \"showInBrowserMenus\"
Claus Gittinger <cg@exept.de>
parents: 11059
diff changeset
   289
                                layout: (LayoutFrame 0 0 35 0 0 1 60 0)
9822
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   290
                                component: 
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   291
                               (SpecCollection
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   292
                                  collection: (
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   293
                                   (LabelSpec
11061
0742839089e1 preps for \"showInBrowserMenus\"
Claus Gittinger <cg@exept.de>
parents: 11059
diff changeset
   294
                                      label: 'CVS Command or Path:'
0742839089e1 preps for \"showInBrowserMenus\"
Claus Gittinger <cg@exept.de>
parents: 11059
diff changeset
   295
                                      name: 'Label1'
0742839089e1 preps for \"showInBrowserMenus\"
Claus Gittinger <cg@exept.de>
parents: 11059
diff changeset
   296
                                      layout: (LayoutFrame 0 0.0 0 0 60 0.25 22 0)
0742839089e1 preps for \"showInBrowserMenus\"
Claus Gittinger <cg@exept.de>
parents: 11059
diff changeset
   297
                                      activeHelpKey: cvsCommand
0742839089e1 preps for \"showInBrowserMenus\"
Claus Gittinger <cg@exept.de>
parents: 11059
diff changeset
   298
                                      level: 0
9822
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   299
                                      translateLabel: true
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   300
                                      adjust: right
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   301
                                    )
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   302
                                   (InputFieldSpec
11061
0742839089e1 preps for \"showInBrowserMenus\"
Claus Gittinger <cg@exept.de>
parents: 11059
diff changeset
   303
                                      name: 'CVSExecutableField'
0742839089e1 preps for \"showInBrowserMenus\"
Claus Gittinger <cg@exept.de>
parents: 11059
diff changeset
   304
                                      layout: (LayoutFrame 64 0.25 0 0 0 1 22 0)
0742839089e1 preps for \"showInBrowserMenus\"
Claus Gittinger <cg@exept.de>
parents: 11059
diff changeset
   305
                                      activeHelpKey: cvsCommand
9822
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   306
                                      tabable: true
11061
0742839089e1 preps for \"showInBrowserMenus\"
Claus Gittinger <cg@exept.de>
parents: 11059
diff changeset
   307
                                      model: cvsExecutableHolder
9822
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   308
                                      acceptChannel: acceptChannel
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   309
                                      acceptOnPointerLeave: true
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   310
                                    )
11061
0742839089e1 preps for \"showInBrowserMenus\"
Claus Gittinger <cg@exept.de>
parents: 11059
diff changeset
   311
                                   )
0742839089e1 preps for \"showInBrowserMenus\"
Claus Gittinger <cg@exept.de>
parents: 11059
diff changeset
   312
                                 
0742839089e1 preps for \"showInBrowserMenus\"
Claus Gittinger <cg@exept.de>
parents: 11059
diff changeset
   313
                                )
0742839089e1 preps for \"showInBrowserMenus\"
Claus Gittinger <cg@exept.de>
parents: 11059
diff changeset
   314
                              )
0742839089e1 preps for \"showInBrowserMenus\"
Claus Gittinger <cg@exept.de>
parents: 11059
diff changeset
   315
                             (ViewSpec
0742839089e1 preps for \"showInBrowserMenus\"
Claus Gittinger <cg@exept.de>
parents: 11059
diff changeset
   316
                                name: 'Box12'
0742839089e1 preps for \"showInBrowserMenus\"
Claus Gittinger <cg@exept.de>
parents: 11059
diff changeset
   317
                                layout: (LayoutFrame 0 0 61 0 0 1 86 0)
0742839089e1 preps for \"showInBrowserMenus\"
Claus Gittinger <cg@exept.de>
parents: 11059
diff changeset
   318
                                component: 
0742839089e1 preps for \"showInBrowserMenus\"
Claus Gittinger <cg@exept.de>
parents: 11059
diff changeset
   319
                               (SpecCollection
0742839089e1 preps for \"showInBrowserMenus\"
Claus Gittinger <cg@exept.de>
parents: 11059
diff changeset
   320
                                  collection: (
9822
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   321
                                   (LabelSpec
11061
0742839089e1 preps for \"showInBrowserMenus\"
Claus Gittinger <cg@exept.de>
parents: 11059
diff changeset
   322
                                      label: 'CVS Command Timeout:'
0742839089e1 preps for \"showInBrowserMenus\"
Claus Gittinger <cg@exept.de>
parents: 11059
diff changeset
   323
                                      name: 'Label2'
0742839089e1 preps for \"showInBrowserMenus\"
Claus Gittinger <cg@exept.de>
parents: 11059
diff changeset
   324
                                      layout: (LayoutFrame 0 0.0 0 0 60 0.25 22 0)
0742839089e1 preps for \"showInBrowserMenus\"
Claus Gittinger <cg@exept.de>
parents: 11059
diff changeset
   325
                                      activeHelpKey: cvsCommandTimeout
0742839089e1 preps for \"showInBrowserMenus\"
Claus Gittinger <cg@exept.de>
parents: 11059
diff changeset
   326
                                      level: 0
0742839089e1 preps for \"showInBrowserMenus\"
Claus Gittinger <cg@exept.de>
parents: 11059
diff changeset
   327
                                      translateLabel: true
0742839089e1 preps for \"showInBrowserMenus\"
Claus Gittinger <cg@exept.de>
parents: 11059
diff changeset
   328
                                      adjust: right
0742839089e1 preps for \"showInBrowserMenus\"
Claus Gittinger <cg@exept.de>
parents: 11059
diff changeset
   329
                                    )
0742839089e1 preps for \"showInBrowserMenus\"
Claus Gittinger <cg@exept.de>
parents: 11059
diff changeset
   330
                                   (InputFieldSpec
0742839089e1 preps for \"showInBrowserMenus\"
Claus Gittinger <cg@exept.de>
parents: 11059
diff changeset
   331
                                      name: 'EntryField1'
0742839089e1 preps for \"showInBrowserMenus\"
Claus Gittinger <cg@exept.de>
parents: 11059
diff changeset
   332
                                      layout: (LayoutFrame 64 0.25 0 0 120 0.25 22 0)
0742839089e1 preps for \"showInBrowserMenus\"
Claus Gittinger <cg@exept.de>
parents: 11059
diff changeset
   333
                                      activeHelpKey: cvsCommandTimeout
0742839089e1 preps for \"showInBrowserMenus\"
Claus Gittinger <cg@exept.de>
parents: 11059
diff changeset
   334
                                      tabable: true
0742839089e1 preps for \"showInBrowserMenus\"
Claus Gittinger <cg@exept.de>
parents: 11059
diff changeset
   335
                                      model: cvsCommandTimeoutHolder
0742839089e1 preps for \"showInBrowserMenus\"
Claus Gittinger <cg@exept.de>
parents: 11059
diff changeset
   336
                                      type: integerInRange
0742839089e1 preps for \"showInBrowserMenus\"
Claus Gittinger <cg@exept.de>
parents: 11059
diff changeset
   337
                                      minValue: 5
0742839089e1 preps for \"showInBrowserMenus\"
Claus Gittinger <cg@exept.de>
parents: 11059
diff changeset
   338
                                      maxValue: 3600
0742839089e1 preps for \"showInBrowserMenus\"
Claus Gittinger <cg@exept.de>
parents: 11059
diff changeset
   339
                                      acceptChannel: acceptChannel
0742839089e1 preps for \"showInBrowserMenus\"
Claus Gittinger <cg@exept.de>
parents: 11059
diff changeset
   340
                                      acceptOnPointerLeave: true
0742839089e1 preps for \"showInBrowserMenus\"
Claus Gittinger <cg@exept.de>
parents: 11059
diff changeset
   341
                                    )
0742839089e1 preps for \"showInBrowserMenus\"
Claus Gittinger <cg@exept.de>
parents: 11059
diff changeset
   342
                                   )
0742839089e1 preps for \"showInBrowserMenus\"
Claus Gittinger <cg@exept.de>
parents: 11059
diff changeset
   343
                                 
0742839089e1 preps for \"showInBrowserMenus\"
Claus Gittinger <cg@exept.de>
parents: 11059
diff changeset
   344
                                )
0742839089e1 preps for \"showInBrowserMenus\"
Claus Gittinger <cg@exept.de>
parents: 11059
diff changeset
   345
                              )
0742839089e1 preps for \"showInBrowserMenus\"
Claus Gittinger <cg@exept.de>
parents: 11059
diff changeset
   346
                             (ViewSpec
0742839089e1 preps for \"showInBrowserMenus\"
Claus Gittinger <cg@exept.de>
parents: 11059
diff changeset
   347
                                name: 'Box7'
0742839089e1 preps for \"showInBrowserMenus\"
Claus Gittinger <cg@exept.de>
parents: 11059
diff changeset
   348
                                layout: (LayoutFrame 0 0.0 92 0 0 1 117 0)
0742839089e1 preps for \"showInBrowserMenus\"
Claus Gittinger <cg@exept.de>
parents: 11059
diff changeset
   349
                                component: 
0742839089e1 preps for \"showInBrowserMenus\"
Claus Gittinger <cg@exept.de>
parents: 11059
diff changeset
   350
                               (SpecCollection
0742839089e1 preps for \"showInBrowserMenus\"
Claus Gittinger <cg@exept.de>
parents: 11059
diff changeset
   351
                                  collection: (
0742839089e1 preps for \"showInBrowserMenus\"
Claus Gittinger <cg@exept.de>
parents: 11059
diff changeset
   352
                                   (LabelSpec
0742839089e1 preps for \"showInBrowserMenus\"
Claus Gittinger <cg@exept.de>
parents: 11059
diff changeset
   353
                                      label: 'CVSRoot default:'
0742839089e1 preps for \"showInBrowserMenus\"
Claus Gittinger <cg@exept.de>
parents: 11059
diff changeset
   354
                                      name: 'defaultCvsRootLabel'
0742839089e1 preps for \"showInBrowserMenus\"
Claus Gittinger <cg@exept.de>
parents: 11059
diff changeset
   355
                                      layout: (LayoutFrame 0 0.0 2 0 60 0.25 24 0)
0742839089e1 preps for \"showInBrowserMenus\"
Claus Gittinger <cg@exept.de>
parents: 11059
diff changeset
   356
                                      activeHelpKey: cvsRootDefault
0742839089e1 preps for \"showInBrowserMenus\"
Claus Gittinger <cg@exept.de>
parents: 11059
diff changeset
   357
                                      level: 0
9822
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   358
                                      translateLabel: true
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   359
                                      adjust: right
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   360
                                    )
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   361
                                   (ComboBoxSpec
11061
0742839089e1 preps for \"showInBrowserMenus\"
Claus Gittinger <cg@exept.de>
parents: 11059
diff changeset
   362
                                      name: 'cvsRootComboBox'
0742839089e1 preps for \"showInBrowserMenus\"
Claus Gittinger <cg@exept.de>
parents: 11059
diff changeset
   363
                                      layout: (LayoutFrame 64 0.25 2 0 0 1 24 0)
0742839089e1 preps for \"showInBrowserMenus\"
Claus Gittinger <cg@exept.de>
parents: 11059
diff changeset
   364
                                      activeHelpKey: cvsRootDefault
9822
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   365
                                      tabable: true
11061
0742839089e1 preps for \"showInBrowserMenus\"
Claus Gittinger <cg@exept.de>
parents: 11059
diff changeset
   366
                                      model: cvsRootHolder
9822
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   367
                                      immediateAccept: true
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   368
                                      acceptOnLeave: true
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   369
                                      acceptOnReturn: true
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   370
                                      acceptOnTab: true
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   371
                                      acceptOnLostFocus: true
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   372
                                      acceptChannel: acceptChannel
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   373
                                      acceptOnPointerLeave: true
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   374
                                      comboList: cvsRootPrototypeList
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   375
                                    )
11061
0742839089e1 preps for \"showInBrowserMenus\"
Claus Gittinger <cg@exept.de>
parents: 11059
diff changeset
   376
                                   )
0742839089e1 preps for \"showInBrowserMenus\"
Claus Gittinger <cg@exept.de>
parents: 11059
diff changeset
   377
                                 
0742839089e1 preps for \"showInBrowserMenus\"
Claus Gittinger <cg@exept.de>
parents: 11059
diff changeset
   378
                                )
0742839089e1 preps for \"showInBrowserMenus\"
Claus Gittinger <cg@exept.de>
parents: 11059
diff changeset
   379
                              )
0742839089e1 preps for \"showInBrowserMenus\"
Claus Gittinger <cg@exept.de>
parents: 11059
diff changeset
   380
                             (ActionButtonSpec
0742839089e1 preps for \"showInBrowserMenus\"
Claus Gittinger <cg@exept.de>
parents: 11059
diff changeset
   381
                                label: 'CVS-Login'
0742839089e1 preps for \"showInBrowserMenus\"
Claus Gittinger <cg@exept.de>
parents: 11059
diff changeset
   382
                                name: 'Button1'
0742839089e1 preps for \"showInBrowserMenus\"
Claus Gittinger <cg@exept.de>
parents: 11059
diff changeset
   383
                                layout: (LayoutFrame -117 1 122 0 0 1 144 0)
0742839089e1 preps for \"showInBrowserMenus\"
Claus Gittinger <cg@exept.de>
parents: 11059
diff changeset
   384
                                activeHelpKey: cvsLogin
0742839089e1 preps for \"showInBrowserMenus\"
Claus Gittinger <cg@exept.de>
parents: 11059
diff changeset
   385
                                translateLabel: true
0742839089e1 preps for \"showInBrowserMenus\"
Claus Gittinger <cg@exept.de>
parents: 11059
diff changeset
   386
                                tabable: true
0742839089e1 preps for \"showInBrowserMenus\"
Claus Gittinger <cg@exept.de>
parents: 11059
diff changeset
   387
                                model: loginCVSRoot
0742839089e1 preps for \"showInBrowserMenus\"
Claus Gittinger <cg@exept.de>
parents: 11059
diff changeset
   388
                                enableChannel: cvsLoginEnabled
0742839089e1 preps for \"showInBrowserMenus\"
Claus Gittinger <cg@exept.de>
parents: 11059
diff changeset
   389
                              )
0742839089e1 preps for \"showInBrowserMenus\"
Claus Gittinger <cg@exept.de>
parents: 11059
diff changeset
   390
                             (LabelSpec
0742839089e1 preps for \"showInBrowserMenus\"
Claus Gittinger <cg@exept.de>
parents: 11059
diff changeset
   391
                                label: 'CVSRoot per Module:'
0742839089e1 preps for \"showInBrowserMenus\"
Claus Gittinger <cg@exept.de>
parents: 11059
diff changeset
   392
                                name: 'knownModulesLabel'
0742839089e1 preps for \"showInBrowserMenus\"
Claus Gittinger <cg@exept.de>
parents: 11059
diff changeset
   393
                                layout: (LayoutFrame 0 0.0 150 0 60 0.25 172 0)
0742839089e1 preps for \"showInBrowserMenus\"
Claus Gittinger <cg@exept.de>
parents: 11059
diff changeset
   394
                                activeHelpKey: cvsRootPerModule
0742839089e1 preps for \"showInBrowserMenus\"
Claus Gittinger <cg@exept.de>
parents: 11059
diff changeset
   395
                                translateLabel: true
0742839089e1 preps for \"showInBrowserMenus\"
Claus Gittinger <cg@exept.de>
parents: 11059
diff changeset
   396
                                adjust: right
0742839089e1 preps for \"showInBrowserMenus\"
Claus Gittinger <cg@exept.de>
parents: 11059
diff changeset
   397
                              )
0742839089e1 preps for \"showInBrowserMenus\"
Claus Gittinger <cg@exept.de>
parents: 11059
diff changeset
   398
                             (SequenceViewSpec
0742839089e1 preps for \"showInBrowserMenus\"
Claus Gittinger <cg@exept.de>
parents: 11059
diff changeset
   399
                                name: 'List1'
0742839089e1 preps for \"showInBrowserMenus\"
Claus Gittinger <cg@exept.de>
parents: 11059
diff changeset
   400
                                layout: (LayoutFrame 64 0.25 150 0 0 1 269 0)
0742839089e1 preps for \"showInBrowserMenus\"
Claus Gittinger <cg@exept.de>
parents: 11059
diff changeset
   401
                                activeHelpKey: cvsRootPerModule
0742839089e1 preps for \"showInBrowserMenus\"
Claus Gittinger <cg@exept.de>
parents: 11059
diff changeset
   402
                                tabable: true
0742839089e1 preps for \"showInBrowserMenus\"
Claus Gittinger <cg@exept.de>
parents: 11059
diff changeset
   403
                                model: selectedPerModuleRoot
0742839089e1 preps for \"showInBrowserMenus\"
Claus Gittinger <cg@exept.de>
parents: 11059
diff changeset
   404
                                hasHorizontalScrollBar: true
0742839089e1 preps for \"showInBrowserMenus\"
Claus Gittinger <cg@exept.de>
parents: 11059
diff changeset
   405
                                hasVerticalScrollBar: true
0742839089e1 preps for \"showInBrowserMenus\"
Claus Gittinger <cg@exept.de>
parents: 11059
diff changeset
   406
                                miniScrollerHorizontal: true
0742839089e1 preps for \"showInBrowserMenus\"
Claus Gittinger <cg@exept.de>
parents: 11059
diff changeset
   407
                                useIndex: false
0742839089e1 preps for \"showInBrowserMenus\"
Claus Gittinger <cg@exept.de>
parents: 11059
diff changeset
   408
                                sequenceList: listOfModules
0742839089e1 preps for \"showInBrowserMenus\"
Claus Gittinger <cg@exept.de>
parents: 11059
diff changeset
   409
                              )
0742839089e1 preps for \"showInBrowserMenus\"
Claus Gittinger <cg@exept.de>
parents: 11059
diff changeset
   410
                             (LabelSpec
0742839089e1 preps for \"showInBrowserMenus\"
Claus Gittinger <cg@exept.de>
parents: 11059
diff changeset
   411
                                label: 'Module:'
0742839089e1 preps for \"showInBrowserMenus\"
Claus Gittinger <cg@exept.de>
parents: 11059
diff changeset
   412
                                name: 'moduleLabel'
0742839089e1 preps for \"showInBrowserMenus\"
Claus Gittinger <cg@exept.de>
parents: 11059
diff changeset
   413
                                layout: (LayoutFrame 0 0.0 279 0 60 0.25 296 0)
0742839089e1 preps for \"showInBrowserMenus\"
Claus Gittinger <cg@exept.de>
parents: 11059
diff changeset
   414
                                activeHelpKey: cvsRootPerModuleModule
0742839089e1 preps for \"showInBrowserMenus\"
Claus Gittinger <cg@exept.de>
parents: 11059
diff changeset
   415
                                translateLabel: true
0742839089e1 preps for \"showInBrowserMenus\"
Claus Gittinger <cg@exept.de>
parents: 11059
diff changeset
   416
                                adjust: right
0742839089e1 preps for \"showInBrowserMenus\"
Claus Gittinger <cg@exept.de>
parents: 11059
diff changeset
   417
                              )
0742839089e1 preps for \"showInBrowserMenus\"
Claus Gittinger <cg@exept.de>
parents: 11059
diff changeset
   418
                             (InputFieldSpec
0742839089e1 preps for \"showInBrowserMenus\"
Claus Gittinger <cg@exept.de>
parents: 11059
diff changeset
   419
                                name: 'perModuleRootModuleEntryField'
0742839089e1 preps for \"showInBrowserMenus\"
Claus Gittinger <cg@exept.de>
parents: 11059
diff changeset
   420
                                layout: (LayoutFrame 64 0.25 275 0 0 1 297 0)
0742839089e1 preps for \"showInBrowserMenus\"
Claus Gittinger <cg@exept.de>
parents: 11059
diff changeset
   421
                                activeHelpKey: cvsRootPerModuleModule
0742839089e1 preps for \"showInBrowserMenus\"
Claus Gittinger <cg@exept.de>
parents: 11059
diff changeset
   422
                                tabable: true
0742839089e1 preps for \"showInBrowserMenus\"
Claus Gittinger <cg@exept.de>
parents: 11059
diff changeset
   423
                                model: perModuleRootModule
0742839089e1 preps for \"showInBrowserMenus\"
Claus Gittinger <cg@exept.de>
parents: 11059
diff changeset
   424
                                acceptChannel: acceptChannel
0742839089e1 preps for \"showInBrowserMenus\"
Claus Gittinger <cg@exept.de>
parents: 11059
diff changeset
   425
                                acceptOnPointerLeave: true
0742839089e1 preps for \"showInBrowserMenus\"
Claus Gittinger <cg@exept.de>
parents: 11059
diff changeset
   426
                              )
0742839089e1 preps for \"showInBrowserMenus\"
Claus Gittinger <cg@exept.de>
parents: 11059
diff changeset
   427
                             (LabelSpec
0742839089e1 preps for \"showInBrowserMenus\"
Claus Gittinger <cg@exept.de>
parents: 11059
diff changeset
   428
                                label: 'CVSRoot:'
0742839089e1 preps for \"showInBrowserMenus\"
Claus Gittinger <cg@exept.de>
parents: 11059
diff changeset
   429
                                name: 'cvsRootLabel'
0742839089e1 preps for \"showInBrowserMenus\"
Claus Gittinger <cg@exept.de>
parents: 11059
diff changeset
   430
                                layout: (LayoutFrame 0 0.0 304 0 60 0.25 321 0)
0742839089e1 preps for \"showInBrowserMenus\"
Claus Gittinger <cg@exept.de>
parents: 11059
diff changeset
   431
                                activeHelpKey: cvsRootPerModuleRoot
0742839089e1 preps for \"showInBrowserMenus\"
Claus Gittinger <cg@exept.de>
parents: 11059
diff changeset
   432
                                translateLabel: true
0742839089e1 preps for \"showInBrowserMenus\"
Claus Gittinger <cg@exept.de>
parents: 11059
diff changeset
   433
                                adjust: right
0742839089e1 preps for \"showInBrowserMenus\"
Claus Gittinger <cg@exept.de>
parents: 11059
diff changeset
   434
                              )
0742839089e1 preps for \"showInBrowserMenus\"
Claus Gittinger <cg@exept.de>
parents: 11059
diff changeset
   435
                             (ComboBoxSpec
0742839089e1 preps for \"showInBrowserMenus\"
Claus Gittinger <cg@exept.de>
parents: 11059
diff changeset
   436
                                name: 'perModuleRootComboBox'
0742839089e1 preps for \"showInBrowserMenus\"
Claus Gittinger <cg@exept.de>
parents: 11059
diff changeset
   437
                                layout: (LayoutFrame 64 0.25 300 0 0 1.0 322 0)
0742839089e1 preps for \"showInBrowserMenus\"
Claus Gittinger <cg@exept.de>
parents: 11059
diff changeset
   438
                                activeHelpKey: cvsRootPerModuleRoot
0742839089e1 preps for \"showInBrowserMenus\"
Claus Gittinger <cg@exept.de>
parents: 11059
diff changeset
   439
                                tabable: true
0742839089e1 preps for \"showInBrowserMenus\"
Claus Gittinger <cg@exept.de>
parents: 11059
diff changeset
   440
                                model: perModuleRoot
0742839089e1 preps for \"showInBrowserMenus\"
Claus Gittinger <cg@exept.de>
parents: 11059
diff changeset
   441
                                immediateAccept: true
0742839089e1 preps for \"showInBrowserMenus\"
Claus Gittinger <cg@exept.de>
parents: 11059
diff changeset
   442
                                acceptOnLeave: true
0742839089e1 preps for \"showInBrowserMenus\"
Claus Gittinger <cg@exept.de>
parents: 11059
diff changeset
   443
                                acceptOnReturn: true
0742839089e1 preps for \"showInBrowserMenus\"
Claus Gittinger <cg@exept.de>
parents: 11059
diff changeset
   444
                                acceptOnTab: true
0742839089e1 preps for \"showInBrowserMenus\"
Claus Gittinger <cg@exept.de>
parents: 11059
diff changeset
   445
                                acceptOnLostFocus: true
0742839089e1 preps for \"showInBrowserMenus\"
Claus Gittinger <cg@exept.de>
parents: 11059
diff changeset
   446
                                acceptChannel: acceptChannel
0742839089e1 preps for \"showInBrowserMenus\"
Claus Gittinger <cg@exept.de>
parents: 11059
diff changeset
   447
                                acceptOnPointerLeave: true
0742839089e1 preps for \"showInBrowserMenus\"
Claus Gittinger <cg@exept.de>
parents: 11059
diff changeset
   448
                                comboList: cvsRootPrototypeList
0742839089e1 preps for \"showInBrowserMenus\"
Claus Gittinger <cg@exept.de>
parents: 11059
diff changeset
   449
                              )
0742839089e1 preps for \"showInBrowserMenus\"
Claus Gittinger <cg@exept.de>
parents: 11059
diff changeset
   450
                             (HorizontalPanelViewSpec
0742839089e1 preps for \"showInBrowserMenus\"
Claus Gittinger <cg@exept.de>
parents: 11059
diff changeset
   451
                                name: 'HorizontalPanel2'
0742839089e1 preps for \"showInBrowserMenus\"
Claus Gittinger <cg@exept.de>
parents: 11059
diff changeset
   452
                                layout: (LayoutFrame 64 0.25 327 0 -1 1 352 0)
0742839089e1 preps for \"showInBrowserMenus\"
Claus Gittinger <cg@exept.de>
parents: 11059
diff changeset
   453
                                horizontalLayout: fitSpace
0742839089e1 preps for \"showInBrowserMenus\"
Claus Gittinger <cg@exept.de>
parents: 11059
diff changeset
   454
                                verticalLayout: center
0742839089e1 preps for \"showInBrowserMenus\"
Claus Gittinger <cg@exept.de>
parents: 11059
diff changeset
   455
                                horizontalSpace: 3
0742839089e1 preps for \"showInBrowserMenus\"
Claus Gittinger <cg@exept.de>
parents: 11059
diff changeset
   456
                                verticalSpace: 3
0742839089e1 preps for \"showInBrowserMenus\"
Claus Gittinger <cg@exept.de>
parents: 11059
diff changeset
   457
                                component: 
0742839089e1 preps for \"showInBrowserMenus\"
Claus Gittinger <cg@exept.de>
parents: 11059
diff changeset
   458
                               (SpecCollection
0742839089e1 preps for \"showInBrowserMenus\"
Claus Gittinger <cg@exept.de>
parents: 11059
diff changeset
   459
                                  collection: (
0742839089e1 preps for \"showInBrowserMenus\"
Claus Gittinger <cg@exept.de>
parents: 11059
diff changeset
   460
                                   (ActionButtonSpec
0742839089e1 preps for \"showInBrowserMenus\"
Claus Gittinger <cg@exept.de>
parents: 11059
diff changeset
   461
                                      label: 'Add/Apply'
0742839089e1 preps for \"showInBrowserMenus\"
Claus Gittinger <cg@exept.de>
parents: 11059
diff changeset
   462
                                      name: 'addButton'
0742839089e1 preps for \"showInBrowserMenus\"
Claus Gittinger <cg@exept.de>
parents: 11059
diff changeset
   463
                                      activeHelpKey: addPerModuleRoot
0742839089e1 preps for \"showInBrowserMenus\"
Claus Gittinger <cg@exept.de>
parents: 11059
diff changeset
   464
                                      translateLabel: true
0742839089e1 preps for \"showInBrowserMenus\"
Claus Gittinger <cg@exept.de>
parents: 11059
diff changeset
   465
                                      tabable: true
0742839089e1 preps for \"showInBrowserMenus\"
Claus Gittinger <cg@exept.de>
parents: 11059
diff changeset
   466
                                      model: addPerModuleRoot
0742839089e1 preps for \"showInBrowserMenus\"
Claus Gittinger <cg@exept.de>
parents: 11059
diff changeset
   467
                                      extent: (Point 123 22)
0742839089e1 preps for \"showInBrowserMenus\"
Claus Gittinger <cg@exept.de>
parents: 11059
diff changeset
   468
                                    )
0742839089e1 preps for \"showInBrowserMenus\"
Claus Gittinger <cg@exept.de>
parents: 11059
diff changeset
   469
                                   (ActionButtonSpec
0742839089e1 preps for \"showInBrowserMenus\"
Claus Gittinger <cg@exept.de>
parents: 11059
diff changeset
   470
                                      label: 'Remove'
0742839089e1 preps for \"showInBrowserMenus\"
Claus Gittinger <cg@exept.de>
parents: 11059
diff changeset
   471
                                      name: 'removeButton'
0742839089e1 preps for \"showInBrowserMenus\"
Claus Gittinger <cg@exept.de>
parents: 11059
diff changeset
   472
                                      activeHelpKey: removePerModuleRoot
0742839089e1 preps for \"showInBrowserMenus\"
Claus Gittinger <cg@exept.de>
parents: 11059
diff changeset
   473
                                      translateLabel: true
0742839089e1 preps for \"showInBrowserMenus\"
Claus Gittinger <cg@exept.de>
parents: 11059
diff changeset
   474
                                      tabable: true
0742839089e1 preps for \"showInBrowserMenus\"
Claus Gittinger <cg@exept.de>
parents: 11059
diff changeset
   475
                                      model: removePerModuleRoot
0742839089e1 preps for \"showInBrowserMenus\"
Claus Gittinger <cg@exept.de>
parents: 11059
diff changeset
   476
                                      enableChannel: removeEnabled
0742839089e1 preps for \"showInBrowserMenus\"
Claus Gittinger <cg@exept.de>
parents: 11059
diff changeset
   477
                                      extent: (Point 124 22)
0742839089e1 preps for \"showInBrowserMenus\"
Claus Gittinger <cg@exept.de>
parents: 11059
diff changeset
   478
                                    )
0742839089e1 preps for \"showInBrowserMenus\"
Claus Gittinger <cg@exept.de>
parents: 11059
diff changeset
   479
                                   (ViewSpec
0742839089e1 preps for \"showInBrowserMenus\"
Claus Gittinger <cg@exept.de>
parents: 11059
diff changeset
   480
                                      name: 'Box11'
0742839089e1 preps for \"showInBrowserMenus\"
Claus Gittinger <cg@exept.de>
parents: 11059
diff changeset
   481
                                      extent: (Point 124 10)
0742839089e1 preps for \"showInBrowserMenus\"
Claus Gittinger <cg@exept.de>
parents: 11059
diff changeset
   482
                                    )
0742839089e1 preps for \"showInBrowserMenus\"
Claus Gittinger <cg@exept.de>
parents: 11059
diff changeset
   483
                                   (ActionButtonSpec
0742839089e1 preps for \"showInBrowserMenus\"
Claus Gittinger <cg@exept.de>
parents: 11059
diff changeset
   484
                                      label: 'CVS-Login'
0742839089e1 preps for \"showInBrowserMenus\"
Claus Gittinger <cg@exept.de>
parents: 11059
diff changeset
   485
                                      name: 'loginButton2'
0742839089e1 preps for \"showInBrowserMenus\"
Claus Gittinger <cg@exept.de>
parents: 11059
diff changeset
   486
                                      activeHelpKey: loginPerModuleRoot
0742839089e1 preps for \"showInBrowserMenus\"
Claus Gittinger <cg@exept.de>
parents: 11059
diff changeset
   487
                                      translateLabel: true
0742839089e1 preps for \"showInBrowserMenus\"
Claus Gittinger <cg@exept.de>
parents: 11059
diff changeset
   488
                                      tabable: true
0742839089e1 preps for \"showInBrowserMenus\"
Claus Gittinger <cg@exept.de>
parents: 11059
diff changeset
   489
                                      model: loginPerModuleRoot
0742839089e1 preps for \"showInBrowserMenus\"
Claus Gittinger <cg@exept.de>
parents: 11059
diff changeset
   490
                                      enableChannel: cvsLoginInModuleEnabled
0742839089e1 preps for \"showInBrowserMenus\"
Claus Gittinger <cg@exept.de>
parents: 11059
diff changeset
   491
                                      extent: (Point 124 22)
9822
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   492
                                    )
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   493
                                   )
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   494
                                 
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   495
                                )
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   496
                              )
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   497
                             )
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   498
                           
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   499
                          )
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   500
                        )
11061
0742839089e1 preps for \"showInBrowserMenus\"
Claus Gittinger <cg@exept.de>
parents: 11059
diff changeset
   501
                       )
0742839089e1 preps for \"showInBrowserMenus\"
Claus Gittinger <cg@exept.de>
parents: 11059
diff changeset
   502
                     
0742839089e1 preps for \"showInBrowserMenus\"
Claus Gittinger <cg@exept.de>
parents: 11059
diff changeset
   503
                    )
0742839089e1 preps for \"showInBrowserMenus\"
Claus Gittinger <cg@exept.de>
parents: 11059
diff changeset
   504
                    extent: (Point 800 389)
0742839089e1 preps for \"showInBrowserMenus\"
Claus Gittinger <cg@exept.de>
parents: 11059
diff changeset
   505
                  )
0742839089e1 preps for \"showInBrowserMenus\"
Claus Gittinger <cg@exept.de>
parents: 11059
diff changeset
   506
                 (FramedBoxSpec
0742839089e1 preps for \"showInBrowserMenus\"
Claus Gittinger <cg@exept.de>
parents: 11059
diff changeset
   507
                    label: 'Source Cache'
0742839089e1 preps for \"showInBrowserMenus\"
Claus Gittinger <cg@exept.de>
parents: 11059
diff changeset
   508
                    name: 'FramedBox1'
0742839089e1 preps for \"showInBrowserMenus\"
Claus Gittinger <cg@exept.de>
parents: 11059
diff changeset
   509
                    visibilityChannel: false
0742839089e1 preps for \"showInBrowserMenus\"
Claus Gittinger <cg@exept.de>
parents: 11059
diff changeset
   510
                    labelPosition: topLeft
0742839089e1 preps for \"showInBrowserMenus\"
Claus Gittinger <cg@exept.de>
parents: 11059
diff changeset
   511
                    translateLabel: true
0742839089e1 preps for \"showInBrowserMenus\"
Claus Gittinger <cg@exept.de>
parents: 11059
diff changeset
   512
                    component: 
0742839089e1 preps for \"showInBrowserMenus\"
Claus Gittinger <cg@exept.de>
parents: 11059
diff changeset
   513
                   (SpecCollection
0742839089e1 preps for \"showInBrowserMenus\"
Claus Gittinger <cg@exept.de>
parents: 11059
diff changeset
   514
                      collection: (
0742839089e1 preps for \"showInBrowserMenus\"
Claus Gittinger <cg@exept.de>
parents: 11059
diff changeset
   515
                       (ViewSpec
0742839089e1 preps for \"showInBrowserMenus\"
Claus Gittinger <cg@exept.de>
parents: 11059
diff changeset
   516
                          name: 'SourceCacheDirBox'
0742839089e1 preps for \"showInBrowserMenus\"
Claus Gittinger <cg@exept.de>
parents: 11059
diff changeset
   517
                          layout: (LayoutFrame 0 0 0 0 0 1 30 0)
9822
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   518
                          component: 
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   519
                         (SpecCollection
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   520
                            collection: (
11061
0742839089e1 preps for \"showInBrowserMenus\"
Claus Gittinger <cg@exept.de>
parents: 11059
diff changeset
   521
                             (LabelSpec
0742839089e1 preps for \"showInBrowserMenus\"
Claus Gittinger <cg@exept.de>
parents: 11059
diff changeset
   522
                                label: 'Source Cache Dir:'
0742839089e1 preps for \"showInBrowserMenus\"
Claus Gittinger <cg@exept.de>
parents: 11059
diff changeset
   523
                                name: 'SourceCacheDirLabel'
0742839089e1 preps for \"showInBrowserMenus\"
Claus Gittinger <cg@exept.de>
parents: 11059
diff changeset
   524
                                layout: (LayoutFrame 0 0.0 0 0 60 0.25 22 0)
0742839089e1 preps for \"showInBrowserMenus\"
Claus Gittinger <cg@exept.de>
parents: 11059
diff changeset
   525
                                translateLabel: true
0742839089e1 preps for \"showInBrowserMenus\"
Claus Gittinger <cg@exept.de>
parents: 11059
diff changeset
   526
                                adjust: right
9822
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   527
                              )
11061
0742839089e1 preps for \"showInBrowserMenus\"
Claus Gittinger <cg@exept.de>
parents: 11059
diff changeset
   528
                             (InputFieldSpec
0742839089e1 preps for \"showInBrowserMenus\"
Claus Gittinger <cg@exept.de>
parents: 11059
diff changeset
   529
                                name: 'SourceCacheDirEntryField'
0742839089e1 preps for \"showInBrowserMenus\"
Claus Gittinger <cg@exept.de>
parents: 11059
diff changeset
   530
                                layout: (LayoutFrame 64 0.25 0 0 0 1 22 0)
0742839089e1 preps for \"showInBrowserMenus\"
Claus Gittinger <cg@exept.de>
parents: 11059
diff changeset
   531
                                model: sourceCacheDir
0742839089e1 preps for \"showInBrowserMenus\"
Claus Gittinger <cg@exept.de>
parents: 11059
diff changeset
   532
                                immediateAccept: false
0742839089e1 preps for \"showInBrowserMenus\"
Claus Gittinger <cg@exept.de>
parents: 11059
diff changeset
   533
                                acceptOnReturn: true
0742839089e1 preps for \"showInBrowserMenus\"
Claus Gittinger <cg@exept.de>
parents: 11059
diff changeset
   534
                                acceptOnTab: true
0742839089e1 preps for \"showInBrowserMenus\"
Claus Gittinger <cg@exept.de>
parents: 11059
diff changeset
   535
                                acceptOnLostFocus: true
0742839089e1 preps for \"showInBrowserMenus\"
Claus Gittinger <cg@exept.de>
parents: 11059
diff changeset
   536
                                acceptOnPointerLeave: true
9822
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   537
                              )
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   538
                             )
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   539
                           
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   540
                          )
11061
0742839089e1 preps for \"showInBrowserMenus\"
Claus Gittinger <cg@exept.de>
parents: 11059
diff changeset
   541
                        )
0742839089e1 preps for \"showInBrowserMenus\"
Claus Gittinger <cg@exept.de>
parents: 11059
diff changeset
   542
                       (HorizontalPanelViewSpec
0742839089e1 preps for \"showInBrowserMenus\"
Claus Gittinger <cg@exept.de>
parents: 11059
diff changeset
   543
                          name: 'CacheActionsHorizontalPanel'
0742839089e1 preps for \"showInBrowserMenus\"
Claus Gittinger <cg@exept.de>
parents: 11059
diff changeset
   544
                          layout: (LayoutFrame 44 0.25 33 0 0 1 67 0)
0742839089e1 preps for \"showInBrowserMenus\"
Claus Gittinger <cg@exept.de>
parents: 11059
diff changeset
   545
                          horizontalLayout: fitSpace
0742839089e1 preps for \"showInBrowserMenus\"
Claus Gittinger <cg@exept.de>
parents: 11059
diff changeset
   546
                          verticalLayout: center
0742839089e1 preps for \"showInBrowserMenus\"
Claus Gittinger <cg@exept.de>
parents: 11059
diff changeset
   547
                          horizontalSpace: 3
0742839089e1 preps for \"showInBrowserMenus\"
Claus Gittinger <cg@exept.de>
parents: 11059
diff changeset
   548
                          verticalSpace: 3
0742839089e1 preps for \"showInBrowserMenus\"
Claus Gittinger <cg@exept.de>
parents: 11059
diff changeset
   549
                          component: 
0742839089e1 preps for \"showInBrowserMenus\"
Claus Gittinger <cg@exept.de>
parents: 11059
diff changeset
   550
                         (SpecCollection
0742839089e1 preps for \"showInBrowserMenus\"
Claus Gittinger <cg@exept.de>
parents: 11059
diff changeset
   551
                            collection: (
0742839089e1 preps for \"showInBrowserMenus\"
Claus Gittinger <cg@exept.de>
parents: 11059
diff changeset
   552
                             (ActionButtonSpec
0742839089e1 preps for \"showInBrowserMenus\"
Claus Gittinger <cg@exept.de>
parents: 11059
diff changeset
   553
                                label: 'Flush Cache now'
0742839089e1 preps for \"showInBrowserMenus\"
Claus Gittinger <cg@exept.de>
parents: 11059
diff changeset
   554
                                name: 'FlushCacheNowButton'
0742839089e1 preps for \"showInBrowserMenus\"
Claus Gittinger <cg@exept.de>
parents: 11059
diff changeset
   555
                                translateLabel: true
0742839089e1 preps for \"showInBrowserMenus\"
Claus Gittinger <cg@exept.de>
parents: 11059
diff changeset
   556
                                tabable: true
0742839089e1 preps for \"showInBrowserMenus\"
Claus Gittinger <cg@exept.de>
parents: 11059
diff changeset
   557
                                model: flushSourceCache
0742839089e1 preps for \"showInBrowserMenus\"
Claus Gittinger <cg@exept.de>
parents: 11059
diff changeset
   558
                                extent: (Point 261 22)
0742839089e1 preps for \"showInBrowserMenus\"
Claus Gittinger <cg@exept.de>
parents: 11059
diff changeset
   559
                              )
0742839089e1 preps for \"showInBrowserMenus\"
Claus Gittinger <cg@exept.de>
parents: 11059
diff changeset
   560
                             (ActionButtonSpec
0742839089e1 preps for \"showInBrowserMenus\"
Claus Gittinger <cg@exept.de>
parents: 11059
diff changeset
   561
                                label: 'Condense Cache now'
0742839089e1 preps for \"showInBrowserMenus\"
Claus Gittinger <cg@exept.de>
parents: 11059
diff changeset
   562
                                name: 'CondenseCacheNowButton'
0742839089e1 preps for \"showInBrowserMenus\"
Claus Gittinger <cg@exept.de>
parents: 11059
diff changeset
   563
                                translateLabel: true
0742839089e1 preps for \"showInBrowserMenus\"
Claus Gittinger <cg@exept.de>
parents: 11059
diff changeset
   564
                                tabable: true
0742839089e1 preps for \"showInBrowserMenus\"
Claus Gittinger <cg@exept.de>
parents: 11059
diff changeset
   565
                                model: condenseSourceCache
0742839089e1 preps for \"showInBrowserMenus\"
Claus Gittinger <cg@exept.de>
parents: 11059
diff changeset
   566
                                extent: (Point 261 22)
0742839089e1 preps for \"showInBrowserMenus\"
Claus Gittinger <cg@exept.de>
parents: 11059
diff changeset
   567
                              )
0742839089e1 preps for \"showInBrowserMenus\"
Claus Gittinger <cg@exept.de>
parents: 11059
diff changeset
   568
                             )
0742839089e1 preps for \"showInBrowserMenus\"
Claus Gittinger <cg@exept.de>
parents: 11059
diff changeset
   569
                           
0742839089e1 preps for \"showInBrowserMenus\"
Claus Gittinger <cg@exept.de>
parents: 11059
diff changeset
   570
                          )
9822
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   571
                        )
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   572
                       )
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   573
                     
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   574
                    )
11061
0742839089e1 preps for \"showInBrowserMenus\"
Claus Gittinger <cg@exept.de>
parents: 11059
diff changeset
   575
                    extent: (Point 800 95)
9822
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   576
                  )
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   577
                 )
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   578
               
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   579
              )
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   580
            )
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   581
           )
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   582
         
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   583
        )
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   584
      )
11069
8f99a7115be3 preps for \"showInBrowserMenus\"
Claus Gittinger <cg@exept.de>
parents: 11061
diff changeset
   585
11080
Claus Gittinger <cg@exept.de>
parents: 11069
diff changeset
   586
    "Modified: / 11-01-2012 / 15:39:25 / cg"
9822
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   587
! !
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   588
9858
2376163ad093 added: #managerClass
Claus Gittinger <cg@exept.de>
parents: 9845
diff changeset
   589
!CVSSourceCodeManagementSettingsAppl class methodsFor:'queries'!
2376163ad093 added: #managerClass
Claus Gittinger <cg@exept.de>
parents: 9845
diff changeset
   590
2376163ad093 added: #managerClass
Claus Gittinger <cg@exept.de>
parents: 9845
diff changeset
   591
managerClass
2376163ad093 added: #managerClass
Claus Gittinger <cg@exept.de>
parents: 9845
diff changeset
   592
    "backlink to my manager class (needed by the settings app)"
2376163ad093 added: #managerClass
Claus Gittinger <cg@exept.de>
parents: 9845
diff changeset
   593
2376163ad093 added: #managerClass
Claus Gittinger <cg@exept.de>
parents: 9845
diff changeset
   594
    ^ CVSSourceCodeManager
2376163ad093 added: #managerClass
Claus Gittinger <cg@exept.de>
parents: 9845
diff changeset
   595
2376163ad093 added: #managerClass
Claus Gittinger <cg@exept.de>
parents: 9845
diff changeset
   596
    "Created: / 19-04-2011 / 12:46:52 / cg"
2376163ad093 added: #managerClass
Claus Gittinger <cg@exept.de>
parents: 9845
diff changeset
   597
! !
2376163ad093 added: #managerClass
Claus Gittinger <cg@exept.de>
parents: 9845
diff changeset
   598
9822
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   599
!CVSSourceCodeManagementSettingsAppl methodsFor:'actions'!
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   600
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   601
addModule:module withData:data
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   602
    (self listOfModules includes:module) ifFalse:[
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   603
        self listOfModules add:module; sort.
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   604
    ].
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   605
    rootsPerModule at:module put:data.
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   606
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   607
    self updateModifiedChannel.
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   608
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   609
    "Created: / 08-11-2006 / 19:25:21 / cg"
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   610
!
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   611
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   612
basicReadSettings
10986
79f022aaa60d comment/format in: #removePerModuleRoot
Claus Gittinger <cg@exept.de>
parents: 10982
diff changeset
   613
    |infoPerModule|
79f022aaa60d comment/format in: #removePerModuleRoot
Claus Gittinger <cg@exept.de>
parents: 10982
diff changeset
   614
9822
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   615
    self initialize.
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   616
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   617
    self sourceCacheDir value:(CVSSourceCodeManager cacheDirectoryName).
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   618
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   619
    CVSSourceCodeManager forgetDisabledModules.
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   620
    repository := CVSSourceCodeManager repositoryName.
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   621
    repositoryHolder := (repository ? '') asValue.
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   622
10986
79f022aaa60d comment/format in: #removePerModuleRoot
Claus Gittinger <cg@exept.de>
parents: 10982
diff changeset
   623
    infoPerModule := CVSSourceCodeManager repositoryInfoPerModule.
79f022aaa60d comment/format in: #removePerModuleRoot
Claus Gittinger <cg@exept.de>
parents: 10982
diff changeset
   624
    infoPerModule keysAndValuesDo:[:module :info | 
79f022aaa60d comment/format in: #removePerModuleRoot
Claus Gittinger <cg@exept.de>
parents: 10982
diff changeset
   625
        rootsPerModule at:module put:(Array with:CVSSourceCodeManager with:info).
9822
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   626
    ].
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   627
9845
bfb845fd9ff2 added: #defaultRepositoryName
Claus Gittinger <cg@exept.de>
parents: 9822
diff changeset
   628
    self cvsRootHolder value:CVSSourceCodeManager repositoryName ? self class defaultRepositoryName.
9822
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   629
    self cvsExecutableHolder value:CVSSourceCodeManager cvsExecutable.
11059
e30cf8541827 class definition
Claus Gittinger <cg@exept.de>
parents: 11010
diff changeset
   630
    self cvsCommandTimeoutHolder value:CVSSourceCodeManager cvsCommandTimeout.
9822
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   631
    self verboseSourceCodeAccess value:CVSSourceCodeManager verboseSourceCodeAccess. 
11069
8f99a7115be3 preps for \"showInBrowserMenus\"
Claus Gittinger <cg@exept.de>
parents: 11061
diff changeset
   632
    self shownInBrowserMenusHolder value:CVSSourceCodeManager shownInBrowserMenus. 
9822
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   633
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   634
    rootsPerModule notNil ifTrue:[
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   635
        self listOfModules removeAll.
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   636
        listOfModules addAll:rootsPerModule keys asList.
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   637
    ].
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   638
"/    self selectedPerModuleRootChanged.
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   639
11069
8f99a7115be3 preps for \"showInBrowserMenus\"
Claus Gittinger <cg@exept.de>
parents: 11061
diff changeset
   640
    "Modified: / 10-01-2012 / 00:17:09 / cg"
9822
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   641
!
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   642
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   643
basicSaveSettings
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   644
    |modules nm fn|
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   645
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   646
    nm := self sourceCacheDir value.
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   647
    nm notEmptyOrNil ifTrue:[
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   648
        (fn := nm asFilename) exists ifFalse:[
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   649
            (self confirm:('CVS cache directory ''' , nm , ''' does not exist\create ?' withCRs)) ifTrue:[
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   650
                fn recursiveMakeDirectory; 
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   651
                   makeReadableForAll;
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   652
                   makeWritableForAll;
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   653
                   makeExecutableForAll.
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   654
            ]
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   655
        ].
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   656
        (fn isDirectory
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   657
        and:[fn isReadable
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   658
        and:[fn isWritable]]) ifTrue:[
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   659
            CVSSourceCodeManager cacheDirectoryName:nm.
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   660
        ] ifFalse:[
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   661
            self warn:'Invalid sourceCache directory.'
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   662
        ]
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   663
    ].
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   664
11059
e30cf8541827 class definition
Claus Gittinger <cg@exept.de>
parents: 11010
diff changeset
   665
    CVSSourceCodeManager cvsCommandTimeout:(self cvsCommandTimeoutHolder value).
e30cf8541827 class definition
Claus Gittinger <cg@exept.de>
parents: 11010
diff changeset
   666
9822
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   667
    (Array with:CVSSourceCodeManager) "self availableManagers" do:[:eachManager |
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   668
        |infoPerModule|
11059
e30cf8541827 class definition
Claus Gittinger <cg@exept.de>
parents: 11010
diff changeset
   669
9822
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   670
        modules := rootsPerModule select:[:entry | entry first == eachManager].
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   671
        infoPerModule := Dictionary new.
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   672
        modules keysAndValuesDo:[:module :entry | 
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   673
            entry first == eachManager ifTrue:[
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   674
                infoPerModule at:module put:(entry second).
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   675
            ].
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   676
        ].
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   677
        eachManager repositoryInfoPerModule:infoPerModule.
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   678
    ].
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   679
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   680
    self basicSaveCVSSettings.
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   681
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   682
    self sourceCacheDir value:(AbstractSourceCodeManager cacheDirectoryName).
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   683
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   684
    DebugView newDebugger. "/ ???
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   685
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   686
    self acceptChannel value.
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   687
11059
e30cf8541827 class definition
Claus Gittinger <cg@exept.de>
parents: 11010
diff changeset
   688
    "Modified: / 08-01-2012 / 18:59:58 / cg"
9822
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   689
!
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   690
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   691
condenseSourceCache
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   692
    self withWaitCursorDo:[ AbstractSourceCodeManager condenseSourceCache ].
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   693
    Method flushSourceStreamCache.
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   694
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   695
    "Modified: / 28-11-2006 / 12:21:33 / cg"
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   696
!
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   697
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   698
flushSourceCache
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   699
    self withWaitCursorDo:[ AbstractSourceCodeManager flushSourceCache ].
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   700
10740
Claus Gittinger <cg@exept.de>
parents: 9872
diff changeset
   701
    "Modified: / 30-09-2011 / 13:33:47 / cg"
9822
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   702
!
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   703
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   704
removePerModuleRoot
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   705
    |module|
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   706
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   707
    acceptChannel value:true.    
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   708
    module := self perModuleRootModule value.
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   709
    self listOfModules remove:module ifAbsent:nil.
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   710
    rootsPerModule removeKey:module ifAbsent:nil.
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   711
    self perModuleRootModule value:nil.
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   712
    self perModuleRoot value:nil.
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   713
    self updateModifiedChannel.
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   714
10986
79f022aaa60d comment/format in: #removePerModuleRoot
Claus Gittinger <cg@exept.de>
parents: 10982
diff changeset
   715
    "Modified (format): / 21-12-2011 / 14:25:29 / cg"
9822
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   716
! !
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   717
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   718
!CVSSourceCodeManagementSettingsAppl methodsFor:'actions - cvs'!
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   719
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   720
addPerModuleRoot
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   721
    |module cvsRoot|
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   722
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   723
    acceptChannel value:true.    
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   724
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   725
    module := self perModuleRootModule value.
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   726
    cvsRoot := self perModuleRoot value.
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   727
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   728
    cvsRoot size > 0 ifTrue:[
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   729
        self addModule:module withData:(Array with:CVSSourceCodeManager with:cvsRoot).
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   730
    ].
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   731
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   732
    "Modified: / 08-11-2006 / 19:27:39 / cg"
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   733
!
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   734
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   735
basicSaveCVSSettings
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   736
    |cvsRoot|
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   737
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   738
    repositoryHolder notNil ifTrue:[
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   739
        repositoryHolder value size > 0 ifTrue:[
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   740
            manager notNil ifTrue:[
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   741
                manager initializeForRepository:repositoryHolder value.
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   742
            ]
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   743
        ].
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   744
    ].
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   745
    CVSSourceCodeManager cvsExecutable:((self cvsExecutableHolder value ? '') withoutSeparators).
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   746
    CVSSourceCodeManager initializeForRepository:(cvsRoot := self cvsRootHolder value).
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   747
    CVSSourceCodeManager verboseSourceCodeAccess: verboseSourceCodeAccess value. 
11069
8f99a7115be3 preps for \"showInBrowserMenus\"
Claus Gittinger <cg@exept.de>
parents: 11061
diff changeset
   748
    CVSSourceCodeManager shownInBrowserMenus:self shownInBrowserMenusHolder value. 
9822
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   749
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   750
    RecentlyUsedCVSRoots isNil ifTrue:[
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   751
        RecentlyUsedCVSRoots := OrderedCollection new.
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   752
    ].
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   753
    (RecentlyUsedCVSRoots includes:cvsRoot) ifFalse:[
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   754
        RecentlyUsedCVSRoots addFirst:cvsRoot.
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   755
        RecentlyUsedCVSRoots size > 20 ifTrue:[
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   756
            RecentlyUsedCVSRoots removeLast.
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   757
        ].
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   758
    ].
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   759
11069
8f99a7115be3 preps for \"showInBrowserMenus\"
Claus Gittinger <cg@exept.de>
parents: 11061
diff changeset
   760
    "Modified: / 10-01-2012 / 00:18:15 / cg"
9822
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   761
!
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   762
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   763
cvsLogin:cvsRoot
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   764
    |cmd term|
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   765
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   766
    VT100TerminalView isNil ifTrue:[
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   767
        self warn:'Function not available'.
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   768
        ^ self.
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   769
    ].
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   770
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   771
    cmd := 'cvs -d ' , cvsRoot , ' login ; exit'.
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   772
    term := VT100TerminalView open.
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   773
    term topView 
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   774
        label:'CVS Login for ' , cvsRoot;
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   775
        waitUntilVisible.
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   776
    term shellTerminateAction:[
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   777
        "/ term topView destroy
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   778
    ].
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   779
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   780
    term showCR:(('Please enter the CVS-password then close this terminal window.') allBold colorizeAllWith:Color red).
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   781
    term showCR:''.
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   782
    term endEntry.
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   783
    Delay waitForSeconds:1.
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   784
    term sendLine:cmd.
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   785
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   786
    "
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   787
     self basicNew cvsLogin:':pserver:stx@exept.eu.org:/stx'
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   788
    "
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   789
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   790
    "Modified: / 25-08-2010 / 23:03:19 / cg"
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   791
!
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   792
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   793
loginCVSRoot
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   794
    self cvsLogin:cvsRootHolder value.
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   795
!
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   796
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   797
loginPerModuleRoot
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   798
    self cvsLogin:perModuleRoot value.
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   799
! !
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   800
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   801
!CVSSourceCodeManagementSettingsAppl methodsFor:'aspects'!
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   802
11059
e30cf8541827 class definition
Claus Gittinger <cg@exept.de>
parents: 11010
diff changeset
   803
cvsCommandTimeoutHolder
e30cf8541827 class definition
Claus Gittinger <cg@exept.de>
parents: 11010
diff changeset
   804
    cvsCommandTimeoutHolder isNil ifTrue:[
e30cf8541827 class definition
Claus Gittinger <cg@exept.de>
parents: 11010
diff changeset
   805
        cvsCommandTimeoutHolder := ValueHolder new.
e30cf8541827 class definition
Claus Gittinger <cg@exept.de>
parents: 11010
diff changeset
   806
        cvsCommandTimeoutHolder onChangeSend:#updateModifiedChannel to:self
e30cf8541827 class definition
Claus Gittinger <cg@exept.de>
parents: 11010
diff changeset
   807
    ].
e30cf8541827 class definition
Claus Gittinger <cg@exept.de>
parents: 11010
diff changeset
   808
    ^ cvsCommandTimeoutHolder.
e30cf8541827 class definition
Claus Gittinger <cg@exept.de>
parents: 11010
diff changeset
   809
e30cf8541827 class definition
Claus Gittinger <cg@exept.de>
parents: 11010
diff changeset
   810
    "Created: / 08-01-2012 / 18:57:05 / cg"
e30cf8541827 class definition
Claus Gittinger <cg@exept.de>
parents: 11010
diff changeset
   811
!
e30cf8541827 class definition
Claus Gittinger <cg@exept.de>
parents: 11010
diff changeset
   812
9822
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   813
cvsExecutableHolder
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   814
    cvsExecutableHolder isNil ifTrue:[
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   815
        cvsExecutableHolder := ValueHolder new.
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   816
        cvsExecutableHolder onChangeSend:#updateModifiedChannel to:self
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   817
    ].
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   818
    ^ cvsExecutableHolder.
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   819
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   820
    "Created: / 21-09-2006 / 15:37:06 / cg"
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   821
!
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   822
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   823
cvsLoginEnabled
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   824
    cvsLoginEnabled isNil ifTrue:[
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   825
        cvsLoginEnabled := false asValue.
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   826
    ].
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   827
    ^ cvsLoginEnabled.
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   828
!
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   829
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   830
cvsLoginInModuleEnabled
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   831
    cvsLoginInModuleEnabled isNil ifTrue:[
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   832
        cvsLoginInModuleEnabled := false asValue.
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   833
    ].
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   834
    ^ cvsLoginInModuleEnabled.
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   835
!
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   836
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   837
cvsRootHolder
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   838
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   839
    cvsRootHolder isNil ifTrue:[
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   840
        cvsRootHolder := self cvsRootFromCVSRootFileOrNil asValue.
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   841
        cvsRootHolder addDependent:self.
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   842
    ].
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   843
    ^ cvsRootHolder.
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   844
!
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   845
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   846
cvsRootPrototypeList
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   847
    |cvsRoot prototypeList|
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   848
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   849
    cvsRootPrototypeList isNil ifTrue:[
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   850
        prototypeList := OrderedSet new.
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   851
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   852
        cvsRoot := self cvsRootFromCVSRootFileOrNil.
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   853
        cvsRoot notNil ifTrue:[
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   854
            prototypeList add:cvsRoot    
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   855
        ].
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   856
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   857
        prototypeList add:(':pserver:cvs@cvs.smalltalk-x.de:/cvs/stx').
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   858
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   859
        OperatingSystem getDomainName = 'bh.exept.de' ifTrue:[
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   860
            prototypeList add:(':pserver:' , OperatingSystem getLoginName , '@cvs.bh.exept.de:/cvs/stx')
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   861
        ] ifFalse:[
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   862
            prototypeList add:(':pserver:' , OperatingSystem getLoginName , '@CVSHOST:/cvs/stx').
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   863
        ].
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   864
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   865
        OperatingSystem isUNIXlike ifTrue:[
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   866
            prototypeList add:'/cvs/stx'.
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   867
        ] ifFalse:[
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   868
            OperatingSystem isMSDOSlike ifTrue:[
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   869
                prototypeList addFirst:':local:c:\cvs\stx'.
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   870
            ] ifFalse:[
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   871
                "there might be more here in the future"
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   872
            ]
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   873
        ].
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   874
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   875
        cvsRootPrototypeList := prototypeList asOrderedCollection.
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   876
    ].
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   877
    ^ cvsRootPrototypeList.
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   878
!
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   879
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   880
listOfModules
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   881
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   882
    listOfModules isNil ifTrue:[
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   883
        rootsPerModule notNil ifTrue:[
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   884
            listOfModules := rootsPerModule keys asList.
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   885
        ].
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   886
        listOfModules sort.
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   887
        listOfModules onChangeSend:#updateModifiedChannel to:self
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   888
    ].
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   889
    ^ listOfModules.
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   890
!
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   891
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   892
perModuleRoot
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   893
    perModuleRoot isNil ifTrue:[
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   894
        perModuleRoot := ValueHolder new.
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   895
        perModuleRoot addDependent:self.
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   896
    ].
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   897
    ^ perModuleRoot.
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   898
!
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   899
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   900
perModuleRootModule
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   901
    perModuleRootModule isNil ifTrue:[
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   902
        perModuleRootModule := ValueHolder new.
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   903
    ].
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   904
    ^ perModuleRootModule.
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   905
!
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   906
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   907
removeEnabled
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   908
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   909
    removeEnabled isNil ifTrue:[
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   910
        removeEnabled := false asValue.
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   911
    ].
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   912
    ^ removeEnabled.
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   913
!
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   914
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   915
selectedPerModuleRoot
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   916
    selectedPerModuleRoot isNil ifTrue:[
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   917
        selectedPerModuleRoot := ValueHolder new.
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   918
        selectedPerModuleRoot addDependent:self.
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   919
    ].
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   920
    ^ selectedPerModuleRoot.
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   921
!
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   922
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   923
verboseSourceCodeAccess
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   924
    verboseSourceCodeAccess isNil ifTrue:[
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   925
        verboseSourceCodeAccess := false asValue.
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   926
        verboseSourceCodeAccess onChangeSend:#updateModifiedChannel to:self
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   927
    ].
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   928
    ^ verboseSourceCodeAccess.
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   929
! !
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   930
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   931
!CVSSourceCodeManagementSettingsAppl methodsFor:'change & update'!
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   932
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   933
selectedPerModuleRootChanged
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   934
    |module entry|
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   935
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   936
    self acceptChannel value:true.    
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   937
    module := self selectedPerModuleRoot value.
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   938
    module isNil ifTrue:[ 
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   939
        self removeEnabled value:false.
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   940
        self perModuleRootModule value:' '.
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   941
        self perModuleRoot value:''.
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   942
        ^ self
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   943
    ].
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   944
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   945
    entry := rootsPerModule at:module ifAbsent:#().    
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   946
    (entry first = CVSSourceCodeManager) ifTrue:[
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   947
        self removeEnabled value:true.
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   948
        self perModuleRootModule value:module.
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   949
        self perModuleRoot value:(entry at:2).
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   950
    ] ifFalse:[
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   951
        self removeEnabled value:false.
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   952
        self perModuleRootModule value:module , ' ',('<<use ',entry first managerTypeName,'>>') allBold.
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   953
        self perModuleRoot value:''.
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   954
    ].
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   955
!
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   956
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   957
sourceDirChanged
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   958
    |nm fn previousDir|
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   959
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   960
    manager isNil ifTrue:[^ self].
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   961
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   962
    previousDir := AbstractSourceCodeManager cacheDirectoryName.
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   963
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   964
    nm := self sourceCacheDir value.
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   965
    nm isEmptyOrNil ifTrue:[^ self].
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   966
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   967
    (fn := nm asFilename) exists ifFalse:[
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   968
        (self confirm:(resources 
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   969
                            stringWithCRs:'SourceCache directory "%1" does not exist.\Create ?'
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   970
                            with:nm)
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   971
        ) ifFalse:[
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   972
            self sourceCacheDir value:previousDir.
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   973
            ^ self.
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   974
        ].
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   975
        fn 
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   976
            recursiveMakeDirectory; 
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   977
            makeReadableForAll;
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   978
            makeWritableForAll;
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   979
            makeExecutableForAll.
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   980
        ^ self.
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   981
    ].
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   982
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   983
    (fn isDirectory) ifFalse:[
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   984
        self warn:(resources 
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   985
                            stringWithCRs:'Not a directory: "%1"'
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   986
                            with:nm).
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   987
        self sourceCacheDir value:previousDir.
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   988
        ^ self.
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   989
    ].
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   990
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   991
    (fn isReadable and:[fn isWritable]) ifFalse:[
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   992
        (self confirm:(resources 
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   993
                            stringWithCRs:'SourceCache directory "%1" is not both readable and writable.\Change ?'
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   994
                            with:nm)
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   995
        ) ifFalse:[
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   996
            self sourceCacheDir value:previousDir.
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   997
            ^ self.
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   998
        ].
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   999
        fn
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1000
            makeReadableForAll;
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1001
            makeWritableForAll;
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1002
            makeExecutableForAll.
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1003
    ].
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1004
"/    (fn isReadableForAll and:[fn isWritableForAll]) ifFalse:[
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1005
"/        (self confirm:(resources 
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1006
"/                            stringWithCRs:'SourceCache directory "%1" is not both readable and writable for other users.\Change ?'
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1007
"/                            with:nm)
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1008
"/        ) ifTrue:[
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1009
"/            fn
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1010
"/                makeReadableForAll;
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1011
"/                makeWritableForAll;
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1012
"/                makeExecutableForAll.
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1013
"/        ]
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1014
"/    ].
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1015
!
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1016
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1017
update:something with:aParameter from:changedObject 
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1018
    "/ common    
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1019
    changedObject == sourceCacheDir ifTrue:[
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1020
        self sourceDirChanged.
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1021
        self updateModifiedChannel.
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1022
        ^ self
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1023
    ].
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1024
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1025
    "/ cvs
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1026
    changedObject == cvsRootHolder ifTrue:[
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1027
        self updateModifiedChannel.
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1028
        self updateLoginEnableHolders.
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1029
        ^ self
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1030
    ].
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1031
    changedObject == perModuleRoot ifTrue:[
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1032
        self updateLoginEnableHolders.
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1033
        ^ self
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1034
    ].
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1035
    changedObject == selectedPerModuleRoot ifTrue:[
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1036
        self selectedPerModuleRootChanged.
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1037
        ^ self
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1038
    ].
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1039
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1040
    super update:something with:aParameter from:changedObject
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1041
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1042
    "Modified: / 18-04-2011 / 18:18:04 / cg"
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1043
!
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1044
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1045
updateLoginEnableHolders
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1046
    self cvsLoginEnabled value:((cvsRootHolder value ? '') startsWith:':pserver:').
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1047
    self cvsLoginInModuleEnabled value:((perModuleRoot value ? '') startsWith:':pserver:').
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1048
! !
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1049
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1050
!CVSSourceCodeManagementSettingsAppl methodsFor:'help'!
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1051
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1052
helpFilename
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1053
    ^ 'Launcher/cvsSetup.html'
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1054
! !
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1055
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1056
!CVSSourceCodeManagementSettingsAppl methodsFor:'initialization & release'!
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1057
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1058
initialize
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1059
    (AbstractSourceCodeManager notNil) ifTrue:[ AbstractSourceCodeManager autoload ].
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1060
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1061
    sourceCacheDir := nil asValue.
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1062
    sourceCacheDir addDependent:self.
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1063
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1064
    repositoryHolder := '' asValue.
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1065
    rootsPerModule := Dictionary new.
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1066
11124
dbde03bc2659 refactored
Claus Gittinger <cg@exept.de>
parents: 11080
diff changeset
  1067
    CVSSourceCodeManager repositoryInfoPerModule 
dbde03bc2659 refactored
Claus Gittinger <cg@exept.de>
parents: 11080
diff changeset
  1068
        keysAndValuesDo:[:module :info |
dbde03bc2659 refactored
Claus Gittinger <cg@exept.de>
parents: 11080
diff changeset
  1069
            module withoutSeparators ~= module ifTrue:[
dbde03bc2659 refactored
Claus Gittinger <cg@exept.de>
parents: 11080
diff changeset
  1070
                self halt:'should not happen any longer'
9822
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1071
            ].
11124
dbde03bc2659 refactored
Claus Gittinger <cg@exept.de>
parents: 11080
diff changeset
  1072
            rootsPerModule at:module put:(Array with:CVSSourceCodeManager with:info)
dbde03bc2659 refactored
Claus Gittinger <cg@exept.de>
parents: 11080
diff changeset
  1073
        ].
9822
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1074
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1075
    super initialize.
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1076
11124
dbde03bc2659 refactored
Claus Gittinger <cg@exept.de>
parents: 11080
diff changeset
  1077
    "Modified: / 14-01-2012 / 20:28:00 / cg"
9822
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1078
! !
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1079
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1080
!CVSSourceCodeManagementSettingsAppl methodsFor:'queries'!
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1081
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1082
cvsRootFromCVSRootFileOrNil
11124
dbde03bc2659 refactored
Claus Gittinger <cg@exept.de>
parents: 11080
diff changeset
  1083
    "see if there is a local CVS directory; if so, extract a default CVSRoot from it"
dbde03bc2659 refactored
Claus Gittinger <cg@exept.de>
parents: 11080
diff changeset
  1084
9822
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1085
    |cvsDir cvsRootFile cvsRoot|
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1086
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1087
    cvsDir := 'CVS' asFilename.
10999
ad10cd0cd55e refactoring
Claus Gittinger <cg@exept.de>
parents: 10986
diff changeset
  1088
    cvsDir isDirectory ifFalse:[ ^ nil ].
ad10cd0cd55e refactoring
Claus Gittinger <cg@exept.de>
parents: 10986
diff changeset
  1089
ad10cd0cd55e refactoring
Claus Gittinger <cg@exept.de>
parents: 10986
diff changeset
  1090
    cvsRootFile := cvsDir construct:'Root'.
ad10cd0cd55e refactoring
Claus Gittinger <cg@exept.de>
parents: 10986
diff changeset
  1091
    cvsRootFile isReadable ifTrue:[
ad10cd0cd55e refactoring
Claus Gittinger <cg@exept.de>
parents: 10986
diff changeset
  1092
        cvsRoot := cvsRootFile contents firstIfEmpty:nil.
9822
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1093
    ].
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1094
    ^ cvsRoot
10999
ad10cd0cd55e refactoring
Claus Gittinger <cg@exept.de>
parents: 10986
diff changeset
  1095
ad10cd0cd55e refactoring
Claus Gittinger <cg@exept.de>
parents: 10986
diff changeset
  1096
    "Modified: / 22-12-2011 / 00:12:42 / cg"
11124
dbde03bc2659 refactored
Claus Gittinger <cg@exept.de>
parents: 11080
diff changeset
  1097
    "Modified (comment): / 14-01-2012 / 20:29:11 / cg"
9822
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1098
!
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1099
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1100
hasUnsavedChanges
10999
ad10cd0cd55e refactoring
Claus Gittinger <cg@exept.de>
parents: 10986
diff changeset
  1101
    |modules|
ad10cd0cd55e refactoring
Claus Gittinger <cg@exept.de>
parents: 10986
diff changeset
  1102
9822
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1103
    ((CVSSourceCodeManager cacheDirectoryName ? '') ~= (self sourceCacheDir value ? '')) ifTrue:[^ true].
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1104
10999
ad10cd0cd55e refactoring
Claus Gittinger <cg@exept.de>
parents: 10986
diff changeset
  1105
    modules := rootsPerModule select:[:entry | entry first == CVSSourceCodeManager].
9822
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1106
10999
ad10cd0cd55e refactoring
Claus Gittinger <cg@exept.de>
parents: 10986
diff changeset
  1107
    CVSSourceCodeManager repositoryInfoPerModule keysAndValuesDo:[:module :info |
ad10cd0cd55e refactoring
Claus Gittinger <cg@exept.de>
parents: 10986
diff changeset
  1108
        ((modules includesKey:module) and:[info = (modules at:module) second])
ad10cd0cd55e refactoring
Claus Gittinger <cg@exept.de>
parents: 10986
diff changeset
  1109
        ifFalse:[^ true].
ad10cd0cd55e refactoring
Claus Gittinger <cg@exept.de>
parents: 10986
diff changeset
  1110
    ].
ad10cd0cd55e refactoring
Claus Gittinger <cg@exept.de>
parents: 10986
diff changeset
  1111
    modules keysAndValuesDo:[:module :info|
ad10cd0cd55e refactoring
Claus Gittinger <cg@exept.de>
parents: 10986
diff changeset
  1112
        ((CVSSourceCodeManager repositoryInfoPerModule includesKey:module) and:[(CVSSourceCodeManager repositoryInfoPerModule at:module) = info second])
ad10cd0cd55e refactoring
Claus Gittinger <cg@exept.de>
parents: 10986
diff changeset
  1113
        ifFalse:[^ true].
9822
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1114
    ].
11059
e30cf8541827 class definition
Claus Gittinger <cg@exept.de>
parents: 11010
diff changeset
  1115
    (CVSSourceCodeManager cvsCommandTimeout ~= cvsCommandTimeoutHolder value)
e30cf8541827 class definition
Claus Gittinger <cg@exept.de>
parents: 11010
diff changeset
  1116
        ifTrue:[^ true].
9822
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1117
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1118
    ((CVSSourceCodeManager cvsExecutable ? '') ~= (self cvsExecutableHolder value ? '') withoutSeparators)  
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1119
        ifTrue:[^ true].
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1120
9845
bfb845fd9ff2 added: #defaultRepositoryName
Claus Gittinger <cg@exept.de>
parents: 9822
diff changeset
  1121
    (CVSSourceCodeManager repositoryName ? self class defaultRepositoryName ~= self cvsRootHolder value)    
9822
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1122
        ifTrue:[^ true].
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1123
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1124
    (CVSSourceCodeManager verboseSourceCodeAccess ~= self verboseSourceCodeAccess value) 
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1125
        ifTrue:[^ true].
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1126
11069
8f99a7115be3 preps for \"showInBrowserMenus\"
Claus Gittinger <cg@exept.de>
parents: 11061
diff changeset
  1127
    (CVSSourceCodeManager shownInBrowserMenus ~= self shownInBrowserMenusHolder value)
8f99a7115be3 preps for \"showInBrowserMenus\"
Claus Gittinger <cg@exept.de>
parents: 11061
diff changeset
  1128
        ifTrue:[^ true].
8f99a7115be3 preps for \"showInBrowserMenus\"
Claus Gittinger <cg@exept.de>
parents: 11061
diff changeset
  1129
9822
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1130
    ^ false
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1131
11069
8f99a7115be3 preps for \"showInBrowserMenus\"
Claus Gittinger <cg@exept.de>
parents: 11061
diff changeset
  1132
    "Modified: / 10-01-2012 / 00:19:03 / cg"
9822
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1133
! !
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1134
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1135
!CVSSourceCodeManagementSettingsAppl class methodsFor:'documentation'!
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1136
10982
Claus Gittinger <cg@exept.de>
parents: 10981
diff changeset
  1137
version
11124
dbde03bc2659 refactored
Claus Gittinger <cg@exept.de>
parents: 11080
diff changeset
  1138
    ^ '$Header: /cvs/stx/stx/libtool/CVSSourceCodeManagementSettingsAppl.st,v 1.17 2012-01-14 20:00:54 cg Exp $'
10982
Claus Gittinger <cg@exept.de>
parents: 10981
diff changeset
  1139
!
Claus Gittinger <cg@exept.de>
parents: 10981
diff changeset
  1140
9822
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1141
version_CVS
11124
dbde03bc2659 refactored
Claus Gittinger <cg@exept.de>
parents: 11080
diff changeset
  1142
    ^ '$Header: /cvs/stx/stx/libtool/CVSSourceCodeManagementSettingsAppl.st,v 1.17 2012-01-14 20:00:54 cg Exp $'
9822
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1143
! !