MercurialSourceCodeManagementSettingsAppl.st
author Jan Vrany <jan.vrany@fit.cvut.cz>
Wed, 30 Jan 2013 11:15:09 +0000
branchjv
changeset 12401 4714b9640528
parent 12287 400a99059170
parent 11736 ab369307a4b7
child 12431 9f0c59c742d5
permissions -rw-r--r--
Merged 235b77901045 and 8332590c5a41 (branch default)
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
11130
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
     1
"
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
     2
 COPYRIGHT (c) 2012 by eXept Software AG
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
     3
              All Rights Reserved
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
     4
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
     5
 This software is furnished under a license and may be used
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
     6
 only in accordance with the terms of that license and with the
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
     7
 inclusion of the above copyright notice.   This software may not
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
     8
 be provided or otherwise made available to, or used by, any
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
     9
 other person.  No title to or ownership of the software is
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    10
 hereby transferred.
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    11
"
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    12
"{ Package: 'stx:libtool' }"
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    13
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    14
AbstractSourceCodeManagementSettingsAppl subclass:#MercurialSourceCodeManagementSettingsAppl
11357
fac80d1a9ce2 workdir
Claus Gittinger <cg@exept.de>
parents: 11352
diff changeset
    15
	instanceVariableNames:'workDirectoryHolder repositoryHolder manager repository
fac80d1a9ce2 workdir
Claus Gittinger <cg@exept.de>
parents: 11352
diff changeset
    16
		repositoryPrototypeList addPerModuleRepository
fac80d1a9ce2 workdir
Claus Gittinger <cg@exept.de>
parents: 11352
diff changeset
    17
		removePerModuleRepository perModuleRepository
fac80d1a9ce2 workdir
Claus Gittinger <cg@exept.de>
parents: 11352
diff changeset
    18
		defaultRepositoryHolder selectedPerModuleRepository
fac80d1a9ce2 workdir
Claus Gittinger <cg@exept.de>
parents: 11352
diff changeset
    19
		hgBinDirectoryHolder hgExecutableHolder hgCommandTimeoutHolder
fac80d1a9ce2 workdir
Claus Gittinger <cg@exept.de>
parents: 11352
diff changeset
    20
		repositoriesPerModule perModuleRepositoryModule selectedPushURL
fac80d1a9ce2 workdir
Claus Gittinger <cg@exept.de>
parents: 11352
diff changeset
    21
		pushURL pushURLPrototypeList listOfPushURLs'
11130
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    22
	classVariableNames:'RecentlyUsedRepositoryURLS'
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    23
	poolDictionaries:''
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    24
	category:'System-SourceCodeManagement'
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    25
!
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    26
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    27
!MercurialSourceCodeManagementSettingsAppl class methodsFor:'documentation'!
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    28
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    29
copyright
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    30
"
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    31
 COPYRIGHT (c) 2012 by eXept Software AG
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    32
              All Rights Reserved
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    33
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    34
 This software is furnished under a license and may be used
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    35
 only in accordance with the terms of that license and with the
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    36
 inclusion of the above copyright notice.   This software may not
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    37
 be provided or otherwise made available to, or used by, any
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    38
 other person.  No title to or ownership of the software is
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    39
 hereby transferred.
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    40
"
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    41
!
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    42
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    43
documentation
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    44
"
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    45
    Mercurial part of the source code settings. 
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    46
    This settings app controls the parameters of the MercurialSourceCodeManager.
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    47
11334
ac3464062356 changed: #documentation
Claus Gittinger <cg@exept.de>
parents: 11332
diff changeset
    48
    Extracted for pluggability from SourceCodeManagerSettings in the AbstractSettingsApplication.
11130
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    49
"
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    50
! !
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    51
12401
4714b9640528 Merged 235b77901045 and 8332590c5a41 (branch default)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12287 11736
diff changeset
    52
11130
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    53
!MercurialSourceCodeManagementSettingsAppl class methodsFor:'defaults'!
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    54
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    55
defaultRepositoryName
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    56
11652
7935d2f03e29 changed:
Claus Gittinger <cg@exept.de>
parents: 11620
diff changeset
    57
    ^ './hgRepository'
11130
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    58
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    59
    "Created: / 19-04-2011 / 11:00:11 / cg"
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    60
! !
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    61
12401
4714b9640528 Merged 235b77901045 and 8332590c5a41 (branch default)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12287 11736
diff changeset
    62
11130
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    63
!MercurialSourceCodeManagementSettingsAppl class methodsFor:'help specs'!
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    64
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    65
helpSpec
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    66
    "This resource specification was automatically generated
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    67
     by the UIHelpTool of ST/X."
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    68
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    69
    "Do not manually edit this!! If it is corrupted,
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    70
     the UIHelpTool may not be able to read the specification."
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    71
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    72
    "
11146
Claus Gittinger <cg@exept.de>
parents: 11133
diff changeset
    73
     UIHelpTool openOnClass:MercurialSourceCodeManagementSettingsAppl    
11130
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    74
    "
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    75
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    76
    <resource: #help>
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    77
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    78
    ^ super helpSpec addPairsFrom:#(
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    79
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    80
#addPerModuleRoot
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    81
'Add this per-module entry'
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    82
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    83
#addPerPackageManager
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    84
'Add a new per-package manager definition'
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    85
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    86
#browseSourceCache
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    87
'Open a file browser on the source cache directory'
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    88
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    89
#checkPerPackageManager
11736
ab369307a4b7 changed: #helpSpec
Claus Gittinger <cg@exept.de>
parents: 11652
diff changeset
    90
'Open a window to show which scm-manager is responsible for which package'
11130
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    91
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    92
#condenseSourceCache
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    93
'Cleanup old cached versions from the source cache.\Will keep only the current (newest) version in the cache.\Access to older code versions will be slowed down (compare with old version browser function)'
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    94
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    95
#cvsCommand
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    96
'The command to use for cvs operations\(the path to "cvs"/"cvs.exe"-command. Not needed, if already in the shell''s PATH value)'
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    97
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    98
#cvsCommandTimeout
11736
ab369307a4b7 changed: #helpSpec
Claus Gittinger <cg@exept.de>
parents: 11652
diff changeset
    99
'The command timeout.\For slow connections (ssl-tunnel), it may make sense to increase this value'
11130
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   100
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   101
#cvsLogin
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   102
'Perform a "cvs login" operation for the default CVSROOT'
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   103
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   104
#cvsRootDefault
11736
ab369307a4b7 changed: #helpSpec
Claus Gittinger <cg@exept.de>
parents: 11652
diff changeset
   105
'The default CVSROOT.\This will be used for all modules which are not listed below'
11130
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   106
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   107
#cvsRootPerModule
11736
ab369307a4b7 changed: #helpSpec
Claus Gittinger <cg@exept.de>
parents: 11652
diff changeset
   108
'Specifies per-module CVSROOTs.\This allows for individual projects to be stored in different cvs repositories'
11130
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   109
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   110
#cvsRootPerModuleModule
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   111
'The module for which a specific CVSROOT is defined'
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   112
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   113
#cvsRootPerModuleRoot
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   114
'The CVSROOT for which this specific module is defined'
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   115
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   116
#defaultManagerType
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   117
'The default repository type.\This is used for packages for which no entry matches in the list below'
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   118
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   119
#editPerPackageManager
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   120
'Modify the selected per-package manager definition'
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   121
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   122
#flushSourceCache
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   123
'Remove all files from the source cache.\Access to source code will temporarily be slowed down,\until sources have been refetched from the repository'
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   124
11165
c75bf5c6721d changed:
Claus Gittinger <cg@exept.de>
parents: 11146
diff changeset
   125
#hgAddPushURL
c75bf5c6721d changed:
Claus Gittinger <cg@exept.de>
parents: 11146
diff changeset
   126
'Add a repository to the push-URL list. A repository-push operation will synchronize your changes with this repository as well'
c75bf5c6721d changed:
Claus Gittinger <cg@exept.de>
parents: 11146
diff changeset
   127
11146
Claus Gittinger <cg@exept.de>
parents: 11133
diff changeset
   128
#hgCheckAccess
Claus Gittinger <cg@exept.de>
parents: 11133
diff changeset
   129
'Perform a "hg status" command in the default repository to see if the repository is accessable'
Claus Gittinger <cg@exept.de>
parents: 11133
diff changeset
   130
Claus Gittinger <cg@exept.de>
parents: 11133
diff changeset
   131
#hgCheckAccessPerModuleRoot
Claus Gittinger <cg@exept.de>
parents: 11133
diff changeset
   132
'Perform a "hg status" command in this module''s repository to see if the repository is accessable'
Claus Gittinger <cg@exept.de>
parents: 11133
diff changeset
   133
Claus Gittinger <cg@exept.de>
parents: 11133
diff changeset
   134
#hgCommand
Claus Gittinger <cg@exept.de>
parents: 11133
diff changeset
   135
'The command to use for mercurial operations\(the path to "hg"/"hg.exe"-command. Not needed, if already in the shell''s PATH value)'
Claus Gittinger <cg@exept.de>
parents: 11133
diff changeset
   136
Claus Gittinger <cg@exept.de>
parents: 11133
diff changeset
   137
#hgCommandTimeout
11736
ab369307a4b7 changed: #helpSpec
Claus Gittinger <cg@exept.de>
parents: 11652
diff changeset
   138
'The command timeout.\For slow connections (ssl-tunnel), it may make sense to increase this value'
11146
Claus Gittinger <cg@exept.de>
parents: 11133
diff changeset
   139
Claus Gittinger <cg@exept.de>
parents: 11133
diff changeset
   140
#hgInit
Claus Gittinger <cg@exept.de>
parents: 11133
diff changeset
   141
'Perform a "hg init" command to setup the repository for the very first time'
Claus Gittinger <cg@exept.de>
parents: 11133
diff changeset
   142
11165
c75bf5c6721d changed:
Claus Gittinger <cg@exept.de>
parents: 11146
diff changeset
   143
#hgPushURLs
c75bf5c6721d changed:
Claus Gittinger <cg@exept.de>
parents: 11146
diff changeset
   144
'The push-URL list. A repository-push operation will send your changes to these repositories as well'
c75bf5c6721d changed:
Claus Gittinger <cg@exept.de>
parents: 11146
diff changeset
   145
c75bf5c6721d changed:
Claus Gittinger <cg@exept.de>
parents: 11146
diff changeset
   146
#hgRemovePushURL
c75bf5c6721d changed:
Claus Gittinger <cg@exept.de>
parents: 11146
diff changeset
   147
'Remove the selected repository from the push-URL list. A repository-push operation will no longer synchronize your changes with this repository'
c75bf5c6721d changed:
Claus Gittinger <cg@exept.de>
parents: 11146
diff changeset
   148
11146
Claus Gittinger <cg@exept.de>
parents: 11133
diff changeset
   149
#hgRootDefault
11736
ab369307a4b7 changed: #helpSpec
Claus Gittinger <cg@exept.de>
parents: 11652
diff changeset
   150
'The default mercurial repository.\This will be used for all modules which are not listed below'
11146
Claus Gittinger <cg@exept.de>
parents: 11133
diff changeset
   151
Claus Gittinger <cg@exept.de>
parents: 11133
diff changeset
   152
#hgRootPerModule
Claus Gittinger <cg@exept.de>
parents: 11133
diff changeset
   153
'The mercurial repository for which this specific module is defined'
Claus Gittinger <cg@exept.de>
parents: 11133
diff changeset
   154
Claus Gittinger <cg@exept.de>
parents: 11133
diff changeset
   155
#hgRootPerModuleModule
Claus Gittinger <cg@exept.de>
parents: 11133
diff changeset
   156
'The module for which a specific mercurial repository is defined'
Claus Gittinger <cg@exept.de>
parents: 11133
diff changeset
   157
Claus Gittinger <cg@exept.de>
parents: 11133
diff changeset
   158
#hgRootPerModuleRoot
Claus Gittinger <cg@exept.de>
parents: 11133
diff changeset
   159
'The mercurial repository for which this specific module is defined'
Claus Gittinger <cg@exept.de>
parents: 11133
diff changeset
   160
11130
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   161
#loginPerModuleRoot
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   162
'Execute a "cvs login" operation for this CVSROOT'
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   163
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   164
#moveManagerDown
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   165
'Move the selected entry down in the list.\(The first matching definition is used to determine which repository type is used.)'
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   166
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   167
#moveManagerUp
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   168
'Move the selected entry up in the list.\(The first matching definition is used to determine which repository type is used.)'
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   169
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   170
#perPackageConfiguration
11736
ab369307a4b7 changed: #helpSpec
Claus Gittinger <cg@exept.de>
parents: 11652
diff changeset
   171
'Define per-package repository types here.\For any non-matching package-id, the default repository type is used'
11130
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   172
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   173
#removePerModuleRoot
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   174
'Remove this per-module entry'
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   175
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   176
#removePerPackageManager
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   177
'Remove the selected per-package manager definition'
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   178
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   179
#sourceCache
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   180
'After checkout, keep the sourcefile in a local file (to avoid repeated checkout of the same file)'
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   181
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   182
#useLocalSources
11736
ab369307a4b7 changed: #helpSpec
Claus Gittinger <cg@exept.de>
parents: 11652
diff changeset
   183
'If present, use the local source files (from the development system''s tree).\If checkout fails, these will always be tried as second chance'
11130
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   184
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   185
#useManager
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   186
'Enable source code management.\If off, all queries for sourcecode are resolved by local files (offline operation)'
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   187
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   188
#verboseSourceCodeAccess
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   189
'Output debugging messages on the Transcript\(mostly traces of the underlying scm mechanism, such as cvs commands)'
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   190
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   191
)
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   192
11736
ab369307a4b7 changed: #helpSpec
Claus Gittinger <cg@exept.de>
parents: 11652
diff changeset
   193
    "Modified: / 09-08-2012 / 09:41:11 / cg"
11130
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   194
! !
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   195
12401
4714b9640528 Merged 235b77901045 and 8332590c5a41 (branch default)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12287 11736
diff changeset
   196
11130
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   197
!MercurialSourceCodeManagementSettingsAppl class methodsFor:'image specs'!
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   198
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   199
defaultIcon
11133
fb5acac1388d added: #defaultIcon3
Claus Gittinger <cg@exept.de>
parents: 11132
diff changeset
   200
    ^ self defaultIcon3
11130
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   201
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   202
    "Created: / 22-12-2011 / 13:47:11 / cg"
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   203
!
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   204
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   205
defaultIcon1
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   206
    "This resource specification was automatically generated
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   207
     by the ImageEditor of ST/X."
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   208
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   209
    "Do not manually edit this!! If it is corrupted,
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   210
     the ImageEditor may not be able to read the specification."
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   211
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   212
    "
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   213
     self defaultIcon1 inspect
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   214
     ImageEditor openOnClass:self andSelector:#defaultIcon1
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   215
     Icon flushCachedIcons
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   216
    "
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   217
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   218
    <resource: #image>
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   219
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   220
    ^Icon
11132
c5fad2575a88 changed:
Claus Gittinger <cg@exept.de>
parents: 11130
diff changeset
   221
        constantNamed:'MercurialSourceCodeManagementSettingsAppl class defaultIcon1'
11130
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   222
        ifAbsentPut:[(Depth8Image new) width: 24; height: 24; photometric:(#palette); bitsPerSample:(#[8]); samplesPerPixel:(1); bits:(ByteArray fromPackedString:'
11132
c5fad2575a88 changed:
Claus Gittinger <cg@exept.de>
parents: 11130
diff changeset
   223
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@PHCA@PEA D@@@@@@@@@@@@@@@@@@@@GA@ HB@ HB@$C
c5fad2575a88 changed:
Claus Gittinger <cg@exept.de>
parents: 11130
diff changeset
   224
B @@@@@@@@@@@@@@@@,IB@ HB@ HB@ LA@4@@@@@@@@@@@@@C LLB@ HB@ HB@ HB@<P@@@@@@@@@@@@BPPHB@ HB@ HB@ HBADR@@@@@@@@@@@@D0$HB@ H
c5fad2575a88 changed:
Claus Gittinger <cg@exept.de>
parents: 11130
diff changeset
   225
B@ HB@ HB@ SA@@@@@@@@@@@@APLB@ HB@ HB@ HB@ IEP@@@@@VA@LW@Q OC@ HB@ HB@ HB@ LFPD@@@DLBP\Q@@@ZF0 LB@ HB@ HB@ IF@X@@A0HA!!4^
c5fad2575a88 changed:
Claus Gittinger <cg@exept.de>
parents: 11130
diff changeset
   226
@@@SF!!<_@@$HB@ HB@0FH@L@@BDI@AHC@@@@HP@O@BHIB@ HB@LFH0H@@@@ABQ0@@@@@@@@!!A@@DB@ HCA0OI@8@@@@@@@@@@A\@@@@@@@XDB@ HBP8%I D@
c5fad2575a88 changed:
Claus Gittinger <cg@exept.de>
parents: 11130
diff changeset
   227
@@@@@@@BA@$D@P@@@@8IB@ LC P''C0@@@@@@@@DIB@ HBQ0@@@8LA@XA@Q<Y@0@@@@@@@@PLB@ DA@@@@@PCB" JC2T[@@@@@@@@@@PLB@PPBP@@@@P)JB$I
c5fad2575a88 changed:
Claus Gittinger <cg@exept.de>
parents: 11130
diff changeset
   228
J!!HA@@@@@@@@@B,LBQXCKB,@A XACQP-F0L@@@@@@@@@@@(RK"T,D0@@BA,/LCD@L @@@@@@@@@@@@@@@ $!!@@@@@QTTC@ 3@@@@@@@@@@@@@@@@@@@@@@@@
c5fad2575a88 changed:
Claus Gittinger <cg@exept.de>
parents: 11130
diff changeset
   229
@CP\L0@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@') ; colorMapFromArray:#[143 136 136 208 208 208 192 192 184 176 176 176 175 168 168 176 168 168 191 184 184 191 176 176 159 152 144 160 160 160 239 232 224 192 184 184 159 152 160 207 192 200 207 200 200 144 144 144 224 224 224 160 152 160 127 120 120 144 144 136 128 128 128 111 104 104 207 200 208 239 232 240 95 88 88 96 96 96 79 72 80 112 112 120 192 192 200 223 208 208 111 104 96 80 80 80 64 64 64 223 216 216 128 120 128 31 24 24 32 32 24 79 72 64 64 56 56 47 40 40 240 240 240 239 224 224 63 48 48 191 184 176 112 112 104 64 64 56 63 56 56 48 48 48 48 40 48 127 112 120 160 160 168 208 200 208 224 224 216]; mask:((Depth1Image new) width: 24; height: 24; photometric:(#blackIs0); bitsPerSample:(#[1]); samplesPerPixel:(1); bits:(ByteArray fromPackedString:'@@@@@@@@@G>@@O? @_?0@??8@??8@??<@??<O??>__?>_O?>_G?>NA?>@P_>A<_<C>_<C>_8C>_8C>?0C<? @8?@@@\@@@@@') ; yourself); yourself]
11130
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   230
!
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   231
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   232
defaultIcon2
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   233
    "This resource specification was automatically generated
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   234
     by the ImageEditor of ST/X."
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   235
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   236
    "Do not manually edit this!! If it is corrupted,
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   237
     the ImageEditor may not be able to read the specification."
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   238
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   239
    "
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   240
     self defaultIcon2 inspect
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   241
     ImageEditor openOnClass:self andSelector:#defaultIcon2
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   242
     Icon flushCachedIcons
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   243
    "
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   244
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   245
    <resource: #image>
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   246
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   247
    ^Icon
11132
c5fad2575a88 changed:
Claus Gittinger <cg@exept.de>
parents: 11130
diff changeset
   248
        constantNamed:'MercurialSourceCodeManagementSettingsAppl class defaultIcon2'
11130
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   249
        ifAbsentPut:[(Depth8Image new) width: 24; height: 24; photometric:(#palette); bitsPerSample:(#[8]); samplesPerPixel:(1); bits:(ByteArray fromPackedString:'
11132
c5fad2575a88 changed:
Claus Gittinger <cg@exept.de>
parents: 11130
diff changeset
   250
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@PHCA@PEA D@@@@@@@@@@@@@@@@@@@@GA@ HB@ HB@$C
c5fad2575a88 changed:
Claus Gittinger <cg@exept.de>
parents: 11130
diff changeset
   251
B @@@@@@@@@@@@@@@@,IB@ HB@ HB@ LA@4@@@@@@@@@@@@@C LLB@ HB@ HB@ HB@<P@@@@@@@@@@@@BPPHB@ HB@ HB@ HBADR@@@@@@@@@@@@D0$HB@ H
c5fad2575a88 changed:
Claus Gittinger <cg@exept.de>
parents: 11130
diff changeset
   252
B@ HB@ HB@ SA@@@@@@@@@@@@APLB@ HB@ HB@ HB@ IEP@@@@@VA@LW@Q OC@ HB@ HB@ HB@ LFPD@@@DLBP\Q@@@ZF0 LB@ HB@ HB@ IF@X@@A0HA!!4^
c5fad2575a88 changed:
Claus Gittinger <cg@exept.de>
parents: 11130
diff changeset
   253
@@@SF!!<_@@$HB@ HB@0FH@L@@BDI@AH:N#\7HP@O@BHIB@ HB@LFH0H@@@@ABS\:N#(:M0@!!A@@DB@ HCA0OI@8@@@@@M#(:@A\@@C\@@@XDB@ HBP8%I D@
c5fad2575a88 changed:
Claus Gittinger <cg@exept.de>
parents: 11130
diff changeset
   254
@@@@M3 7A@$D@P@@@@8IB@ LC P''C0@@@C\7N#$:N0 HHA0@@@8LA@XA@Q<Y@0@@@@@7NS(7B@  HB@@@@PCB" JC2T[@@@@@@@@M34LBB@<OAP @@P)JB$I
c5fad2575a88 changed:
Claus Gittinger <cg@exept.de>
parents: 11130
diff changeset
   255
J!!HA@@@@@@@@@B,LHB@YHB@ A XACQP-F0L@@@@@@@@ @@(RK"T H@@@BA,/LCD@L @@@@@@@@@@HB@ HB@ MP@@@QTTC@ 3@@@@@@@@@@@@@A$ HB@5@@@@
c5fad2575a88 changed:
Claus Gittinger <cg@exept.de>
parents: 11130
diff changeset
   256
@CP\L0@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@') ; colorMapFromArray:#[143 136 136 208 208 208 192 192 184 176 176 176 175 168 168 176 168 168 191 184 184 191 176 176 159 152 144 160 160 160 239 232 224 192 184 184 159 152 160 207 192 200 207 200 200 144 144 144 224 224 224 160 152 160 127 120 120 144 144 136 128 128 128 111 104 104 207 200 208 239 232 240 95 88 88 96 96 96 79 72 80 112 112 120 192 192 200 223 208 208 111 104 96 80 80 80 64 64 64 223 216 216 128 120 128 31 24 24 32 32 24 79 72 64 64 56 56 47 40 40 240 240 240 239 224 224 63 48 48 191 184 176 112 112 104 64 64 56 63 56 56 48 48 48 48 40 48 127 112 120 160 160 168 208 200 208 224 224 216 0 0 0 0 64 0 32 96 32 96 192 128 32 128 64 32 160 64 32 128 32 32 32 32 32 64 32]; mask:((Depth1Image new) width: 24; height: 24; photometric:(#blackIs0); bitsPerSample:(#[1]); samplesPerPixel:(1); bits:(ByteArray fromPackedString:'@@@@@@@@@G>@@O? @_?0@??8@??8@??<@??<O??>__?>_O?>_??>O=?>GR_>G<_<_>_<O>_8G?_8C??0K<? G<?@C8\@@@@@') ; yourself); yourself]
11133
fb5acac1388d added: #defaultIcon3
Claus Gittinger <cg@exept.de>
parents: 11132
diff changeset
   257
!
fb5acac1388d added: #defaultIcon3
Claus Gittinger <cg@exept.de>
parents: 11132
diff changeset
   258
fb5acac1388d added: #defaultIcon3
Claus Gittinger <cg@exept.de>
parents: 11132
diff changeset
   259
defaultIcon3
fb5acac1388d added: #defaultIcon3
Claus Gittinger <cg@exept.de>
parents: 11132
diff changeset
   260
    "This resource specification was automatically generated
fb5acac1388d added: #defaultIcon3
Claus Gittinger <cg@exept.de>
parents: 11132
diff changeset
   261
     by the ImageEditor of ST/X."
fb5acac1388d added: #defaultIcon3
Claus Gittinger <cg@exept.de>
parents: 11132
diff changeset
   262
fb5acac1388d added: #defaultIcon3
Claus Gittinger <cg@exept.de>
parents: 11132
diff changeset
   263
    "Do not manually edit this!! If it is corrupted,
fb5acac1388d added: #defaultIcon3
Claus Gittinger <cg@exept.de>
parents: 11132
diff changeset
   264
     the ImageEditor may not be able to read the specification."
fb5acac1388d added: #defaultIcon3
Claus Gittinger <cg@exept.de>
parents: 11132
diff changeset
   265
fb5acac1388d added: #defaultIcon3
Claus Gittinger <cg@exept.de>
parents: 11132
diff changeset
   266
    "
fb5acac1388d added: #defaultIcon3
Claus Gittinger <cg@exept.de>
parents: 11132
diff changeset
   267
     self defaultIcon3 inspect
fb5acac1388d added: #defaultIcon3
Claus Gittinger <cg@exept.de>
parents: 11132
diff changeset
   268
     ImageEditor openOnClass:self andSelector:#defaultIcon3
fb5acac1388d added: #defaultIcon3
Claus Gittinger <cg@exept.de>
parents: 11132
diff changeset
   269
     Icon flushCachedIcons
fb5acac1388d added: #defaultIcon3
Claus Gittinger <cg@exept.de>
parents: 11132
diff changeset
   270
    "
fb5acac1388d added: #defaultIcon3
Claus Gittinger <cg@exept.de>
parents: 11132
diff changeset
   271
fb5acac1388d added: #defaultIcon3
Claus Gittinger <cg@exept.de>
parents: 11132
diff changeset
   272
    <resource: #image>
fb5acac1388d added: #defaultIcon3
Claus Gittinger <cg@exept.de>
parents: 11132
diff changeset
   273
fb5acac1388d added: #defaultIcon3
Claus Gittinger <cg@exept.de>
parents: 11132
diff changeset
   274
    ^Icon
fb5acac1388d added: #defaultIcon3
Claus Gittinger <cg@exept.de>
parents: 11132
diff changeset
   275
        constantNamed:'MercurialSourceCodeManagementSettingsAppl class defaultIcon3'
fb5acac1388d added: #defaultIcon3
Claus Gittinger <cg@exept.de>
parents: 11132
diff changeset
   276
        ifAbsentPut:[(Depth8Image new) width: 24; height: 24; photometric:(#palette); bitsPerSample:(#[8]); samplesPerPixel:(1); bits:(ByteArray fromPackedString:'
fb5acac1388d added: #defaultIcon3
Claus Gittinger <cg@exept.de>
parents: 11132
diff changeset
   277
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@PHCA@PEA D@@@@@@@@@@@@@@@@@@@@GA@ HB@ HB@$C
fb5acac1388d added: #defaultIcon3
Claus Gittinger <cg@exept.de>
parents: 11132
diff changeset
   278
B @@@@@@@@@@@@@@@@,IB@ HB@ HB@ LA@4@@@@@@@@@@@@@C LLB@ HB@ HB@ HB@<P@@@@@@@@@@@@BPPHB@ HB@ HB@ HBADR@@@@@@@@@@@@D0$HB@ H
fb5acac1388d added: #defaultIcon3
Claus Gittinger <cg@exept.de>
parents: 11132
diff changeset
   279
B@ HB@ HB@ SA@@@@@@@@@@@@APLB@ HB@ HB@ HB@ IEP@@@@@VA@LW@Q OC@ HB@ HB@ HB@ LFPD@@@DLBP\Q@@@ZF0 LB@ HB@ HB@ IF@X@@A0HA!!4^
fb5acac1388d added: #defaultIcon3
Claus Gittinger <cg@exept.de>
parents: 11132
diff changeset
   280
@@@SF!!<_@@$HB@ HB@0FH@L@@BDI@AH:N#\7HP@O@BHIB@ HB@LFH0H@@@@ABS\:N#(:M0@!!A@@DB@ HCA0OI@8@@@@@M#(:@A\@@C\@@@XDB@ HBP8%I D@
fb5acac1388d added: #defaultIcon3
Claus Gittinger <cg@exept.de>
parents: 11132
diff changeset
   281
@@@@M3 7A@$D@P@@@@8IB@ LC P''C0@@@C\7N#$:N0 HOA0@@@8LA@XA@Q<Y@0@@@@@7NS(7B@ <OC0@@@PCB" JC2T[@@@@@@@@M4@LBC0?O38<@@P)JB$I
fb5acac1388d added: #defaultIcon3
Claus Gittinger <cg@exept.de>
parents: 11132
diff changeset
   282
J!!HA@@@@@@@@@B,LOC0=OC0<A XACQP-F0L@@@@@@@@<@@(RK"T<O@@@BA,/LCD@L @@@@@@@@@@OC0<OC0<MP@@@QTTC@ 3@@@@@@@@@@@@@C4<OC05@@@@
fb5acac1388d added: #defaultIcon3
Claus Gittinger <cg@exept.de>
parents: 11132
diff changeset
   283
@CP\L0@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@') ; colorMapFromArray:#[174 169 169 255 255 255 233 233 230 216 216 216 213 209 209 214 209 209 232 229 229 229 223 223 191 187 181 197 197 197 255 255 255 233 230 230 194 189 194 247 244 245 251 250 250 177 177 177 255 255 255 194 189 194 155 149 149 175 175 169 157 157 157 136 128 128 251 251 251 255 255 255 117 108 108 118 118 118 97 89 98 139 139 147 240 240 242 255 255 255 137 128 118 98 98 98 79 79 79 255 255 255 156 149 156 38 30 30 39 39 30 97 89 79 79 69 69 58 49 49 255 255 255 255 255 255 77 59 59 229 226 223 137 137 128 79 79 69 77 69 69 59 59 59 59 49 59 154 140 147 199 199 204 251 251 251 255 255 255 0 0 0 0 64 0 32 96 32 96 192 128 32 128 64 32 160 64 32 128 32 64 64 64 96 96 96 128 128 128 32 32 32 32 64 32]; mask:((Depth1Image new) width: 24; height: 24; photometric:(#blackIs0); bitsPerSample:(#[1]); samplesPerPixel:(1); bits:(ByteArray fromPackedString:'@@@@@@@@@G>@@O? @_?0@??8@??8@??<@??<O??>__?>_O?>_??>O=?>GR_>G<_<_>_<O>_8G?_8C??0K<? G<?@C8\@@@@@') ; yourself); yourself]
11130
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   284
! !
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   285
12401
4714b9640528 Merged 235b77901045 and 8332590c5a41 (branch default)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12287 11736
diff changeset
   286
11130
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   287
!MercurialSourceCodeManagementSettingsAppl class methodsFor:'interface specs'!
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   288
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   289
windowSpec
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   290
    "This resource specification was automatically generated
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   291
     by the UIPainter of ST/X."
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   292
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   293
    "Do not manually edit this!! If it is corrupted,
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   294
     the UIPainter may not be able to read the specification."
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   295
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   296
    "
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   297
     UIPainter new openOnClass:MercurialSourceCodeManagementSettingsAppl andSelector:#windowSpec
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   298
     MercurialSourceCodeManagementSettingsAppl new openInterface:#windowSpec
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   299
     MercurialSourceCodeManagementSettingsAppl open
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   300
    "
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   301
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   302
    <resource: #canvas>
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   303
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   304
    ^ 
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   305
     #(FullSpec
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   306
        name: windowSpec
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   307
        window: 
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   308
       (WindowSpec
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   309
          label: 'Mercurial Settings'
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   310
          name: 'Mercurial Settings'
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   311
          min: (Point 10 10)
11357
fac80d1a9ce2 workdir
Claus Gittinger <cg@exept.de>
parents: 11352
diff changeset
   312
          bounds: (Rectangle 0 0 811 723)
11130
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   313
        )
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   314
        component: 
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   315
       (SpecCollection
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   316
          collection: (
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   317
           (VerticalPanelViewSpec
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   318
              name: 'VerticalPanel3'
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   319
              layout: (LayoutFrame 0 0 0 0 0 1 0 1)
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   320
              horizontalLayout: fit
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   321
              verticalLayout: topSpace
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   322
              horizontalSpace: 3
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   323
              verticalSpace: 4
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   324
              component: 
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   325
             (SpecCollection
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   326
                collection: (
11402
23865ce9ff3b changed: #windowSpec
Claus Gittinger <cg@exept.de>
parents: 11357
diff changeset
   327
                 (LabelSpec
23865ce9ff3b changed: #windowSpec
Claus Gittinger <cg@exept.de>
parents: 11357
diff changeset
   328
                    label: 'Unfinished & Experimental'
23865ce9ff3b changed: #windowSpec
Claus Gittinger <cg@exept.de>
parents: 11357
diff changeset
   329
                    name: 'Label10'
23865ce9ff3b changed: #windowSpec
Claus Gittinger <cg@exept.de>
parents: 11357
diff changeset
   330
                    style: (FontDescription #'Segoe UI' medium roman 16 #'ms-default')
23865ce9ff3b changed: #windowSpec
Claus Gittinger <cg@exept.de>
parents: 11357
diff changeset
   331
                    foregroundColor: (Color 86.9993133440147 0.0 0.0)
23865ce9ff3b changed: #windowSpec
Claus Gittinger <cg@exept.de>
parents: 11357
diff changeset
   332
                    translateLabel: true
23865ce9ff3b changed: #windowSpec
Claus Gittinger <cg@exept.de>
parents: 11357
diff changeset
   333
                    extent: (Point 811 37)
23865ce9ff3b changed: #windowSpec
Claus Gittinger <cg@exept.de>
parents: 11357
diff changeset
   334
                  )
11130
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   335
                 (ViewSpec
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   336
                    name: 'ManagerSetupBoxx'
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   337
                    component: 
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   338
                   (SpecCollection
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   339
                      collection: (
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   340
                       (FramedBoxSpec
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   341
                          label: 'Mercurial Sourcecode Manager Settings'
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   342
                          name: 'HGSetupBox'
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   343
                          layout: (LayoutFrame 0 0 0 0 0 1 0 1)
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   344
                          labelPosition: topLeft
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   345
                          translateLabel: true
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   346
                          component: 
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   347
                         (SpecCollection
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   348
                            collection: (
11407
8f3354fb59f2 added: #sampleModuleList
Claus Gittinger <cg@exept.de>
parents: 11402
diff changeset
   349
                             (ComboBoxSpec
8f3354fb59f2 added: #sampleModuleList
Claus Gittinger <cg@exept.de>
parents: 11402
diff changeset
   350
                                name: 'ComboBox3'
8f3354fb59f2 added: #sampleModuleList
Claus Gittinger <cg@exept.de>
parents: 11402
diff changeset
   351
                                layout: (LayoutFrame 64 0.25 303 0 0 1 325 0)
8f3354fb59f2 added: #sampleModuleList
Claus Gittinger <cg@exept.de>
parents: 11402
diff changeset
   352
                                activeHelpKey: hgRootPerModuleModule
8f3354fb59f2 added: #sampleModuleList
Claus Gittinger <cg@exept.de>
parents: 11402
diff changeset
   353
                                tabable: true
8f3354fb59f2 added: #sampleModuleList
Claus Gittinger <cg@exept.de>
parents: 11402
diff changeset
   354
                                model: perModuleRepositoryModule
8f3354fb59f2 added: #sampleModuleList
Claus Gittinger <cg@exept.de>
parents: 11402
diff changeset
   355
                                acceptChannel: acceptChannel
8f3354fb59f2 added: #sampleModuleList
Claus Gittinger <cg@exept.de>
parents: 11402
diff changeset
   356
                                acceptOnPointerLeave: true
8f3354fb59f2 added: #sampleModuleList
Claus Gittinger <cg@exept.de>
parents: 11402
diff changeset
   357
                                comboList: sampleModuleList
8f3354fb59f2 added: #sampleModuleList
Claus Gittinger <cg@exept.de>
parents: 11402
diff changeset
   358
                              )
11130
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   359
                             (CheckBoxSpec
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   360
                                label: 'Show in Browser Menus'
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   361
                                name: 'CheckBox1'
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   362
                                layout: (LayoutFrame 0 0 5 0 0 1 27 0)
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   363
                                activeHelpKey: shownInBrowserMenus
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   364
                                model: shownInBrowserMenusHolder
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   365
                                translateLabel: true
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   366
                              )
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   367
                             (ViewSpec
11357
fac80d1a9ce2 workdir
Claus Gittinger <cg@exept.de>
parents: 11352
diff changeset
   368
                                name: 'CommandBox'
11130
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   369
                                layout: (LayoutFrame 0 0 35 0 0 1 60 0)
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   370
                                component: 
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   371
                               (SpecCollection
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   372
                                  collection: (
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   373
                                   (LabelSpec
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   374
                                      label: 'HG Command or Path:'
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   375
                                      name: 'Label1'
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   376
                                      layout: (LayoutFrame 0 0.0 0 0 60 0.25 22 0)
11146
Claus Gittinger <cg@exept.de>
parents: 11133
diff changeset
   377
                                      activeHelpKey: hgCommand
11130
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   378
                                      level: 0
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   379
                                      translateLabel: true
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   380
                                      adjust: right
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   381
                                    )
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   382
                                   (InputFieldSpec
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   383
                                      name: 'HGExecutableField'
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   384
                                      layout: (LayoutFrame 64 0.25 0 0 0 1 22 0)
11146
Claus Gittinger <cg@exept.de>
parents: 11133
diff changeset
   385
                                      activeHelpKey: hgCommand
11130
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   386
                                      tabable: true
11133
fb5acac1388d added: #defaultIcon3
Claus Gittinger <cg@exept.de>
parents: 11132
diff changeset
   387
                                      model: hgExecutableHolder
11130
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   388
                                      acceptChannel: acceptChannel
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   389
                                      acceptOnPointerLeave: true
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   390
                                    )
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   391
                                   )
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   392
                                 
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   393
                                )
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   394
                              )
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   395
                             (ViewSpec
11357
fac80d1a9ce2 workdir
Claus Gittinger <cg@exept.de>
parents: 11352
diff changeset
   396
                                name: 'TimeoutBox'
11130
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   397
                                layout: (LayoutFrame 0 0 61 0 0 1 86 0)
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   398
                                component: 
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   399
                               (SpecCollection
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   400
                                  collection: (
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   401
                                   (LabelSpec
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   402
                                      label: 'HG Command Timeout:'
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   403
                                      name: 'Label2'
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   404
                                      layout: (LayoutFrame 0 0.0 0 0 60 0.25 22 0)
11146
Claus Gittinger <cg@exept.de>
parents: 11133
diff changeset
   405
                                      activeHelpKey: hgCommandTimeout
11130
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   406
                                      level: 0
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   407
                                      translateLabel: true
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   408
                                      adjust: right
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   409
                                    )
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   410
                                   (InputFieldSpec
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   411
                                      name: 'EntryField1'
11175
a19cbbb94176 changed: #windowSpec
Claus Gittinger <cg@exept.de>
parents: 11165
diff changeset
   412
                                      layout: (LayoutFrame 64 0.25 0 0 168 0.25 22 0)
11146
Claus Gittinger <cg@exept.de>
parents: 11133
diff changeset
   413
                                      activeHelpKey: hgCommandTimeout
11130
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   414
                                      tabable: true
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   415
                                      model: hgCommandTimeoutHolder
11175
a19cbbb94176 changed: #windowSpec
Claus Gittinger <cg@exept.de>
parents: 11165
diff changeset
   416
                                      type: timeDuration
11130
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   417
                                      acceptChannel: acceptChannel
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   418
                                      acceptOnPointerLeave: true
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   419
                                    )
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   420
                                   )
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   421
                                 
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   422
                                )
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   423
                              )
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   424
                             (ViewSpec
11357
fac80d1a9ce2 workdir
Claus Gittinger <cg@exept.de>
parents: 11352
diff changeset
   425
                                name: 'WorkDirectoryBox'
fac80d1a9ce2 workdir
Claus Gittinger <cg@exept.de>
parents: 11352
diff changeset
   426
                                layout: (LayoutFrame 0 0.0 85 0 0 1 110 0)
fac80d1a9ce2 workdir
Claus Gittinger <cg@exept.de>
parents: 11352
diff changeset
   427
                                component: 
fac80d1a9ce2 workdir
Claus Gittinger <cg@exept.de>
parents: 11352
diff changeset
   428
                               (SpecCollection
fac80d1a9ce2 workdir
Claus Gittinger <cg@exept.de>
parents: 11352
diff changeset
   429
                                  collection: (
fac80d1a9ce2 workdir
Claus Gittinger <cg@exept.de>
parents: 11352
diff changeset
   430
                                   (InputFieldSpec
fac80d1a9ce2 workdir
Claus Gittinger <cg@exept.de>
parents: 11352
diff changeset
   431
                                      name: 'EntryField2'
fac80d1a9ce2 workdir
Claus Gittinger <cg@exept.de>
parents: 11352
diff changeset
   432
                                      layout: (LayoutFrame 64 0.25 2 0 0 1 24 0)
fac80d1a9ce2 workdir
Claus Gittinger <cg@exept.de>
parents: 11352
diff changeset
   433
                                      activeHelpKey: hgRootDefault
fac80d1a9ce2 workdir
Claus Gittinger <cg@exept.de>
parents: 11352
diff changeset
   434
                                      tabable: true
fac80d1a9ce2 workdir
Claus Gittinger <cg@exept.de>
parents: 11352
diff changeset
   435
                                      model: workDirectoryHolder
fac80d1a9ce2 workdir
Claus Gittinger <cg@exept.de>
parents: 11352
diff changeset
   436
                                      immediateAccept: true
fac80d1a9ce2 workdir
Claus Gittinger <cg@exept.de>
parents: 11352
diff changeset
   437
                                      acceptOnLeave: true
fac80d1a9ce2 workdir
Claus Gittinger <cg@exept.de>
parents: 11352
diff changeset
   438
                                      acceptOnReturn: true
fac80d1a9ce2 workdir
Claus Gittinger <cg@exept.de>
parents: 11352
diff changeset
   439
                                      acceptOnTab: true
fac80d1a9ce2 workdir
Claus Gittinger <cg@exept.de>
parents: 11352
diff changeset
   440
                                      acceptOnLostFocus: true
fac80d1a9ce2 workdir
Claus Gittinger <cg@exept.de>
parents: 11352
diff changeset
   441
                                      acceptChannel: acceptChannel
fac80d1a9ce2 workdir
Claus Gittinger <cg@exept.de>
parents: 11352
diff changeset
   442
                                      acceptOnPointerLeave: true
fac80d1a9ce2 workdir
Claus Gittinger <cg@exept.de>
parents: 11352
diff changeset
   443
                                    )
fac80d1a9ce2 workdir
Claus Gittinger <cg@exept.de>
parents: 11352
diff changeset
   444
                                   (LabelSpec
fac80d1a9ce2 workdir
Claus Gittinger <cg@exept.de>
parents: 11352
diff changeset
   445
                                      label: 'Working Directory:'
fac80d1a9ce2 workdir
Claus Gittinger <cg@exept.de>
parents: 11352
diff changeset
   446
                                      name: 'Label9'
fac80d1a9ce2 workdir
Claus Gittinger <cg@exept.de>
parents: 11352
diff changeset
   447
                                      layout: (LayoutFrame 0 0.0 2 0 60 0.25 24 0)
fac80d1a9ce2 workdir
Claus Gittinger <cg@exept.de>
parents: 11352
diff changeset
   448
                                      activeHelpKey: hgRootDefault
fac80d1a9ce2 workdir
Claus Gittinger <cg@exept.de>
parents: 11352
diff changeset
   449
                                      level: 0
fac80d1a9ce2 workdir
Claus Gittinger <cg@exept.de>
parents: 11352
diff changeset
   450
                                      translateLabel: true
fac80d1a9ce2 workdir
Claus Gittinger <cg@exept.de>
parents: 11352
diff changeset
   451
                                      adjust: right
fac80d1a9ce2 workdir
Claus Gittinger <cg@exept.de>
parents: 11352
diff changeset
   452
                                    )
fac80d1a9ce2 workdir
Claus Gittinger <cg@exept.de>
parents: 11352
diff changeset
   453
                                   )
fac80d1a9ce2 workdir
Claus Gittinger <cg@exept.de>
parents: 11352
diff changeset
   454
                                 
fac80d1a9ce2 workdir
Claus Gittinger <cg@exept.de>
parents: 11352
diff changeset
   455
                                )
fac80d1a9ce2 workdir
Claus Gittinger <cg@exept.de>
parents: 11352
diff changeset
   456
                              )
fac80d1a9ce2 workdir
Claus Gittinger <cg@exept.de>
parents: 11352
diff changeset
   457
                             (ViewSpec
fac80d1a9ce2 workdir
Claus Gittinger <cg@exept.de>
parents: 11352
diff changeset
   458
                                name: 'RepositoryBox'
fac80d1a9ce2 workdir
Claus Gittinger <cg@exept.de>
parents: 11352
diff changeset
   459
                                layout: (LayoutFrame 0 0.0 120 0 0 1 145 0)
11130
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   460
                                component: 
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   461
                               (SpecCollection
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   462
                                  collection: (
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   463
                                   (LabelSpec
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   464
                                      label: 'Default Repository:'
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   465
                                      name: 'defaultCvsRootLabel'
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   466
                                      layout: (LayoutFrame 0 0.0 2 0 60 0.25 24 0)
11146
Claus Gittinger <cg@exept.de>
parents: 11133
diff changeset
   467
                                      activeHelpKey: hgRootDefault
11130
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   468
                                      level: 0
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   469
                                      translateLabel: true
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   470
                                      adjust: right
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   471
                                    )
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   472
                                   (ComboBoxSpec
11133
fb5acac1388d added: #defaultIcon3
Claus Gittinger <cg@exept.de>
parents: 11132
diff changeset
   473
                                      name: 'RepositoryComboBox'
11130
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   474
                                      layout: (LayoutFrame 64 0.25 2 0 0 1 24 0)
11146
Claus Gittinger <cg@exept.de>
parents: 11133
diff changeset
   475
                                      activeHelpKey: hgRootDefault
11130
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   476
                                      tabable: true
11133
fb5acac1388d added: #defaultIcon3
Claus Gittinger <cg@exept.de>
parents: 11132
diff changeset
   477
                                      model: repositoryHolder
11130
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   478
                                      immediateAccept: true
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   479
                                      acceptOnLeave: true
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   480
                                      acceptOnReturn: true
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   481
                                      acceptOnTab: true
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   482
                                      acceptOnLostFocus: true
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   483
                                      acceptChannel: acceptChannel
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   484
                                      acceptOnPointerLeave: true
11133
fb5acac1388d added: #defaultIcon3
Claus Gittinger <cg@exept.de>
parents: 11132
diff changeset
   485
                                      comboList: repositoryPrototypeList
11130
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   486
                                    )
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   487
                                   )
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   488
                                 
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   489
                                )
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   490
                              )
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   491
                             (ActionButtonSpec
11133
fb5acac1388d added: #defaultIcon3
Claus Gittinger <cg@exept.de>
parents: 11132
diff changeset
   492
                                label: 'Init'
fb5acac1388d added: #defaultIcon3
Claus Gittinger <cg@exept.de>
parents: 11132
diff changeset
   493
                                name: 'Button2'
11357
fac80d1a9ce2 workdir
Claus Gittinger <cg@exept.de>
parents: 11352
diff changeset
   494
                                layout: (LayoutFrame -201 1 150 0 -101 1 172 0)
11146
Claus Gittinger <cg@exept.de>
parents: 11133
diff changeset
   495
                                activeHelpKey: hgInit
11133
fb5acac1388d added: #defaultIcon3
Claus Gittinger <cg@exept.de>
parents: 11132
diff changeset
   496
                                translateLabel: true
fb5acac1388d added: #defaultIcon3
Claus Gittinger <cg@exept.de>
parents: 11132
diff changeset
   497
                                tabable: true
fb5acac1388d added: #defaultIcon3
Claus Gittinger <cg@exept.de>
parents: 11132
diff changeset
   498
                                model: initializeRepository
fb5acac1388d added: #defaultIcon3
Claus Gittinger <cg@exept.de>
parents: 11132
diff changeset
   499
                                enableChannel: cvsLoginEnabled
fb5acac1388d added: #defaultIcon3
Claus Gittinger <cg@exept.de>
parents: 11132
diff changeset
   500
                              )
fb5acac1388d added: #defaultIcon3
Claus Gittinger <cg@exept.de>
parents: 11132
diff changeset
   501
                             (ActionButtonSpec
11130
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   502
                                label: 'Check Access'
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   503
                                name: 'Button1'
11357
fac80d1a9ce2 workdir
Claus Gittinger <cg@exept.de>
parents: 11352
diff changeset
   504
                                layout: (LayoutFrame -100 1 150 0 0 1 172 0)
11146
Claus Gittinger <cg@exept.de>
parents: 11133
diff changeset
   505
                                activeHelpKey: hgCheckAccess
11130
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   506
                                translateLabel: true
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   507
                                tabable: true
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   508
                                model: checkAccess
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   509
                                enableChannel: cvsLoginEnabled
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   510
                              )
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   511
                             (LabelSpec
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   512
                                label: 'Repository per Module:'
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   513
                                name: 'knownModulesLabel'
11357
fac80d1a9ce2 workdir
Claus Gittinger <cg@exept.de>
parents: 11352
diff changeset
   514
                                layout: (LayoutFrame 0 0.0 178 0 60 0.25 200 0)
11146
Claus Gittinger <cg@exept.de>
parents: 11133
diff changeset
   515
                                activeHelpKey: hgRootPerModule
11130
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   516
                                translateLabel: true
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   517
                                adjust: right
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   518
                              )
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   519
                             (SequenceViewSpec
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   520
                                name: 'List1'
11357
fac80d1a9ce2 workdir
Claus Gittinger <cg@exept.de>
parents: 11352
diff changeset
   521
                                layout: (LayoutFrame 64 0.25 178 0 0 1 297 0)
11146
Claus Gittinger <cg@exept.de>
parents: 11133
diff changeset
   522
                                activeHelpKey: hgRootPerModule
11130
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   523
                                tabable: true
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   524
                                model: selectedPerModuleRepository
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   525
                                hasHorizontalScrollBar: true
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   526
                                hasVerticalScrollBar: true
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   527
                                miniScrollerHorizontal: true
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   528
                                useIndex: false
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   529
                                sequenceList: listOfModules
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   530
                              )
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   531
                             (LabelSpec
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   532
                                label: 'Module:'
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   533
                                name: 'moduleLabel'
11357
fac80d1a9ce2 workdir
Claus Gittinger <cg@exept.de>
parents: 11352
diff changeset
   534
                                layout: (LayoutFrame 0 0.0 307 0 60 0.25 324 0)
11146
Claus Gittinger <cg@exept.de>
parents: 11133
diff changeset
   535
                                activeHelpKey: hgRootPerModuleModule
11130
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   536
                                translateLabel: true
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   537
                                adjust: right
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   538
                              )
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   539
                             (LabelSpec
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   540
                                label: 'Mercurial Repository:'
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   541
                                name: 'hgRepository'
11357
fac80d1a9ce2 workdir
Claus Gittinger <cg@exept.de>
parents: 11352
diff changeset
   542
                                layout: (LayoutFrame 0 0.0 332 0 60 0.25 349 0)
11146
Claus Gittinger <cg@exept.de>
parents: 11133
diff changeset
   543
                                activeHelpKey: hgRootPerModuleRoot
11130
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   544
                                translateLabel: true
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   545
                                adjust: right
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   546
                              )
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   547
                             (ComboBoxSpec
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   548
                                name: 'perModuleRepositoryComboBox'
11357
fac80d1a9ce2 workdir
Claus Gittinger <cg@exept.de>
parents: 11352
diff changeset
   549
                                layout: (LayoutFrame 64 0.25 328 0 0 1.0 350 0)
11146
Claus Gittinger <cg@exept.de>
parents: 11133
diff changeset
   550
                                activeHelpKey: hgRootPerModuleRoot
11130
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   551
                                tabable: true
11199
24c54d30aad3 changed:
Claus Gittinger <cg@exept.de>
parents: 11175
diff changeset
   552
                                model: perModuleRepository
11130
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   553
                                immediateAccept: true
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   554
                                acceptOnLeave: true
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   555
                                acceptOnReturn: true
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   556
                                acceptOnTab: true
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   557
                                acceptOnLostFocus: true
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   558
                                acceptChannel: acceptChannel
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   559
                                acceptOnPointerLeave: true
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   560
                                comboList: hgRepositoryPrototypeList
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   561
                              )
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   562
                             (HorizontalPanelViewSpec
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   563
                                name: 'HorizontalPanel2'
11357
fac80d1a9ce2 workdir
Claus Gittinger <cg@exept.de>
parents: 11352
diff changeset
   564
                                layout: (LayoutFrame 64 0.25 355 0 -1 1 380 0)
11133
fb5acac1388d added: #defaultIcon3
Claus Gittinger <cg@exept.de>
parents: 11132
diff changeset
   565
                                horizontalLayout: right
11130
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   566
                                verticalLayout: center
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   567
                                horizontalSpace: 3
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   568
                                verticalSpace: 3
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   569
                                component: 
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   570
                               (SpecCollection
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   571
                                  collection: (
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   572
                                   (ActionButtonSpec
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   573
                                      label: 'Add/Apply'
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   574
                                      name: 'addButton'
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   575
                                      activeHelpKey: addPerModuleRoot
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   576
                                      translateLabel: true
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   577
                                      tabable: true
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   578
                                      model: addPerModuleRoot
11133
fb5acac1388d added: #defaultIcon3
Claus Gittinger <cg@exept.de>
parents: 11132
diff changeset
   579
                                      extent: (Point 100 22)
11130
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   580
                                    )
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   581
                                   (ActionButtonSpec
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   582
                                      label: 'Remove'
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   583
                                      name: 'removeButton'
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   584
                                      activeHelpKey: removePerModuleRoot
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   585
                                      translateLabel: true
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   586
                                      tabable: true
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   587
                                      model: removePerModuleRoot
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   588
                                      enableChannel: removeEnabled
11133
fb5acac1388d added: #defaultIcon3
Claus Gittinger <cg@exept.de>
parents: 11132
diff changeset
   589
                                      extent: (Point 100 22)
11130
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   590
                                    )
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   591
                                   (ViewSpec
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   592
                                      name: 'Box11'
11133
fb5acac1388d added: #defaultIcon3
Claus Gittinger <cg@exept.de>
parents: 11132
diff changeset
   593
                                      extent: (Point 100 10)
fb5acac1388d added: #defaultIcon3
Claus Gittinger <cg@exept.de>
parents: 11132
diff changeset
   594
                                    )
fb5acac1388d added: #defaultIcon3
Claus Gittinger <cg@exept.de>
parents: 11132
diff changeset
   595
                                   (ActionButtonSpec
fb5acac1388d added: #defaultIcon3
Claus Gittinger <cg@exept.de>
parents: 11132
diff changeset
   596
                                      label: 'Init'
fb5acac1388d added: #defaultIcon3
Claus Gittinger <cg@exept.de>
parents: 11132
diff changeset
   597
                                      name: 'Button3'
11146
Claus Gittinger <cg@exept.de>
parents: 11133
diff changeset
   598
                                      activeHelpKey: hgLoginPerModuleRoot
11133
fb5acac1388d added: #defaultIcon3
Claus Gittinger <cg@exept.de>
parents: 11132
diff changeset
   599
                                      translateLabel: true
fb5acac1388d added: #defaultIcon3
Claus Gittinger <cg@exept.de>
parents: 11132
diff changeset
   600
                                      tabable: true
fb5acac1388d added: #defaultIcon3
Claus Gittinger <cg@exept.de>
parents: 11132
diff changeset
   601
                                      model: initializePerModuleRepository
fb5acac1388d added: #defaultIcon3
Claus Gittinger <cg@exept.de>
parents: 11132
diff changeset
   602
                                      enableChannel: cvsLoginEnabled
fb5acac1388d added: #defaultIcon3
Claus Gittinger <cg@exept.de>
parents: 11132
diff changeset
   603
                                      extent: (Point 100 22)
11130
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   604
                                    )
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   605
                                   (ActionButtonSpec
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   606
                                      label: 'Check Access'
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   607
                                      name: 'checkButton2'
11146
Claus Gittinger <cg@exept.de>
parents: 11133
diff changeset
   608
                                      activeHelpKey: hgCheckAccessPerModuleRoot
11130
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   609
                                      translateLabel: true
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   610
                                      tabable: true
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   611
                                      model: checkAccessPerModuleRepository
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   612
                                      enableChannel: cvsLoginInModuleEnabled
11133
fb5acac1388d added: #defaultIcon3
Claus Gittinger <cg@exept.de>
parents: 11132
diff changeset
   613
                                      extent: (Point 100 22)
11130
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   614
                                    )
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   615
                                   )
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   616
                                 
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   617
                                )
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   618
                              )
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   619
                             )
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   620
                           
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   621
                          )
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   622
                        )
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   623
                       )
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   624
                     
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   625
                    )
11357
fac80d1a9ce2 workdir
Claus Gittinger <cg@exept.de>
parents: 11352
diff changeset
   626
                    extent: (Point 811 420)
11165
c75bf5c6721d changed:
Claus Gittinger <cg@exept.de>
parents: 11146
diff changeset
   627
                  )
c75bf5c6721d changed:
Claus Gittinger <cg@exept.de>
parents: 11146
diff changeset
   628
                 (FramedBoxSpec
c75bf5c6721d changed:
Claus Gittinger <cg@exept.de>
parents: 11146
diff changeset
   629
                    label: 'Push URLs'
c75bf5c6721d changed:
Claus Gittinger <cg@exept.de>
parents: 11146
diff changeset
   630
                    name: 'FramedBox2'
c75bf5c6721d changed:
Claus Gittinger <cg@exept.de>
parents: 11146
diff changeset
   631
                    labelPosition: topLeft
c75bf5c6721d changed:
Claus Gittinger <cg@exept.de>
parents: 11146
diff changeset
   632
                    translateLabel: true
c75bf5c6721d changed:
Claus Gittinger <cg@exept.de>
parents: 11146
diff changeset
   633
                    component: 
c75bf5c6721d changed:
Claus Gittinger <cg@exept.de>
parents: 11146
diff changeset
   634
                   (SpecCollection
c75bf5c6721d changed:
Claus Gittinger <cg@exept.de>
parents: 11146
diff changeset
   635
                      collection: (
c75bf5c6721d changed:
Claus Gittinger <cg@exept.de>
parents: 11146
diff changeset
   636
                       (LabelSpec
c75bf5c6721d changed:
Claus Gittinger <cg@exept.de>
parents: 11146
diff changeset
   637
                          label: 'URL to Push To:'
c75bf5c6721d changed:
Claus Gittinger <cg@exept.de>
parents: 11146
diff changeset
   638
                          name: 'Label6'
c75bf5c6721d changed:
Claus Gittinger <cg@exept.de>
parents: 11146
diff changeset
   639
                          layout: (LayoutFrame 0 0.0 14 0 60 0.25 36 0)
c75bf5c6721d changed:
Claus Gittinger <cg@exept.de>
parents: 11146
diff changeset
   640
                          activeHelpKey: hgPushURLs
c75bf5c6721d changed:
Claus Gittinger <cg@exept.de>
parents: 11146
diff changeset
   641
                          translateLabel: true
c75bf5c6721d changed:
Claus Gittinger <cg@exept.de>
parents: 11146
diff changeset
   642
                          adjust: right
c75bf5c6721d changed:
Claus Gittinger <cg@exept.de>
parents: 11146
diff changeset
   643
                        )
c75bf5c6721d changed:
Claus Gittinger <cg@exept.de>
parents: 11146
diff changeset
   644
                       (SequenceViewSpec
c75bf5c6721d changed:
Claus Gittinger <cg@exept.de>
parents: 11146
diff changeset
   645
                          name: 'List2'
c75bf5c6721d changed:
Claus Gittinger <cg@exept.de>
parents: 11146
diff changeset
   646
                          layout: (LayoutFrame 64 0.25 14 0 0 1 90 0)
c75bf5c6721d changed:
Claus Gittinger <cg@exept.de>
parents: 11146
diff changeset
   647
                          activeHelpKey: hgPushURLs
c75bf5c6721d changed:
Claus Gittinger <cg@exept.de>
parents: 11146
diff changeset
   648
                          tabable: true
c75bf5c6721d changed:
Claus Gittinger <cg@exept.de>
parents: 11146
diff changeset
   649
                          model: selectedPushURL
c75bf5c6721d changed:
Claus Gittinger <cg@exept.de>
parents: 11146
diff changeset
   650
                          hasHorizontalScrollBar: true
c75bf5c6721d changed:
Claus Gittinger <cg@exept.de>
parents: 11146
diff changeset
   651
                          hasVerticalScrollBar: true
c75bf5c6721d changed:
Claus Gittinger <cg@exept.de>
parents: 11146
diff changeset
   652
                          miniScrollerHorizontal: true
c75bf5c6721d changed:
Claus Gittinger <cg@exept.de>
parents: 11146
diff changeset
   653
                          useIndex: false
c75bf5c6721d changed:
Claus Gittinger <cg@exept.de>
parents: 11146
diff changeset
   654
                          sequenceList: listOfPushURLs
c75bf5c6721d changed:
Claus Gittinger <cg@exept.de>
parents: 11146
diff changeset
   655
                        )
c75bf5c6721d changed:
Claus Gittinger <cg@exept.de>
parents: 11146
diff changeset
   656
                       (LabelSpec
c75bf5c6721d changed:
Claus Gittinger <cg@exept.de>
parents: 11146
diff changeset
   657
                          label: 'URL:'
c75bf5c6721d changed:
Claus Gittinger <cg@exept.de>
parents: 11146
diff changeset
   658
                          name: 'Label8'
c75bf5c6721d changed:
Claus Gittinger <cg@exept.de>
parents: 11146
diff changeset
   659
                          layout: (LayoutFrame 0 0.0 101 0 60 0.25 118 0)
c75bf5c6721d changed:
Claus Gittinger <cg@exept.de>
parents: 11146
diff changeset
   660
                          activeHelpKey: hgAddPushURL
c75bf5c6721d changed:
Claus Gittinger <cg@exept.de>
parents: 11146
diff changeset
   661
                          translateLabel: true
c75bf5c6721d changed:
Claus Gittinger <cg@exept.de>
parents: 11146
diff changeset
   662
                          adjust: right
c75bf5c6721d changed:
Claus Gittinger <cg@exept.de>
parents: 11146
diff changeset
   663
                        )
c75bf5c6721d changed:
Claus Gittinger <cg@exept.de>
parents: 11146
diff changeset
   664
                       (ComboBoxSpec
c75bf5c6721d changed:
Claus Gittinger <cg@exept.de>
parents: 11146
diff changeset
   665
                          name: 'ComboBox2'
c75bf5c6721d changed:
Claus Gittinger <cg@exept.de>
parents: 11146
diff changeset
   666
                          layout: (LayoutFrame 64 0.25 97 0 0 1.0 119 0)
c75bf5c6721d changed:
Claus Gittinger <cg@exept.de>
parents: 11146
diff changeset
   667
                          activeHelpKey: hgAddPushURL
c75bf5c6721d changed:
Claus Gittinger <cg@exept.de>
parents: 11146
diff changeset
   668
                          tabable: true
c75bf5c6721d changed:
Claus Gittinger <cg@exept.de>
parents: 11146
diff changeset
   669
                          model: pushURL
c75bf5c6721d changed:
Claus Gittinger <cg@exept.de>
parents: 11146
diff changeset
   670
                          immediateAccept: true
c75bf5c6721d changed:
Claus Gittinger <cg@exept.de>
parents: 11146
diff changeset
   671
                          acceptOnLeave: true
c75bf5c6721d changed:
Claus Gittinger <cg@exept.de>
parents: 11146
diff changeset
   672
                          acceptOnReturn: true
c75bf5c6721d changed:
Claus Gittinger <cg@exept.de>
parents: 11146
diff changeset
   673
                          acceptOnTab: true
c75bf5c6721d changed:
Claus Gittinger <cg@exept.de>
parents: 11146
diff changeset
   674
                          acceptOnLostFocus: true
c75bf5c6721d changed:
Claus Gittinger <cg@exept.de>
parents: 11146
diff changeset
   675
                          acceptChannel: acceptChannel
c75bf5c6721d changed:
Claus Gittinger <cg@exept.de>
parents: 11146
diff changeset
   676
                          acceptOnPointerLeave: true
11348
0cb6dd19eb52 class definition
Claus Gittinger <cg@exept.de>
parents: 11334
diff changeset
   677
                          comboList: pushURLPrototypeList
11165
c75bf5c6721d changed:
Claus Gittinger <cg@exept.de>
parents: 11146
diff changeset
   678
                        )
c75bf5c6721d changed:
Claus Gittinger <cg@exept.de>
parents: 11146
diff changeset
   679
                       (HorizontalPanelViewSpec
c75bf5c6721d changed:
Claus Gittinger <cg@exept.de>
parents: 11146
diff changeset
   680
                          name: 'HorizontalPanel3'
c75bf5c6721d changed:
Claus Gittinger <cg@exept.de>
parents: 11146
diff changeset
   681
                          layout: (LayoutFrame 64 0.25 125 0 -1 1 150 0)
c75bf5c6721d changed:
Claus Gittinger <cg@exept.de>
parents: 11146
diff changeset
   682
                          horizontalLayout: right
c75bf5c6721d changed:
Claus Gittinger <cg@exept.de>
parents: 11146
diff changeset
   683
                          verticalLayout: center
c75bf5c6721d changed:
Claus Gittinger <cg@exept.de>
parents: 11146
diff changeset
   684
                          horizontalSpace: 3
c75bf5c6721d changed:
Claus Gittinger <cg@exept.de>
parents: 11146
diff changeset
   685
                          verticalSpace: 3
c75bf5c6721d changed:
Claus Gittinger <cg@exept.de>
parents: 11146
diff changeset
   686
                          component: 
c75bf5c6721d changed:
Claus Gittinger <cg@exept.de>
parents: 11146
diff changeset
   687
                         (SpecCollection
c75bf5c6721d changed:
Claus Gittinger <cg@exept.de>
parents: 11146
diff changeset
   688
                            collection: (
c75bf5c6721d changed:
Claus Gittinger <cg@exept.de>
parents: 11146
diff changeset
   689
                             (ActionButtonSpec
c75bf5c6721d changed:
Claus Gittinger <cg@exept.de>
parents: 11146
diff changeset
   690
                                label: 'Add/Apply'
c75bf5c6721d changed:
Claus Gittinger <cg@exept.de>
parents: 11146
diff changeset
   691
                                name: 'Button6'
c75bf5c6721d changed:
Claus Gittinger <cg@exept.de>
parents: 11146
diff changeset
   692
                                activeHelpKey: hgAddPushURL
c75bf5c6721d changed:
Claus Gittinger <cg@exept.de>
parents: 11146
diff changeset
   693
                                translateLabel: true
c75bf5c6721d changed:
Claus Gittinger <cg@exept.de>
parents: 11146
diff changeset
   694
                                tabable: true
c75bf5c6721d changed:
Claus Gittinger <cg@exept.de>
parents: 11146
diff changeset
   695
                                model: addPushURL
c75bf5c6721d changed:
Claus Gittinger <cg@exept.de>
parents: 11146
diff changeset
   696
                                extent: (Point 100 22)
c75bf5c6721d changed:
Claus Gittinger <cg@exept.de>
parents: 11146
diff changeset
   697
                              )
c75bf5c6721d changed:
Claus Gittinger <cg@exept.de>
parents: 11146
diff changeset
   698
                             (ActionButtonSpec
c75bf5c6721d changed:
Claus Gittinger <cg@exept.de>
parents: 11146
diff changeset
   699
                                label: 'Remove'
c75bf5c6721d changed:
Claus Gittinger <cg@exept.de>
parents: 11146
diff changeset
   700
                                name: 'Button7'
c75bf5c6721d changed:
Claus Gittinger <cg@exept.de>
parents: 11146
diff changeset
   701
                                activeHelpKey: hgRemovePushURL
c75bf5c6721d changed:
Claus Gittinger <cg@exept.de>
parents: 11146
diff changeset
   702
                                translateLabel: true
c75bf5c6721d changed:
Claus Gittinger <cg@exept.de>
parents: 11146
diff changeset
   703
                                tabable: true
c75bf5c6721d changed:
Claus Gittinger <cg@exept.de>
parents: 11146
diff changeset
   704
                                model: removePushURL
11348
0cb6dd19eb52 class definition
Claus Gittinger <cg@exept.de>
parents: 11334
diff changeset
   705
                                enableChannel: removePushURLEnabled
11165
c75bf5c6721d changed:
Claus Gittinger <cg@exept.de>
parents: 11146
diff changeset
   706
                                extent: (Point 100 22)
c75bf5c6721d changed:
Claus Gittinger <cg@exept.de>
parents: 11146
diff changeset
   707
                              )
c75bf5c6721d changed:
Claus Gittinger <cg@exept.de>
parents: 11146
diff changeset
   708
                             (ViewSpec
c75bf5c6721d changed:
Claus Gittinger <cg@exept.de>
parents: 11146
diff changeset
   709
                                name: 'Box17'
c75bf5c6721d changed:
Claus Gittinger <cg@exept.de>
parents: 11146
diff changeset
   710
                                extent: (Point 100 10)
c75bf5c6721d changed:
Claus Gittinger <cg@exept.de>
parents: 11146
diff changeset
   711
                              )
c75bf5c6721d changed:
Claus Gittinger <cg@exept.de>
parents: 11146
diff changeset
   712
                             (ViewSpec
c75bf5c6721d changed:
Claus Gittinger <cg@exept.de>
parents: 11146
diff changeset
   713
                                name: 'Box18'
c75bf5c6721d changed:
Claus Gittinger <cg@exept.de>
parents: 11146
diff changeset
   714
                                extent: (Point 100 10)
c75bf5c6721d changed:
Claus Gittinger <cg@exept.de>
parents: 11146
diff changeset
   715
                              )
c75bf5c6721d changed:
Claus Gittinger <cg@exept.de>
parents: 11146
diff changeset
   716
                             (ViewSpec
c75bf5c6721d changed:
Claus Gittinger <cg@exept.de>
parents: 11146
diff changeset
   717
                                name: 'Box19'
c75bf5c6721d changed:
Claus Gittinger <cg@exept.de>
parents: 11146
diff changeset
   718
                                extent: (Point 99 9)
c75bf5c6721d changed:
Claus Gittinger <cg@exept.de>
parents: 11146
diff changeset
   719
                              )
c75bf5c6721d changed:
Claus Gittinger <cg@exept.de>
parents: 11146
diff changeset
   720
                             )
c75bf5c6721d changed:
Claus Gittinger <cg@exept.de>
parents: 11146
diff changeset
   721
                           
c75bf5c6721d changed:
Claus Gittinger <cg@exept.de>
parents: 11146
diff changeset
   722
                          )
c75bf5c6721d changed:
Claus Gittinger <cg@exept.de>
parents: 11146
diff changeset
   723
                        )
c75bf5c6721d changed:
Claus Gittinger <cg@exept.de>
parents: 11146
diff changeset
   724
                       )
c75bf5c6721d changed:
Claus Gittinger <cg@exept.de>
parents: 11146
diff changeset
   725
                     
c75bf5c6721d changed:
Claus Gittinger <cg@exept.de>
parents: 11146
diff changeset
   726
                    )
c75bf5c6721d changed:
Claus Gittinger <cg@exept.de>
parents: 11146
diff changeset
   727
                    extent: (Point 811 187)
11130
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   728
                  )
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   729
                 (FramedBoxSpec
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   730
                    label: 'Source Cache'
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   731
                    name: 'FramedBox1'
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   732
                    visibilityChannel: false
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   733
                    labelPosition: topLeft
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   734
                    translateLabel: true
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   735
                    component: 
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   736
                   (SpecCollection
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   737
                      collection: (
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   738
                       (ViewSpec
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   739
                          name: 'SourceCacheDirBox'
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   740
                          layout: (LayoutFrame 0 0 0 0 0 1 30 0)
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   741
                          component: 
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   742
                         (SpecCollection
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   743
                            collection: (
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   744
                             (LabelSpec
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   745
                                label: 'Source Cache Dir:'
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   746
                                name: 'SourceCacheDirLabel'
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   747
                                layout: (LayoutFrame 0 0.0 0 0 60 0.25 22 0)
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   748
                                translateLabel: true
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   749
                                adjust: right
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   750
                              )
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   751
                             (InputFieldSpec
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   752
                                name: 'SourceCacheDirEntryField'
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   753
                                layout: (LayoutFrame 64 0.25 0 0 0 1 22 0)
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   754
                                model: sourceCacheDir
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   755
                                immediateAccept: false
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   756
                                acceptOnReturn: true
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   757
                                acceptOnTab: true
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   758
                                acceptOnLostFocus: true
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   759
                                acceptOnPointerLeave: true
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   760
                              )
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   761
                             )
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   762
                           
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   763
                          )
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   764
                        )
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   765
                       (HorizontalPanelViewSpec
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   766
                          name: 'CacheActionsHorizontalPanel'
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   767
                          layout: (LayoutFrame 44 0.25 33 0 0 1 67 0)
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   768
                          horizontalLayout: fitSpace
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   769
                          verticalLayout: center
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   770
                          horizontalSpace: 3
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   771
                          verticalSpace: 3
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   772
                          component: 
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   773
                         (SpecCollection
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   774
                            collection: (
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   775
                             (ActionButtonSpec
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   776
                                label: 'Flush Cache now'
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   777
                                name: 'FlushCacheNowButton'
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   778
                                translateLabel: true
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   779
                                tabable: true
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   780
                                model: flushSourceCache
11165
c75bf5c6721d changed:
Claus Gittinger <cg@exept.de>
parents: 11146
diff changeset
   781
                                extent: (Point 265 22)
11130
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   782
                              )
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   783
                             (ActionButtonSpec
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   784
                                label: 'Condense Cache now'
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   785
                                name: 'CondenseCacheNowButton'
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   786
                                translateLabel: true
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   787
                                tabable: true
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   788
                                model: condenseSourceCache
11165
c75bf5c6721d changed:
Claus Gittinger <cg@exept.de>
parents: 11146
diff changeset
   789
                                extent: (Point 265 22)
11130
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   790
                              )
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   791
                             )
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   792
                           
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   793
                          )
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   794
                        )
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   795
                       )
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   796
                     
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   797
                    )
11165
c75bf5c6721d changed:
Claus Gittinger <cg@exept.de>
parents: 11146
diff changeset
   798
                    extent: (Point 811 95)
11130
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   799
                  )
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   800
                 )
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   801
               
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   802
              )
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   803
            )
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   804
           )
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   805
         
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   806
        )
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   807
      )
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   808
! !
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   809
12401
4714b9640528 Merged 235b77901045 and 8332590c5a41 (branch default)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12287 11736
diff changeset
   810
11130
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   811
!MercurialSourceCodeManagementSettingsAppl class methodsFor:'queries'!
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   812
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   813
managerClass
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   814
    "backlink to my manager class (needed by the settings app)"
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   815
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   816
    ^ MercurialSourceCodeManager
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   817
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   818
    "Created: / 19-04-2011 / 12:46:52 / cg"
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   819
! !
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   820
12401
4714b9640528 Merged 235b77901045 and 8332590c5a41 (branch default)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12287 11736
diff changeset
   821
11130
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   822
!MercurialSourceCodeManagementSettingsAppl methodsFor:'actions'!
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   823
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   824
addModule:module withData:data
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   825
    (self listOfModules includes:module) ifFalse:[
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   826
        self listOfModules add:module; sort.
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   827
    ].
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   828
    repositoriesPerModule at:module put:data.
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   829
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   830
    self updateModifiedChannel.
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   831
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   832
    "Created: / 08-11-2006 / 19:25:21 / cg"
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   833
!
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   834
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   835
basicReadSettings
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   836
    |infoPerModule|
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   837
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   838
    self initialize.
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   839
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   840
    self sourceCacheDir value:(MercurialSourceCodeManager cacheDirectoryName).
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   841
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   842
    repository := MercurialSourceCodeManager repositoryName.
11133
fb5acac1388d added: #defaultIcon3
Claus Gittinger <cg@exept.de>
parents: 11132
diff changeset
   843
    self repositoryHolder value:(repository ? '') asValue.
11357
fac80d1a9ce2 workdir
Claus Gittinger <cg@exept.de>
parents: 11352
diff changeset
   844
    self workDirectoryHolder value:MercurialSourceCodeManager workDirectory.
11130
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   845
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   846
    infoPerModule := MercurialSourceCodeManager repositoryInfoPerModule.
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   847
    infoPerModule keysAndValuesDo:[:module :info | 
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   848
        repositoriesPerModule at:module put:(Array with:MercurialSourceCodeManager with:info).
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   849
    ].
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   850
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   851
    self repositoryHolder value:MercurialSourceCodeManager repositoryName ? self class defaultRepositoryName.
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   852
    self hgExecutableHolder value:MercurialSourceCodeManager hgExecutable.
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   853
    self hgCommandTimeoutHolder value:MercurialSourceCodeManager hgCommandTimeout.
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   854
    self verboseSourceCodeAccess value:MercurialSourceCodeManager verboseSourceCodeAccess. 
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   855
    self shownInBrowserMenusHolder value:MercurialSourceCodeManager shownInBrowserMenus. 
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   856
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   857
    repositoriesPerModule notNil ifTrue:[
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   858
        self listOfModules removeAll.
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   859
        listOfModules addAll:repositoriesPerModule keys asList.
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   860
    ].
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   861
"/    self selectedPerModuleRootChanged.
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   862
11357
fac80d1a9ce2 workdir
Claus Gittinger <cg@exept.de>
parents: 11352
diff changeset
   863
    "Modified: / 03-03-2012 / 11:11:54 / cg"
11130
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   864
!
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   865
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   866
basicSaveSettings
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   867
    |modules nm fn infoPerModule|
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   868
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   869
    nm := self sourceCacheDir value.
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   870
    nm notEmptyOrNil ifTrue:[
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   871
        (fn := nm asFilename) exists ifFalse:[
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   872
            (self confirm:('Mercurial cache directory ''' , nm , ''' does not exist\create ?' withCRs)) ifTrue:[
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   873
                fn recursiveMakeDirectory; 
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   874
                   makeReadableForAll;
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   875
                   makeWritableForAll;
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   876
                   makeExecutableForAll.
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   877
            ]
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   878
        ].
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   879
        (fn isDirectory
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   880
        and:[fn isReadable
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   881
        and:[fn isWritable]]) ifTrue:[
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   882
            MercurialSourceCodeManager cacheDirectoryName:nm.
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   883
        ] ifFalse:[
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   884
            self warn:'Invalid sourceCache directory.'
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   885
        ]
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   886
    ].
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   887
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   888
    MercurialSourceCodeManager hgCommandTimeout:(self hgCommandTimeoutHolder value).
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   889
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   890
    modules := repositoriesPerModule select:[:entry | entry first == MercurialSourceCodeManager].
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   891
    infoPerModule := Dictionary new.
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   892
    modules keysAndValuesDo:[:module :entry | 
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   893
        entry first == MercurialSourceCodeManager ifTrue:[
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   894
            infoPerModule at:module put:(entry second).
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   895
        ].
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   896
    ].
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   897
    MercurialSourceCodeManager repositoryInfoPerModule:infoPerModule.
11357
fac80d1a9ce2 workdir
Claus Gittinger <cg@exept.de>
parents: 11352
diff changeset
   898
    MercurialSourceCodeManager workDirectory:self workDirectoryHolder value.
11130
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   899
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   900
    self basicSaveMercurialSettings.
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   901
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   902
    self sourceCacheDir value:(AbstractSourceCodeManager cacheDirectoryName).
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   903
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   904
    DebugView newDebugger. "/ ???
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   905
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   906
    self acceptChannel value.
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   907
11357
fac80d1a9ce2 workdir
Claus Gittinger <cg@exept.de>
parents: 11352
diff changeset
   908
    "Modified: / 03-03-2012 / 11:24:56 / cg"
11130
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   909
!
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   910
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   911
removePerModuleRoot
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   912
    |module|
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   913
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   914
    acceptChannel value:true.    
11199
24c54d30aad3 changed:
Claus Gittinger <cg@exept.de>
parents: 11175
diff changeset
   915
    module := self perModuleRepositoryModule value.
11130
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   916
    self listOfModules remove:module ifAbsent:nil.
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   917
    repositoriesPerModule removeKey:module ifAbsent:nil.
11199
24c54d30aad3 changed:
Claus Gittinger <cg@exept.de>
parents: 11175
diff changeset
   918
    self perModuleRepositoryModule value:nil.
24c54d30aad3 changed:
Claus Gittinger <cg@exept.de>
parents: 11175
diff changeset
   919
    self perModuleRepository value:nil.
11130
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   920
    self updateModifiedChannel.
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   921
11199
24c54d30aad3 changed:
Claus Gittinger <cg@exept.de>
parents: 11175
diff changeset
   922
    "Modified: / 26-01-2012 / 13:50:08 / cg"
11130
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   923
! !
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   924
12401
4714b9640528 Merged 235b77901045 and 8332590c5a41 (branch default)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12287 11736
diff changeset
   925
11130
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   926
!MercurialSourceCodeManagementSettingsAppl methodsFor:'actions - mercurial'!
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   927
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   928
addPerModuleRoot
11199
24c54d30aad3 changed:
Claus Gittinger <cg@exept.de>
parents: 11175
diff changeset
   929
    |module hgRepository|
11130
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   930
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   931
    acceptChannel value:true.    
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   932
11199
24c54d30aad3 changed:
Claus Gittinger <cg@exept.de>
parents: 11175
diff changeset
   933
    module := self perModuleRepositoryModule value.
24c54d30aad3 changed:
Claus Gittinger <cg@exept.de>
parents: 11175
diff changeset
   934
    hgRepository := self perModuleRepository value.
11130
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   935
11199
24c54d30aad3 changed:
Claus Gittinger <cg@exept.de>
parents: 11175
diff changeset
   936
    hgRepository size > 0 ifTrue:[
24c54d30aad3 changed:
Claus Gittinger <cg@exept.de>
parents: 11175
diff changeset
   937
        self addModule:module withData:(Array with:MercurialSourceCodeManager with:hgRepository).
11130
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   938
    ].
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   939
11199
24c54d30aad3 changed:
Claus Gittinger <cg@exept.de>
parents: 11175
diff changeset
   940
    "Modified: / 26-01-2012 / 12:29:36 / cg"
11130
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   941
!
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   942
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   943
basicSaveMercurialSettings
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   944
    |hgRepository|
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   945
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   946
    repositoryHolder notNil ifTrue:[
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   947
        repositoryHolder value size > 0 ifTrue:[
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   948
            manager notNil ifTrue:[
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   949
                manager initializeForRepository:repositoryHolder value.
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   950
            ]
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   951
        ].
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   952
    ].
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   953
    MercurialSourceCodeManager hgExecutable:((self hgExecutableHolder value ? '') withoutSeparators).
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   954
    MercurialSourceCodeManager initializeForRepository:(hgRepository := self repositoryHolder value).
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   955
    MercurialSourceCodeManager verboseSourceCodeAccess: verboseSourceCodeAccess value. 
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   956
    MercurialSourceCodeManager shownInBrowserMenus:self shownInBrowserMenusHolder value. 
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   957
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   958
    RecentlyUsedRepositoryURLS isNil ifTrue:[
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   959
        RecentlyUsedRepositoryURLS := OrderedCollection new.
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   960
    ].
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   961
    (RecentlyUsedRepositoryURLS includes:hgRepository) ifFalse:[
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   962
        RecentlyUsedRepositoryURLS addFirst:hgRepository.
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   963
        RecentlyUsedRepositoryURLS size > 20 ifTrue:[
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   964
            RecentlyUsedRepositoryURLS removeLast.
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   965
        ].
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   966
    ].
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   967
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   968
    "Modified: / 10-01-2012 / 00:18:15 / cg"
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   969
    "Created: / 14-01-2012 / 20:01:47 / cg"
11146
Claus Gittinger <cg@exept.de>
parents: 11133
diff changeset
   970
!
Claus Gittinger <cg@exept.de>
parents: 11133
diff changeset
   971
Claus Gittinger <cg@exept.de>
parents: 11133
diff changeset
   972
checkAccess
Claus Gittinger <cg@exept.de>
parents: 11133
diff changeset
   973
    self halt:'unimplemented feature'
Claus Gittinger <cg@exept.de>
parents: 11133
diff changeset
   974
Claus Gittinger <cg@exept.de>
parents: 11133
diff changeset
   975
    "Created: / 17-01-2012 / 17:34:53 / cg"
Claus Gittinger <cg@exept.de>
parents: 11133
diff changeset
   976
!
Claus Gittinger <cg@exept.de>
parents: 11133
diff changeset
   977
Claus Gittinger <cg@exept.de>
parents: 11133
diff changeset
   978
initializeRepository
Claus Gittinger <cg@exept.de>
parents: 11133
diff changeset
   979
    self halt:'unimplemented feature'
Claus Gittinger <cg@exept.de>
parents: 11133
diff changeset
   980
Claus Gittinger <cg@exept.de>
parents: 11133
diff changeset
   981
    "Created: / 17-01-2012 / 17:42:27 / cg"
11130
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   982
! !
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   983
12401
4714b9640528 Merged 235b77901045 and 8332590c5a41 (branch default)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12287 11736
diff changeset
   984
11130
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   985
!MercurialSourceCodeManagementSettingsAppl methodsFor:'aspects'!
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   986
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   987
hgCommandTimeoutHolder
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   988
    hgCommandTimeoutHolder isNil ifTrue:[
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   989
        hgCommandTimeoutHolder := ValueHolder new.
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   990
        hgCommandTimeoutHolder onChangeSend:#updateModifiedChannel to:self
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   991
    ].
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   992
    ^ hgCommandTimeoutHolder.
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   993
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   994
    "Created: / 14-01-2012 / 20:02:13 / cg"
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   995
!
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   996
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   997
hgExecutableHolder
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   998
    hgExecutableHolder isNil ifTrue:[
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   999
        hgExecutableHolder := ValueHolder new.
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1000
        hgExecutableHolder onChangeSend:#updateModifiedChannel to:self
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1001
    ].
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1002
    ^ hgExecutableHolder.
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1003
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1004
    "Created: / 14-01-2012 / 20:02:22 / cg"
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1005
!
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1006
11332
6399027892e7 refactored common code
Claus Gittinger <cg@exept.de>
parents: 11323
diff changeset
  1007
initialListOfModules
6399027892e7 refactored common code
Claus Gittinger <cg@exept.de>
parents: 11323
diff changeset
  1008
    ^ repositoriesPerModule keys asList sort.
11130
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1009
11332
6399027892e7 refactored common code
Claus Gittinger <cg@exept.de>
parents: 11323
diff changeset
  1010
    "Created: / 02-03-2012 / 14:41:07 / cg"
11130
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1011
!
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1012
11350
8c96fbd86add class definition
Claus Gittinger <cg@exept.de>
parents: 11348
diff changeset
  1013
listOfPushURLs
8c96fbd86add class definition
Claus Gittinger <cg@exept.de>
parents: 11348
diff changeset
  1014
8c96fbd86add class definition
Claus Gittinger <cg@exept.de>
parents: 11348
diff changeset
  1015
    listOfPushURLs isNil ifTrue:[
8c96fbd86add class definition
Claus Gittinger <cg@exept.de>
parents: 11348
diff changeset
  1016
        listOfPushURLs := List new.
8c96fbd86add class definition
Claus Gittinger <cg@exept.de>
parents: 11348
diff changeset
  1017
    ].
8c96fbd86add class definition
Claus Gittinger <cg@exept.de>
parents: 11348
diff changeset
  1018
    ^ listOfPushURLs.
8c96fbd86add class definition
Claus Gittinger <cg@exept.de>
parents: 11348
diff changeset
  1019
8c96fbd86add class definition
Claus Gittinger <cg@exept.de>
parents: 11348
diff changeset
  1020
    "Created: / 02-03-2012 / 16:22:13 / cg"
8c96fbd86add class definition
Claus Gittinger <cg@exept.de>
parents: 11348
diff changeset
  1021
!
8c96fbd86add class definition
Claus Gittinger <cg@exept.de>
parents: 11348
diff changeset
  1022
11130
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1023
perModuleRepository
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1024
    perModuleRepository isNil ifTrue:[
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1025
        perModuleRepository := ValueHolder new.
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1026
        perModuleRepository addDependent:self.
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1027
    ].
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1028
    ^ perModuleRepository.
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1029
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1030
    "Created: / 14-01-2012 / 20:18:59 / cg"
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1031
!
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1032
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1033
perModuleRepositoryModule
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1034
    perModuleRepositoryModule isNil ifTrue:[
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1035
        perModuleRepositoryModule := ValueHolder new.
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1036
    ].
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1037
    ^ perModuleRepositoryModule.
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1038
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1039
    "Created: / 14-01-2012 / 20:19:51 / cg"
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1040
!
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1041
11348
0cb6dd19eb52 class definition
Claus Gittinger <cg@exept.de>
parents: 11334
diff changeset
  1042
pushURL
0cb6dd19eb52 class definition
Claus Gittinger <cg@exept.de>
parents: 11334
diff changeset
  1043
    pushURL isNil ifTrue:[
0cb6dd19eb52 class definition
Claus Gittinger <cg@exept.de>
parents: 11334
diff changeset
  1044
        pushURL := ValueHolder new.
0cb6dd19eb52 class definition
Claus Gittinger <cg@exept.de>
parents: 11334
diff changeset
  1045
        pushURL addDependent:self.
0cb6dd19eb52 class definition
Claus Gittinger <cg@exept.de>
parents: 11334
diff changeset
  1046
    ].
0cb6dd19eb52 class definition
Claus Gittinger <cg@exept.de>
parents: 11334
diff changeset
  1047
    ^ pushURL.
0cb6dd19eb52 class definition
Claus Gittinger <cg@exept.de>
parents: 11334
diff changeset
  1048
0cb6dd19eb52 class definition
Claus Gittinger <cg@exept.de>
parents: 11334
diff changeset
  1049
    "Created: / 02-03-2012 / 15:53:11 / cg"
0cb6dd19eb52 class definition
Claus Gittinger <cg@exept.de>
parents: 11334
diff changeset
  1050
!
0cb6dd19eb52 class definition
Claus Gittinger <cg@exept.de>
parents: 11334
diff changeset
  1051
0cb6dd19eb52 class definition
Claus Gittinger <cg@exept.de>
parents: 11334
diff changeset
  1052
pushURLPrototypeList
0cb6dd19eb52 class definition
Claus Gittinger <cg@exept.de>
parents: 11334
diff changeset
  1053
    |prototypeList|
0cb6dd19eb52 class definition
Claus Gittinger <cg@exept.de>
parents: 11334
diff changeset
  1054
0cb6dd19eb52 class definition
Claus Gittinger <cg@exept.de>
parents: 11334
diff changeset
  1055
    pushURLPrototypeList isNil ifTrue:[
0cb6dd19eb52 class definition
Claus Gittinger <cg@exept.de>
parents: 11334
diff changeset
  1056
        prototypeList := OrderedSet new.
0cb6dd19eb52 class definition
Claus Gittinger <cg@exept.de>
parents: 11334
diff changeset
  1057
0cb6dd19eb52 class definition
Claus Gittinger <cg@exept.de>
parents: 11334
diff changeset
  1058
"/        cvsRoot := self cvsRootFromCVSRootFileOrNil.
0cb6dd19eb52 class definition
Claus Gittinger <cg@exept.de>
parents: 11334
diff changeset
  1059
"/        cvsRoot notNil ifTrue:[
0cb6dd19eb52 class definition
Claus Gittinger <cg@exept.de>
parents: 11334
diff changeset
  1060
"/            prototypeList add:cvsRoot    
0cb6dd19eb52 class definition
Claus Gittinger <cg@exept.de>
parents: 11334
diff changeset
  1061
"/        ].
0cb6dd19eb52 class definition
Claus Gittinger <cg@exept.de>
parents: 11334
diff changeset
  1062
0cb6dd19eb52 class definition
Claus Gittinger <cg@exept.de>
parents: 11334
diff changeset
  1063
        prototypeList add:('https://inst.kilnhg.com/Repo/Foo/Bar/Baz').
0cb6dd19eb52 class definition
Claus Gittinger <cg@exept.de>
parents: 11334
diff changeset
  1064
        "/ prototypeList add:('https://inst.kilnhg.com/Repo/Dino-VM/Group/Dino-VM').
0cb6dd19eb52 class definition
Claus Gittinger <cg@exept.de>
parents: 11334
diff changeset
  1065
        pushURLPrototypeList := prototypeList asOrderedCollection.
0cb6dd19eb52 class definition
Claus Gittinger <cg@exept.de>
parents: 11334
diff changeset
  1066
    ].
0cb6dd19eb52 class definition
Claus Gittinger <cg@exept.de>
parents: 11334
diff changeset
  1067
    ^ pushURLPrototypeList.
0cb6dd19eb52 class definition
Claus Gittinger <cg@exept.de>
parents: 11334
diff changeset
  1068
0cb6dd19eb52 class definition
Claus Gittinger <cg@exept.de>
parents: 11334
diff changeset
  1069
    "Created: / 02-03-2012 / 15:53:58 / cg"
0cb6dd19eb52 class definition
Claus Gittinger <cg@exept.de>
parents: 11334
diff changeset
  1070
!
0cb6dd19eb52 class definition
Claus Gittinger <cg@exept.de>
parents: 11334
diff changeset
  1071
11130
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1072
repositoryHolder
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1073
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1074
    repositoryHolder isNil ifTrue:[
11652
7935d2f03e29 changed:
Claus Gittinger <cg@exept.de>
parents: 11620
diff changeset
  1075
        repositoryHolder := self class defaultRepositoryName asValue.
11130
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1076
        repositoryHolder addDependent:self.
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1077
    ].
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1078
    ^ repositoryHolder.
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1079
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1080
    "Created: / 14-01-2012 / 20:03:00 / cg"
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1081
!
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1082
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1083
repositoryPrototypeList
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1084
    |prototypeList|
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1085
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1086
    repositoryPrototypeList isNil ifTrue:[
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1087
        prototypeList := OrderedSet new.
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1088
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1089
"/        cvsRoot := self cvsRootFromCVSRootFileOrNil.
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1090
"/        cvsRoot notNil ifTrue:[
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1091
"/            prototypeList add:cvsRoot    
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1092
"/        ].
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1093
11352
78cdf6d851f0 added: #isGit
Claus Gittinger <cg@exept.de>
parents: 11350
diff changeset
  1094
        prototypeList add:('./hgRepository').
11130
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1095
        prototypeList add:('https://inst.kilnhg.com/Repo/Foo/Bar/Baz').
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1096
        "/ prototypeList add:('https://inst.kilnhg.com/Repo/Dino-VM/Group/Dino-VM').
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1097
        repositoryPrototypeList := prototypeList asOrderedCollection.
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1098
    ].
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1099
    ^ repositoryPrototypeList.
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1100
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1101
    "Created: / 14-01-2012 / 20:13:43 / cg"
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1102
!
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1103
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1104
selectedPerModuleRepository
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1105
    selectedPerModuleRepository isNil ifTrue:[
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1106
        selectedPerModuleRepository := ValueHolder new.
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1107
        selectedPerModuleRepository addDependent:self.
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1108
    ].
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1109
    ^ selectedPerModuleRepository.
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1110
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1111
    "Created: / 14-01-2012 / 20:14:04 / cg"
11348
0cb6dd19eb52 class definition
Claus Gittinger <cg@exept.de>
parents: 11334
diff changeset
  1112
!
0cb6dd19eb52 class definition
Claus Gittinger <cg@exept.de>
parents: 11334
diff changeset
  1113
0cb6dd19eb52 class definition
Claus Gittinger <cg@exept.de>
parents: 11334
diff changeset
  1114
selectedPushURL
0cb6dd19eb52 class definition
Claus Gittinger <cg@exept.de>
parents: 11334
diff changeset
  1115
    selectedPushURL isNil ifTrue:[
0cb6dd19eb52 class definition
Claus Gittinger <cg@exept.de>
parents: 11334
diff changeset
  1116
        selectedPushURL := ValueHolder new.
0cb6dd19eb52 class definition
Claus Gittinger <cg@exept.de>
parents: 11334
diff changeset
  1117
        selectedPushURL addDependent:self.
0cb6dd19eb52 class definition
Claus Gittinger <cg@exept.de>
parents: 11334
diff changeset
  1118
    ].
0cb6dd19eb52 class definition
Claus Gittinger <cg@exept.de>
parents: 11334
diff changeset
  1119
    ^ selectedPushURL.
0cb6dd19eb52 class definition
Claus Gittinger <cg@exept.de>
parents: 11334
diff changeset
  1120
0cb6dd19eb52 class definition
Claus Gittinger <cg@exept.de>
parents: 11334
diff changeset
  1121
    "Created: / 02-03-2012 / 15:52:09 / cg"
11357
fac80d1a9ce2 workdir
Claus Gittinger <cg@exept.de>
parents: 11352
diff changeset
  1122
!
fac80d1a9ce2 workdir
Claus Gittinger <cg@exept.de>
parents: 11352
diff changeset
  1123
fac80d1a9ce2 workdir
Claus Gittinger <cg@exept.de>
parents: 11352
diff changeset
  1124
workDirectoryHolder
fac80d1a9ce2 workdir
Claus Gittinger <cg@exept.de>
parents: 11352
diff changeset
  1125
    workDirectoryHolder isNil ifTrue:[
fac80d1a9ce2 workdir
Claus Gittinger <cg@exept.de>
parents: 11352
diff changeset
  1126
        workDirectoryHolder := ValueHolder new.
fac80d1a9ce2 workdir
Claus Gittinger <cg@exept.de>
parents: 11352
diff changeset
  1127
        workDirectoryHolder addDependent:self.
fac80d1a9ce2 workdir
Claus Gittinger <cg@exept.de>
parents: 11352
diff changeset
  1128
    ].
fac80d1a9ce2 workdir
Claus Gittinger <cg@exept.de>
parents: 11352
diff changeset
  1129
    ^ workDirectoryHolder.
fac80d1a9ce2 workdir
Claus Gittinger <cg@exept.de>
parents: 11352
diff changeset
  1130
fac80d1a9ce2 workdir
Claus Gittinger <cg@exept.de>
parents: 11352
diff changeset
  1131
    "Created: / 03-03-2012 / 10:34:19 / cg"
11130
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1132
! !
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1133
12401
4714b9640528 Merged 235b77901045 and 8332590c5a41 (branch default)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12287 11736
diff changeset
  1134
11130
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1135
!MercurialSourceCodeManagementSettingsAppl methodsFor:'change & update'!
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1136
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1137
selectedPerModuleRepositoryChanged
11199
24c54d30aad3 changed:
Claus Gittinger <cg@exept.de>
parents: 11175
diff changeset
  1138
    |repository entry|
11130
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1139
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1140
    self acceptChannel value:true.    
11199
24c54d30aad3 changed:
Claus Gittinger <cg@exept.de>
parents: 11175
diff changeset
  1141
    repository := self selectedPerModuleRepository value.
24c54d30aad3 changed:
Claus Gittinger <cg@exept.de>
parents: 11175
diff changeset
  1142
    repository isNil ifTrue:[ 
11130
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1143
        self removeEnabled value:false.
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1144
        self perModuleRepositoryModule value:' '.
11199
24c54d30aad3 changed:
Claus Gittinger <cg@exept.de>
parents: 11175
diff changeset
  1145
        self perModuleRepository value:''.
11130
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1146
        ^ self
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1147
    ].
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1148
11199
24c54d30aad3 changed:
Claus Gittinger <cg@exept.de>
parents: 11175
diff changeset
  1149
    entry := repositoriesPerModule at:repository ifAbsent:#().    
11130
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1150
    (entry first = MercurialSourceCodeManager) ifTrue:[
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1151
        self removeEnabled value:true.
11199
24c54d30aad3 changed:
Claus Gittinger <cg@exept.de>
parents: 11175
diff changeset
  1152
        self perModuleRepositoryModule value:repository.
24c54d30aad3 changed:
Claus Gittinger <cg@exept.de>
parents: 11175
diff changeset
  1153
        self perModuleRepository value:(entry at:2).
11130
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1154
    ] ifFalse:[
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1155
        self removeEnabled value:false.
11199
24c54d30aad3 changed:
Claus Gittinger <cg@exept.de>
parents: 11175
diff changeset
  1156
        self perModuleRepositoryModule value:repository , ' ',('<<use ',entry first managerTypeName,'>>') allBold.
24c54d30aad3 changed:
Claus Gittinger <cg@exept.de>
parents: 11175
diff changeset
  1157
        self perModuleRepository value:''.
11130
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1158
    ].
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1159
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1160
    "Created: / 14-01-2012 / 20:24:57 / cg"
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1161
!
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1162
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1163
update:something with:aParameter from:changedObject 
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1164
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1165
    "/ cvs
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1166
    changedObject == repositoryHolder ifTrue:[
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1167
        self updateModifiedChannel.
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1168
        "/ self updateLoginEnableHolders.
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1169
        ^ self
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1170
    ].
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1171
"/    changedObject == perModuleRepository ifTrue:[
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1172
"/        self updateLoginEnableHolders.
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1173
"/        ^ self
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1174
"/    ].
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1175
    changedObject == selectedPerModuleRepository ifTrue:[
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1176
        self selectedPerModuleRepositoryChanged.
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1177
        ^ self
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1178
    ].
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1179
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1180
    super update:something with:aParameter from:changedObject
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1181
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1182
    "Modified: / 14-01-2012 / 20:26:51 / cg"
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1183
! !
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1184
12401
4714b9640528 Merged 235b77901045 and 8332590c5a41 (branch default)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12287 11736
diff changeset
  1185
11130
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1186
!MercurialSourceCodeManagementSettingsAppl methodsFor:'help'!
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1187
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1188
helpFilename
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1189
    ^ 'Launcher/mercurialSetup.html'
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1190
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1191
    "Modified: / 14-01-2012 / 20:27:00 / cg"
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1192
! !
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1193
12401
4714b9640528 Merged 235b77901045 and 8332590c5a41 (branch default)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12287 11736
diff changeset
  1194
11130
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1195
!MercurialSourceCodeManagementSettingsAppl methodsFor:'initialization & release'!
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1196
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1197
initialize
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1198
    (AbstractSourceCodeManager notNil) ifTrue:[ AbstractSourceCodeManager autoload ].
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1199
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1200
    sourceCacheDir := nil asValue.
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1201
    sourceCacheDir addDependent:self.
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1202
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1203
    repositoriesPerModule := Dictionary new.
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1204
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1205
    MercurialSourceCodeManager repositoryInfoPerModule 
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1206
        keysAndValuesDo:[:module :info |
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1207
            module withoutSeparators ~= module ifTrue:[
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1208
                self halt:'should not happen any longer'
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1209
            ].
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1210
            repositoriesPerModule at:module put:(Array with:MercurialSourceCodeManager with:info)
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1211
        ].
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1212
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1213
    super initialize.
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1214
11146
Claus Gittinger <cg@exept.de>
parents: 11133
diff changeset
  1215
    "Modified: / 17-01-2012 / 17:39:13 / cg"
11130
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1216
! !
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1217
12401
4714b9640528 Merged 235b77901045 and 8332590c5a41 (branch default)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12287 11736
diff changeset
  1218
11130
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1219
!MercurialSourceCodeManagementSettingsAppl methodsFor:'queries'!
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1220
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1221
hasUnsavedChanges
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1222
    |modules|
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1223
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1224
    ((MercurialSourceCodeManager cacheDirectoryName ? '') ~= (self sourceCacheDir value ? '')) ifTrue:[^ true].
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1225
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1226
    modules := repositoriesPerModule select:[:entry | entry first == MercurialSourceCodeManager].
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1227
11133
fb5acac1388d added: #defaultIcon3
Claus Gittinger <cg@exept.de>
parents: 11132
diff changeset
  1228
    MercurialSourceCodeManager repositoryInfoPerModule keysAndValuesDo:[:module :info |
11130
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1229
        ((modules includesKey:module) and:[info = (modules at:module) second])
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1230
        ifFalse:[^ true].
11133
fb5acac1388d added: #defaultIcon3
Claus Gittinger <cg@exept.de>
parents: 11132
diff changeset
  1231
    ].   
11130
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1232
    modules keysAndValuesDo:[:module :info|
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1233
        ((MercurialSourceCodeManager repositoryInfoPerModule includesKey:module) 
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1234
            and:[(MercurialSourceCodeManager repositoryInfoPerModule at:module) = info second])
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1235
        ifFalse:[^ true].
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1236
    ].
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1237
    (MercurialSourceCodeManager hgCommandTimeout ~= hgCommandTimeoutHolder value)
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1238
        ifTrue:[^ true].
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1239
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1240
    ((MercurialSourceCodeManager hgExecutable ? '') ~= (self hgExecutableHolder value ? '') withoutSeparators)  
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1241
        ifTrue:[^ true].
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1242
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1243
    (MercurialSourceCodeManager repositoryName ? self class defaultRepositoryName ~= self repositoryHolder value)    
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1244
        ifTrue:[^ true].
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1245
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1246
    (MercurialSourceCodeManager verboseSourceCodeAccess ~= self verboseSourceCodeAccess value) 
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1247
        ifTrue:[^ true].
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1248
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1249
    (MercurialSourceCodeManager shownInBrowserMenus ~= self shownInBrowserMenusHolder value)
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1250
        ifTrue:[^ true].
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1251
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1252
    ^ false
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1253
11133
fb5acac1388d added: #defaultIcon3
Claus Gittinger <cg@exept.de>
parents: 11132
diff changeset
  1254
    "Modified: / 14-01-2012 / 23:41:33 / cg"
11130
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1255
! !
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1256
12401
4714b9640528 Merged 235b77901045 and 8332590c5a41 (branch default)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12287 11736
diff changeset
  1257
11130
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1258
!MercurialSourceCodeManagementSettingsAppl class methodsFor:'documentation'!
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1259
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1260
version
11736
ab369307a4b7 changed: #helpSpec
Claus Gittinger <cg@exept.de>
parents: 11652
diff changeset
  1261
    ^ '$Header: /cvs/stx/stx/libtool/MercurialSourceCodeManagementSettingsAppl.st,v 1.19 2012-08-09 08:59:22 cg Exp $'
11130
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1262
!
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1263
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1264
version_CVS
11736
ab369307a4b7 changed: #helpSpec
Claus Gittinger <cg@exept.de>
parents: 11652
diff changeset
  1265
    ^ '$Header: /cvs/stx/stx/libtool/MercurialSourceCodeManagementSettingsAppl.st,v 1.19 2012-08-09 08:59:22 cg Exp $'
12128
a7ff7d66ee85 Improvements in LintHighlighter, few fixes
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12125
diff changeset
  1266
!
a7ff7d66ee85 Improvements in LintHighlighter, few fixes
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12125
diff changeset
  1267
a7ff7d66ee85 Improvements in LintHighlighter, few fixes
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12125
diff changeset
  1268
version_SVN
12287
400a99059170 Merged with /trunk
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12265
diff changeset
  1269
    ^ '$Id: MercurialSourceCodeManagementSettingsAppl.st 8048 2012-09-07 17:28:09Z vranyj1 $'
11130
045e06ed380c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1270
! !
12401
4714b9640528 Merged 235b77901045 and 8332590c5a41 (branch default)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12287 11736
diff changeset
  1271