author | Claus Gittinger <cg@exept.de> |
Tue, 19 Apr 2011 13:21:57 +0200 | |
changeset 9861 | 2fb5f110fe82 |
parent 9848 | 74fc0d845a9b |
child 9864 | d9b21106b707 |
permissions | -rw-r--r-- |
9837 | 1 |
"{ Package: 'stx:libtool' }" |
2 |
||
9861 | 3 |
AbstractSourceCodeManagementSettingsAppl subclass:#P4SourceCodeManagementSettingsAppl |
4 |
instanceVariableNames:'sourceCacheDir listOfModules removeEnabled acceptChannel |
|
5 |
selectedPerModuleRoot verboseSourceCodeAccess |
|
6 |
perforceExecutableHolder listOfPerforceModules |
|
7 |
defaultSettingsHolder tableColumns defaultSettingsPrototypeList' |
|
8 |
classVariableNames:'RecentlyUsedCVSRoots RecentlyUsedStoreHosts |
|
9 |
RecentlyUsedSmallTeamHosts LastStoreHost LastStoreUser |
|
10 |
LastStorePassword' |
|
11 |
poolDictionaries:'' |
|
12 |
category:'Interface-Smalltalk' |
|
9837 | 13 |
! |
14 |
||
15 |
ApplicationModel subclass:#ManagerPerModuleApp |
|
9861 | 16 |
instanceVariableNames:'moduleHolder acceptChannel settingsHolder |
17 |
sourceCodeManagementSettingsApp acceptEnableChannel canceled |
|
18 |
defaultSettingsPrototypeList' |
|
19 |
classVariableNames:'' |
|
20 |
poolDictionaries:'' |
|
21 |
privateIn:P4SourceCodeManagementSettingsAppl |
|
9837 | 22 |
! |
23 |
||
24 |
Object subclass:#ModuleManager |
|
9861 | 25 |
instanceVariableNames:'manager module settings app' |
26 |
classVariableNames:'' |
|
27 |
poolDictionaries:'' |
|
28 |
privateIn:P4SourceCodeManagementSettingsAppl |
|
9837 | 29 |
! |
30 |
||
31 |
||
32 |
!P4SourceCodeManagementSettingsAppl class methodsFor:'image specs'! |
|
33 |
||
34 |
defaultIcon |
|
35 |
"This resource specification was automatically generated |
|
36 |
by the ImageEditor of ST/X." |
|
37 |
||
38 |
"Do not manually edit this!! If it is corrupted, |
|
39 |
the ImageEditor may not be able to read the specification." |
|
40 |
||
41 |
" |
|
42 |
self defaultIcon inspect |
|
43 |
ImageEditor openOnClass:self andSelector:#defaultIcon |
|
44 |
Icon flushCachedIcons |
|
45 |
" |
|
46 |
||
47 |
<resource: #image> |
|
48 |
||
49 |
^Icon |
|
9861 | 50 |
constantNamed:#'AbstractSettingsApplication::SourceCodeManagementSettingsAppl class defaultIcon' |
51 |
ifAbsentPut:[(Depth8Image new) width: 22; height: 22; photometric:(#palette); bitsPerSample:(#(8 )); samplesPerPixel:(1); bits:(ByteArray fromPackedString:' |
|
9837 | 52 |
@@@@@@@@@@@A@PHB@0P@@@@@@@@@@@@@@@@@@@HEA \HA $JB0HD@@@@@@@@@@@@@@HLA04NC0HD@@L@@ P@@@@@@@@@@@@ED@ NDP@@@@@@@@@D@@@@@@@@ |
53 |
@@@BA \FAPP@@@@@@@@@@@P@@@@@@@@@AQ@RC0@@@@@@@@@@@@@@@@@@@@@@@@TGA!!DD@@@@@@@@@@@@@@@@@@@D@PDIA08OA@@@@@@@@@@@@@@@@@@@AP S |
|
54 |
A0XIBPXGC0P@@@@@@@@@@@@@@@@ECAPLBPXOAP@@@@@@EQX@@@@@@@@@@@TIE@XOAP@@@@@@EQ\XE @@@@@@@@@@AP$OAP@@@@@@FQ\ZE!! V@@@@@@@@@@@E |
|
55 |
F0@@@@@@EQ\ZF!!(VFAX@@@@@@@@@@@@@@@@ZEQ\VE!!(ZF!!XWF @@@@@@@@@@@@@@@@@@@A\ZE!!(@@@@@@@@@@@@@@@@@@@@@@@@XE!!XZ@@@@@@@@@@@@@@@@ |
|
56 |
@@@@@@@@EQ(V@@@@@@@@@@@@@@@@@@@@@@@@EQ\VE @@@@@@@@@@@@@@@@@@@@@@EQ VE @@@@@@@@@@@@@@F @@@@@WEQ VE!!(@@@@@@@@@@@@@@@@@E!!\W |
|
57 |
EQXVE @@@@@@@@@@@@@@@@@@@@@@@A(Z@@@@@@@@@@@@@@@a') ; colorMapFromArray:#[0 0 0 32 64 0 0 64 0 32 32 0 0 32 0 32 96 32 96 192 128 192 224 192 160 224 160 32 128 64 64 96 64 64 96 32 32 160 64 160 224 192 64 160 96 32 128 32 224 224 224 64 128 64 160 192 160 224 224 192 32 160 96 160 160 160 64 64 64 96 96 96 128 128 128 192 192 192 32 32 32 32 64 32]; mask:((ImageMask new) width: 22; height: 22; photometric:(#blackIs0); bitsPerSample:(#(1 )); samplesPerPixel:(1); bits:(ByteArray fromPackedString:'@O8@@?>@A??@A?C C<@0C8@PC8@@??@@??F@_>O@O<_ G8?0C1?8A#?<@C?<@@_@H@_@L@?@GC>@C?>@A?<@@_0@') ; yourself); yourself] |
|
58 |
! ! |
|
59 |
||
60 |
!P4SourceCodeManagementSettingsAppl class methodsFor:'interface specs'! |
|
61 |
||
62 |
windowSpec |
|
63 |
"This resource specification was automatically generated |
|
64 |
by the UIPainter of ST/X." |
|
65 |
||
66 |
"Do not manually edit this!! If it is corrupted, |
|
67 |
the UIPainter may not be able to read the specification." |
|
68 |
||
69 |
" |
|
70 |
UIPainter new openOnClass:P4SourceCodeManagementSettingsAppl andSelector:#windowSpec |
|
71 |
P4SourceCodeManagementSettingsAppl new openInterface:#windowSpec |
|
72 |
P4SourceCodeManagementSettingsAppl open |
|
73 |
" |
|
74 |
||
75 |
<resource: #canvas> |
|
76 |
||
9848
74fc0d845a9b
comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents:
9846
diff
changeset
|
77 |
^ |
9837 | 78 |
#(FullSpec |
9848
74fc0d845a9b
comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents:
9846
diff
changeset
|
79 |
name: windowSpec |
74fc0d845a9b
comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents:
9846
diff
changeset
|
80 |
window: |
9837 | 81 |
(WindowSpec |
9848
74fc0d845a9b
comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents:
9846
diff
changeset
|
82 |
label: 'Source Code Manager Settings' |
74fc0d845a9b
comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents:
9846
diff
changeset
|
83 |
name: 'Source Code Manager Settings' |
74fc0d845a9b
comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents:
9846
diff
changeset
|
84 |
min: (Point 10 10) |
74fc0d845a9b
comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents:
9846
diff
changeset
|
85 |
bounds: (Rectangle 0 0 726 653) |
74fc0d845a9b
comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents:
9846
diff
changeset
|
86 |
) |
74fc0d845a9b
comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents:
9846
diff
changeset
|
87 |
component: |
9837 | 88 |
(SpecCollection |
9848
74fc0d845a9b
comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents:
9846
diff
changeset
|
89 |
collection: ( |
74fc0d845a9b
comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents:
9846
diff
changeset
|
90 |
(VerticalPanelViewSpec |
74fc0d845a9b
comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents:
9846
diff
changeset
|
91 |
name: 'VerticalPanel2' |
74fc0d845a9b
comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents:
9846
diff
changeset
|
92 |
layout: (LayoutFrame 0 0.0 0 0.0 0 1.0 0 1.0) |
74fc0d845a9b
comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents:
9846
diff
changeset
|
93 |
horizontalLayout: fit |
74fc0d845a9b
comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents:
9846
diff
changeset
|
94 |
verticalLayout: topSpace |
74fc0d845a9b
comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents:
9846
diff
changeset
|
95 |
horizontalSpace: 3 |
74fc0d845a9b
comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents:
9846
diff
changeset
|
96 |
verticalSpace: 20 |
74fc0d845a9b
comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents:
9846
diff
changeset
|
97 |
component: |
74fc0d845a9b
comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents:
9846
diff
changeset
|
98 |
(SpecCollection |
74fc0d845a9b
comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents:
9846
diff
changeset
|
99 |
collection: ( |
74fc0d845a9b
comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents:
9846
diff
changeset
|
100 |
(VerticalPanelViewSpec |
74fc0d845a9b
comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents:
9846
diff
changeset
|
101 |
name: 'VerticalPanel3' |
74fc0d845a9b
comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents:
9846
diff
changeset
|
102 |
horizontalLayout: fit |
74fc0d845a9b
comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents:
9846
diff
changeset
|
103 |
verticalLayout: top |
74fc0d845a9b
comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents:
9846
diff
changeset
|
104 |
horizontalSpace: 3 |
74fc0d845a9b
comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents:
9846
diff
changeset
|
105 |
verticalSpace: 4 |
74fc0d845a9b
comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents:
9846
diff
changeset
|
106 |
component: |
74fc0d845a9b
comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents:
9846
diff
changeset
|
107 |
(SpecCollection |
74fc0d845a9b
comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents:
9846
diff
changeset
|
108 |
collection: ( |
74fc0d845a9b
comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents:
9846
diff
changeset
|
109 |
(ViewSpec |
74fc0d845a9b
comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents:
9846
diff
changeset
|
110 |
name: 'Box3' |
74fc0d845a9b
comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents:
9846
diff
changeset
|
111 |
component: |
74fc0d845a9b
comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents:
9846
diff
changeset
|
112 |
(SpecCollection |
74fc0d845a9b
comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents:
9846
diff
changeset
|
113 |
collection: ( |
74fc0d845a9b
comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents:
9846
diff
changeset
|
114 |
(LabelSpec |
74fc0d845a9b
comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents:
9846
diff
changeset
|
115 |
label: 'Perforce Command or Path:' |
74fc0d845a9b
comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents:
9846
diff
changeset
|
116 |
name: 'Label22' |
74fc0d845a9b
comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents:
9846
diff
changeset
|
117 |
layout: (LayoutFrame 0 0.0 59 0 60 0.25 81 0) |
74fc0d845a9b
comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents:
9846
diff
changeset
|
118 |
level: 0 |
74fc0d845a9b
comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents:
9846
diff
changeset
|
119 |
translateLabel: true |
74fc0d845a9b
comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents:
9846
diff
changeset
|
120 |
adjust: right |
74fc0d845a9b
comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents:
9846
diff
changeset
|
121 |
) |
74fc0d845a9b
comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents:
9846
diff
changeset
|
122 |
(InputFieldSpec |
74fc0d845a9b
comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents:
9846
diff
changeset
|
123 |
name: 'EntryField8' |
74fc0d845a9b
comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents:
9846
diff
changeset
|
124 |
layout: (LayoutFrame 66 0.25 59 0 -5 1 81 0) |
74fc0d845a9b
comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents:
9846
diff
changeset
|
125 |
tabable: true |
74fc0d845a9b
comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents:
9846
diff
changeset
|
126 |
model: perforceExecutableHolder |
74fc0d845a9b
comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents:
9846
diff
changeset
|
127 |
immediateAccept: false |
74fc0d845a9b
comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents:
9846
diff
changeset
|
128 |
acceptOnLostFocus: true |
74fc0d845a9b
comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents:
9846
diff
changeset
|
129 |
acceptChannel: acceptChannel |
74fc0d845a9b
comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents:
9846
diff
changeset
|
130 |
acceptOnPointerLeave: true |
74fc0d845a9b
comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents:
9846
diff
changeset
|
131 |
) |
74fc0d845a9b
comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents:
9846
diff
changeset
|
132 |
(LabelSpec |
74fc0d845a9b
comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents:
9846
diff
changeset
|
133 |
label: 'Default Perforce Root' |
74fc0d845a9b
comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents:
9846
diff
changeset
|
134 |
name: '' |
74fc0d845a9b
comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents:
9846
diff
changeset
|
135 |
layout: (LayoutFrame 0 0.0 22 0 60 0.25 44 0) |
74fc0d845a9b
comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents:
9846
diff
changeset
|
136 |
level: 0 |
74fc0d845a9b
comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents:
9846
diff
changeset
|
137 |
translateLabel: true |
74fc0d845a9b
comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents:
9846
diff
changeset
|
138 |
adjust: right |
74fc0d845a9b
comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents:
9846
diff
changeset
|
139 |
) |
74fc0d845a9b
comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents:
9846
diff
changeset
|
140 |
(LabelSpec |
74fc0d845a9b
comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents:
9846
diff
changeset
|
141 |
label: 'client:user:pass@host:port ' |
74fc0d845a9b
comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents:
9846
diff
changeset
|
142 |
name: 'Label18' |
74fc0d845a9b
comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents:
9846
diff
changeset
|
143 |
layout: (LayoutFrame 4 0.0 40 0 64 0.25 55 0) |
74fc0d845a9b
comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents:
9846
diff
changeset
|
144 |
style: (FontDescription helvetica medium roman 10) |
74fc0d845a9b
comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents:
9846
diff
changeset
|
145 |
level: 0 |
74fc0d845a9b
comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents:
9846
diff
changeset
|
146 |
translateLabel: true |
74fc0d845a9b
comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents:
9846
diff
changeset
|
147 |
adjust: right |
74fc0d845a9b
comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents:
9846
diff
changeset
|
148 |
) |
74fc0d845a9b
comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents:
9846
diff
changeset
|
149 |
(ComboBoxSpec |
74fc0d845a9b
comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents:
9846
diff
changeset
|
150 |
name: 'cvsRootComboBox' |
74fc0d845a9b
comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents:
9846
diff
changeset
|
151 |
layout: (LayoutFrame 66 0.25 28 0 -5 1 50 0) |
74fc0d845a9b
comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents:
9846
diff
changeset
|
152 |
tabable: true |
74fc0d845a9b
comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents:
9846
diff
changeset
|
153 |
model: defaultSettingsHolder |
74fc0d845a9b
comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents:
9846
diff
changeset
|
154 |
immediateAccept: true |
74fc0d845a9b
comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents:
9846
diff
changeset
|
155 |
acceptOnLeave: true |
74fc0d845a9b
comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents:
9846
diff
changeset
|
156 |
acceptOnReturn: true |
74fc0d845a9b
comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents:
9846
diff
changeset
|
157 |
acceptOnTab: true |
74fc0d845a9b
comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents:
9846
diff
changeset
|
158 |
acceptOnLostFocus: true |
74fc0d845a9b
comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents:
9846
diff
changeset
|
159 |
acceptChannel: acceptChannel |
74fc0d845a9b
comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents:
9846
diff
changeset
|
160 |
acceptOnPointerLeave: true |
74fc0d845a9b
comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents:
9846
diff
changeset
|
161 |
comboList: defaultSettingsPrototypeList |
74fc0d845a9b
comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents:
9846
diff
changeset
|
162 |
) |
74fc0d845a9b
comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents:
9846
diff
changeset
|
163 |
) |
74fc0d845a9b
comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents:
9846
diff
changeset
|
164 |
|
74fc0d845a9b
comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents:
9846
diff
changeset
|
165 |
) |
74fc0d845a9b
comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents:
9846
diff
changeset
|
166 |
extent: (Point 726 105) |
74fc0d845a9b
comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents:
9846
diff
changeset
|
167 |
) |
74fc0d845a9b
comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents:
9846
diff
changeset
|
168 |
(ViewSpec |
74fc0d845a9b
comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents:
9846
diff
changeset
|
169 |
name: 'ManagerSetupBoxx' |
74fc0d845a9b
comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents:
9846
diff
changeset
|
170 |
component: |
74fc0d845a9b
comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents:
9846
diff
changeset
|
171 |
(SpecCollection |
74fc0d845a9b
comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents:
9846
diff
changeset
|
172 |
collection: ( |
74fc0d845a9b
comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents:
9846
diff
changeset
|
173 |
(FramedBoxSpec |
74fc0d845a9b
comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents:
9846
diff
changeset
|
174 |
label: 'Per Module Manager Setup' |
74fc0d845a9b
comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents:
9846
diff
changeset
|
175 |
name: 'PerModuleManagerSetup' |
74fc0d845a9b
comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents:
9846
diff
changeset
|
176 |
layout: (LayoutFrame 0 0 -1 0 0 1 -3 1) |
74fc0d845a9b
comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents:
9846
diff
changeset
|
177 |
labelPosition: topLeft |
74fc0d845a9b
comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents:
9846
diff
changeset
|
178 |
translateLabel: true |
74fc0d845a9b
comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents:
9846
diff
changeset
|
179 |
component: |
74fc0d845a9b
comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents:
9846
diff
changeset
|
180 |
(SpecCollection |
74fc0d845a9b
comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents:
9846
diff
changeset
|
181 |
collection: ( |
74fc0d845a9b
comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents:
9846
diff
changeset
|
182 |
(DataSetSpec |
74fc0d845a9b
comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents:
9846
diff
changeset
|
183 |
name: 'Table1' |
74fc0d845a9b
comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents:
9846
diff
changeset
|
184 |
layout: (LayoutFrame 5 0 5 0 0 1 180 0) |
74fc0d845a9b
comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents:
9846
diff
changeset
|
185 |
model: selectedPerModuleRoot |
74fc0d845a9b
comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents:
9846
diff
changeset
|
186 |
hasHorizontalScrollBar: true |
74fc0d845a9b
comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents:
9846
diff
changeset
|
187 |
hasVerticalScrollBar: true |
74fc0d845a9b
comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents:
9846
diff
changeset
|
188 |
dataList: listOfModules |
74fc0d845a9b
comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents:
9846
diff
changeset
|
189 |
useIndex: false |
74fc0d845a9b
comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents:
9846
diff
changeset
|
190 |
columnHolder: tableColumns |
74fc0d845a9b
comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents:
9846
diff
changeset
|
191 |
beDependentOfRows: true |
74fc0d845a9b
comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents:
9846
diff
changeset
|
192 |
) |
74fc0d845a9b
comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents:
9846
diff
changeset
|
193 |
(HorizontalPanelViewSpec |
74fc0d845a9b
comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents:
9846
diff
changeset
|
194 |
name: 'HorizontalPanel11' |
74fc0d845a9b
comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents:
9846
diff
changeset
|
195 |
layout: (LayoutFrame 5 0 -25 1 -1 1 0 1) |
74fc0d845a9b
comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents:
9846
diff
changeset
|
196 |
horizontalLayout: fitSpace |
74fc0d845a9b
comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents:
9846
diff
changeset
|
197 |
verticalLayout: center |
74fc0d845a9b
comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents:
9846
diff
changeset
|
198 |
horizontalSpace: 3 |
74fc0d845a9b
comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents:
9846
diff
changeset
|
199 |
verticalSpace: 3 |
74fc0d845a9b
comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents:
9846
diff
changeset
|
200 |
component: |
74fc0d845a9b
comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents:
9846
diff
changeset
|
201 |
(SpecCollection |
74fc0d845a9b
comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents:
9846
diff
changeset
|
202 |
collection: ( |
74fc0d845a9b
comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents:
9846
diff
changeset
|
203 |
(ActionButtonSpec |
74fc0d845a9b
comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents:
9846
diff
changeset
|
204 |
label: 'Add/Apply' |
74fc0d845a9b
comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents:
9846
diff
changeset
|
205 |
name: 'Button2' |
74fc0d845a9b
comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents:
9846
diff
changeset
|
206 |
translateLabel: true |
74fc0d845a9b
comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents:
9846
diff
changeset
|
207 |
tabable: true |
74fc0d845a9b
comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents:
9846
diff
changeset
|
208 |
model: addPerModuleRoot |
74fc0d845a9b
comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents:
9846
diff
changeset
|
209 |
extent: (Point 340 22) |
74fc0d845a9b
comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents:
9846
diff
changeset
|
210 |
) |
74fc0d845a9b
comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents:
9846
diff
changeset
|
211 |
(ActionButtonSpec |
74fc0d845a9b
comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents:
9846
diff
changeset
|
212 |
label: 'Remove' |
74fc0d845a9b
comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents:
9846
diff
changeset
|
213 |
name: 'Button3' |
74fc0d845a9b
comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents:
9846
diff
changeset
|
214 |
translateLabel: true |
74fc0d845a9b
comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents:
9846
diff
changeset
|
215 |
tabable: true |
74fc0d845a9b
comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents:
9846
diff
changeset
|
216 |
model: removePerModuleRoot |
74fc0d845a9b
comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents:
9846
diff
changeset
|
217 |
enableChannel: removeEnabled |
74fc0d845a9b
comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents:
9846
diff
changeset
|
218 |
extent: (Point 341 22) |
74fc0d845a9b
comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents:
9846
diff
changeset
|
219 |
) |
74fc0d845a9b
comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents:
9846
diff
changeset
|
220 |
) |
74fc0d845a9b
comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents:
9846
diff
changeset
|
221 |
|
74fc0d845a9b
comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents:
9846
diff
changeset
|
222 |
) |
74fc0d845a9b
comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents:
9846
diff
changeset
|
223 |
) |
74fc0d845a9b
comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents:
9846
diff
changeset
|
224 |
) |
74fc0d845a9b
comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents:
9846
diff
changeset
|
225 |
|
74fc0d845a9b
comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents:
9846
diff
changeset
|
226 |
) |
74fc0d845a9b
comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents:
9846
diff
changeset
|
227 |
) |
74fc0d845a9b
comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents:
9846
diff
changeset
|
228 |
) |
74fc0d845a9b
comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents:
9846
diff
changeset
|
229 |
|
74fc0d845a9b
comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents:
9846
diff
changeset
|
230 |
) |
74fc0d845a9b
comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents:
9846
diff
changeset
|
231 |
extent: (Point 726 250) |
74fc0d845a9b
comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents:
9846
diff
changeset
|
232 |
) |
74fc0d845a9b
comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents:
9846
diff
changeset
|
233 |
(FramedBoxSpec |
74fc0d845a9b
comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents:
9846
diff
changeset
|
234 |
label: 'Source Cache' |
74fc0d845a9b
comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents:
9846
diff
changeset
|
235 |
name: 'FramedBox2' |
74fc0d845a9b
comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents:
9846
diff
changeset
|
236 |
labelPosition: topLeft |
74fc0d845a9b
comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents:
9846
diff
changeset
|
237 |
translateLabel: true |
74fc0d845a9b
comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents:
9846
diff
changeset
|
238 |
component: |
74fc0d845a9b
comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents:
9846
diff
changeset
|
239 |
(SpecCollection |
74fc0d845a9b
comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents:
9846
diff
changeset
|
240 |
collection: ( |
74fc0d845a9b
comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents:
9846
diff
changeset
|
241 |
(ViewSpec |
74fc0d845a9b
comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents:
9846
diff
changeset
|
242 |
name: 'Box4' |
74fc0d845a9b
comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents:
9846
diff
changeset
|
243 |
layout: (LayoutFrame 0 0 0 0 0 1 30 0) |
74fc0d845a9b
comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents:
9846
diff
changeset
|
244 |
component: |
74fc0d845a9b
comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents:
9846
diff
changeset
|
245 |
(SpecCollection |
74fc0d845a9b
comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents:
9846
diff
changeset
|
246 |
collection: ( |
74fc0d845a9b
comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents:
9846
diff
changeset
|
247 |
(LabelSpec |
74fc0d845a9b
comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents:
9846
diff
changeset
|
248 |
label: 'Source Cache Dir:' |
74fc0d845a9b
comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents:
9846
diff
changeset
|
249 |
name: 'Label23' |
74fc0d845a9b
comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents:
9846
diff
changeset
|
250 |
layout: (LayoutFrame 0 0.0 0 0 60 0.25 22 0) |
74fc0d845a9b
comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents:
9846
diff
changeset
|
251 |
translateLabel: true |
74fc0d845a9b
comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents:
9846
diff
changeset
|
252 |
adjust: right |
74fc0d845a9b
comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents:
9846
diff
changeset
|
253 |
) |
74fc0d845a9b
comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents:
9846
diff
changeset
|
254 |
(InputFieldSpec |
74fc0d845a9b
comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents:
9846
diff
changeset
|
255 |
name: 'EntryField9' |
74fc0d845a9b
comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents:
9846
diff
changeset
|
256 |
layout: (LayoutFrame 64 0.25 0 0 0 1 22 0) |
74fc0d845a9b
comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents:
9846
diff
changeset
|
257 |
model: sourceCacheDir |
74fc0d845a9b
comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents:
9846
diff
changeset
|
258 |
immediateAccept: false |
74fc0d845a9b
comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents:
9846
diff
changeset
|
259 |
acceptOnReturn: true |
74fc0d845a9b
comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents:
9846
diff
changeset
|
260 |
acceptOnTab: true |
74fc0d845a9b
comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents:
9846
diff
changeset
|
261 |
acceptOnLostFocus: true |
74fc0d845a9b
comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents:
9846
diff
changeset
|
262 |
acceptOnPointerLeave: true |
74fc0d845a9b
comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents:
9846
diff
changeset
|
263 |
) |
74fc0d845a9b
comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents:
9846
diff
changeset
|
264 |
) |
74fc0d845a9b
comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents:
9846
diff
changeset
|
265 |
|
74fc0d845a9b
comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents:
9846
diff
changeset
|
266 |
) |
74fc0d845a9b
comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents:
9846
diff
changeset
|
267 |
) |
74fc0d845a9b
comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents:
9846
diff
changeset
|
268 |
(HorizontalPanelViewSpec |
74fc0d845a9b
comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents:
9846
diff
changeset
|
269 |
name: 'HorizontalPanel12' |
74fc0d845a9b
comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents:
9846
diff
changeset
|
270 |
layout: (LayoutFrame 44 0.25 33 0 0 1 67 0) |
74fc0d845a9b
comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents:
9846
diff
changeset
|
271 |
horizontalLayout: fitSpace |
74fc0d845a9b
comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents:
9846
diff
changeset
|
272 |
verticalLayout: center |
74fc0d845a9b
comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents:
9846
diff
changeset
|
273 |
horizontalSpace: 3 |
74fc0d845a9b
comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents:
9846
diff
changeset
|
274 |
verticalSpace: 3 |
74fc0d845a9b
comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents:
9846
diff
changeset
|
275 |
component: |
74fc0d845a9b
comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents:
9846
diff
changeset
|
276 |
(SpecCollection |
74fc0d845a9b
comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents:
9846
diff
changeset
|
277 |
collection: ( |
74fc0d845a9b
comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents:
9846
diff
changeset
|
278 |
(ActionButtonSpec |
74fc0d845a9b
comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents:
9846
diff
changeset
|
279 |
label: 'Flush Cache now' |
74fc0d845a9b
comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents:
9846
diff
changeset
|
280 |
name: 'Button4' |
74fc0d845a9b
comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents:
9846
diff
changeset
|
281 |
translateLabel: true |
74fc0d845a9b
comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents:
9846
diff
changeset
|
282 |
tabable: true |
74fc0d845a9b
comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents:
9846
diff
changeset
|
283 |
model: flushSourceCache |
74fc0d845a9b
comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents:
9846
diff
changeset
|
284 |
extent: (Point 234 22) |
74fc0d845a9b
comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents:
9846
diff
changeset
|
285 |
) |
74fc0d845a9b
comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents:
9846
diff
changeset
|
286 |
(ActionButtonSpec |
74fc0d845a9b
comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents:
9846
diff
changeset
|
287 |
label: 'Condense Cache now' |
74fc0d845a9b
comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents:
9846
diff
changeset
|
288 |
name: 'Button5' |
74fc0d845a9b
comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents:
9846
diff
changeset
|
289 |
translateLabel: true |
74fc0d845a9b
comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents:
9846
diff
changeset
|
290 |
tabable: true |
74fc0d845a9b
comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents:
9846
diff
changeset
|
291 |
model: condenseSourceCache |
74fc0d845a9b
comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents:
9846
diff
changeset
|
292 |
extent: (Point 235 22) |
74fc0d845a9b
comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents:
9846
diff
changeset
|
293 |
) |
74fc0d845a9b
comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents:
9846
diff
changeset
|
294 |
) |
74fc0d845a9b
comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents:
9846
diff
changeset
|
295 |
|
74fc0d845a9b
comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents:
9846
diff
changeset
|
296 |
) |
74fc0d845a9b
comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents:
9846
diff
changeset
|
297 |
) |
74fc0d845a9b
comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents:
9846
diff
changeset
|
298 |
) |
74fc0d845a9b
comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents:
9846
diff
changeset
|
299 |
|
74fc0d845a9b
comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents:
9846
diff
changeset
|
300 |
) |
74fc0d845a9b
comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents:
9846
diff
changeset
|
301 |
extent: (Point 726 95) |
74fc0d845a9b
comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents:
9846
diff
changeset
|
302 |
) |
74fc0d845a9b
comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents:
9846
diff
changeset
|
303 |
(ViewSpec |
74fc0d845a9b
comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents:
9846
diff
changeset
|
304 |
name: 'VerboseBox' |
74fc0d845a9b
comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents:
9846
diff
changeset
|
305 |
component: |
74fc0d845a9b
comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents:
9846
diff
changeset
|
306 |
(SpecCollection |
74fc0d845a9b
comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents:
9846
diff
changeset
|
307 |
collection: ( |
74fc0d845a9b
comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents:
9846
diff
changeset
|
308 |
(CheckBoxSpec |
74fc0d845a9b
comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents:
9846
diff
changeset
|
309 |
label: 'Verbose (Trace Access on Transcript)' |
74fc0d845a9b
comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents:
9846
diff
changeset
|
310 |
name: 'CheckBox6' |
74fc0d845a9b
comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents:
9846
diff
changeset
|
311 |
layout: (LayoutFrame 30 0 5 0 -5 1 27 0) |
74fc0d845a9b
comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents:
9846
diff
changeset
|
312 |
model: verboseSourceCodeAccess |
74fc0d845a9b
comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents:
9846
diff
changeset
|
313 |
translateLabel: true |
74fc0d845a9b
comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents:
9846
diff
changeset
|
314 |
) |
74fc0d845a9b
comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents:
9846
diff
changeset
|
315 |
) |
74fc0d845a9b
comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents:
9846
diff
changeset
|
316 |
|
74fc0d845a9b
comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents:
9846
diff
changeset
|
317 |
) |
74fc0d845a9b
comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents:
9846
diff
changeset
|
318 |
extent: (Point 726 25) |
74fc0d845a9b
comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents:
9846
diff
changeset
|
319 |
) |
74fc0d845a9b
comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents:
9846
diff
changeset
|
320 |
) |
74fc0d845a9b
comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents:
9846
diff
changeset
|
321 |
|
74fc0d845a9b
comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents:
9846
diff
changeset
|
322 |
) |
74fc0d845a9b
comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents:
9846
diff
changeset
|
323 |
extent: (Point 726 768) |
74fc0d845a9b
comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents:
9846
diff
changeset
|
324 |
) |
74fc0d845a9b
comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents:
9846
diff
changeset
|
325 |
) |
74fc0d845a9b
comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents:
9846
diff
changeset
|
326 |
|
74fc0d845a9b
comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents:
9846
diff
changeset
|
327 |
) |
74fc0d845a9b
comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents:
9846
diff
changeset
|
328 |
) |
74fc0d845a9b
comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents:
9846
diff
changeset
|
329 |
) |
74fc0d845a9b
comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents:
9846
diff
changeset
|
330 |
|
74fc0d845a9b
comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents:
9846
diff
changeset
|
331 |
) |
9837 | 332 |
) |
333 |
! ! |
|
334 |
||
9861 | 335 |
!P4SourceCodeManagementSettingsAppl class methodsFor:'queries'! |
336 |
||
337 |
managerClass |
|
338 |
"backlink to my manager class (needed by the settings app)" |
|
339 |
||
340 |
^ PerforceSourceCodeManager |
|
341 |
||
342 |
"Created: / 19-04-2011 / 12:52:02 / cg" |
|
343 |
! ! |
|
344 |
||
9837 | 345 |
!P4SourceCodeManagementSettingsAppl class methodsFor:'tableColumns specs'! |
346 |
||
347 |
tableColumns |
|
348 |
"This resource specification was automatically generated |
|
349 |
by the DataSetBuilder of ST/X." |
|
350 |
||
351 |
"Do not manually edit this!! If it is corrupted, |
|
352 |
the DataSetBuilder may not be able to read the specification." |
|
353 |
||
354 |
" |
|
355 |
DataSetBuilder new openOnClass:P4SourceCodeManagementSettingsAppl andSelector:#tableColumns |
|
356 |
" |
|
357 |
||
358 |
<resource: #tableColumns> |
|
359 |
||
360 |
^#( |
|
361 |
(DataSetColumnSpec |
|
9861 | 362 |
label: 'Module' |
363 |
labelButtonType: Button |
|
364 |
usePreferredWidth: true |
|
365 |
model: module |
|
9837 | 366 |
) |
367 |
(DataSetColumnSpec |
|
9861 | 368 |
label: 'Settings' |
369 |
labelButtonType: Button |
|
370 |
editorType: InputField |
|
371 |
model: settings |
|
372 |
isResizeable: false |
|
9837 | 373 |
) |
374 |
) |
|
9846 | 375 |
|
9837 | 376 |
! ! |
377 |
||
378 |
!P4SourceCodeManagementSettingsAppl methodsFor:'actions'! |
|
379 |
||
380 |
addModule:aModuleManager |
|
381 |
||
382 |
|detectedManager| |
|
383 |
||
384 |
detectedManager := self listOfModules detect:[:eachModuleManager| eachModuleManager module = aModuleManager module] ifNone:nil. |
|
385 |
detectedManager isNil ifTrue:[ |
|
9861 | 386 |
self listOfModules add:aModuleManager; sort. |
387 |
self updateModifiedChannel. |
|
9837 | 388 |
] ifFalse:[ |
9861 | 389 |
Dialog information:'Manager for Module ', aModuleManager module, ' already exists'. |
9837 | 390 |
]. |
391 |
||
392 |
||
393 |
"Created: / 08-11-2006 / 19:25:21 / cg" |
|
394 |
! |
|
395 |
||
396 |
addModule:module withData:data |
|
397 |
(self listOfModules includes:module) ifFalse:[ |
|
9861 | 398 |
self listOfModules add:module; sort. |
9837 | 399 |
]. |
400 |
||
401 |
self updateModifiedChannel. |
|
402 |
||
403 |
"Created: / 08-11-2006 / 19:25:21 / cg" |
|
404 |
! |
|
405 |
||
406 |
addPerModuleRoot |
|
407 |
||
408 |
|app moduleManager| |
|
409 |
||
410 |
app := ManagerPerModuleApp openFromSourceCodeManagementSettingsApp:self. |
|
411 |
app canceled ifFalse:[ |
|
9848
74fc0d845a9b
comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents:
9846
diff
changeset
|
412 |
moduleManager := ModuleManager newForApplication:self. |
74fc0d845a9b
comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents:
9846
diff
changeset
|
413 |
app moduleHolder value isEmptyOrNil ifTrue:[ |
74fc0d845a9b
comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents:
9846
diff
changeset
|
414 |
self information:'Adding without module name not allowed'. |
74fc0d845a9b
comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents:
9846
diff
changeset
|
415 |
^ self. |
74fc0d845a9b
comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents:
9846
diff
changeset
|
416 |
]. |
74fc0d845a9b
comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents:
9846
diff
changeset
|
417 |
moduleManager module:app moduleHolder value. |
74fc0d845a9b
comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents:
9846
diff
changeset
|
418 |
moduleManager settings:app settingsHolder value. |
74fc0d845a9b
comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents:
9846
diff
changeset
|
419 |
moduleManager settings:app settingsHolder value. |
74fc0d845a9b
comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents:
9846
diff
changeset
|
420 |
self listOfModules add:moduleManager. |
74fc0d845a9b
comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents:
9846
diff
changeset
|
421 |
self updateModifiedChannel. |
9837 | 422 |
]. |
423 |
"Modified: / 08-11-2006 / 19:27:39 / cg" |
|
424 |
! |
|
425 |
||
426 |
basicReadSettings |
|
427 |
|moduleManager moduleAndSettings| |
|
428 |
||
429 |
self initialize. |
|
430 |
||
431 |
self defaultSettingsHolder value:PerforceSourceCodeManager getPerforceDefaultSettingsString. |
|
432 |
self listOfModules removeAll. |
|
433 |
moduleAndSettings := PerforceSourceCodeManager repositoryInfoPerModule copy. |
|
434 |
moduleAndSettings notEmptyOrNil ifTrue:[ |
|
435 |
moduleAndSettings keysAndValuesDo:[:module :settings| |
|
9848
74fc0d845a9b
comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents:
9846
diff
changeset
|
436 |
moduleManager := ModuleManager newForApplication:self. |
9837 | 437 |
moduleManager module:module. |
438 |
moduleManager settings:settings. |
|
439 |
self listOfModules add:moduleManager. |
|
440 |
]. |
|
441 |
]. |
|
442 |
self listOfModules sort. |
|
443 |
||
444 |
self hasManager ifTrue:[ |
|
445 |
self sourceCacheDir value:(PerforceSourceCodeManager cacheDirectoryName). |
|
446 |
]. |
|
447 |
||
448 |
self perforceExecutableHolder value:PerforceSourceCodeManager perforceExecutable. |
|
9846 | 449 |
self verboseSourceCodeAccess value:PerforceSourceCodeManager verboseSourceCodeAccess. |
9837 | 450 |
|
451 |
"/ self selectedPerModuleRootChanged. |
|
452 |
||
9846 | 453 |
"Modified: / 19-04-2011 / 10:53:15 / cg" |
9837 | 454 |
! |
455 |
||
456 |
basicSaveSettings |
|
457 |
|client settings repositoryInfoPerModule| |
|
458 |
||
459 |
self hasManager ifTrue:[ |
|
460 |
| nm fn| |
|
461 |
||
462 |
nm := self sourceCacheDir value. |
|
463 |
nm notEmptyOrNil ifTrue:[ |
|
464 |
(fn := nm asFilename) exists ifFalse:[ |
|
465 |
(self confirm:('Perforce cache directory ''' , nm , ''' does not exist\create ?' withCRs)) ifTrue:[ |
|
9846 | 466 |
fn makeDirectory; |
9837 | 467 |
makeReadableForAll; |
468 |
makeWritableForAll; |
|
469 |
makeExecutableForAll. |
|
470 |
] |
|
471 |
]. |
|
472 |
(fn isDirectory |
|
473 |
and:[fn isReadable |
|
474 |
and:[fn isWritable]]) ifTrue:[ |
|
475 |
PerforceSourceCodeManager cacheDirectoryName:nm. |
|
476 |
] ifFalse:[ |
|
477 |
self warn:'Invalid sourceCache directory.' |
|
478 |
] |
|
479 |
]. |
|
480 |
repositoryInfoPerModule := Dictionary new. |
|
481 |
self listOfModules do:[:aModuleManager| |
|
482 |
repositoryInfoPerModule at:aModuleManager module put:aModuleManager settings. |
|
483 |
]. |
|
484 |
||
485 |
PerforceSourceCodeManager repositoryInfoPerModule:repositoryInfoPerModule. |
|
486 |
PerforceSourceCodeManager perforceExecutable:((self perforceExecutableHolder value ? '') withoutSeparators). |
|
487 |
client := self defaultSettingsHolder value. |
|
488 |
client notNil ifTrue:[ |
|
489 |
settings := PerforceSourceCodeManager getPerforceSettingsFromString:client. |
|
490 |
PerforceSourceCodeManager perforceClient:(settings at:#client ifAbsent:nil). |
|
491 |
PerforceSourceCodeManager perforceUser:(settings at:#user ifAbsent:nil). |
|
492 |
PerforceSourceCodeManager perforcePort:(settings at:#port ifAbsent:nil). |
|
493 |
PerforceSourceCodeManager perforcePassword:(settings at:#password ifAbsent:nil). |
|
494 |
]. |
|
9846 | 495 |
PerforceSourceCodeManager verboseSourceCodeAccess:self verboseSourceCodeAccess value. |
9837 | 496 |
]. |
497 |
||
498 |
self acceptChannel value. |
|
499 |
||
9846 | 500 |
"Modified: / 19-04-2011 / 10:53:46 / cg" |
9837 | 501 |
! |
502 |
||
503 |
condenseSourceCache |
|
504 |
self withWaitCursorDo:[ AbstractSourceCodeManager condenseSourceCache ]. |
|
505 |
Method flushSourceStreamCache. |
|
506 |
||
507 |
"Modified: / 28-11-2006 / 12:21:33 / cg" |
|
508 |
! |
|
509 |
||
510 |
flushSourceCache |
|
511 |
self withWaitCursorDo:[ AbstractSourceCodeManager flushSourceCache ]. |
|
512 |
Method flushSourceStreamCache. |
|
513 |
||
514 |
"Modified: / 28-11-2006 / 12:21:21 / cg" |
|
515 |
! |
|
516 |
||
517 |
removePerModuleRoot |
|
518 |
||
519 |
|module| |
|
520 |
||
9846 | 521 |
acceptChannel value:true. |
9837 | 522 |
module := self selectedPerModuleRoot value. |
523 |
self listOfModules remove:module ifAbsent:nil. |
|
524 |
self updateModifiedChannel. |
|
525 |
! ! |
|
526 |
||
527 |
!P4SourceCodeManagementSettingsAppl methodsFor:'aspects'! |
|
528 |
||
529 |
acceptChannel |
|
530 |
||
531 |
acceptChannel isNil ifTrue:[ |
|
9861 | 532 |
acceptChannel := TriggerValue new. |
9837 | 533 |
]. |
534 |
^ acceptChannel. |
|
535 |
! |
|
536 |
||
537 |
defaultSettingsHolder |
|
538 |
||
539 |
defaultSettingsHolder isNil ifTrue:[ |
|
9861 | 540 |
defaultSettingsHolder := ValueHolder new. |
541 |
defaultSettingsHolder addDependent:self. |
|
9837 | 542 |
]. |
543 |
^ defaultSettingsHolder. |
|
544 |
! |
|
545 |
||
546 |
defaultSettingsPrototypeList |
|
547 |
||
548 |
defaultSettingsPrototypeList isNil ifTrue:[ |
|
9861 | 549 |
defaultSettingsPrototypeList := self perforcePrototypeList. |
9837 | 550 |
]. |
551 |
^ defaultSettingsPrototypeList. |
|
552 |
! |
|
553 |
||
554 |
listOfModules |
|
555 |
||
9846 | 556 |
listOfModules isNil ifTrue:[ |
9861 | 557 |
listOfModules := List new. |
558 |
listOfModules addDependent:self. |
|
9837 | 559 |
]. |
560 |
^ listOfModules. |
|
561 |
! |
|
562 |
||
563 |
perforceExecutableHolder |
|
564 |
perforceExecutableHolder isNil ifTrue:[ |
|
9861 | 565 |
perforceExecutableHolder := ValueHolder new. |
566 |
perforceExecutableHolder onChangeSend:#updateModifiedChannel to:self |
|
9837 | 567 |
]. |
568 |
^ perforceExecutableHolder. |
|
569 |
||
570 |
"Created: / 21-09-2006 / 15:37:06 / cg" |
|
571 |
! |
|
572 |
||
573 |
perforcePrototypeList |
|
574 |
||
575 |
|first client| |
|
576 |
||
577 |
client := PerforceSourceCodeManager perforceClient. |
|
578 |
client isEmptyOrNil ifTrue:[ |
|
9861 | 579 |
client := 'workspace'. |
9837 | 580 |
]. |
9846 | 581 |
first := (client ,':', PerforceSourceCodeManager perforceUser, ':', |
9861 | 582 |
(PerforceSourceCodeManager perforcePassword ? 'pass'), '@', |
583 |
PerforceSourceCodeManager perforcePort). |
|
9837 | 584 |
^ Array with:first. |
585 |
! |
|
586 |
||
587 |
removeEnabled |
|
588 |
||
589 |
removeEnabled isNil ifTrue:[ |
|
9861 | 590 |
removeEnabled := false asValue. |
9837 | 591 |
]. |
592 |
^ removeEnabled. |
|
593 |
! |
|
594 |
||
595 |
selectedPerModuleRoot |
|
596 |
selectedPerModuleRoot isNil ifTrue:[ |
|
9861 | 597 |
selectedPerModuleRoot := ValueHolder new. |
598 |
selectedPerModuleRoot addDependent:self. |
|
9837 | 599 |
]. |
600 |
^ selectedPerModuleRoot. |
|
601 |
! |
|
602 |
||
603 |
sourceCacheDir |
|
604 |
sourceCacheDir isNil ifTrue:[ |
|
9861 | 605 |
sourceCacheDir := ValueHolder new. |
606 |
sourceCacheDir onChangeSend:#updateModifiedChannel to:self |
|
9837 | 607 |
]. |
608 |
^ sourceCacheDir. |
|
609 |
! |
|
610 |
||
611 |
tableColumns |
|
612 |
<resource: #uiAspect> |
|
613 |
||
614 |
"automatically generated by UIPainter ..." |
|
615 |
||
616 |
"*** the code below creates a default model when invoked." |
|
617 |
"*** (which may not be the one you wanted)" |
|
618 |
"*** Please change as required and accept it in the browser." |
|
619 |
"*** (and replace this comment by something more useful ;-)" |
|
620 |
||
621 |
tableColumns isNil ifTrue:[ |
|
9861 | 622 |
tableColumns := self class tableColumns asValue. |
9837 | 623 |
"/ if your app needs to be notified of changes, uncomment one of the lines below: |
624 |
"/ tableColumns addDependent:self. |
|
625 |
"/ tableColumns onChangeSend:#tableColumnsChanged to:self. |
|
626 |
]. |
|
627 |
^ tableColumns. |
|
628 |
! |
|
629 |
||
630 |
verboseSourceCodeAccess |
|
631 |
verboseSourceCodeAccess isNil ifTrue:[ |
|
9861 | 632 |
verboseSourceCodeAccess := false asValue. |
633 |
verboseSourceCodeAccess onChangeSend:#updateModifiedChannel to:self |
|
9837 | 634 |
]. |
635 |
^ verboseSourceCodeAccess. |
|
636 |
! ! |
|
637 |
||
638 |
!P4SourceCodeManagementSettingsAppl methodsFor:'change & update'! |
|
639 |
||
640 |
selectedPerModuleRootChanged |
|
641 |
||
642 |
self removeEnabled value:self selectedPerModuleRoot value notNil. |
|
643 |
! |
|
644 |
||
645 |
sourceDirChanged |
|
646 |
| nm fn| |
|
647 |
||
648 |
nm := self sourceCacheDir value. |
|
649 |
nm isEmptyOrNil ifTrue:[^ self]. |
|
650 |
||
651 |
(fn := nm asFilename) exists ifFalse:[ |
|
9861 | 652 |
(self confirm:('SourceCache directory ''' , nm , ''' does not exist.\Create ?' withCRs)) ifTrue:[ |
653 |
fn makeDirectory; |
|
654 |
makeReadableForAll; |
|
655 |
makeWritableForAll; |
|
656 |
makeExecutableForAll. |
|
657 |
] ifFalse:[ |
|
658 |
self sourceCacheDir value:(AbstractSourceCodeManager cacheDirectoryName). |
|
659 |
^ self. |
|
660 |
]. |
|
9837 | 661 |
]. |
662 |
(fn isDirectory |
|
663 |
and:[fn isReadable |
|
664 |
and:[fn isWritable]]) ifTrue:[ |
|
9861 | 665 |
AbstractSourceCodeManager cacheDirectoryName:nm. |
9837 | 666 |
] ifFalse:[ |
9861 | 667 |
self warn:'Invalid sourceCache directory.'. |
668 |
self sourceCacheDir value:(AbstractSourceCodeManager cacheDirectoryName). |
|
9837 | 669 |
]. |
670 |
! |
|
671 |
||
9846 | 672 |
update:something with:aParameter from:changedObject |
673 |
"/ common |
|
9837 | 674 |
changedObject == sourceCacheDir ifTrue:[ |
9848
74fc0d845a9b
comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents:
9846
diff
changeset
|
675 |
self sourceDirChanged. |
74fc0d845a9b
comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents:
9846
diff
changeset
|
676 |
self updateModifiedChannel. |
74fc0d845a9b
comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents:
9846
diff
changeset
|
677 |
^ self |
9837 | 678 |
]. |
679 |
||
680 |
changedObject == selectedPerModuleRoot ifTrue:[ |
|
9848
74fc0d845a9b
comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents:
9846
diff
changeset
|
681 |
self selectedPerModuleRootChanged. |
74fc0d845a9b
comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents:
9846
diff
changeset
|
682 |
^ self |
9837 | 683 |
]. |
684 |
||
685 |
changedObject == self listOfModules ifTrue:[ |
|
9848
74fc0d845a9b
comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents:
9846
diff
changeset
|
686 |
self updateModifiedChannel. |
9837 | 687 |
]. |
688 |
||
689 |
changedObject == defaultSettingsHolder ifTrue:[ |
|
9848
74fc0d845a9b
comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents:
9846
diff
changeset
|
690 |
self updateModifiedChannel. |
9837 | 691 |
]. |
692 |
||
693 |
||
694 |
super update:something with:aParameter from:changedObject |
|
695 |
||
696 |
"Modified: / 09-11-2006 / 14:41:10 / cg" |
|
697 |
! ! |
|
698 |
||
699 |
!P4SourceCodeManagementSettingsAppl methodsFor:'help'! |
|
700 |
||
701 |
helpFilename |
|
702 |
^ 'Launcher/cvsSetup.html' |
|
703 |
! ! |
|
704 |
||
705 |
!P4SourceCodeManagementSettingsAppl methodsFor:'initialization & release'! |
|
706 |
||
707 |
initialize |
|
708 |
(AbstractSourceCodeManager notNil) ifTrue:[ AbstractSourceCodeManager autoload ]. |
|
709 |
||
710 |
sourceCacheDir := nil asValue. |
|
711 |
sourceCacheDir addDependent:self. |
|
712 |
||
713 |
super initialize. |
|
714 |
||
715 |
"Modified: / 08-11-2006 / 19:20:32 / cg" |
|
716 |
! ! |
|
717 |
||
718 |
!P4SourceCodeManagementSettingsAppl methodsFor:'queries'! |
|
719 |
||
720 |
hasManager |
|
721 |
"true if ANY source code management class is available" |
|
722 |
||
723 |
^ PerforceSourceCodeManager notNil and:[PerforceSourceCodeManager isLoaded] |
|
724 |
! |
|
725 |
||
726 |
hasUnsavedChanges |
|
727 |
||
728 |
|repositoryInfoPerModule client settings| |
|
729 |
||
730 |
client := self defaultSettingsHolder value. |
|
731 |
client notNil ifTrue:[ |
|
732 |
settings := PerforceSourceCodeManager getPerforceSettingsFromString:client. |
|
733 |
PerforceSourceCodeManager perforceClient ~= (settings at:#client ifAbsent:nil) ifTrue:[ |
|
734 |
^ true |
|
735 |
]. |
|
736 |
PerforceSourceCodeManager perforceUser ~= (settings at:#user ifAbsent:nil) ifTrue:[ |
|
737 |
^ true |
|
738 |
]. |
|
739 |
PerforceSourceCodeManager perforcePort ~= (settings at:#port ifAbsent:nil) ifTrue:[ |
|
740 |
^ true |
|
741 |
]. |
|
742 |
PerforceSourceCodeManager perforcePassword ~= (settings at:#password ifAbsent:nil) ifTrue:[ |
|
743 |
^ true |
|
744 |
]. |
|
745 |
]. |
|
746 |
||
747 |
repositoryInfoPerModule := Dictionary new. |
|
748 |
self listOfModules do:[:aModuleManager| |
|
749 |
repositoryInfoPerModule at:aModuleManager module put:aModuleManager settings. |
|
750 |
]. |
|
9846 | 751 |
PerforceSourceCodeManager verboseSourceCodeAccess ~= self verboseSourceCodeAccess value ifTrue:[ |
752 |
^true |
|
753 |
]. |
|
9837 | 754 |
|
755 |
PerforceSourceCodeManager repositoryInfoPerModule keysAndValuesDo:[:module :info | |
|
756 |
((repositoryInfoPerModule includesKey:module) and:[info = (repositoryInfoPerModule at:module)]) |
|
757 |
ifFalse:[^ true]. |
|
758 |
]. |
|
759 |
repositoryInfoPerModule keysAndValuesDo:[:module :info| |
|
760 |
((PerforceSourceCodeManager repositoryInfoPerModule includesKey:module) and:[(PerforceSourceCodeManager repositoryInfoPerModule at:module) = info]) |
|
761 |
ifFalse:[^ true]. |
|
762 |
]. |
|
9848
74fc0d845a9b
comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents:
9846
diff
changeset
|
763 |
self perforceExecutableHolder value ~= PerforceSourceCodeManager perforceExecutable ifTrue:[ |
74fc0d845a9b
comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents:
9846
diff
changeset
|
764 |
^true |
74fc0d845a9b
comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents:
9846
diff
changeset
|
765 |
]. |
9837 | 766 |
^ false |
767 |
||
9846 | 768 |
"Modified: / 19-04-2011 / 10:54:31 / cg" |
9837 | 769 |
! |
770 |
||
771 |
repositoryInfoPerModuleFor:sourceCodeManager |
|
772 |
||
773 |
|repositoryInfoPerModule| |
|
774 |
||
775 |
repositoryInfoPerModule := Dictionary new. |
|
776 |
self listOfModules do:[:aModuleManager| |
|
9861 | 777 |
repositoryInfoPerModule at:aModuleManager module put:aModuleManager settings. |
9837 | 778 |
]. |
779 |
^ repositoryInfoPerModule |
|
780 |
! ! |
|
781 |
||
782 |
!P4SourceCodeManagementSettingsAppl::ManagerPerModuleApp class methodsFor:'instance creation'! |
|
783 |
||
784 |
openFromSourceCodeManagementSettingsApp:something |
|
785 |
||
786 |
|inst| |
|
787 |
||
788 |
inst := self new. |
|
789 |
inst sourceCodeManagementSettingsApp:something. |
|
790 |
inst openModal. |
|
791 |
^ inst |
|
792 |
! ! |
|
793 |
||
794 |
!P4SourceCodeManagementSettingsAppl::ManagerPerModuleApp class methodsFor:'interface specs'! |
|
795 |
||
796 |
windowSpec |
|
797 |
"This resource specification was automatically generated |
|
798 |
by the UIPainter of ST/X." |
|
799 |
||
800 |
"Do not manually edit this!! If it is corrupted, |
|
801 |
the UIPainter may not be able to read the specification." |
|
802 |
||
803 |
" |
|
804 |
UIPainter new openOnClass:P4SourceCodeManagementSettingsAppl::ManagerPerModuleApp andSelector:#windowSpec |
|
805 |
P4SourceCodeManagementSettingsAppl::ManagerPerModuleApp new openInterface:#windowSpec |
|
806 |
P4SourceCodeManagementSettingsAppl::ManagerPerModuleApp open |
|
807 |
" |
|
808 |
||
809 |
<resource: #canvas> |
|
810 |
||
811 |
^ |
|
812 |
#(FullSpec |
|
813 |
name: windowSpec |
|
814 |
window: |
|
815 |
(WindowSpec |
|
816 |
label: 'Manager per Module' |
|
817 |
name: 'Manager per Module' |
|
818 |
min: (Point 10 10) |
|
819 |
max: (Point 1024 768) |
|
820 |
bounds: (Rectangle 0 0 653 100) |
|
821 |
) |
|
822 |
component: |
|
823 |
(SpecCollection |
|
824 |
collection: ( |
|
825 |
(VerticalPanelViewSpec |
|
826 |
name: 'VerticalPanel1' |
|
827 |
layout: (LayoutFrame 0 0 0 0 -5 1 -30 1) |
|
828 |
horizontalLayout: fit |
|
829 |
verticalLayout: topSpace |
|
830 |
horizontalSpace: 3 |
|
831 |
verticalSpace: 3 |
|
832 |
component: |
|
833 |
(SpecCollection |
|
834 |
collection: ( |
|
835 |
(HorizontalPanelViewSpec |
|
836 |
name: 'HorizontalPanel1' |
|
837 |
horizontalLayout: leftFit |
|
838 |
verticalLayout: center |
|
839 |
horizontalSpace: 3 |
|
840 |
verticalSpace: 3 |
|
841 |
component: |
|
842 |
(SpecCollection |
|
843 |
collection: ( |
|
844 |
(LabelSpec |
|
845 |
label: 'Module:' |
|
846 |
name: 'Label16' |
|
847 |
translateLabel: true |
|
848 |
adjust: right |
|
849 |
extent: (Point 180 17) |
|
850 |
) |
|
851 |
(InputFieldSpec |
|
852 |
name: 'EntryField7' |
|
853 |
tabable: true |
|
854 |
model: moduleHolder |
|
855 |
acceptChannel: acceptChannel |
|
856 |
acceptOnPointerLeave: true |
|
9846 | 857 |
extent: (Point 465 22) |
9837 | 858 |
) |
859 |
) |
|
860 |
||
861 |
) |
|
862 |
extent: (Point 648 23) |
|
863 |
) |
|
864 |
(HorizontalPanelViewSpec |
|
865 |
name: 'HorizontalPanel4' |
|
866 |
horizontalLayout: leftFit |
|
867 |
verticalLayout: topSpace |
|
868 |
horizontalSpace: 3 |
|
869 |
verticalSpace: 3 |
|
870 |
component: |
|
871 |
(SpecCollection |
|
872 |
collection: ( |
|
873 |
(ViewSpec |
|
874 |
name: 'Box1' |
|
875 |
component: |
|
876 |
(SpecCollection |
|
877 |
collection: ( |
|
878 |
(LabelSpec |
|
879 |
label: 'Manager Info' |
|
880 |
name: 'Label18' |
|
881 |
layout: (LayoutFrame 0 0 0 0 149 0 16 0) |
|
882 |
translateLabel: true |
|
883 |
adjust: right |
|
884 |
) |
|
885 |
(LabelSpec |
|
886 |
label: 'client:user:pass@host:port ' |
|
887 |
name: 'Label19' |
|
888 |
layout: (LayoutFrame 0 0 14 0 180 0 29 0) |
|
889 |
style: (FontDescription helvetica medium roman 10) |
|
890 |
level: 0 |
|
891 |
translateLabel: true |
|
892 |
adjust: right |
|
893 |
) |
|
894 |
) |
|
895 |
||
896 |
) |
|
897 |
extent: (Point 180 35) |
|
898 |
) |
|
9846 | 899 |
(ComboBoxSpec |
900 |
name: 'ComboBox1' |
|
9837 | 901 |
model: settingsHolder |
9846 | 902 |
acceptOnPointerLeave: false |
9837 | 903 |
comboList: defaultSettingsPrototypeList |
9846 | 904 |
extent: (Point 465 20) |
9837 | 905 |
) |
906 |
) |
|
907 |
||
908 |
) |
|
909 |
extent: (Point 648 35) |
|
910 |
) |
|
911 |
) |
|
912 |
||
913 |
) |
|
914 |
) |
|
915 |
(HorizontalPanelViewSpec |
|
916 |
name: 'HorizontalPanel2' |
|
917 |
layout: (LayoutFrame 0 0 -30 1 0 1 0 1) |
|
918 |
horizontalLayout: fitSpace |
|
919 |
verticalLayout: center |
|
920 |
horizontalSpace: 3 |
|
921 |
verticalSpace: 3 |
|
922 |
component: |
|
923 |
(SpecCollection |
|
924 |
collection: ( |
|
925 |
(ActionButtonSpec |
|
926 |
label: 'Add' |
|
927 |
name: 'Button1' |
|
928 |
translateLabel: true |
|
929 |
model: doAccept |
|
930 |
enableChannel: acceptEnableChannel |
|
931 |
extent: (Point 322 22) |
|
932 |
) |
|
933 |
(ActionButtonSpec |
|
934 |
label: 'Cancel' |
|
935 |
name: 'Button2' |
|
936 |
translateLabel: true |
|
937 |
model: doCancel |
|
938 |
extent: (Point 322 22) |
|
939 |
) |
|
940 |
) |
|
941 |
||
942 |
) |
|
943 |
) |
|
944 |
) |
|
945 |
||
946 |
) |
|
947 |
) |
|
948 |
! ! |
|
949 |
||
950 |
!P4SourceCodeManagementSettingsAppl::ManagerPerModuleApp methodsFor:'accessing'! |
|
951 |
||
952 |
canceled |
|
953 |
^ canceled |
|
954 |
! |
|
955 |
||
956 |
defaultSettingsPrototypeList |
|
957 |
||
958 |
defaultSettingsPrototypeList isNil ifTrue:[ |
|
9861 | 959 |
defaultSettingsPrototypeList := sourceCodeManagementSettingsApp perforcePrototypeList. |
9837 | 960 |
]. |
961 |
^ defaultSettingsPrototypeList. |
|
962 |
! |
|
963 |
||
964 |
sourceCodeManagementSettingsApp |
|
965 |
^ sourceCodeManagementSettingsApp |
|
966 |
! |
|
967 |
||
968 |
sourceCodeManagementSettingsApp:something |
|
969 |
sourceCodeManagementSettingsApp := something. |
|
970 |
! ! |
|
971 |
||
972 |
!P4SourceCodeManagementSettingsAppl::ManagerPerModuleApp methodsFor:'aspects'! |
|
973 |
||
974 |
acceptChannel |
|
975 |
<resource: #uiAspect> |
|
976 |
||
977 |
"automatically generated by UIPainter ..." |
|
978 |
||
979 |
"*** the code below creates a default model when invoked." |
|
980 |
"*** (which may not be the one you wanted)" |
|
981 |
"*** Please change as required and accept it in the browser." |
|
982 |
"*** (and replace this comment by something more useful ;-)" |
|
983 |
||
984 |
acceptChannel isNil ifTrue:[ |
|
9861 | 985 |
acceptChannel := TriggerValue new. |
9837 | 986 |
]. |
987 |
^ acceptChannel. |
|
988 |
! |
|
989 |
||
990 |
acceptEnableChannel |
|
991 |
<resource: #uiAspect> |
|
992 |
||
993 |
"automatically generated by UIPainter ..." |
|
994 |
||
995 |
"*** the code below creates a default model when invoked." |
|
996 |
"*** (which may not be the one you wanted)" |
|
997 |
"*** Please change as required and accept it in the browser." |
|
998 |
"*** (and replace this comment by something more useful ;-)" |
|
999 |
||
1000 |
acceptEnableChannel isNil ifTrue:[ |
|
9861 | 1001 |
acceptEnableChannel := true asValue. |
9837 | 1002 |
"/ if your app needs to be notified of changes, uncomment one of the lines below: |
1003 |
"/ acceptEnableChannel addDependent:self. |
|
1004 |
"/ acceptEnableChannel onChangeSend:#acceptEnableChannelChanged to:self. |
|
1005 |
]. |
|
1006 |
^ acceptEnableChannel. |
|
1007 |
! |
|
1008 |
||
1009 |
moduleHolder |
|
1010 |
<resource: #uiAspect> |
|
1011 |
||
1012 |
"automatically generated by UIPainter ..." |
|
1013 |
||
1014 |
"*** the code below creates a default model when invoked." |
|
1015 |
"*** (which may not be the one you wanted)" |
|
1016 |
"*** Please change as required and accept it in the browser." |
|
1017 |
"*** (and replace this comment by something more useful ;-)" |
|
1018 |
||
1019 |
moduleHolder isNil ifTrue:[ |
|
9861 | 1020 |
moduleHolder := ValueHolder new. |
9837 | 1021 |
"/ if your app needs to be notified of changes, uncomment one of the lines below: |
9861 | 1022 |
moduleHolder addDependent:self. |
9837 | 1023 |
"/ moduleHolder onChangeSend:#moduleHolderChanged to:self. |
1024 |
]. |
|
1025 |
^ moduleHolder. |
|
1026 |
! |
|
1027 |
||
1028 |
settingsHolder |
|
1029 |
<resource: #uiAspect> |
|
1030 |
||
1031 |
"automatically generated by UIPainter ..." |
|
1032 |
||
1033 |
"*** the code below creates a default model when invoked." |
|
1034 |
"*** (which may not be the one you wanted)" |
|
1035 |
"*** Please change as required and accept it in the browser." |
|
1036 |
"*** (and replace this comment by something more useful ;-)" |
|
1037 |
||
1038 |
settingsHolder isNil ifTrue:[ |
|
9861 | 1039 |
settingsHolder := ValueHolder new. |
9837 | 1040 |
"/ if your app needs to be notified of changes, uncomment one of the lines below: |
1041 |
"/ settingsHolder addDependent:self. |
|
1042 |
"/ settingsHolder onChangeSend:#settingsHolderChanged to:self. |
|
1043 |
]. |
|
1044 |
^ settingsHolder. |
|
1045 |
! ! |
|
1046 |
||
1047 |
!P4SourceCodeManagementSettingsAppl::ManagerPerModuleApp methodsFor:'initialization & release'! |
|
1048 |
||
1049 |
doCancel |
|
1050 |
||
1051 |
canceled := true. |
|
1052 |
^ super doCancel |
|
1053 |
! |
|
1054 |
||
1055 |
postBuildWith:aBuilder |
|
1056 |
"This is a hook method generated by the Browser. |
|
1057 |
It will be invoked during the initialization of your app/dialog, |
|
9846 | 1058 |
after all of the visual components have been built, |
9837 | 1059 |
but BEFORE the top window is made visible. |
1060 |
Add any app-specific actions here (reading files, setting up values etc.) |
|
1061 |
See also #postOpenWith:, which is invoked after opening." |
|
1062 |
||
1063 |
"/ add any code here ... |
|
1064 |
||
1065 |
canceled := false. |
|
1066 |
^ super postBuildWith:aBuilder |
|
1067 |
! |
|
1068 |
||
1069 |
postOpenWith:aBuilder |
|
1070 |
"This is a hook method generated by the Browser. |
|
1071 |
It will be invoked right after the applications window has been opened. |
|
1072 |
Add any app-specific actions here (starting background processes etc.). |
|
1073 |
See also #postBuildWith:, which is invoked before opening." |
|
1074 |
||
1075 |
"/ add any code here ... |
|
1076 |
||
1077 |
^ super postOpenWith:aBuilder |
|
1078 |
! ! |
|
1079 |
||
9848
74fc0d845a9b
comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents:
9846
diff
changeset
|
1080 |
!P4SourceCodeManagementSettingsAppl::ModuleManager class methodsFor:'instance creation'! |
74fc0d845a9b
comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents:
9846
diff
changeset
|
1081 |
|
74fc0d845a9b
comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents:
9846
diff
changeset
|
1082 |
newForApplication:anApplication |
74fc0d845a9b
comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents:
9846
diff
changeset
|
1083 |
|instance| |
74fc0d845a9b
comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents:
9846
diff
changeset
|
1084 |
|
74fc0d845a9b
comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents:
9846
diff
changeset
|
1085 |
instance := self new. |
74fc0d845a9b
comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents:
9846
diff
changeset
|
1086 |
instance app:anApplication. |
74fc0d845a9b
comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents:
9846
diff
changeset
|
1087 |
^instance |
74fc0d845a9b
comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents:
9846
diff
changeset
|
1088 |
! ! |
74fc0d845a9b
comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents:
9846
diff
changeset
|
1089 |
|
9837 | 1090 |
!P4SourceCodeManagementSettingsAppl::ModuleManager methodsFor:'accessing'! |
1091 |
||
9848
74fc0d845a9b
comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents:
9846
diff
changeset
|
1092 |
app |
74fc0d845a9b
comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents:
9846
diff
changeset
|
1093 |
^ app |
74fc0d845a9b
comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents:
9846
diff
changeset
|
1094 |
! |
74fc0d845a9b
comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents:
9846
diff
changeset
|
1095 |
|
74fc0d845a9b
comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents:
9846
diff
changeset
|
1096 |
app:something |
74fc0d845a9b
comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents:
9846
diff
changeset
|
1097 |
app := something. |
74fc0d845a9b
comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents:
9846
diff
changeset
|
1098 |
! |
74fc0d845a9b
comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents:
9846
diff
changeset
|
1099 |
|
9837 | 1100 |
manager |
1101 |
^ manager |
|
1102 |
! |
|
1103 |
||
1104 |
manager:something |
|
1105 |
manager := something. |
|
1106 |
! |
|
1107 |
||
1108 |
module |
|
1109 |
^ module |
|
1110 |
! |
|
1111 |
||
1112 |
module:something |
|
1113 |
module := something. |
|
1114 |
! |
|
1115 |
||
1116 |
settings |
|
1117 |
^ settings |
|
1118 |
! |
|
1119 |
||
1120 |
settings:something |
|
1121 |
settings := something. |
|
9848
74fc0d845a9b
comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents:
9846
diff
changeset
|
1122 |
app notNil ifTrue:[ |
74fc0d845a9b
comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents:
9846
diff
changeset
|
1123 |
app listOfModules changed. |
74fc0d845a9b
comment/format in: #update:with:from:
Claus Gittinger <cg@exept.de>
parents:
9846
diff
changeset
|
1124 |
]. |
9837 | 1125 |
! ! |
1126 |
||
1127 |
!P4SourceCodeManagementSettingsAppl::ModuleManager methodsFor:'comparing'! |
|
1128 |
||
1129 |
< aModuleManager |
|
1130 |
||
1131 |
^ self module < aModuleManager module |
|
1132 |
! ! |
|
1133 |
||
1134 |
!P4SourceCodeManagementSettingsAppl::ModuleManager methodsFor:'queries'! |
|
1135 |
||
1136 |
availableManagerTypeNames |
|
1137 |
^ AbstractSourceCodeManager availableManagers collect:[:cls | cls managerTypeName]. |
|
1138 |
! |
|
1139 |
||
1140 |
managerClass |
|
1141 |
||
1142 |
^ AbstractSourceCodeManager availableManagers detect:[:cls | cls managerTypeName = manager] ifNone:[nil]. |
|
1143 |
! ! |
|
1144 |
||
1145 |
!P4SourceCodeManagementSettingsAppl class methodsFor:'documentation'! |
|
1146 |
||
1147 |
version_CVS |
|
9861 | 1148 |
^ '$Header: /cvs/stx/stx/libtool/PerforceSourceCodeManagementSettingsAppl.st,v 1.4 2011-04-19 11:21:57 cg Exp $' |
9837 | 1149 |
! ! |