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