CVSSourceCodeManagementSettingsAppl.st
author Claus Gittinger <cg@exept.de>
Mon, 09 Mar 2020 17:07:12 +0100
changeset 19566 73ad591a304a
parent 19448 ff159af1959c
permissions -rw-r--r--
#BUGFIX by cg class: NewSystemBrowser changed: #codeMenuRenameClassVariable:inClass: (send #isEmptyOrNil instead of #isEmpty)
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
16155
2e3a4d0ea38b #UI_ENHANCEMENT
Claus Gittinger <cg@exept.de>
parents: 14403
diff changeset
    14
"{ NameSpace: Smalltalk }"
2e3a4d0ea38b #UI_ENHANCEMENT
Claus Gittinger <cg@exept.de>
parents: 14403
diff changeset
    15
9858
2376163ad093 added: #managerClass
Claus Gittinger <cg@exept.de>
parents: 9845
diff changeset
    16
AbstractSourceCodeManagementSettingsAppl subclass:#CVSSourceCodeManagementSettingsAppl
18917
4b5973321b85 #OTHER by cg
Claus Gittinger <cg@exept.de>
parents: 18913
diff changeset
    17
	instanceVariableNames:'cvsRootPrototypeList addPerModuleRoot perModuleRootModule
4b5973321b85 #OTHER by cg
Claus Gittinger <cg@exept.de>
parents: 18913
diff changeset
    18
		removePerModuleRoot perModuleRoot cvsRootHolder
4b5973321b85 #OTHER by cg
Claus Gittinger <cg@exept.de>
parents: 18913
diff changeset
    19
		selectedPerModuleRoot cvsBinDirectoryHolder cvsExecutableHolder
4b5973321b85 #OTHER by cg
Claus Gittinger <cg@exept.de>
parents: 18913
diff changeset
    20
		cvsCommandTimeoutHolder rootsPerModule cvsLoginInModuleEnabled
4b5973321b85 #OTHER by cg
Claus Gittinger <cg@exept.de>
parents: 18913
diff changeset
    21
		cvsLoginEnabled cvsInitInModuleEnabled cvsLoginInfoTextHolder'
10999
ad10cd0cd55e refactoring
Claus Gittinger <cg@exept.de>
parents: 10986
diff changeset
    22
	classVariableNames:'RecentlyUsedCVSRoots'
9822
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    23
	poolDictionaries:''
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    24
	category:'System-SourceCodeManagement'
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    25
!
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    26
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    27
!CVSSourceCodeManagementSettingsAppl class methodsFor:'documentation'!
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    28
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    29
copyright
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    30
"
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    31
 COPYRIGHT (c) 2002 by eXept Software AG
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    32
              All Rights Reserved
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    33
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    34
 This software is furnished under a license and may be used
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    35
 only in accordance with the terms of that license and with the
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    36
 inclusion of the above copyright notice.   This software may not
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    37
 be provided or otherwise made available to, or used by, any
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    38
 other person.  No title to or ownership of the software is
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    39
 hereby transferred.
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
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    43
documentation
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    44
"
10981
d0794413b834 class definition
Claus Gittinger <cg@exept.de>
parents: 10740
diff changeset
    45
    CVS part of the source code settings. 
d0794413b834 class definition
Claus Gittinger <cg@exept.de>
parents: 10740
diff changeset
    46
    This settings app controls the parameters of the CVSSourceCodeManager.
d0794413b834 class definition
Claus Gittinger <cg@exept.de>
parents: 10740
diff changeset
    47
11335
e8f40489e5ca changed: #documentation
Claus Gittinger <cg@exept.de>
parents: 11331
diff changeset
    48
    Extracted for pluggability from SourceCodeManagerSettings in the AbstractSettingsApplication.
9822
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    49
"
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    50
! !
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    51
9845
bfb845fd9ff2 added: #defaultRepositoryName
Claus Gittinger <cg@exept.de>
parents: 9822
diff changeset
    52
!CVSSourceCodeManagementSettingsAppl class methodsFor:'defaults'!
bfb845fd9ff2 added: #defaultRepositoryName
Claus Gittinger <cg@exept.de>
parents: 9822
diff changeset
    53
bfb845fd9ff2 added: #defaultRepositoryName
Claus Gittinger <cg@exept.de>
parents: 9822
diff changeset
    54
defaultRepositoryName
bfb845fd9ff2 added: #defaultRepositoryName
Claus Gittinger <cg@exept.de>
parents: 9822
diff changeset
    55
bfb845fd9ff2 added: #defaultRepositoryName
Claus Gittinger <cg@exept.de>
parents: 9822
diff changeset
    56
    ^ '/cvs/stx'
bfb845fd9ff2 added: #defaultRepositoryName
Claus Gittinger <cg@exept.de>
parents: 9822
diff changeset
    57
bfb845fd9ff2 added: #defaultRepositoryName
Claus Gittinger <cg@exept.de>
parents: 9822
diff changeset
    58
    "Created: / 19-04-2011 / 11:00:11 / cg"
bfb845fd9ff2 added: #defaultRepositoryName
Claus Gittinger <cg@exept.de>
parents: 9822
diff changeset
    59
! !
bfb845fd9ff2 added: #defaultRepositoryName
Claus Gittinger <cg@exept.de>
parents: 9822
diff changeset
    60
11006
7491dc45fec7 added: #helpSpec
Claus Gittinger <cg@exept.de>
parents: 10999
diff changeset
    61
!CVSSourceCodeManagementSettingsAppl class methodsFor:'help specs'!
7491dc45fec7 added: #helpSpec
Claus Gittinger <cg@exept.de>
parents: 10999
diff changeset
    62
7491dc45fec7 added: #helpSpec
Claus Gittinger <cg@exept.de>
parents: 10999
diff changeset
    63
helpSpec
7491dc45fec7 added: #helpSpec
Claus Gittinger <cg@exept.de>
parents: 10999
diff changeset
    64
    "This resource specification was automatically generated
7491dc45fec7 added: #helpSpec
Claus Gittinger <cg@exept.de>
parents: 10999
diff changeset
    65
     by the UIHelpTool of ST/X."
7491dc45fec7 added: #helpSpec
Claus Gittinger <cg@exept.de>
parents: 10999
diff changeset
    66
7491dc45fec7 added: #helpSpec
Claus Gittinger <cg@exept.de>
parents: 10999
diff changeset
    67
    "Do not manually edit this!! If it is corrupted,
7491dc45fec7 added: #helpSpec
Claus Gittinger <cg@exept.de>
parents: 10999
diff changeset
    68
     the UIHelpTool may not be able to read the specification."
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
    "
7491dc45fec7 added: #helpSpec
Claus Gittinger <cg@exept.de>
parents: 10999
diff changeset
    71
     UIHelpTool openOnClass:CVSSourceCodeManagementSettingsAppl    
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
7491dc45fec7 added: #helpSpec
Claus Gittinger <cg@exept.de>
parents: 10999
diff changeset
    74
    <resource: #help>
7491dc45fec7 added: #helpSpec
Claus Gittinger <cg@exept.de>
parents: 10999
diff changeset
    75
7491dc45fec7 added: #helpSpec
Claus Gittinger <cg@exept.de>
parents: 10999
diff changeset
    76
    ^ super helpSpec addPairsFrom:#(
7491dc45fec7 added: #helpSpec
Claus Gittinger <cg@exept.de>
parents: 10999
diff changeset
    77
7491dc45fec7 added: #helpSpec
Claus Gittinger <cg@exept.de>
parents: 10999
diff changeset
    78
#addPerModuleRoot
12749
88644659f5bb class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 12420
diff changeset
    79
'Add this module-CVSRoot combination or update the corresponding per-module entry'
88644659f5bb class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 12420
diff changeset
    80
88644659f5bb class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 12420
diff changeset
    81
#addPerPackageManager
88644659f5bb class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 12420
diff changeset
    82
'Add a new per-package manager definition'
11006
7491dc45fec7 added: #helpSpec
Claus Gittinger <cg@exept.de>
parents: 10999
diff changeset
    83
11840
abf92167eea8 added: #addPublicExeptRepository
Claus Gittinger <cg@exept.de>
parents: 11733
diff changeset
    84
#addPublicExeptRepository
abf92167eea8 added: #addPublicExeptRepository
Claus Gittinger <cg@exept.de>
parents: 11733
diff changeset
    85
'Add an entry to access stx''s sources from the public exept repository'
abf92167eea8 added: #addPublicExeptRepository
Claus Gittinger <cg@exept.de>
parents: 11733
diff changeset
    86
11006
7491dc45fec7 added: #helpSpec
Claus Gittinger <cg@exept.de>
parents: 10999
diff changeset
    87
#browseSourceCache
7491dc45fec7 added: #helpSpec
Claus Gittinger <cg@exept.de>
parents: 10999
diff changeset
    88
'Open a file browser on the source cache directory'
7491dc45fec7 added: #helpSpec
Claus Gittinger <cg@exept.de>
parents: 10999
diff changeset
    89
7491dc45fec7 added: #helpSpec
Claus Gittinger <cg@exept.de>
parents: 10999
diff changeset
    90
#checkClassesWhenCheckingIn
11733
d11449883e43 changed: #helpSpec
Claus Gittinger <cg@exept.de>
parents: 11621
diff changeset
    91
'Before checking into the repository, check classes for leftover halt and breakpoint code'
11006
7491dc45fec7 added: #helpSpec
Claus Gittinger <cg@exept.de>
parents: 10999
diff changeset
    92
7491dc45fec7 added: #helpSpec
Claus Gittinger <cg@exept.de>
parents: 10999
diff changeset
    93
#checkPerPackageManager
11733
d11449883e43 changed: #helpSpec
Claus Gittinger <cg@exept.de>
parents: 11621
diff changeset
    94
'Open a window to show which scm-manager is responsible for which package'
11006
7491dc45fec7 added: #helpSpec
Claus Gittinger <cg@exept.de>
parents: 10999
diff changeset
    95
7491dc45fec7 added: #helpSpec
Claus Gittinger <cg@exept.de>
parents: 10999
diff changeset
    96
#condenseSourceCache
7491dc45fec7 added: #helpSpec
Claus Gittinger <cg@exept.de>
parents: 10999
diff changeset
    97
'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
    98
7491dc45fec7 added: #helpSpec
Claus Gittinger <cg@exept.de>
parents: 10999
diff changeset
    99
#cvsCommand
7491dc45fec7 added: #helpSpec
Claus Gittinger <cg@exept.de>
parents: 10999
diff changeset
   100
'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
   101
18373
792e60380114 #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 18372
diff changeset
   102
#loginInfo
792e60380114 #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 18372
diff changeset
   103
'Enter this command in a console to login to the cvs server.\This needs to be done only once.'
792e60380114 #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 18372
diff changeset
   104
11061
0742839089e1 preps for \"showInBrowserMenus\"
Claus Gittinger <cg@exept.de>
parents: 11059
diff changeset
   105
#cvsCommandTimeout
11733
d11449883e43 changed: #helpSpec
Claus Gittinger <cg@exept.de>
parents: 11621
diff changeset
   106
'The command timeout.\For slow connections (ssl-tunnel), it may make sense to increase this value'
11061
0742839089e1 preps for \"showInBrowserMenus\"
Claus Gittinger <cg@exept.de>
parents: 11059
diff changeset
   107
11006
7491dc45fec7 added: #helpSpec
Claus Gittinger <cg@exept.de>
parents: 10999
diff changeset
   108
#cvsLogin
7491dc45fec7 added: #helpSpec
Claus Gittinger <cg@exept.de>
parents: 10999
diff changeset
   109
'Perform a "cvs login" operation for the default CVSROOT'
7491dc45fec7 added: #helpSpec
Claus Gittinger <cg@exept.de>
parents: 10999
diff changeset
   110
7491dc45fec7 added: #helpSpec
Claus Gittinger <cg@exept.de>
parents: 10999
diff changeset
   111
#cvsRootDefault
11733
d11449883e43 changed: #helpSpec
Claus Gittinger <cg@exept.de>
parents: 11621
diff changeset
   112
'The default CVSROOT.\This will be used for all modules which are not listed below'
11006
7491dc45fec7 added: #helpSpec
Claus Gittinger <cg@exept.de>
parents: 10999
diff changeset
   113
7491dc45fec7 added: #helpSpec
Claus Gittinger <cg@exept.de>
parents: 10999
diff changeset
   114
#cvsRootPerModule
11733
d11449883e43 changed: #helpSpec
Claus Gittinger <cg@exept.de>
parents: 11621
diff changeset
   115
'Specifies per-module CVSROOTs.\This allows for individual projects to be stored in different cvs repositories'
11006
7491dc45fec7 added: #helpSpec
Claus Gittinger <cg@exept.de>
parents: 10999
diff changeset
   116
7491dc45fec7 added: #helpSpec
Claus Gittinger <cg@exept.de>
parents: 10999
diff changeset
   117
#cvsRootPerModuleModule
7491dc45fec7 added: #helpSpec
Claus Gittinger <cg@exept.de>
parents: 10999
diff changeset
   118
'The module for which a specific CVSROOT is defined'
7491dc45fec7 added: #helpSpec
Claus Gittinger <cg@exept.de>
parents: 10999
diff changeset
   119
7491dc45fec7 added: #helpSpec
Claus Gittinger <cg@exept.de>
parents: 10999
diff changeset
   120
#cvsRootPerModuleRoot
7491dc45fec7 added: #helpSpec
Claus Gittinger <cg@exept.de>
parents: 10999
diff changeset
   121
'The CVSROOT for which this specific module is defined'
7491dc45fec7 added: #helpSpec
Claus Gittinger <cg@exept.de>
parents: 10999
diff changeset
   122
7491dc45fec7 added: #helpSpec
Claus Gittinger <cg@exept.de>
parents: 10999
diff changeset
   123
#defaultManagerType
7491dc45fec7 added: #helpSpec
Claus Gittinger <cg@exept.de>
parents: 10999
diff changeset
   124
'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
   125
7491dc45fec7 added: #helpSpec
Claus Gittinger <cg@exept.de>
parents: 10999
diff changeset
   126
#editPerPackageManager
7491dc45fec7 added: #helpSpec
Claus Gittinger <cg@exept.de>
parents: 10999
diff changeset
   127
'Modify the selected per-package manager definition'
7491dc45fec7 added: #helpSpec
Claus Gittinger <cg@exept.de>
parents: 10999
diff changeset
   128
7491dc45fec7 added: #helpSpec
Claus Gittinger <cg@exept.de>
parents: 10999
diff changeset
   129
#flushSourceCache
7491dc45fec7 added: #helpSpec
Claus Gittinger <cg@exept.de>
parents: 10999
diff changeset
   130
'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
   131
12749
88644659f5bb class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 12420
diff changeset
   132
#initPerModuleRoot
12752
e890b4041563 class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 12751
diff changeset
   133
'Execute a "cvs init" operation for this CVSROOT (enabled if a new local repository is selected)'
12749
88644659f5bb class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 12420
diff changeset
   134
11006
7491dc45fec7 added: #helpSpec
Claus Gittinger <cg@exept.de>
parents: 10999
diff changeset
   135
#keepMethodSourceInImage
7491dc45fec7 added: #helpSpec
Claus Gittinger <cg@exept.de>
parents: 10999
diff changeset
   136
'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
   137
7491dc45fec7 added: #helpSpec
Claus Gittinger <cg@exept.de>
parents: 10999
diff changeset
   138
#loginPerModuleRoot
12749
88644659f5bb class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 12420
diff changeset
   139
'Execute a "cvs login" operation for this CVSROOT (enabled when a remote repository is selected)'
11006
7491dc45fec7 added: #helpSpec
Claus Gittinger <cg@exept.de>
parents: 10999
diff changeset
   140
7491dc45fec7 added: #helpSpec
Claus Gittinger <cg@exept.de>
parents: 10999
diff changeset
   141
#moveManagerDown
7491dc45fec7 added: #helpSpec
Claus Gittinger <cg@exept.de>
parents: 10999
diff changeset
   142
'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
   143
7491dc45fec7 added: #helpSpec
Claus Gittinger <cg@exept.de>
parents: 10999
diff changeset
   144
#moveManagerUp
7491dc45fec7 added: #helpSpec
Claus Gittinger <cg@exept.de>
parents: 10999
diff changeset
   145
'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
   146
7491dc45fec7 added: #helpSpec
Claus Gittinger <cg@exept.de>
parents: 10999
diff changeset
   147
#perPackageConfiguration
11733
d11449883e43 changed: #helpSpec
Claus Gittinger <cg@exept.de>
parents: 11621
diff changeset
   148
'Define per-package repository types here.\For any non-matching package-id, the default repository type is used'
11006
7491dc45fec7 added: #helpSpec
Claus Gittinger <cg@exept.de>
parents: 10999
diff changeset
   149
7491dc45fec7 added: #helpSpec
Claus Gittinger <cg@exept.de>
parents: 10999
diff changeset
   150
#removePerModuleRoot
7491dc45fec7 added: #helpSpec
Claus Gittinger <cg@exept.de>
parents: 10999
diff changeset
   151
'Remove this per-module entry'
7491dc45fec7 added: #helpSpec
Claus Gittinger <cg@exept.de>
parents: 10999
diff changeset
   152
7491dc45fec7 added: #helpSpec
Claus Gittinger <cg@exept.de>
parents: 10999
diff changeset
   153
#removePerPackageManager
7491dc45fec7 added: #helpSpec
Claus Gittinger <cg@exept.de>
parents: 10999
diff changeset
   154
'Remove the selected per-package manager definition'
7491dc45fec7 added: #helpSpec
Claus Gittinger <cg@exept.de>
parents: 10999
diff changeset
   155
7491dc45fec7 added: #helpSpec
Claus Gittinger <cg@exept.de>
parents: 10999
diff changeset
   156
#sourceCache
7491dc45fec7 added: #helpSpec
Claus Gittinger <cg@exept.de>
parents: 10999
diff changeset
   157
'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
   158
7491dc45fec7 added: #helpSpec
Claus Gittinger <cg@exept.de>
parents: 10999
diff changeset
   159
#useLocalSources
11733
d11449883e43 changed: #helpSpec
Claus Gittinger <cg@exept.de>
parents: 11621
diff changeset
   160
'If present, use the local source files (from the development system''s tree).\If checkout fails, these will always be tried as second chance'
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
#useManager
7491dc45fec7 added: #helpSpec
Claus Gittinger <cg@exept.de>
parents: 10999
diff changeset
   163
'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
   164
7491dc45fec7 added: #helpSpec
Claus Gittinger <cg@exept.de>
parents: 10999
diff changeset
   165
#verboseSourceCodeAccess
7491dc45fec7 added: #helpSpec
Claus Gittinger <cg@exept.de>
parents: 10999
diff changeset
   166
'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
   167
7491dc45fec7 added: #helpSpec
Claus Gittinger <cg@exept.de>
parents: 10999
diff changeset
   168
)
18373
792e60380114 #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 18372
diff changeset
   169
792e60380114 #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 18372
diff changeset
   170
    "Modified: / 12-09-2018 / 13:02:04 / Claus Gittinger"
11006
7491dc45fec7 added: #helpSpec
Claus Gittinger <cg@exept.de>
parents: 10999
diff changeset
   171
! !
7491dc45fec7 added: #helpSpec
Claus Gittinger <cg@exept.de>
parents: 10999
diff changeset
   172
11010
Claus Gittinger <cg@exept.de>
parents: 11007
diff changeset
   173
!CVSSourceCodeManagementSettingsAppl class methodsFor:'image specs'!
Claus Gittinger <cg@exept.de>
parents: 11007
diff changeset
   174
Claus Gittinger <cg@exept.de>
parents: 11007
diff changeset
   175
defaultIcon
14340
015e211830cc Mark program icons with resource
Stefan Vogel <sv@exept.de>
parents: 14316
diff changeset
   176
    <resource: #programImage>
015e211830cc Mark program icons with resource
Stefan Vogel <sv@exept.de>
parents: 14316
diff changeset
   177
11010
Claus Gittinger <cg@exept.de>
parents: 11007
diff changeset
   178
    ^ self defaultIcon2
Claus Gittinger <cg@exept.de>
parents: 11007
diff changeset
   179
Claus Gittinger <cg@exept.de>
parents: 11007
diff changeset
   180
    "Created: / 22-12-2011 / 13:47:11 / cg"
Claus Gittinger <cg@exept.de>
parents: 11007
diff changeset
   181
!
Claus Gittinger <cg@exept.de>
parents: 11007
diff changeset
   182
Claus Gittinger <cg@exept.de>
parents: 11007
diff changeset
   183
defaultIcon1
Claus Gittinger <cg@exept.de>
parents: 11007
diff changeset
   184
    "This resource specification was automatically generated
Claus Gittinger <cg@exept.de>
parents: 11007
diff changeset
   185
     by the ImageEditor of ST/X."
Claus Gittinger <cg@exept.de>
parents: 11007
diff changeset
   186
Claus Gittinger <cg@exept.de>
parents: 11007
diff changeset
   187
    "Do not manually edit this!! If it is corrupted,
Claus Gittinger <cg@exept.de>
parents: 11007
diff changeset
   188
     the ImageEditor may not be able to read the specification."
Claus Gittinger <cg@exept.de>
parents: 11007
diff changeset
   189
Claus Gittinger <cg@exept.de>
parents: 11007
diff changeset
   190
    "
Claus Gittinger <cg@exept.de>
parents: 11007
diff changeset
   191
     self defaultIcon1 inspect
Claus Gittinger <cg@exept.de>
parents: 11007
diff changeset
   192
     ImageEditor openOnClass:self andSelector:#defaultIcon1
Claus Gittinger <cg@exept.de>
parents: 11007
diff changeset
   193
     Icon flushCachedIcons
Claus Gittinger <cg@exept.de>
parents: 11007
diff changeset
   194
    "
Claus Gittinger <cg@exept.de>
parents: 11007
diff changeset
   195
Claus Gittinger <cg@exept.de>
parents: 11007
diff changeset
   196
    <resource: #image>
Claus Gittinger <cg@exept.de>
parents: 11007
diff changeset
   197
Claus Gittinger <cg@exept.de>
parents: 11007
diff changeset
   198
    ^Icon
Claus Gittinger <cg@exept.de>
parents: 11007
diff changeset
   199
        constantNamed:'CVSSourceCodeManagementSettingsAppl class defaultIcon1'
Claus Gittinger <cg@exept.de>
parents: 11007
diff changeset
   200
        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
   201
@@@@@@@@@@DB@@@@@@@@@@@@@@@@@@@@@@@@@@LDAPLFA0 I@@@@@@@@@@@@@@@@@@@@@@(KC@0MC <D@@@@@@@@@@@@@@@@@@@CB04LD@DAA@8C@ D@@@@@
Claus Gittinger <cg@exept.de>
parents: 11007
diff changeset
   202
@@@@@@@@@@@OC 4HDP(IBAHND0 @@@@@@@@@@@@@@@@EE@PU@@@@APLV@0@@@@@@@@@@@@@@@@LVC!!\E@@@@@@PXA  Y@@@@@@@@@@@@@@PVEA$Z@@@@@@P[
Claus Gittinger <cg@exept.de>
parents: 11007
diff changeset
   203
A!!0]@@@@@@@@@@@@@@@EEAXW@@@@APL[G @@@@@@@@@@@@@@@@@SD!!P_DB@JHQ8FD0 @@@@@@@@@@@@@@@@]BRHTF2L$IRX''D0 @@PH@@@@@@@@@@@@@JBD)
Claus Gittinger <cg@exept.de>
parents: 11007
diff changeset
   204
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
   205
@@@@@@@@@@@@@@TTAAT@@@@E@1XC@@@@@@@@@@@@@@@@@1XNE0T@@@@@AA FBA$@@@@@@@@@@@@@AAXTFQ(@@@@@AA,FGA4@@@@@@@@@@@@@@@TTE!!\@@@@E
Claus Gittinger <cg@exept.de>
parents: 11007
diff changeset
   206
@1,^@@@@@@@@@@@@@@@@@ALREA<PH@(!!G XSB@@@@@@@@@@@@@@@@A4IH!!P[H2P%I"\SB@@@@@@@@@@@@@@@@@@(HR$*J20-JRD@@@@@@@@@@@@@@@@@@@@@
14403
393d05aed909 Change images to use ImageMask instances instead of Depth1Image instances as
Stefan Vogel <sv@exept.de>
parents: 14340
diff changeset
   207
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:((ImageMask 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]
11010
Claus Gittinger <cg@exept.de>
parents: 11007
diff changeset
   208
!
Claus Gittinger <cg@exept.de>
parents: 11007
diff changeset
   209
Claus Gittinger <cg@exept.de>
parents: 11007
diff changeset
   210
defaultIcon2
Claus Gittinger <cg@exept.de>
parents: 11007
diff changeset
   211
    "This resource specification was automatically generated
Claus Gittinger <cg@exept.de>
parents: 11007
diff changeset
   212
     by the ImageEditor of ST/X."
Claus Gittinger <cg@exept.de>
parents: 11007
diff changeset
   213
Claus Gittinger <cg@exept.de>
parents: 11007
diff changeset
   214
    "Do not manually edit this!! If it is corrupted,
Claus Gittinger <cg@exept.de>
parents: 11007
diff changeset
   215
     the ImageEditor may not be able to read the specification."
Claus Gittinger <cg@exept.de>
parents: 11007
diff changeset
   216
Claus Gittinger <cg@exept.de>
parents: 11007
diff changeset
   217
    "
Claus Gittinger <cg@exept.de>
parents: 11007
diff changeset
   218
     self defaultIcon2 inspect
Claus Gittinger <cg@exept.de>
parents: 11007
diff changeset
   219
     ImageEditor openOnClass:self andSelector:#defaultIcon2
Claus Gittinger <cg@exept.de>
parents: 11007
diff changeset
   220
     Icon flushCachedIcons
Claus Gittinger <cg@exept.de>
parents: 11007
diff changeset
   221
    "
Claus Gittinger <cg@exept.de>
parents: 11007
diff changeset
   222
Claus Gittinger <cg@exept.de>
parents: 11007
diff changeset
   223
    <resource: #image>
Claus Gittinger <cg@exept.de>
parents: 11007
diff changeset
   224
Claus Gittinger <cg@exept.de>
parents: 11007
diff changeset
   225
    ^Icon
Claus Gittinger <cg@exept.de>
parents: 11007
diff changeset
   226
        constantNamed:'CVSSourceCodeManagementSettingsAppl class defaultIcon2'
Claus Gittinger <cg@exept.de>
parents: 11007
diff changeset
   227
        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
   228
@@@@@@@@@@DB@@@@@@@@@@@@@@@@@@@@@@@@@@LDAPLFA0 I@@@@@@@@@@@@@@@@@@@@@@(KC@0MC <D@@@@@@@@@@@@@@@@@@@CB04LD@DAA@8C@ D@@@@@
Claus Gittinger <cg@exept.de>
parents: 11007
diff changeset
   229
@@@@@@@@@@@OC 4HDP(IBAHND0 @@@@@@@@@@@@@@@@EE@PU@@@@APLV@0@@@@@@@@@@@@@@@@LVC!!\E@@@@@@PXA  Y@@@@@@@@@@@@@@PVEA$Z@@@@@@P[
Claus Gittinger <cg@exept.de>
parents: 11007
diff changeset
   230
A!!0]@@@@@@@@@@@@@@@EEAXW@@@@APL[G @@@@@@@@@@@@@@@@@SD!!P_DB@JHQ8FD0 @@@@@@@@@@@@@@@@]BRHTF2L$IRX''D0 @@PH@@@@@@@@@@@@@JBD)
Claus Gittinger <cg@exept.de>
parents: 11007
diff changeset
   231
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
   232
@@@@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
   233
@1,^@@@@@@@@@@@@MST6MST5EA<PH@(!!G XSB@@@@@@5@@@@@@@5MQ4IH!!P[H2P%I"\SB@@@@@@@MST5MST5@@@(HR$*J20-JRD@@@@@@@@@@CX5MST@@@@@
14403
393d05aed909 Change images to use ImageMask instances instead of Depth1Image instances as
Stefan Vogel <sv@exept.de>
parents: 14340
diff changeset
   234
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:((ImageMask 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]
11010
Claus Gittinger <cg@exept.de>
parents: 11007
diff changeset
   235
! !
Claus Gittinger <cg@exept.de>
parents: 11007
diff changeset
   236
9822
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   237
!CVSSourceCodeManagementSettingsAppl class methodsFor:'interface specs'!
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   238
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   239
windowSpec
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   240
    "This resource specification was automatically generated
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   241
     by the UIPainter of ST/X."
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   242
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   243
    "Do not manually edit this!! If it is corrupted,
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   244
     the UIPainter may not be able to read the specification."
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   245
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   246
    "
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   247
     UIPainter new openOnClass:CVSSourceCodeManagementSettingsAppl andSelector:#windowSpec
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   248
     CVSSourceCodeManagementSettingsAppl new openInterface:#windowSpec
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   249
     CVSSourceCodeManagementSettingsAppl open
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   250
    "
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   251
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   252
    <resource: #canvas>
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   253
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   254
    ^ 
13285
5dcf6ce8b684 class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 13234
diff changeset
   255
    #(FullSpec
5dcf6ce8b684 class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 13234
diff changeset
   256
       name: windowSpec
19448
ff159af1959c #UI_ENHANCEMENT by exept
anharman
parents: 19040
diff changeset
   257
       uuid: '5568b40c-1dd8-11b2-877a-c45444825dc9'
13285
5dcf6ce8b684 class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 13234
diff changeset
   258
       window: 
5dcf6ce8b684 class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 13234
diff changeset
   259
      (WindowSpec
5dcf6ce8b684 class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 13234
diff changeset
   260
         label: 'CVS Settings'
5dcf6ce8b684 class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 13234
diff changeset
   261
         name: 'CVS Settings'
14316
482d27940591 changed: #windowSpec
Claus Gittinger <cg@exept.de>
parents: 14267
diff changeset
   262
         flags: 1
18033
35ab63777f8e #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 16679
diff changeset
   263
         uuid: '55071766-3a6b-11e8-98e2-b8f6b1108e05'
19448
ff159af1959c #UI_ENHANCEMENT by exept
anharman
parents: 19040
diff changeset
   264
         min: (Point 10 10) bounds: (Rectangle 0 0 748 613)
ff159af1959c #UI_ENHANCEMENT by exept
anharman
parents: 19040
diff changeset
   265
      ) component: 
13285
5dcf6ce8b684 class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 13234
diff changeset
   266
      (SpecCollection
5dcf6ce8b684 class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 13234
diff changeset
   267
         collection: (
5dcf6ce8b684 class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 13234
diff changeset
   268
          (VerticalPanelViewSpec
5dcf6ce8b684 class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 13234
diff changeset
   269
             name: 'VerticalPanel3'
19448
ff159af1959c #UI_ENHANCEMENT by exept
anharman
parents: 19040
diff changeset
   270
             layout: (LayoutFrame 0 0 0 0 0 1 0 1) uuid: '55073868-3a6b-11e8-98e2-b8f6b1108e05'
13285
5dcf6ce8b684 class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 13234
diff changeset
   271
             horizontalLayout: fit
5dcf6ce8b684 class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 13234
diff changeset
   272
             verticalLayout: topSpace
5dcf6ce8b684 class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 13234
diff changeset
   273
             horizontalSpace: 3
5dcf6ce8b684 class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 13234
diff changeset
   274
             verticalSpace: 4
5dcf6ce8b684 class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 13234
diff changeset
   275
             component: 
5dcf6ce8b684 class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 13234
diff changeset
   276
            (SpecCollection
5dcf6ce8b684 class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 13234
diff changeset
   277
               collection: (
5dcf6ce8b684 class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 13234
diff changeset
   278
                (ViewSpec
5dcf6ce8b684 class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 13234
diff changeset
   279
                   name: 'ManagerSetupBoxx'
18033
35ab63777f8e #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 16679
diff changeset
   280
                   uuid: '55073d7c-3a6b-11e8-98e2-b8f6b1108e05'
13285
5dcf6ce8b684 class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 13234
diff changeset
   281
                   component: 
5dcf6ce8b684 class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 13234
diff changeset
   282
                  (SpecCollection
5dcf6ce8b684 class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 13234
diff changeset
   283
                     collection: (
5dcf6ce8b684 class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 13234
diff changeset
   284
                      (FramedBoxSpec
5dcf6ce8b684 class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 13234
diff changeset
   285
                         label: 'CVS Sourcecode Manager Settings'
5dcf6ce8b684 class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 13234
diff changeset
   286
                         name: 'CVSSetupBox'
19448
ff159af1959c #UI_ENHANCEMENT by exept
anharman
parents: 19040
diff changeset
   287
                         layout: (LayoutFrame 0 0 0 0 0 1 0 1) uuid: '55073f52-3a6b-11e8-98e2-b8f6b1108e05'
13285
5dcf6ce8b684 class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 13234
diff changeset
   288
                         labelPosition: topLeft
5dcf6ce8b684 class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 13234
diff changeset
   289
                         translateLabel: true
5dcf6ce8b684 class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 13234
diff changeset
   290
                         component: 
5dcf6ce8b684 class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 13234
diff changeset
   291
                        (SpecCollection
5dcf6ce8b684 class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 13234
diff changeset
   292
                           collection: (
5dcf6ce8b684 class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 13234
diff changeset
   293
                            (CheckBoxSpec
5dcf6ce8b684 class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 13234
diff changeset
   294
                               label: 'Show in Browser Menus'
5dcf6ce8b684 class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 13234
diff changeset
   295
                               name: 'CheckBox1'
19448
ff159af1959c #UI_ENHANCEMENT by exept
anharman
parents: 19040
diff changeset
   296
                               layout: (LayoutFrame 0 0 5 0 0 1 35 0) activeHelpKey: shownInBrowserMenus
18033
35ab63777f8e #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 16679
diff changeset
   297
                               uuid: '550741d2-3a6b-11e8-98e2-b8f6b1108e05'
13285
5dcf6ce8b684 class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 13234
diff changeset
   298
                               model: shownInBrowserMenusHolder
5dcf6ce8b684 class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 13234
diff changeset
   299
                               translateLabel: true
19448
ff159af1959c #UI_ENHANCEMENT by exept
anharman
parents: 19040
diff changeset
   300
                            )
13285
5dcf6ce8b684 class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 13234
diff changeset
   301
                            (ViewSpec
5dcf6ce8b684 class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 13234
diff changeset
   302
                               name: 'Box1'
19448
ff159af1959c #UI_ENHANCEMENT by exept
anharman
parents: 19040
diff changeset
   303
                               layout: (LayoutFrame 0 0 35 0 0 1 65 0) uuid: '55074538-3a6b-11e8-98e2-b8f6b1108e05'
13285
5dcf6ce8b684 class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 13234
diff changeset
   304
                               component: 
5dcf6ce8b684 class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 13234
diff changeset
   305
                              (SpecCollection
5dcf6ce8b684 class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 13234
diff changeset
   306
                                 collection: (
5dcf6ce8b684 class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 13234
diff changeset
   307
                                  (LabelSpec
16679
cf99c8da73cf #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 16518
diff changeset
   308
                                     label: 'CVS Command:'
13285
5dcf6ce8b684 class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 13234
diff changeset
   309
                                     name: 'Label1'
19448
ff159af1959c #UI_ENHANCEMENT by exept
anharman
parents: 19040
diff changeset
   310
                                     layout: (LayoutFrame 0 0.0 0 0 60 0.25 30 0) activeHelpKey: cvsCommand
18033
35ab63777f8e #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 16679
diff changeset
   311
                                     uuid: '550746a0-3a6b-11e8-98e2-b8f6b1108e05'
13285
5dcf6ce8b684 class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 13234
diff changeset
   312
                                     level: 0
5dcf6ce8b684 class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 13234
diff changeset
   313
                                     translateLabel: true
5dcf6ce8b684 class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 13234
diff changeset
   314
                                     adjust: right
19448
ff159af1959c #UI_ENHANCEMENT by exept
anharman
parents: 19040
diff changeset
   315
                                  )
13285
5dcf6ce8b684 class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 13234
diff changeset
   316
                                  (InputFieldSpec
5dcf6ce8b684 class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 13234
diff changeset
   317
                                     name: 'CVSExecutableField'
19448
ff159af1959c #UI_ENHANCEMENT by exept
anharman
parents: 19040
diff changeset
   318
                                     layout: (LayoutFrame 64 0.25 0 0 -1 1 30 0) activeHelpKey: cvsCommand
18033
35ab63777f8e #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 16679
diff changeset
   319
                                     uuid: '550749d4-3a6b-11e8-98e2-b8f6b1108e05'
13285
5dcf6ce8b684 class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 13234
diff changeset
   320
                                     tabable: true
5dcf6ce8b684 class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 13234
diff changeset
   321
                                     model: cvsExecutableHolder
5dcf6ce8b684 class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 13234
diff changeset
   322
                                     acceptChannel: acceptChannel
5dcf6ce8b684 class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 13234
diff changeset
   323
                                     acceptOnPointerLeave: true
5dcf6ce8b684 class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 13234
diff changeset
   324
                                  )
19448
ff159af1959c #UI_ENHANCEMENT by exept
anharman
parents: 19040
diff changeset
   325
                                )
ff159af1959c #UI_ENHANCEMENT by exept
anharman
parents: 19040
diff changeset
   326
                              )
ff159af1959c #UI_ENHANCEMENT by exept
anharman
parents: 19040
diff changeset
   327
                            )
13285
5dcf6ce8b684 class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 13234
diff changeset
   328
                            (ViewSpec
5dcf6ce8b684 class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 13234
diff changeset
   329
                               name: 'Box12'
19448
ff159af1959c #UI_ENHANCEMENT by exept
anharman
parents: 19040
diff changeset
   330
                               layout: (LayoutFrame 0 0 69 0 0 1 99 0) uuid: '55074ede-3a6b-11e8-98e2-b8f6b1108e05'
13285
5dcf6ce8b684 class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 13234
diff changeset
   331
                               component: 
5dcf6ce8b684 class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 13234
diff changeset
   332
                              (SpecCollection
5dcf6ce8b684 class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 13234
diff changeset
   333
                                 collection: (
5dcf6ce8b684 class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 13234
diff changeset
   334
                                  (LabelSpec
16679
cf99c8da73cf #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 16518
diff changeset
   335
                                     label: 'Command Timeout:'
13285
5dcf6ce8b684 class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 13234
diff changeset
   336
                                     name: 'Label2'
19448
ff159af1959c #UI_ENHANCEMENT by exept
anharman
parents: 19040
diff changeset
   337
                                     layout: (LayoutFrame 0 0.0 0 0 60 0.25 30 0) activeHelpKey: cvsCommandTimeout
18033
35ab63777f8e #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 16679
diff changeset
   338
                                     uuid: '5507505a-3a6b-11e8-98e2-b8f6b1108e05'
13285
5dcf6ce8b684 class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 13234
diff changeset
   339
                                     level: 0
5dcf6ce8b684 class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 13234
diff changeset
   340
                                     translateLabel: true
5dcf6ce8b684 class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 13234
diff changeset
   341
                                     adjust: right
19448
ff159af1959c #UI_ENHANCEMENT by exept
anharman
parents: 19040
diff changeset
   342
                                  )
13285
5dcf6ce8b684 class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 13234
diff changeset
   343
                                  (InputFieldSpec
5dcf6ce8b684 class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 13234
diff changeset
   344
                                     name: 'EntryField1'
19448
ff159af1959c #UI_ENHANCEMENT by exept
anharman
parents: 19040
diff changeset
   345
                                     layout: (LayoutFrame 64 0.25 0 0 152 0.25 30 0) activeHelpKey: cvsCommandTimeout
18033
35ab63777f8e #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 16679
diff changeset
   346
                                     uuid: '55075212-3a6b-11e8-98e2-b8f6b1108e05'
13285
5dcf6ce8b684 class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 13234
diff changeset
   347
                                     tabable: true
5dcf6ce8b684 class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 13234
diff changeset
   348
                                     model: cvsCommandTimeoutHolder
5dcf6ce8b684 class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 13234
diff changeset
   349
                                     type: timeDuration
5dcf6ce8b684 class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 13234
diff changeset
   350
                                     acceptChannel: acceptChannel
5dcf6ce8b684 class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 13234
diff changeset
   351
                                     acceptOnPointerLeave: true
5dcf6ce8b684 class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 13234
diff changeset
   352
                                  )
19448
ff159af1959c #UI_ENHANCEMENT by exept
anharman
parents: 19040
diff changeset
   353
                                )
ff159af1959c #UI_ENHANCEMENT by exept
anharman
parents: 19040
diff changeset
   354
                              )
ff159af1959c #UI_ENHANCEMENT by exept
anharman
parents: 19040
diff changeset
   355
                            )
13285
5dcf6ce8b684 class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 13234
diff changeset
   356
                            (ViewSpec
5dcf6ce8b684 class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 13234
diff changeset
   357
                               name: 'Box7'
19448
ff159af1959c #UI_ENHANCEMENT by exept
anharman
parents: 19040
diff changeset
   358
                               layout: (LayoutFrame 0 0.0 104 0 0 1 134 0) uuid: '55075488-3a6b-11e8-98e2-b8f6b1108e05'
13285
5dcf6ce8b684 class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 13234
diff changeset
   359
                               component: 
5dcf6ce8b684 class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 13234
diff changeset
   360
                              (SpecCollection
5dcf6ce8b684 class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 13234
diff changeset
   361
                                 collection: (
5dcf6ce8b684 class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 13234
diff changeset
   362
                                  (LabelSpec
5dcf6ce8b684 class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 13234
diff changeset
   363
                                     label: 'CVSRoot default:'
5dcf6ce8b684 class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 13234
diff changeset
   364
                                     name: 'defaultCvsRootLabel'
19448
ff159af1959c #UI_ENHANCEMENT by exept
anharman
parents: 19040
diff changeset
   365
                                     layout: (LayoutFrame 0 0.0 0 0 60 0.25 30 0) activeHelpKey: cvsRootDefault
18033
35ab63777f8e #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 16679
diff changeset
   366
                                     uuid: '550755d2-3a6b-11e8-98e2-b8f6b1108e05'
13285
5dcf6ce8b684 class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 13234
diff changeset
   367
                                     level: 0
5dcf6ce8b684 class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 13234
diff changeset
   368
                                     translateLabel: true
5dcf6ce8b684 class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 13234
diff changeset
   369
                                     adjust: right
19448
ff159af1959c #UI_ENHANCEMENT by exept
anharman
parents: 19040
diff changeset
   370
                                  )
13285
5dcf6ce8b684 class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 13234
diff changeset
   371
                                  (ComboBoxSpec
5dcf6ce8b684 class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 13234
diff changeset
   372
                                     name: 'cvsRootComboBox'
19448
ff159af1959c #UI_ENHANCEMENT by exept
anharman
parents: 19040
diff changeset
   373
                                     layout: (LayoutFrame 64 0.25 0 0 -1 1 30 0) activeHelpKey: cvsRootDefault
18033
35ab63777f8e #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 16679
diff changeset
   374
                                     uuid: '55075762-3a6b-11e8-98e2-b8f6b1108e05'
13285
5dcf6ce8b684 class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 13234
diff changeset
   375
                                     tabable: true
5dcf6ce8b684 class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 13234
diff changeset
   376
                                     model: cvsRootHolder
5dcf6ce8b684 class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 13234
diff changeset
   377
                                     immediateAccept: true
5dcf6ce8b684 class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 13234
diff changeset
   378
                                     acceptOnLeave: true
5dcf6ce8b684 class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 13234
diff changeset
   379
                                     acceptOnReturn: true
5dcf6ce8b684 class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 13234
diff changeset
   380
                                     acceptOnTab: true
5dcf6ce8b684 class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 13234
diff changeset
   381
                                     acceptOnLostFocus: true
5dcf6ce8b684 class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 13234
diff changeset
   382
                                     acceptChannel: acceptChannel
5dcf6ce8b684 class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 13234
diff changeset
   383
                                     acceptOnPointerLeave: true
5dcf6ce8b684 class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 13234
diff changeset
   384
                                     comboList: cvsRootPrototypeList
5dcf6ce8b684 class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 13234
diff changeset
   385
                                  )
19448
ff159af1959c #UI_ENHANCEMENT by exept
anharman
parents: 19040
diff changeset
   386
                                )
ff159af1959c #UI_ENHANCEMENT by exept
anharman
parents: 19040
diff changeset
   387
                              )
ff159af1959c #UI_ENHANCEMENT by exept
anharman
parents: 19040
diff changeset
   388
                            )
18373
792e60380114 #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 18372
diff changeset
   389
                            (LabelSpec
792e60380114 #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 18372
diff changeset
   390
                               label: 'CVS-login with:'
792e60380114 #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 18372
diff changeset
   391
                               name: 'Label4'
19448
ff159af1959c #UI_ENHANCEMENT by exept
anharman
parents: 19040
diff changeset
   392
                               layout: (LayoutFrame -4 0.0 142 0 150 0 164 0) activeHelpKey: loginInfo
18373
792e60380114 #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 18372
diff changeset
   393
                               uuid: 'c0af580e-b679-11e8-b6ec-b8f6b1108e05'
792e60380114 #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 18372
diff changeset
   394
                               visibilityChannel: cvsLoginInfoVisibleHolder
19448
ff159af1959c #UI_ENHANCEMENT by exept
anharman
parents: 19040
diff changeset
   395
                               foregroundColor: (Color 50.0 50.0 50.0) translateLabel: true
18373
792e60380114 #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 18372
diff changeset
   396
                               adjust: left
19448
ff159af1959c #UI_ENHANCEMENT by exept
anharman
parents: 19040
diff changeset
   397
                            )
18373
792e60380114 #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 18372
diff changeset
   398
                            (LabelSpec
792e60380114 #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 18372
diff changeset
   399
                               label: 'cvsLoginInfoLabel'
792e60380114 #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 18372
diff changeset
   400
                               name: 'Label3'
19448
ff159af1959c #UI_ENHANCEMENT by exept
anharman
parents: 19040
diff changeset
   401
                               layout: (LayoutFrame 150 0.0 142 0 0 1.0 164 0) activeHelpKey: loginInfo
18373
792e60380114 #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 18372
diff changeset
   402
                               uuid: 'c0af580e-b679-11e8-b6ec-b8f6b1108e05'
792e60380114 #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 18372
diff changeset
   403
                               visibilityChannel: cvsLoginInfoVisibleHolder
19448
ff159af1959c #UI_ENHANCEMENT by exept
anharman
parents: 19040
diff changeset
   404
                               foregroundColor: (Color 50.0 50.0 50.0) translateLabel: true
18373
792e60380114 #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 18372
diff changeset
   405
                               labelChannel: cvsLoginInfoTextHolder
792e60380114 #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 18372
diff changeset
   406
                               adjust: left
19448
ff159af1959c #UI_ENHANCEMENT by exept
anharman
parents: 19040
diff changeset
   407
                            )
13285
5dcf6ce8b684 class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 13234
diff changeset
   408
                            (ActionButtonSpec
5dcf6ce8b684 class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 13234
diff changeset
   409
                               label: 'CVS-Login'
5dcf6ce8b684 class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 13234
diff changeset
   410
                               name: 'Button1'
19448
ff159af1959c #UI_ENHANCEMENT by exept
anharman
parents: 19040
diff changeset
   411
                               layout: (LayoutFrame -117 1 137 0 0 1 167 0) activeHelpKey: cvsLogin
18033
35ab63777f8e #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 16679
diff changeset
   412
                               uuid: '55075b40-3a6b-11e8-98e2-b8f6b1108e05'
18373
792e60380114 #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 18372
diff changeset
   413
                               visibilityChannel: cvsLoginVisible
13285
5dcf6ce8b684 class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 13234
diff changeset
   414
                               translateLabel: true
5dcf6ce8b684 class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 13234
diff changeset
   415
                               tabable: true
5dcf6ce8b684 class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 13234
diff changeset
   416
                               model: loginCVSRoot
5dcf6ce8b684 class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 13234
diff changeset
   417
                               enableChannel: cvsLoginEnabled
19448
ff159af1959c #UI_ENHANCEMENT by exept
anharman
parents: 19040
diff changeset
   418
                            )
13285
5dcf6ce8b684 class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 13234
diff changeset
   419
                            (LabelSpec
5dcf6ce8b684 class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 13234
diff changeset
   420
                               label: 'CVSRoot per Module:'
5dcf6ce8b684 class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 13234
diff changeset
   421
                               name: 'knownModulesLabel'
19448
ff159af1959c #UI_ENHANCEMENT by exept
anharman
parents: 19040
diff changeset
   422
                               layout: (LayoutFrame 0 0.0 171 0 60 0.25 201 0) activeHelpKey: cvsRootPerModule
18033
35ab63777f8e #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 16679
diff changeset
   423
                               uuid: '55075f82-3a6b-11e8-98e2-b8f6b1108e05'
13285
5dcf6ce8b684 class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 13234
diff changeset
   424
                               translateLabel: true
5dcf6ce8b684 class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 13234
diff changeset
   425
                               adjust: right
19448
ff159af1959c #UI_ENHANCEMENT by exept
anharman
parents: 19040
diff changeset
   426
                            )
13285
5dcf6ce8b684 class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 13234
diff changeset
   427
                            (SequenceViewSpec
5dcf6ce8b684 class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 13234
diff changeset
   428
                               name: 'List1'
19448
ff159af1959c #UI_ENHANCEMENT by exept
anharman
parents: 19040
diff changeset
   429
                               layout: (LayoutFrame 64 0.25 171 0 0 1 290 0) activeHelpKey: cvsRootPerModule
18033
35ab63777f8e #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 16679
diff changeset
   430
                               uuid: '5507613a-3a6b-11e8-98e2-b8f6b1108e05'
13285
5dcf6ce8b684 class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 13234
diff changeset
   431
                               tabable: true
5dcf6ce8b684 class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 13234
diff changeset
   432
                               model: selectedPerModuleRoot
5dcf6ce8b684 class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 13234
diff changeset
   433
                               hasHorizontalScrollBar: true
5dcf6ce8b684 class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 13234
diff changeset
   434
                               hasVerticalScrollBar: true
5dcf6ce8b684 class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 13234
diff changeset
   435
                               miniScrollerHorizontal: true
5dcf6ce8b684 class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 13234
diff changeset
   436
                               useIndex: false
5dcf6ce8b684 class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 13234
diff changeset
   437
                               sequenceList: listOfModules
19448
ff159af1959c #UI_ENHANCEMENT by exept
anharman
parents: 19040
diff changeset
   438
                            )
13285
5dcf6ce8b684 class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 13234
diff changeset
   439
                            (LabelSpec
5dcf6ce8b684 class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 13234
diff changeset
   440
                               label: 'Module:'
5dcf6ce8b684 class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 13234
diff changeset
   441
                               name: 'moduleLabel'
19448
ff159af1959c #UI_ENHANCEMENT by exept
anharman
parents: 19040
diff changeset
   442
                               layout: (LayoutFrame 0 0.0 300 0 60 0.25 330 0) activeHelpKey: cvsRootPerModuleModule
18033
35ab63777f8e #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 16679
diff changeset
   443
                               uuid: '550764d2-3a6b-11e8-98e2-b8f6b1108e05'
13285
5dcf6ce8b684 class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 13234
diff changeset
   444
                               translateLabel: true
5dcf6ce8b684 class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 13234
diff changeset
   445
                               adjust: right
19448
ff159af1959c #UI_ENHANCEMENT by exept
anharman
parents: 19040
diff changeset
   446
                            )
13285
5dcf6ce8b684 class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 13234
diff changeset
   447
                            (ComboBoxSpec
5dcf6ce8b684 class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 13234
diff changeset
   448
                               name: 'ComboBox1'
19448
ff159af1959c #UI_ENHANCEMENT by exept
anharman
parents: 19040
diff changeset
   449
                               layout: (LayoutFrame 64 0.25 300 0 0 1 330 0) activeHelpKey: cvsRootPerModuleModule
18033
35ab63777f8e #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 16679
diff changeset
   450
                               uuid: '55076662-3a6b-11e8-98e2-b8f6b1108e05'
13285
5dcf6ce8b684 class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 13234
diff changeset
   451
                               tabable: true
5dcf6ce8b684 class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 13234
diff changeset
   452
                               model: perModuleRootModule
5dcf6ce8b684 class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 13234
diff changeset
   453
                               acceptChannel: acceptChannel
5dcf6ce8b684 class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 13234
diff changeset
   454
                               acceptOnPointerLeave: true
5dcf6ce8b684 class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 13234
diff changeset
   455
                               comboList: sampleModuleList
19448
ff159af1959c #UI_ENHANCEMENT by exept
anharman
parents: 19040
diff changeset
   456
                            )
13285
5dcf6ce8b684 class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 13234
diff changeset
   457
                            (LabelSpec
5dcf6ce8b684 class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 13234
diff changeset
   458
                               label: 'CVSRoot:'
5dcf6ce8b684 class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 13234
diff changeset
   459
                               name: 'cvsRootLabel'
19448
ff159af1959c #UI_ENHANCEMENT by exept
anharman
parents: 19040
diff changeset
   460
                               layout: (LayoutFrame 0 0.0 333 0 60 0.25 363 0) activeHelpKey: cvsRootPerModuleRoot
18033
35ab63777f8e #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 16679
diff changeset
   461
                               uuid: '550768ce-3a6b-11e8-98e2-b8f6b1108e05'
13285
5dcf6ce8b684 class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 13234
diff changeset
   462
                               translateLabel: true
5dcf6ce8b684 class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 13234
diff changeset
   463
                               adjust: right
19448
ff159af1959c #UI_ENHANCEMENT by exept
anharman
parents: 19040
diff changeset
   464
                            )
13285
5dcf6ce8b684 class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 13234
diff changeset
   465
                            (ComboBoxSpec
5dcf6ce8b684 class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 13234
diff changeset
   466
                               name: 'perModuleRootComboBox'
19448
ff159af1959c #UI_ENHANCEMENT by exept
anharman
parents: 19040
diff changeset
   467
                               layout: (LayoutFrame 64 0.25 333 0 0 1.0 363 0) activeHelpKey: cvsRootPerModuleRoot
18033
35ab63777f8e #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 16679
diff changeset
   468
                               uuid: '55076a36-3a6b-11e8-98e2-b8f6b1108e05'
13285
5dcf6ce8b684 class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 13234
diff changeset
   469
                               tabable: true
5dcf6ce8b684 class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 13234
diff changeset
   470
                               model: perModuleRoot
5dcf6ce8b684 class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 13234
diff changeset
   471
                               immediateAccept: true
5dcf6ce8b684 class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 13234
diff changeset
   472
                               acceptOnLeave: true
5dcf6ce8b684 class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 13234
diff changeset
   473
                               acceptOnReturn: true
5dcf6ce8b684 class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 13234
diff changeset
   474
                               acceptOnTab: true
5dcf6ce8b684 class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 13234
diff changeset
   475
                               acceptOnLostFocus: true
5dcf6ce8b684 class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 13234
diff changeset
   476
                               acceptChannel: acceptChannel
5dcf6ce8b684 class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 13234
diff changeset
   477
                               acceptOnPointerLeave: true
5dcf6ce8b684 class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 13234
diff changeset
   478
                               comboList: cvsRootPrototypeList
19448
ff159af1959c #UI_ENHANCEMENT by exept
anharman
parents: 19040
diff changeset
   479
                            )
13285
5dcf6ce8b684 class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 13234
diff changeset
   480
                            (HorizontalPanelViewSpec
5dcf6ce8b684 class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 13234
diff changeset
   481
                               name: 'HorizontalPanel2'
19448
ff159af1959c #UI_ENHANCEMENT by exept
anharman
parents: 19040
diff changeset
   482
                               layout: (LayoutFrame 0 0 369 0 0 1 400 0) uuid: '55076ca2-3a6b-11e8-98e2-b8f6b1108e05'
ff159af1959c #UI_ENHANCEMENT by exept
anharman
parents: 19040
diff changeset
   483
                               horizontalLayout: rightSpace
16155
2e3a4d0ea38b #UI_ENHANCEMENT
Claus Gittinger <cg@exept.de>
parents: 14403
diff changeset
   484
                               verticalLayout: fit
13285
5dcf6ce8b684 class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 13234
diff changeset
   485
                               horizontalSpace: 3
5dcf6ce8b684 class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 13234
diff changeset
   486
                               verticalSpace: 3
5dcf6ce8b684 class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 13234
diff changeset
   487
                               component: 
5dcf6ce8b684 class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 13234
diff changeset
   488
                              (SpecCollection
5dcf6ce8b684 class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 13234
diff changeset
   489
                                 collection: (
5dcf6ce8b684 class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 13234
diff changeset
   490
                                  (ActionButtonSpec
5dcf6ce8b684 class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 13234
diff changeset
   491
                                     label: 'Add/Apply'
5dcf6ce8b684 class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 13234
diff changeset
   492
                                     name: 'addButton'
5dcf6ce8b684 class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 13234
diff changeset
   493
                                     activeHelpKey: addPerModuleRoot
18033
35ab63777f8e #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 16679
diff changeset
   494
                                     uuid: '55076e96-3a6b-11e8-98e2-b8f6b1108e05'
13285
5dcf6ce8b684 class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 13234
diff changeset
   495
                                     translateLabel: true
16155
2e3a4d0ea38b #UI_ENHANCEMENT
Claus Gittinger <cg@exept.de>
parents: 14403
diff changeset
   496
                                     resizeForLabel: true
13285
5dcf6ce8b684 class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 13234
diff changeset
   497
                                     tabable: true
5dcf6ce8b684 class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 13234
diff changeset
   498
                                     model: addPerModuleRoot
19448
ff159af1959c #UI_ENHANCEMENT by exept
anharman
parents: 19040
diff changeset
   499
                                     extent: (Point 69 31)
ff159af1959c #UI_ENHANCEMENT by exept
anharman
parents: 19040
diff changeset
   500
                                  )
13285
5dcf6ce8b684 class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 13234
diff changeset
   501
                                  (ActionButtonSpec
5dcf6ce8b684 class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 13234
diff changeset
   502
                                     label: 'Remove'
5dcf6ce8b684 class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 13234
diff changeset
   503
                                     name: 'removeButton'
5dcf6ce8b684 class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 13234
diff changeset
   504
                                     activeHelpKey: removePerModuleRoot
18033
35ab63777f8e #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 16679
diff changeset
   505
                                     uuid: '550770c6-3a6b-11e8-98e2-b8f6b1108e05'
13285
5dcf6ce8b684 class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 13234
diff changeset
   506
                                     translateLabel: true
16155
2e3a4d0ea38b #UI_ENHANCEMENT
Claus Gittinger <cg@exept.de>
parents: 14403
diff changeset
   507
                                     resizeForLabel: true
13285
5dcf6ce8b684 class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 13234
diff changeset
   508
                                     tabable: true
5dcf6ce8b684 class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 13234
diff changeset
   509
                                     model: removePerModuleRoot
5dcf6ce8b684 class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 13234
diff changeset
   510
                                     enableChannel: removeEnabled
19448
ff159af1959c #UI_ENHANCEMENT by exept
anharman
parents: 19040
diff changeset
   511
                                     extent: (Point 69 31)
ff159af1959c #UI_ENHANCEMENT by exept
anharman
parents: 19040
diff changeset
   512
                                  )
13285
5dcf6ce8b684 class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 13234
diff changeset
   513
                                  (ActionButtonSpec
5dcf6ce8b684 class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 13234
diff changeset
   514
                                     label: 'Init'
5dcf6ce8b684 class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 13234
diff changeset
   515
                                     name: 'loginButton2'
5dcf6ce8b684 class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 13234
diff changeset
   516
                                     activeHelpKey: initPerModuleRoot
18033
35ab63777f8e #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 16679
diff changeset
   517
                                     uuid: '550772a6-3a6b-11e8-98e2-b8f6b1108e05'
13285
5dcf6ce8b684 class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 13234
diff changeset
   518
                                     translateLabel: true
16155
2e3a4d0ea38b #UI_ENHANCEMENT
Claus Gittinger <cg@exept.de>
parents: 14403
diff changeset
   519
                                     resizeForLabel: true
13285
5dcf6ce8b684 class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 13234
diff changeset
   520
                                     tabable: true
5dcf6ce8b684 class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 13234
diff changeset
   521
                                     model: initPerModuleRoot
5dcf6ce8b684 class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 13234
diff changeset
   522
                                     enableChannel: cvsInitInModuleEnabled
19448
ff159af1959c #UI_ENHANCEMENT by exept
anharman
parents: 19040
diff changeset
   523
                                     extent: (Point 69 31)
ff159af1959c #UI_ENHANCEMENT by exept
anharman
parents: 19040
diff changeset
   524
                                  )
13285
5dcf6ce8b684 class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 13234
diff changeset
   525
                                  (ActionButtonSpec
5dcf6ce8b684 class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 13234
diff changeset
   526
                                     label: 'Login'
5dcf6ce8b684 class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 13234
diff changeset
   527
                                     name: 'Button3'
5dcf6ce8b684 class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 13234
diff changeset
   528
                                     activeHelpKey: loginPerModuleRoot
18033
35ab63777f8e #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 16679
diff changeset
   529
                                     uuid: '55077472-3a6b-11e8-98e2-b8f6b1108e05'
13285
5dcf6ce8b684 class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 13234
diff changeset
   530
                                     translateLabel: true
16155
2e3a4d0ea38b #UI_ENHANCEMENT
Claus Gittinger <cg@exept.de>
parents: 14403
diff changeset
   531
                                     resizeForLabel: true
13285
5dcf6ce8b684 class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 13234
diff changeset
   532
                                     tabable: true
5dcf6ce8b684 class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 13234
diff changeset
   533
                                     model: loginPerModuleRoot
5dcf6ce8b684 class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 13234
diff changeset
   534
                                     enableChannel: cvsLoginInModuleEnabled
19448
ff159af1959c #UI_ENHANCEMENT by exept
anharman
parents: 19040
diff changeset
   535
                                     extent: (Point 69 31)
13285
5dcf6ce8b684 class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 13234
diff changeset
   536
                                  )
19448
ff159af1959c #UI_ENHANCEMENT by exept
anharman
parents: 19040
diff changeset
   537
                                )
ff159af1959c #UI_ENHANCEMENT by exept
anharman
parents: 19040
diff changeset
   538
                              )
ff159af1959c #UI_ENHANCEMENT by exept
anharman
parents: 19040
diff changeset
   539
                            )
13285
5dcf6ce8b684 class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 13234
diff changeset
   540
                            (HorizontalPanelViewSpec
5dcf6ce8b684 class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 13234
diff changeset
   541
                               name: 'HorizontalPanel3'
19448
ff159af1959c #UI_ENHANCEMENT by exept
anharman
parents: 19040
diff changeset
   542
                               layout: (LayoutFrame 0 0 405 0 0 1 438 0) uuid: '55077756-3a6b-11e8-98e2-b8f6b1108e05'
18033
35ab63777f8e #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 16679
diff changeset
   543
                               horizontalLayout: rightSpace
13285
5dcf6ce8b684 class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 13234
diff changeset
   544
                               verticalLayout: center
5dcf6ce8b684 class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 13234
diff changeset
   545
                               horizontalSpace: 3
5dcf6ce8b684 class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 13234
diff changeset
   546
                               verticalSpace: 3
5dcf6ce8b684 class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 13234
diff changeset
   547
                               component: 
5dcf6ce8b684 class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 13234
diff changeset
   548
                              (SpecCollection
5dcf6ce8b684 class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 13234
diff changeset
   549
                                 collection: (
5dcf6ce8b684 class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 13234
diff changeset
   550
                                  (ActionButtonSpec
5dcf6ce8b684 class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 13234
diff changeset
   551
                                     label: 'Add eXept''s Public Repository'
5dcf6ce8b684 class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 13234
diff changeset
   552
                                     name: 'Button2'
5dcf6ce8b684 class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 13234
diff changeset
   553
                                     activeHelpKey: addPublicExeptRepository
18033
35ab63777f8e #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 16679
diff changeset
   554
                                     uuid: '550778e6-3a6b-11e8-98e2-b8f6b1108e05'
13285
5dcf6ce8b684 class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 13234
diff changeset
   555
                                     translateLabel: true
5dcf6ce8b684 class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 13234
diff changeset
   556
                                     resizeForLabel: true
14253
d19d1162aa39 class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 14251
diff changeset
   557
                                     adjust: right
13285
5dcf6ce8b684 class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 13234
diff changeset
   558
                                     tabable: true
5dcf6ce8b684 class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 13234
diff changeset
   559
                                     model: addPublicExeptRepository
18033
35ab63777f8e #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 16679
diff changeset
   560
                                     extent: (Point 232 31)
13285
5dcf6ce8b684 class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 13234
diff changeset
   561
                                  )
19448
ff159af1959c #UI_ENHANCEMENT by exept
anharman
parents: 19040
diff changeset
   562
                                )
ff159af1959c #UI_ENHANCEMENT by exept
anharman
parents: 19040
diff changeset
   563
                              )
13285
5dcf6ce8b684 class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 13234
diff changeset
   564
                            )
19448
ff159af1959c #UI_ENHANCEMENT by exept
anharman
parents: 19040
diff changeset
   565
                          )
ff159af1959c #UI_ENHANCEMENT by exept
anharman
parents: 19040
diff changeset
   566
                        )
13285
5dcf6ce8b684 class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 13234
diff changeset
   567
                      )
19448
ff159af1959c #UI_ENHANCEMENT by exept
anharman
parents: 19040
diff changeset
   568
                    )
ff159af1959c #UI_ENHANCEMENT by exept
anharman
parents: 19040
diff changeset
   569
                  ) extent: (Point 748 474)
ff159af1959c #UI_ENHANCEMENT by exept
anharman
parents: 19040
diff changeset
   570
                )
13285
5dcf6ce8b684 class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 13234
diff changeset
   571
                (FramedBoxSpec
5dcf6ce8b684 class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 13234
diff changeset
   572
                   label: 'Source Cache'
5dcf6ce8b684 class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 13234
diff changeset
   573
                   name: 'FramedBox1'
18033
35ab63777f8e #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 16679
diff changeset
   574
                   uuid: '55077b34-3a6b-11e8-98e2-b8f6b1108e05'
13285
5dcf6ce8b684 class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 13234
diff changeset
   575
                   visibilityChannel: false
5dcf6ce8b684 class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 13234
diff changeset
   576
                   labelPosition: topLeft
5dcf6ce8b684 class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 13234
diff changeset
   577
                   translateLabel: true
5dcf6ce8b684 class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 13234
diff changeset
   578
                   component: 
5dcf6ce8b684 class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 13234
diff changeset
   579
                  (SpecCollection
5dcf6ce8b684 class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 13234
diff changeset
   580
                     collection: (
5dcf6ce8b684 class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 13234
diff changeset
   581
                      (ViewSpec
5dcf6ce8b684 class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 13234
diff changeset
   582
                         name: 'SourceCacheDirBox'
19448
ff159af1959c #UI_ENHANCEMENT by exept
anharman
parents: 19040
diff changeset
   583
                         layout: (LayoutFrame 0 0 0 0 -1 1 30 0) uuid: '55077daa-3a6b-11e8-98e2-b8f6b1108e05'
13285
5dcf6ce8b684 class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 13234
diff changeset
   584
                         component: 
5dcf6ce8b684 class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 13234
diff changeset
   585
                        (SpecCollection
5dcf6ce8b684 class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 13234
diff changeset
   586
                           collection: (
5dcf6ce8b684 class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 13234
diff changeset
   587
                            (LabelSpec
5dcf6ce8b684 class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 13234
diff changeset
   588
                               label: 'Source Cache Dir:'
5dcf6ce8b684 class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 13234
diff changeset
   589
                               name: 'SourceCacheDirLabel'
19448
ff159af1959c #UI_ENHANCEMENT by exept
anharman
parents: 19040
diff changeset
   590
                               layout: (LayoutFrame 0 0.0 0 0 60 0.25 30 0) uuid: '55077fda-3a6b-11e8-98e2-b8f6b1108e05'
13285
5dcf6ce8b684 class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 13234
diff changeset
   591
                               translateLabel: true
5dcf6ce8b684 class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 13234
diff changeset
   592
                               adjust: right
19448
ff159af1959c #UI_ENHANCEMENT by exept
anharman
parents: 19040
diff changeset
   593
                            )
13285
5dcf6ce8b684 class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 13234
diff changeset
   594
                            (InputFieldSpec
5dcf6ce8b684 class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 13234
diff changeset
   595
                               name: 'SourceCacheDirEntryField'
19448
ff159af1959c #UI_ENHANCEMENT by exept
anharman
parents: 19040
diff changeset
   596
                               layout: (LayoutFrame 64 0.25 0 0 -1 1 30 0) uuid: '55078188-3a6b-11e8-98e2-b8f6b1108e05'
13285
5dcf6ce8b684 class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 13234
diff changeset
   597
                               model: sourceCacheDir
5dcf6ce8b684 class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 13234
diff changeset
   598
                               immediateAccept: false
5dcf6ce8b684 class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 13234
diff changeset
   599
                               acceptOnReturn: true
5dcf6ce8b684 class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 13234
diff changeset
   600
                               acceptOnTab: true
5dcf6ce8b684 class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 13234
diff changeset
   601
                               acceptOnLostFocus: true
5dcf6ce8b684 class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 13234
diff changeset
   602
                               acceptOnPointerLeave: true
5dcf6ce8b684 class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 13234
diff changeset
   603
                            )
19448
ff159af1959c #UI_ENHANCEMENT by exept
anharman
parents: 19040
diff changeset
   604
                          )
ff159af1959c #UI_ENHANCEMENT by exept
anharman
parents: 19040
diff changeset
   605
                        )
ff159af1959c #UI_ENHANCEMENT by exept
anharman
parents: 19040
diff changeset
   606
                      )
13285
5dcf6ce8b684 class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 13234
diff changeset
   607
                      (HorizontalPanelViewSpec
5dcf6ce8b684 class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 13234
diff changeset
   608
                         name: 'CacheActionsHorizontalPanel'
19448
ff159af1959c #UI_ENHANCEMENT by exept
anharman
parents: 19040
diff changeset
   609
                         layout: (LayoutFrame 44 0.25 33 0 -1 1 63 0) uuid: '550785de-3a6b-11e8-98e2-b8f6b1108e05'
16155
2e3a4d0ea38b #UI_ENHANCEMENT
Claus Gittinger <cg@exept.de>
parents: 14403
diff changeset
   610
                         horizontalLayout: rightMax
13285
5dcf6ce8b684 class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 13234
diff changeset
   611
                         verticalLayout: center
5dcf6ce8b684 class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 13234
diff changeset
   612
                         horizontalSpace: 3
5dcf6ce8b684 class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 13234
diff changeset
   613
                         verticalSpace: 3
5dcf6ce8b684 class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 13234
diff changeset
   614
                         component: 
5dcf6ce8b684 class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 13234
diff changeset
   615
                        (SpecCollection
5dcf6ce8b684 class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 13234
diff changeset
   616
                           collection: (
5dcf6ce8b684 class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 13234
diff changeset
   617
                            (ActionButtonSpec
5dcf6ce8b684 class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 13234
diff changeset
   618
                               label: 'Flush Cache now'
5dcf6ce8b684 class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 13234
diff changeset
   619
                               name: 'FlushCacheNowButton'
18033
35ab63777f8e #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 16679
diff changeset
   620
                               uuid: '55078836-3a6b-11e8-98e2-b8f6b1108e05'
13285
5dcf6ce8b684 class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 13234
diff changeset
   621
                               translateLabel: true
5dcf6ce8b684 class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 13234
diff changeset
   622
                               tabable: true
5dcf6ce8b684 class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 13234
diff changeset
   623
                               model: flushSourceCache
19448
ff159af1959c #UI_ENHANCEMENT by exept
anharman
parents: 19040
diff changeset
   624
                               extent: (Point 126 30)
ff159af1959c #UI_ENHANCEMENT by exept
anharman
parents: 19040
diff changeset
   625
                            )
13285
5dcf6ce8b684 class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 13234
diff changeset
   626
                            (ActionButtonSpec
5dcf6ce8b684 class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 13234
diff changeset
   627
                               label: 'Condense Cache now'
5dcf6ce8b684 class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 13234
diff changeset
   628
                               name: 'CondenseCacheNowButton'
18033
35ab63777f8e #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 16679
diff changeset
   629
                               uuid: '55078a3e-3a6b-11e8-98e2-b8f6b1108e05'
13285
5dcf6ce8b684 class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 13234
diff changeset
   630
                               translateLabel: true
5dcf6ce8b684 class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 13234
diff changeset
   631
                               tabable: true
5dcf6ce8b684 class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 13234
diff changeset
   632
                               model: condenseSourceCache
19448
ff159af1959c #UI_ENHANCEMENT by exept
anharman
parents: 19040
diff changeset
   633
                               extent: (Point 126 30)
13285
5dcf6ce8b684 class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 13234
diff changeset
   634
                            )
19448
ff159af1959c #UI_ENHANCEMENT by exept
anharman
parents: 19040
diff changeset
   635
                          )
ff159af1959c #UI_ENHANCEMENT by exept
anharman
parents: 19040
diff changeset
   636
                        )
13285
5dcf6ce8b684 class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 13234
diff changeset
   637
                      )
19448
ff159af1959c #UI_ENHANCEMENT by exept
anharman
parents: 19040
diff changeset
   638
                    )
ff159af1959c #UI_ENHANCEMENT by exept
anharman
parents: 19040
diff changeset
   639
                  ) extent: (Point 748 101)
13285
5dcf6ce8b684 class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 13234
diff changeset
   640
                )
19448
ff159af1959c #UI_ENHANCEMENT by exept
anharman
parents: 19040
diff changeset
   641
              )
ff159af1959c #UI_ENHANCEMENT by exept
anharman
parents: 19040
diff changeset
   642
            )
13285
5dcf6ce8b684 class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 13234
diff changeset
   643
          )
19448
ff159af1959c #UI_ENHANCEMENT by exept
anharman
parents: 19040
diff changeset
   644
        )
ff159af1959c #UI_ENHANCEMENT by exept
anharman
parents: 19040
diff changeset
   645
      )
ff159af1959c #UI_ENHANCEMENT by exept
anharman
parents: 19040
diff changeset
   646
    )
9822
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   647
! !
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   648
9858
2376163ad093 added: #managerClass
Claus Gittinger <cg@exept.de>
parents: 9845
diff changeset
   649
!CVSSourceCodeManagementSettingsAppl class methodsFor:'queries'!
2376163ad093 added: #managerClass
Claus Gittinger <cg@exept.de>
parents: 9845
diff changeset
   650
2376163ad093 added: #managerClass
Claus Gittinger <cg@exept.de>
parents: 9845
diff changeset
   651
managerClass
2376163ad093 added: #managerClass
Claus Gittinger <cg@exept.de>
parents: 9845
diff changeset
   652
    "backlink to my manager class (needed by the settings app)"
2376163ad093 added: #managerClass
Claus Gittinger <cg@exept.de>
parents: 9845
diff changeset
   653
2376163ad093 added: #managerClass
Claus Gittinger <cg@exept.de>
parents: 9845
diff changeset
   654
    ^ CVSSourceCodeManager
2376163ad093 added: #managerClass
Claus Gittinger <cg@exept.de>
parents: 9845
diff changeset
   655
2376163ad093 added: #managerClass
Claus Gittinger <cg@exept.de>
parents: 9845
diff changeset
   656
    "Created: / 19-04-2011 / 12:46:52 / cg"
2376163ad093 added: #managerClass
Claus Gittinger <cg@exept.de>
parents: 9845
diff changeset
   657
! !
2376163ad093 added: #managerClass
Claus Gittinger <cg@exept.de>
parents: 9845
diff changeset
   658
9822
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   659
!CVSSourceCodeManagementSettingsAppl methodsFor:'actions'!
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   660
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   661
addModule:module withData:data
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   662
    (self listOfModules includes:module) ifFalse:[
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   663
        self listOfModules add:module; sort.
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   664
    ].
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   665
    rootsPerModule at:module put:data.
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   666
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   667
    self updateModifiedChannel.
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   668
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   669
    "Created: / 08-11-2006 / 19:25:21 / cg"
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   670
!
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   671
11840
abf92167eea8 added: #addPublicExeptRepository
Claus Gittinger <cg@exept.de>
parents: 11733
diff changeset
   672
addPublicExeptRepository
abf92167eea8 added: #addPublicExeptRepository
Claus Gittinger <cg@exept.de>
parents: 11733
diff changeset
   673
    self addModule:'stx' withData:{ CVSSourceCodeManager . (CVSSourceCodeManager exeptsPublicSTXRepositoryModuleRoot) }.
abf92167eea8 added: #addPublicExeptRepository
Claus Gittinger <cg@exept.de>
parents: 11733
diff changeset
   674
!
abf92167eea8 added: #addPublicExeptRepository
Claus Gittinger <cg@exept.de>
parents: 11733
diff changeset
   675
9822
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   676
basicReadSettings
10986
79f022aaa60d comment/format in: #removePerModuleRoot
Claus Gittinger <cg@exept.de>
parents: 10982
diff changeset
   677
    |infoPerModule|
79f022aaa60d comment/format in: #removePerModuleRoot
Claus Gittinger <cg@exept.de>
parents: 10982
diff changeset
   678
9822
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   679
    self initialize.
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   680
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   681
    self sourceCacheDir value:(CVSSourceCodeManager cacheDirectoryName).
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   682
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   683
    CVSSourceCodeManager forgetDisabledModules.
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   684
    repository := CVSSourceCodeManager repositoryName.
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   685
    repositoryHolder := (repository ? '') asValue.
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   686
10986
79f022aaa60d comment/format in: #removePerModuleRoot
Claus Gittinger <cg@exept.de>
parents: 10982
diff changeset
   687
    infoPerModule := CVSSourceCodeManager repositoryInfoPerModule.
79f022aaa60d comment/format in: #removePerModuleRoot
Claus Gittinger <cg@exept.de>
parents: 10982
diff changeset
   688
    infoPerModule keysAndValuesDo:[:module :info | 
79f022aaa60d comment/format in: #removePerModuleRoot
Claus Gittinger <cg@exept.de>
parents: 10982
diff changeset
   689
        rootsPerModule at:module put:(Array with:CVSSourceCodeManager with:info).
9822
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   690
    ].
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   691
9845
bfb845fd9ff2 added: #defaultRepositoryName
Claus Gittinger <cg@exept.de>
parents: 9822
diff changeset
   692
    self cvsRootHolder value:CVSSourceCodeManager repositoryName ? self class defaultRepositoryName.
9822
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   693
    self cvsExecutableHolder value:CVSSourceCodeManager cvsExecutable.
11059
e30cf8541827 class definition
Claus Gittinger <cg@exept.de>
parents: 11010
diff changeset
   694
    self cvsCommandTimeoutHolder value:CVSSourceCodeManager cvsCommandTimeout.
9822
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   695
    self verboseSourceCodeAccess value:CVSSourceCodeManager verboseSourceCodeAccess. 
11069
8f99a7115be3 preps for \"showInBrowserMenus\"
Claus Gittinger <cg@exept.de>
parents: 11061
diff changeset
   696
    self shownInBrowserMenusHolder value:CVSSourceCodeManager shownInBrowserMenus. 
9822
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   697
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   698
    rootsPerModule notNil ifTrue:[
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   699
        self listOfModules removeAll.
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   700
        listOfModules addAll:rootsPerModule keys asList.
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   701
    ].
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   702
"/    self selectedPerModuleRootChanged.
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   703
11069
8f99a7115be3 preps for \"showInBrowserMenus\"
Claus Gittinger <cg@exept.de>
parents: 11061
diff changeset
   704
    "Modified: / 10-01-2012 / 00:17:09 / cg"
9822
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   705
!
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   706
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   707
basicSaveSettings
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   708
    |modules nm fn|
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   709
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   710
    nm := self sourceCacheDir value.
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   711
    nm notEmptyOrNil ifTrue:[
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   712
        (fn := nm asFilename) exists ifFalse:[
19040
fd8d51dcf906 #REFACTORING by exept
Claus Gittinger <cg@exept.de>
parents: 18917
diff changeset
   713
            (self confirm:(c'CVS cache directory "%1" does not exist\ncreate ?' bindWith:nm)) ifTrue:[
9822
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   714
                fn recursiveMakeDirectory; 
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   715
                   makeReadableForAll;
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   716
                   makeWritableForAll;
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   717
                   makeExecutableForAll.
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   718
            ]
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   719
        ].
13234
5a5a9c99917f Use #isWritableDirectory
Stefan Vogel <sv@exept.de>
parents: 12752
diff changeset
   720
        (fn isWritableDirectory and:[fn isReadable]) ifTrue:[
9822
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   721
            CVSSourceCodeManager cacheDirectoryName:nm.
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   722
        ] ifFalse:[
19040
fd8d51dcf906 #REFACTORING by exept
Claus Gittinger <cg@exept.de>
parents: 18917
diff changeset
   723
            self warn:'Invalid sourceCache directory (not a read/writable directory).'
9822
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   724
        ]
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   725
    ].
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   726
11059
e30cf8541827 class definition
Claus Gittinger <cg@exept.de>
parents: 11010
diff changeset
   727
    CVSSourceCodeManager cvsCommandTimeout:(self cvsCommandTimeoutHolder value).
e30cf8541827 class definition
Claus Gittinger <cg@exept.de>
parents: 11010
diff changeset
   728
9822
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   729
    (Array with:CVSSourceCodeManager) "self availableManagers" do:[:eachManager |
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   730
        |infoPerModule|
11059
e30cf8541827 class definition
Claus Gittinger <cg@exept.de>
parents: 11010
diff changeset
   731
9822
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   732
        modules := rootsPerModule select:[:entry | entry first == eachManager].
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   733
        infoPerModule := Dictionary new.
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   734
        modules keysAndValuesDo:[:module :entry | 
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   735
            entry first == eachManager ifTrue:[
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   736
                infoPerModule at:module put:(entry second).
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   737
            ].
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   738
        ].
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   739
        eachManager repositoryInfoPerModule:infoPerModule.
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   740
    ].
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   741
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   742
    self basicSaveCVSSettings.
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   743
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   744
    self sourceCacheDir value:(AbstractSourceCodeManager cacheDirectoryName).
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   745
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   746
    DebugView newDebugger. "/ ???
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   747
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   748
    self acceptChannel value.
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   749
11059
e30cf8541827 class definition
Claus Gittinger <cg@exept.de>
parents: 11010
diff changeset
   750
    "Modified: / 08-01-2012 / 18:59:58 / cg"
9822
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   751
!
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   752
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   753
removePerModuleRoot
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   754
    |module|
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   755
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   756
    acceptChannel value:true.    
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   757
    module := self perModuleRootModule value.
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   758
    self listOfModules remove:module ifAbsent:nil.
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   759
    rootsPerModule removeKey:module ifAbsent:nil.
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   760
    self perModuleRootModule value:nil.
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   761
    self perModuleRoot value:nil.
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   762
    self updateModifiedChannel.
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   763
10986
79f022aaa60d comment/format in: #removePerModuleRoot
Claus Gittinger <cg@exept.de>
parents: 10982
diff changeset
   764
    "Modified (format): / 21-12-2011 / 14:25:29 / cg"
9822
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   765
! !
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   766
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   767
!CVSSourceCodeManagementSettingsAppl methodsFor:'actions - cvs'!
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   768
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   769
addPerModuleRoot
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   770
    |module cvsRoot|
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   771
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   772
    acceptChannel value:true.    
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   773
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   774
    module := self perModuleRootModule value.
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   775
    cvsRoot := self perModuleRoot value.
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   776
18628
19015f9bcfaa #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 18373
diff changeset
   777
    cvsRoot size ~~ 0 ifTrue:[
9822
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   778
        self addModule:module withData:(Array with:CVSSourceCodeManager with:cvsRoot).
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   779
    ].
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   780
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   781
    "Modified: / 08-11-2006 / 19:27:39 / cg"
18628
19015f9bcfaa #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 18373
diff changeset
   782
    "Modified: / 01-03-2019 / 14:48:11 / Claus Gittinger"
9822
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   783
!
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   784
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   785
basicSaveCVSSettings
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   786
    |cvsRoot|
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   787
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   788
    repositoryHolder notNil ifTrue:[
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   789
        repositoryHolder value size > 0 ifTrue:[
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   790
            manager notNil ifTrue:[
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   791
                manager initializeForRepository:repositoryHolder value.
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   792
            ]
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   793
        ].
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   794
    ].
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   795
    CVSSourceCodeManager cvsExecutable:((self cvsExecutableHolder value ? '') withoutSeparators).
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   796
    CVSSourceCodeManager initializeForRepository:(cvsRoot := self cvsRootHolder value).
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   797
    CVSSourceCodeManager verboseSourceCodeAccess: verboseSourceCodeAccess value. 
11069
8f99a7115be3 preps for \"showInBrowserMenus\"
Claus Gittinger <cg@exept.de>
parents: 11061
diff changeset
   798
    CVSSourceCodeManager shownInBrowserMenus:self shownInBrowserMenusHolder value. 
9822
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   799
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   800
    RecentlyUsedCVSRoots isNil ifTrue:[
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   801
        RecentlyUsedCVSRoots := OrderedCollection new.
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   802
    ].
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   803
    (RecentlyUsedCVSRoots includes:cvsRoot) ifFalse:[
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   804
        RecentlyUsedCVSRoots addFirst:cvsRoot.
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   805
        RecentlyUsedCVSRoots size > 20 ifTrue:[
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   806
            RecentlyUsedCVSRoots removeLast.
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   807
        ].
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   808
    ].
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   809
11069
8f99a7115be3 preps for \"showInBrowserMenus\"
Claus Gittinger <cg@exept.de>
parents: 11061
diff changeset
   810
    "Modified: / 10-01-2012 / 00:18:15 / cg"
9822
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   811
!
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   812
12749
88644659f5bb class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 12420
diff changeset
   813
cvsInit:cvsRoot
13687
47e667a018f6 class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 13285
diff changeset
   814
    |terminalEmulatorClass cmd term rootLocal|
12749
88644659f5bb class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 12420
diff changeset
   815
13687
47e667a018f6 class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 13285
diff changeset
   816
    terminalEmulatorClass := "VT100TerminalView ?" TerminalView.
47e667a018f6 class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 13285
diff changeset
   817
    terminalEmulatorClass isNil ifTrue:[
12749
88644659f5bb class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 12420
diff changeset
   818
        self warn:'Function not available (missing terminal emulation class)'.
88644659f5bb class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 12420
diff changeset
   819
        ^ self.
88644659f5bb class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 12420
diff changeset
   820
    ].
88644659f5bb class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 12420
diff changeset
   821
13687
47e667a018f6 class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 13285
diff changeset
   822
    term := terminalEmulatorClass open.
12749
88644659f5bb class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 12420
diff changeset
   823
    term topView 
88644659f5bb class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 12420
diff changeset
   824
        label:'CVS init for ' , cvsRoot;
88644659f5bb class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 12420
diff changeset
   825
        waitUntilVisible.
88644659f5bb class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 12420
diff changeset
   826
    term shellTerminateAction:[
88644659f5bb class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 12420
diff changeset
   827
        "/ term topView destroy
88644659f5bb class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 12420
diff changeset
   828
    ].
88644659f5bb class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 12420
diff changeset
   829
88644659f5bb class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 12420
diff changeset
   830
    rootLocal := cvsRoot withoutPrefix:':local:'.
18736
2ca40af16abd #REFACTORING by stefan
Stefan Vogel <sv@exept.de>
parents: 18628
diff changeset
   831
    rootLocal := rootLocal asFilename pathName.
13687
47e667a018f6 class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 13285
diff changeset
   832
"/ self halt.
16518
ab9db39ef152 #OTHER by cg
Claus Gittinger <cg@exept.de>
parents: 16155
diff changeset
   833
    term showCR:(('Close this terminal window, when finished') withColor:#red).
12750
35bc6c3e605e class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 12749
diff changeset
   834
    term showCR:''.
35bc6c3e605e class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 12749
diff changeset
   835
    term endEntry.
35bc6c3e605e class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 12749
diff changeset
   836
12749
88644659f5bb class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 12420
diff changeset
   837
    Delay waitForSeconds:1.
88644659f5bb class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 12420
diff changeset
   838
    cmd := 'md "%1"' bindWith:rootLocal.
88644659f5bb class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 12420
diff changeset
   839
    term sendLine:cmd.
12751
7073ae7a0169 class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 12750
diff changeset
   840
    "/ cmd := 'set CVSROOT="%1"' bindWith:rootLocal.
7073ae7a0169 class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 12750
diff changeset
   841
    "/ term sendLine:cmd.
7073ae7a0169 class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 12750
diff changeset
   842
    cmd := 'cvs -d "%1" init' bindWith:rootLocal.
12749
88644659f5bb class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 12420
diff changeset
   843
    term sendLine:cmd.
88644659f5bb class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 12420
diff changeset
   844
    cmd := 'exit'.
88644659f5bb class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 12420
diff changeset
   845
    term sendLine:cmd.
88644659f5bb class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 12420
diff changeset
   846
88644659f5bb class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 12420
diff changeset
   847
    "
88644659f5bb class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 12420
diff changeset
   848
     self basicNew cvsInit:':local:c:\users\exept\cvs'
88644659f5bb class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 12420
diff changeset
   849
    "
13285
5dcf6ce8b684 class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 13234
diff changeset
   850
5dcf6ce8b684 class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 13234
diff changeset
   851
    "Modified: / 31-07-2013 / 18:29:19 / cg"
18736
2ca40af16abd #REFACTORING by stefan
Stefan Vogel <sv@exept.de>
parents: 18628
diff changeset
   852
    "Modified: / 11-04-2019 / 18:03:46 / Stefan Vogel"
12749
88644659f5bb class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 12420
diff changeset
   853
!
88644659f5bb class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 12420
diff changeset
   854
9822
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   855
cvsLogin:cvsRoot
13687
47e667a018f6 class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 13285
diff changeset
   856
    |terminalEmulatorClass cmd term|
9822
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   857
13687
47e667a018f6 class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 13285
diff changeset
   858
    terminalEmulatorClass := "VT100TerminalView ?" TerminalView.
47e667a018f6 class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 13285
diff changeset
   859
    terminalEmulatorClass isNil ifTrue:[
12749
88644659f5bb class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 12420
diff changeset
   860
        self warn:'Function not available (missing terminal emulation class)'.
9822
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   861
        ^ self.
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   862
    ].
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   863
13687
47e667a018f6 class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 13285
diff changeset
   864
    term := terminalEmulatorClass open.
9822
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   865
    term topView 
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   866
        label:'CVS Login for ' , cvsRoot;
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   867
        waitUntilVisible.
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   868
    term shellTerminateAction:[
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   869
        "/ term topView destroy
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   870
    ].
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   871
16518
ab9db39ef152 #OTHER by cg
Claus Gittinger <cg@exept.de>
parents: 16155
diff changeset
   872
    term showCR:(('Please enter the CVS-password then close this terminal window.') withColor:#red).
9822
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   873
    term showCR:''.
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   874
    term endEntry.
12750
35bc6c3e605e class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 12749
diff changeset
   875
9822
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   876
    Delay waitForSeconds:1.
12750
35bc6c3e605e class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 12749
diff changeset
   877
    cmd := 'cvs -d "%1" login' bindWith:cvsRoot.
35bc6c3e605e class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 12749
diff changeset
   878
    term sendLine:cmd.
35bc6c3e605e class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 12749
diff changeset
   879
    cmd := 'exit'.
9822
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   880
    term sendLine:cmd.
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   881
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   882
    "
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   883
     self basicNew cvsLogin:':pserver:stx@exept.eu.org:/stx'
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   884
    "
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   885
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   886
    "Modified: / 25-08-2010 / 23:03:19 / cg"
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   887
!
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   888
12749
88644659f5bb class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 12420
diff changeset
   889
initPerModuleRoot
88644659f5bb class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 12420
diff changeset
   890
    self cvsInit:perModuleRoot value.
88644659f5bb class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 12420
diff changeset
   891
!
88644659f5bb class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 12420
diff changeset
   892
9822
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   893
loginCVSRoot
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   894
    self cvsLogin:cvsRootHolder value.
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   895
!
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   896
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   897
loginPerModuleRoot
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   898
    self cvsLogin:perModuleRoot value.
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   899
! !
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   900
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   901
!CVSSourceCodeManagementSettingsAppl methodsFor:'aspects'!
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   902
11059
e30cf8541827 class definition
Claus Gittinger <cg@exept.de>
parents: 11010
diff changeset
   903
cvsCommandTimeoutHolder
e30cf8541827 class definition
Claus Gittinger <cg@exept.de>
parents: 11010
diff changeset
   904
    cvsCommandTimeoutHolder isNil ifTrue:[
e30cf8541827 class definition
Claus Gittinger <cg@exept.de>
parents: 11010
diff changeset
   905
        cvsCommandTimeoutHolder := ValueHolder new.
e30cf8541827 class definition
Claus Gittinger <cg@exept.de>
parents: 11010
diff changeset
   906
        cvsCommandTimeoutHolder onChangeSend:#updateModifiedChannel to:self
e30cf8541827 class definition
Claus Gittinger <cg@exept.de>
parents: 11010
diff changeset
   907
    ].
e30cf8541827 class definition
Claus Gittinger <cg@exept.de>
parents: 11010
diff changeset
   908
    ^ cvsCommandTimeoutHolder.
e30cf8541827 class definition
Claus Gittinger <cg@exept.de>
parents: 11010
diff changeset
   909
e30cf8541827 class definition
Claus Gittinger <cg@exept.de>
parents: 11010
diff changeset
   910
    "Created: / 08-01-2012 / 18:57:05 / cg"
e30cf8541827 class definition
Claus Gittinger <cg@exept.de>
parents: 11010
diff changeset
   911
!
e30cf8541827 class definition
Claus Gittinger <cg@exept.de>
parents: 11010
diff changeset
   912
9822
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   913
cvsExecutableHolder
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   914
    cvsExecutableHolder isNil ifTrue:[
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   915
        cvsExecutableHolder := ValueHolder new.
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   916
        cvsExecutableHolder onChangeSend:#updateModifiedChannel to:self
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   917
    ].
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   918
    ^ cvsExecutableHolder.
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   919
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   920
    "Created: / 21-09-2006 / 15:37:06 / cg"
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   921
!
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   922
12749
88644659f5bb class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 12420
diff changeset
   923
cvsInitInModuleEnabled
88644659f5bb class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 12420
diff changeset
   924
    cvsInitInModuleEnabled isNil ifTrue:[
88644659f5bb class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 12420
diff changeset
   925
        cvsInitInModuleEnabled := false asValue.
88644659f5bb class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 12420
diff changeset
   926
    ].
88644659f5bb class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 12420
diff changeset
   927
    ^ cvsInitInModuleEnabled.
88644659f5bb class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 12420
diff changeset
   928
!
88644659f5bb class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 12420
diff changeset
   929
9822
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   930
cvsLoginEnabled
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   931
    cvsLoginEnabled isNil ifTrue:[
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   932
        cvsLoginEnabled := false asValue.
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   933
    ].
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   934
    ^ cvsLoginEnabled.
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   935
!
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   936
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   937
cvsLoginInModuleEnabled
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   938
    cvsLoginInModuleEnabled isNil ifTrue:[
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   939
        cvsLoginInModuleEnabled := false asValue.
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   940
    ].
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   941
    ^ cvsLoginInModuleEnabled.
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   942
!
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   943
18373
792e60380114 #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 18372
diff changeset
   944
cvsLoginInfoTextHolder
792e60380114 #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 18372
diff changeset
   945
    <resource: #uiAspect>
792e60380114 #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 18372
diff changeset
   946
792e60380114 #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 18372
diff changeset
   947
    cvsLoginInfoTextHolder isNil ifTrue:[
792e60380114 #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 18372
diff changeset
   948
        cvsLoginInfoTextHolder := 'cvs -d :pserver:user@host/cvs/stx login' asValue
792e60380114 #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 18372
diff changeset
   949
    ].
792e60380114 #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 18372
diff changeset
   950
    ^ cvsLoginInfoTextHolder
792e60380114 #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 18372
diff changeset
   951
792e60380114 #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 18372
diff changeset
   952
    "Created: / 12-09-2018 / 12:54:13 / Claus Gittinger"
792e60380114 #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 18372
diff changeset
   953
!
792e60380114 #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 18372
diff changeset
   954
792e60380114 #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 18372
diff changeset
   955
cvsLoginInfoVisibleHolder
792e60380114 #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 18372
diff changeset
   956
    <resource: #uiAspect>
792e60380114 #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 18372
diff changeset
   957
792e60380114 #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 18372
diff changeset
   958
    ^ self cvsLoginVisible not
792e60380114 #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 18372
diff changeset
   959
792e60380114 #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 18372
diff changeset
   960
    "Created: / 12-09-2018 / 12:52:37 / Claus Gittinger"
792e60380114 #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 18372
diff changeset
   961
!
792e60380114 #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 18372
diff changeset
   962
18372
17581fc2a0ee #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18033
diff changeset
   963
cvsLoginVisible
17581fc2a0ee #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18033
diff changeset
   964
    "hide this button on windows, where the terminal window does not work
17581fc2a0ee #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18033
diff changeset
   965
     correctly without echo"
18373
792e60380114 #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 18372
diff changeset
   966
18372
17581fc2a0ee #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18033
diff changeset
   967
    ^ OperatingSystem isMSWINDOWSlike not
17581fc2a0ee #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18033
diff changeset
   968
17581fc2a0ee #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18033
diff changeset
   969
    "Created: / 12-09-2018 / 12:46:24 / Claus Gittinger"
17581fc2a0ee #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18033
diff changeset
   970
!
17581fc2a0ee #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 18033
diff changeset
   971
9822
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   972
cvsRootHolder
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   973
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   974
    cvsRootHolder isNil ifTrue:[
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   975
        cvsRootHolder := self cvsRootFromCVSRootFileOrNil asValue.
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   976
        cvsRootHolder addDependent:self.
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   977
    ].
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   978
    ^ cvsRootHolder.
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   979
!
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   980
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   981
cvsRootPrototypeList
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   982
    |cvsRoot prototypeList|
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   983
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   984
    cvsRootPrototypeList isNil ifTrue:[
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   985
        prototypeList := OrderedSet new.
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   986
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   987
        cvsRoot := self cvsRootFromCVSRootFileOrNil.
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   988
        cvsRoot notNil ifTrue:[
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   989
            prototypeList add:cvsRoot    
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   990
        ].
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   991
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   992
        prototypeList add:(':pserver:cvs@cvs.smalltalk-x.de:/cvs/stx').
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   993
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   994
        OperatingSystem getDomainName = 'bh.exept.de' ifTrue:[
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   995
            prototypeList add:(':pserver:' , OperatingSystem getLoginName , '@cvs.bh.exept.de:/cvs/stx')
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   996
        ] ifFalse:[
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   997
            prototypeList add:(':pserver:' , OperatingSystem getLoginName , '@CVSHOST:/cvs/stx').
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   998
        ].
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   999
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1000
        OperatingSystem isUNIXlike ifTrue:[
12749
88644659f5bb class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 12420
diff changeset
  1001
            prototypeList add:(':local:',OperatingSystem getHomeDirectory,'/cvs').
88644659f5bb class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 12420
diff changeset
  1002
            prototypeList add:':local:/cvs/stx'.
9822
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1003
        ] ifFalse:[
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1004
            OperatingSystem isMSDOSlike ifTrue:[
12749
88644659f5bb class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 12420
diff changeset
  1005
                prototypeList add:(':local:',OperatingSystem getHomeDirectory asLowercase,'\cvs').
11166
3e6429352ab7 changed: #cvsRootPrototypeList
Claus Gittinger <cg@exept.de>
parents: 11124
diff changeset
  1006
                prototypeList add:':local:c:\cvs\stx'.
9822
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1007
            ] ifFalse:[
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1008
                "there might be more here in the future"
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1009
            ]
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1010
        ].
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1011
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1012
        cvsRootPrototypeList := prototypeList asOrderedCollection.
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1013
    ].
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1014
    ^ cvsRootPrototypeList.
11166
3e6429352ab7 changed: #cvsRootPrototypeList
Claus Gittinger <cg@exept.de>
parents: 11124
diff changeset
  1015
3e6429352ab7 changed: #cvsRootPrototypeList
Claus Gittinger <cg@exept.de>
parents: 11124
diff changeset
  1016
    "Modified: / 20-01-2012 / 16:17:35 / cg"
9822
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1017
!
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1018
11331
94db1f47eace refactored common code
Claus Gittinger <cg@exept.de>
parents: 11320
diff changeset
  1019
initialListOfModules
94db1f47eace refactored common code
Claus Gittinger <cg@exept.de>
parents: 11320
diff changeset
  1020
    ^ rootsPerModule keys asList sort.
9822
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1021
11331
94db1f47eace refactored common code
Claus Gittinger <cg@exept.de>
parents: 11320
diff changeset
  1022
    "Created: / 02-03-2012 / 14:39:15 / cg"
9822
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
perModuleRoot
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1026
    perModuleRoot isNil ifTrue:[
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1027
        perModuleRoot := ValueHolder new.
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1028
        perModuleRoot addDependent:self.
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1029
    ].
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1030
    ^ perModuleRoot.
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1031
!
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1032
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1033
perModuleRootModule
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1034
    perModuleRootModule isNil ifTrue:[
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1035
        perModuleRootModule := ValueHolder new.
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1036
    ].
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1037
    ^ perModuleRootModule.
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
selectedPerModuleRoot
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1041
    selectedPerModuleRoot isNil ifTrue:[
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1042
        selectedPerModuleRoot := ValueHolder new.
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1043
        selectedPerModuleRoot addDependent:self.
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1044
    ].
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1045
    ^ selectedPerModuleRoot.
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1046
! !
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1047
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1048
!CVSSourceCodeManagementSettingsAppl methodsFor:'change & update'!
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1049
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1050
selectedPerModuleRootChanged
18913
571ac07344f4 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 18736
diff changeset
  1051
    |module entry newRemoveEnabled newPerModuleRootModule newPerModuleRoot|
9822
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1052
18913
571ac07344f4 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 18736
diff changeset
  1053
    self acceptChannel value:true.
571ac07344f4 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 18736
diff changeset
  1054
    
571ac07344f4 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 18736
diff changeset
  1055
    newRemoveEnabled := false.
571ac07344f4 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 18736
diff changeset
  1056
    newPerModuleRootModule := ' '.
571ac07344f4 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 18736
diff changeset
  1057
    newPerModuleRoot := ''.
9822
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1058
18913
571ac07344f4 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 18736
diff changeset
  1059
    module := self selectedPerModuleRoot value.
571ac07344f4 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 18736
diff changeset
  1060
    module notNil ifTrue:[ 
571ac07344f4 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 18736
diff changeset
  1061
        entry := rootsPerModule at:module ifAbsent:#().    
571ac07344f4 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 18736
diff changeset
  1062
        (entry first = CVSSourceCodeManager) ifTrue:[
571ac07344f4 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 18736
diff changeset
  1063
            newRemoveEnabled := true.
571ac07344f4 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 18736
diff changeset
  1064
            newPerModuleRootModule := module.
571ac07344f4 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 18736
diff changeset
  1065
            newPerModuleRoot := (entry at:2).
571ac07344f4 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 18736
diff changeset
  1066
        ] ifFalse:[
571ac07344f4 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 18736
diff changeset
  1067
            newPerModuleRootModule := module,' ',('<< use ',entry first managerTypeName,' >>') allBold.
571ac07344f4 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 18736
diff changeset
  1068
        ].
9822
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1069
    ].
18913
571ac07344f4 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 18736
diff changeset
  1070
    
571ac07344f4 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 18736
diff changeset
  1071
    self removeEnabled value:newRemoveEnabled.
571ac07344f4 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 18736
diff changeset
  1072
    self perModuleRootModule value:newPerModuleRootModule.
571ac07344f4 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 18736
diff changeset
  1073
    self perModuleRoot value:newPerModuleRoot.
571ac07344f4 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 18736
diff changeset
  1074
571ac07344f4 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 18736
diff changeset
  1075
    "Modified: / 16-07-2019 / 14:42:48 / Claus Gittinger"
9822
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1076
!
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1077
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1078
update:something with:aParameter from:changedObject 
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1079
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1080
    "/ cvs
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1081
    changedObject == cvsRootHolder ifTrue:[
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1082
        self updateModifiedChannel.
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1083
        self updateLoginEnableHolders.
18373
792e60380114 #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 18372
diff changeset
  1084
        self cvsLoginInfoTextHolder value:
792e60380114 #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 18372
diff changeset
  1085
            ('cvs -d %1 login'
792e60380114 #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 18372
diff changeset
  1086
                bindWith:(changedObject value)).
9822
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1087
        ^ self
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1088
    ].
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1089
    changedObject == perModuleRoot ifTrue:[
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1090
        self updateLoginEnableHolders.
12749
88644659f5bb class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 12420
diff changeset
  1091
        self updateInitEnableHolders.
9822
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1092
        ^ self
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1093
    ].
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1094
    changedObject == selectedPerModuleRoot ifTrue:[
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1095
        self selectedPerModuleRootChanged.
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1096
        ^ self
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1097
    ].
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1098
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1099
    super update:something with:aParameter from:changedObject
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1100
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1101
    "Modified: / 18-04-2011 / 18:18:04 / cg"
18373
792e60380114 #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 18372
diff changeset
  1102
    "Modified: / 12-09-2018 / 12:58:45 / Claus Gittinger"
9822
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1103
!
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1104
12749
88644659f5bb class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 12420
diff changeset
  1105
updateInitEnableHolders
12752
e890b4041563 class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 12751
diff changeset
  1106
    |cvsRoot rootDir hasLocalRepository isAlreadyInitialized|
e890b4041563 class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 12751
diff changeset
  1107
e890b4041563 class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 12751
diff changeset
  1108
    isAlreadyInitialized := false.
e890b4041563 class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 12751
diff changeset
  1109
    cvsRoot := (perModuleRoot value ? '').
e890b4041563 class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 12751
diff changeset
  1110
    (hasLocalRepository := (cvsRoot startsWith:':local:')) ifTrue:[
e890b4041563 class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 12751
diff changeset
  1111
        rootDir := (cvsRoot withoutPrefix:':local:') asFilename.
e890b4041563 class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 12751
diff changeset
  1112
        isAlreadyInitialized := rootDir exists
e890b4041563 class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 12751
diff changeset
  1113
                                and:[ (rootDir / 'CVSROOT') exists].
e890b4041563 class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 12751
diff changeset
  1114
    ].
e890b4041563 class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 12751
diff changeset
  1115
    self cvsInitInModuleEnabled value:isAlreadyInitialized not.
12749
88644659f5bb class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 12420
diff changeset
  1116
!
88644659f5bb class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 12420
diff changeset
  1117
9822
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1118
updateLoginEnableHolders
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1119
    self cvsLoginEnabled value:((cvsRootHolder value ? '') startsWith:':pserver:').
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1120
    self cvsLoginInModuleEnabled value:((perModuleRoot value ? '') startsWith:':pserver:').
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1121
! !
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1122
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1123
!CVSSourceCodeManagementSettingsAppl methodsFor:'help'!
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1124
14251
daa45aa83a82 halp url
Claus Gittinger <cg@exept.de>
parents: 13687
diff changeset
  1125
editorHelpRelativeWikiURL
daa45aa83a82 halp url
Claus Gittinger <cg@exept.de>
parents: 13687
diff changeset
  1126
    "the relative URL of the dialog-description in the Wiki"
daa45aa83a82 halp url
Claus Gittinger <cg@exept.de>
parents: 13687
diff changeset
  1127
daa45aa83a82 halp url
Claus Gittinger <cg@exept.de>
parents: 13687
diff changeset
  1128
    ^ 'Settings_CVSSourceCodeManagerSettings'
daa45aa83a82 halp url
Claus Gittinger <cg@exept.de>
parents: 13687
diff changeset
  1129
!
daa45aa83a82 halp url
Claus Gittinger <cg@exept.de>
parents: 13687
diff changeset
  1130
9822
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1131
helpFilename
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1132
    ^ 'Launcher/cvsSetup.html'
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 methodsFor:'initialization & release'!
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1136
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1137
initialize
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1138
    (AbstractSourceCodeManager notNil) ifTrue:[ AbstractSourceCodeManager autoload ].
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1139
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1140
    sourceCacheDir := nil asValue.
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1141
    sourceCacheDir addDependent:self.
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1142
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1143
    repositoryHolder := '' asValue.
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1144
    rootsPerModule := Dictionary new.
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1145
11124
dbde03bc2659 refactored
Claus Gittinger <cg@exept.de>
parents: 11080
diff changeset
  1146
    CVSSourceCodeManager repositoryInfoPerModule 
dbde03bc2659 refactored
Claus Gittinger <cg@exept.de>
parents: 11080
diff changeset
  1147
        keysAndValuesDo:[:module :info |
dbde03bc2659 refactored
Claus Gittinger <cg@exept.de>
parents: 11080
diff changeset
  1148
            module withoutSeparators ~= module ifTrue:[
dbde03bc2659 refactored
Claus Gittinger <cg@exept.de>
parents: 11080
diff changeset
  1149
                self halt:'should not happen any longer'
9822
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1150
            ].
11124
dbde03bc2659 refactored
Claus Gittinger <cg@exept.de>
parents: 11080
diff changeset
  1151
            rootsPerModule at:module put:(Array with:CVSSourceCodeManager with:info)
dbde03bc2659 refactored
Claus Gittinger <cg@exept.de>
parents: 11080
diff changeset
  1152
        ].
9822
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1153
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1154
    super initialize.
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1155
11124
dbde03bc2659 refactored
Claus Gittinger <cg@exept.de>
parents: 11080
diff changeset
  1156
    "Modified: / 14-01-2012 / 20:28:00 / cg"
9822
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1157
! !
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1158
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1159
!CVSSourceCodeManagementSettingsAppl methodsFor:'queries'!
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1160
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1161
cvsRootFromCVSRootFileOrNil
11124
dbde03bc2659 refactored
Claus Gittinger <cg@exept.de>
parents: 11080
diff changeset
  1162
    "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
  1163
9822
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1164
    |cvsDir cvsRootFile cvsRoot|
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1165
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1166
    cvsDir := 'CVS' asFilename.
10999
ad10cd0cd55e refactoring
Claus Gittinger <cg@exept.de>
parents: 10986
diff changeset
  1167
    cvsDir isDirectory ifFalse:[ ^ nil ].
ad10cd0cd55e refactoring
Claus Gittinger <cg@exept.de>
parents: 10986
diff changeset
  1168
ad10cd0cd55e refactoring
Claus Gittinger <cg@exept.de>
parents: 10986
diff changeset
  1169
    cvsRootFile := cvsDir construct:'Root'.
ad10cd0cd55e refactoring
Claus Gittinger <cg@exept.de>
parents: 10986
diff changeset
  1170
    cvsRootFile isReadable ifTrue:[
ad10cd0cd55e refactoring
Claus Gittinger <cg@exept.de>
parents: 10986
diff changeset
  1171
        cvsRoot := cvsRootFile contents firstIfEmpty:nil.
9822
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1172
    ].
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1173
    ^ cvsRoot
10999
ad10cd0cd55e refactoring
Claus Gittinger <cg@exept.de>
parents: 10986
diff changeset
  1174
ad10cd0cd55e refactoring
Claus Gittinger <cg@exept.de>
parents: 10986
diff changeset
  1175
    "Modified: / 22-12-2011 / 00:12:42 / cg"
11124
dbde03bc2659 refactored
Claus Gittinger <cg@exept.de>
parents: 11080
diff changeset
  1176
    "Modified (comment): / 14-01-2012 / 20:29:11 / cg"
9822
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1177
!
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1178
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1179
hasUnsavedChanges
10999
ad10cd0cd55e refactoring
Claus Gittinger <cg@exept.de>
parents: 10986
diff changeset
  1180
    |modules|
ad10cd0cd55e refactoring
Claus Gittinger <cg@exept.de>
parents: 10986
diff changeset
  1181
9822
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1182
    ((CVSSourceCodeManager cacheDirectoryName ? '') ~= (self sourceCacheDir value ? '')) ifTrue:[^ true].
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1183
10999
ad10cd0cd55e refactoring
Claus Gittinger <cg@exept.de>
parents: 10986
diff changeset
  1184
    modules := rootsPerModule select:[:entry | entry first == CVSSourceCodeManager].
9822
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1185
10999
ad10cd0cd55e refactoring
Claus Gittinger <cg@exept.de>
parents: 10986
diff changeset
  1186
    CVSSourceCodeManager repositoryInfoPerModule keysAndValuesDo:[:module :info |
ad10cd0cd55e refactoring
Claus Gittinger <cg@exept.de>
parents: 10986
diff changeset
  1187
        ((modules includesKey:module) and:[info = (modules at:module) second])
ad10cd0cd55e refactoring
Claus Gittinger <cg@exept.de>
parents: 10986
diff changeset
  1188
        ifFalse:[^ true].
ad10cd0cd55e refactoring
Claus Gittinger <cg@exept.de>
parents: 10986
diff changeset
  1189
    ].
ad10cd0cd55e refactoring
Claus Gittinger <cg@exept.de>
parents: 10986
diff changeset
  1190
    modules keysAndValuesDo:[:module :info|
ad10cd0cd55e refactoring
Claus Gittinger <cg@exept.de>
parents: 10986
diff changeset
  1191
        ((CVSSourceCodeManager repositoryInfoPerModule includesKey:module) and:[(CVSSourceCodeManager repositoryInfoPerModule at:module) = info second])
ad10cd0cd55e refactoring
Claus Gittinger <cg@exept.de>
parents: 10986
diff changeset
  1192
        ifFalse:[^ true].
9822
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1193
    ].
11174
f0e971dc5ab8 changed:
Claus Gittinger <cg@exept.de>
parents: 11166
diff changeset
  1194
    (CVSSourceCodeManager cvsCommandTimeout ~= self cvsCommandTimeoutHolder value)
11059
e30cf8541827 class definition
Claus Gittinger <cg@exept.de>
parents: 11010
diff changeset
  1195
        ifTrue:[^ true].
9822
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1196
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1197
    ((CVSSourceCodeManager cvsExecutable ? '') ~= (self cvsExecutableHolder value ? '') withoutSeparators)  
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1198
        ifTrue:[^ true].
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1199
9845
bfb845fd9ff2 added: #defaultRepositoryName
Claus Gittinger <cg@exept.de>
parents: 9822
diff changeset
  1200
    (CVSSourceCodeManager repositoryName ? self class defaultRepositoryName ~= self cvsRootHolder value)    
9822
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1201
        ifTrue:[^ true].
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1202
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1203
    (CVSSourceCodeManager verboseSourceCodeAccess ~= self verboseSourceCodeAccess value) 
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1204
        ifTrue:[^ true].
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1205
11069
8f99a7115be3 preps for \"showInBrowserMenus\"
Claus Gittinger <cg@exept.de>
parents: 11061
diff changeset
  1206
    (CVSSourceCodeManager shownInBrowserMenus ~= self shownInBrowserMenusHolder value)
8f99a7115be3 preps for \"showInBrowserMenus\"
Claus Gittinger <cg@exept.de>
parents: 11061
diff changeset
  1207
        ifTrue:[^ true].
8f99a7115be3 preps for \"showInBrowserMenus\"
Claus Gittinger <cg@exept.de>
parents: 11061
diff changeset
  1208
9822
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1209
    ^ false
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1210
11174
f0e971dc5ab8 changed:
Claus Gittinger <cg@exept.de>
parents: 11166
diff changeset
  1211
    "Modified: / 22-01-2012 / 11:25:53 / cg"
9822
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1212
! !
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1213
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1214
!CVSSourceCodeManagementSettingsAppl class methodsFor:'documentation'!
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1215
10982
Claus Gittinger <cg@exept.de>
parents: 10981
diff changeset
  1216
version
16155
2e3a4d0ea38b #UI_ENHANCEMENT
Claus Gittinger <cg@exept.de>
parents: 14403
diff changeset
  1217
    ^ '$Header$'
10982
Claus Gittinger <cg@exept.de>
parents: 10981
diff changeset
  1218
!
Claus Gittinger <cg@exept.de>
parents: 10981
diff changeset
  1219
9822
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1220
version_CVS
16155
2e3a4d0ea38b #UI_ENHANCEMENT
Claus Gittinger <cg@exept.de>
parents: 14403
diff changeset
  1221
    ^ '$Header$'
9822
29cfe9e3a532 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1222
! !
12420
d36dd938ef4d class: CVSSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents: 11840
diff changeset
  1223