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