author | Claus Gittinger <cg@exept.de> |
Mon, 14 Apr 2014 21:47:26 +0100 | |
branch | cvs_MAIN |
changeset 498 | 45cfae5e535b |
parent 497 | cffa1d498c9a |
child 500 | de559e4d92ec |
permissions | -rw-r--r-- |
210 | 1 |
" |
335
7e19ab19148b
Changed license to LGPL2.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
210
diff
changeset
|
2 |
stx:libscm - a new source code management library for Smalltalk/X |
7e19ab19148b
Changed license to LGPL2.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
210
diff
changeset
|
3 |
Copyright (C) 2012-2013 Jan Vrany |
7e19ab19148b
Changed license to LGPL2.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
210
diff
changeset
|
4 |
|
7e19ab19148b
Changed license to LGPL2.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
210
diff
changeset
|
5 |
This library is free software; you can redistribute it and/or |
7e19ab19148b
Changed license to LGPL2.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
210
diff
changeset
|
6 |
modify it under the terms of the GNU Lesser General Public |
7e19ab19148b
Changed license to LGPL2.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
210
diff
changeset
|
7 |
License as published by the Free Software Foundation; either |
7e19ab19148b
Changed license to LGPL2.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
210
diff
changeset
|
8 |
version 2.1 of the License. |
210 | 9 |
|
335
7e19ab19148b
Changed license to LGPL2.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
210
diff
changeset
|
10 |
This library is distributed in the hope that it will be useful, |
7e19ab19148b
Changed license to LGPL2.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
210
diff
changeset
|
11 |
but WITHOUT ANY WARRANTY; without even the implied warranty of |
7e19ab19148b
Changed license to LGPL2.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
210
diff
changeset
|
12 |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
7e19ab19148b
Changed license to LGPL2.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
210
diff
changeset
|
13 |
Lesser General Public License for more details. |
7e19ab19148b
Changed license to LGPL2.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
210
diff
changeset
|
14 |
|
7e19ab19148b
Changed license to LGPL2.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
210
diff
changeset
|
15 |
You should have received a copy of the GNU Lesser General Public |
7e19ab19148b
Changed license to LGPL2.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
210
diff
changeset
|
16 |
License along with this library; if not, write to the Free Software |
7e19ab19148b
Changed license to LGPL2.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
210
diff
changeset
|
17 |
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
210 | 18 |
" |
46
d5a192b11a1a
- More Smalltalk/X support
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
19 |
"{ Package: 'stx:libscm/mercurial' }" |
d5a192b11a1a
- More Smalltalk/X support
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
20 |
|
d5a192b11a1a
- More Smalltalk/X support
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
21 |
AbstractSourceCodeManagementSettingsAppl subclass:#HGSourceCodeManagementSettingsAppl |
151
527a1e85aef8
Support for 'autopush' in commit dialog.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
115
diff
changeset
|
22 |
instanceVariableNames:'defaultLogo hgCommand hgDiff2Command hgDiff3Command hgAutopush' |
46
d5a192b11a1a
- More Smalltalk/X support
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
23 |
classVariableNames:'' |
d5a192b11a1a
- More Smalltalk/X support
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
24 |
poolDictionaries:'' |
d5a192b11a1a
- More Smalltalk/X support
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
25 |
category:'SCM-Mercurial-StX-Interface' |
d5a192b11a1a
- More Smalltalk/X support
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
26 |
! |
d5a192b11a1a
- More Smalltalk/X support
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
27 |
|
210 | 28 |
!HGSourceCodeManagementSettingsAppl class methodsFor:'documentation'! |
29 |
||
30 |
copyright |
|
31 |
" |
|
335
7e19ab19148b
Changed license to LGPL2.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
210
diff
changeset
|
32 |
stx:libscm - a new source code management library for Smalltalk/X |
7e19ab19148b
Changed license to LGPL2.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
210
diff
changeset
|
33 |
Copyright (C) 2012-2013 Jan Vrany |
7e19ab19148b
Changed license to LGPL2.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
210
diff
changeset
|
34 |
|
7e19ab19148b
Changed license to LGPL2.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
210
diff
changeset
|
35 |
This library is free software; you can redistribute it and/or |
7e19ab19148b
Changed license to LGPL2.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
210
diff
changeset
|
36 |
modify it under the terms of the GNU Lesser General Public |
7e19ab19148b
Changed license to LGPL2.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
210
diff
changeset
|
37 |
License as published by the Free Software Foundation; either |
7e19ab19148b
Changed license to LGPL2.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
210
diff
changeset
|
38 |
version 2.1 of the License. |
210 | 39 |
|
335
7e19ab19148b
Changed license to LGPL2.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
210
diff
changeset
|
40 |
This library is distributed in the hope that it will be useful, |
7e19ab19148b
Changed license to LGPL2.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
210
diff
changeset
|
41 |
but WITHOUT ANY WARRANTY; without even the implied warranty of |
7e19ab19148b
Changed license to LGPL2.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
210
diff
changeset
|
42 |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
7e19ab19148b
Changed license to LGPL2.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
210
diff
changeset
|
43 |
Lesser General Public License for more details. |
7e19ab19148b
Changed license to LGPL2.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
210
diff
changeset
|
44 |
|
7e19ab19148b
Changed license to LGPL2.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
210
diff
changeset
|
45 |
You should have received a copy of the GNU Lesser General Public |
7e19ab19148b
Changed license to LGPL2.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
210
diff
changeset
|
46 |
License along with this library; if not, write to the Free Software |
7e19ab19148b
Changed license to LGPL2.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
210
diff
changeset
|
47 |
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
210 | 48 |
" |
49 |
! ! |
|
46
d5a192b11a1a
- More Smalltalk/X support
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
50 |
|
d5a192b11a1a
- More Smalltalk/X support
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
51 |
!HGSourceCodeManagementSettingsAppl class methodsFor:'image specs'! |
d5a192b11a1a
- More Smalltalk/X support
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
52 |
|
d5a192b11a1a
- More Smalltalk/X support
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
53 |
defaultIcon |
d5a192b11a1a
- More Smalltalk/X support
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
54 |
^ self defaultIcon3 |
d5a192b11a1a
- More Smalltalk/X support
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
55 |
|
d5a192b11a1a
- More Smalltalk/X support
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
56 |
"Created: / 22-12-2011 / 13:47:11 / cg" |
d5a192b11a1a
- More Smalltalk/X support
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
57 |
! |
d5a192b11a1a
- More Smalltalk/X support
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
58 |
|
d5a192b11a1a
- More Smalltalk/X support
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
59 |
defaultIcon1 |
d5a192b11a1a
- More Smalltalk/X support
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
60 |
"This resource specification was automatically generated |
d5a192b11a1a
- More Smalltalk/X support
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
61 |
by the ImageEditor of ST/X." |
d5a192b11a1a
- More Smalltalk/X support
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
62 |
|
d5a192b11a1a
- More Smalltalk/X support
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
63 |
"Do not manually edit this!! If it is corrupted, |
d5a192b11a1a
- More Smalltalk/X support
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
64 |
the ImageEditor may not be able to read the specification." |
d5a192b11a1a
- More Smalltalk/X support
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
65 |
|
d5a192b11a1a
- More Smalltalk/X support
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
66 |
" |
d5a192b11a1a
- More Smalltalk/X support
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
67 |
self defaultIcon1 inspect |
d5a192b11a1a
- More Smalltalk/X support
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
68 |
ImageEditor openOnClass:self andSelector:#defaultIcon1 |
d5a192b11a1a
- More Smalltalk/X support
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
69 |
Icon flushCachedIcons |
d5a192b11a1a
- More Smalltalk/X support
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
70 |
" |
d5a192b11a1a
- More Smalltalk/X support
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
71 |
|
d5a192b11a1a
- More Smalltalk/X support
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
72 |
<resource: #image> |
d5a192b11a1a
- More Smalltalk/X support
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
73 |
|
d5a192b11a1a
- More Smalltalk/X support
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
74 |
^Icon |
d5a192b11a1a
- More Smalltalk/X support
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
75 |
constantNamed:'MercurialSourceCodeManagementSettingsAppl class defaultIcon1' |
d5a192b11a1a
- More Smalltalk/X support
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
76 |
ifAbsentPut:[(Depth8Image new) width: 24; height: 24; photometric:(#palette); bitsPerSample:(#[8]); samplesPerPixel:(1); bits:(ByteArray fromPackedString:' |
d5a192b11a1a
- More Smalltalk/X support
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
77 |
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@PHCA@PEA D@@@@@@@@@@@@@@@@@@@@GA@ HB@ HB@$C |
d5a192b11a1a
- More Smalltalk/X support
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
78 |
B @@@@@@@@@@@@@@@@,IB@ HB@ HB@ LA@4@@@@@@@@@@@@@C LLB@ HB@ HB@ HB@<P@@@@@@@@@@@@BPPHB@ HB@ HB@ HBADR@@@@@@@@@@@@D0$HB@ H |
d5a192b11a1a
- More Smalltalk/X support
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
79 |
B@ HB@ HB@ SA@@@@@@@@@@@@APLB@ HB@ HB@ HB@ IEP@@@@@VA@LW@Q OC@ HB@ HB@ HB@ LFPD@@@DLBP\Q@@@ZF0 LB@ HB@ HB@ IF@X@@A0HA!!4^ |
d5a192b11a1a
- More Smalltalk/X support
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
80 |
@@@SF!!<_@@$HB@ HB@0FH@L@@BDI@AHC@@@@HP@O@BHIB@ HB@LFH0H@@@@ABQ0@@@@@@@@!!A@@DB@ HCA0OI@8@@@@@@@@@@A\@@@@@@@XDB@ HBP8%I D@ |
d5a192b11a1a
- More Smalltalk/X support
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
81 |
@@@@@@@BA@$D@P@@@@8IB@ LC P''C0@@@@@@@@DIB@ HBQ0@@@8LA@XA@Q<Y@0@@@@@@@@PLB@ DA@@@@@PCB" JC2T[@@@@@@@@@@PLB@PPBP@@@@P)JB$I |
d5a192b11a1a
- More Smalltalk/X support
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
82 |
J!!HA@@@@@@@@@B,LBQXCKB,@A XACQP-F0L@@@@@@@@@@@(RK"T,D0@@BA,/LCD@L @@@@@@@@@@@@@@@ $!!@@@@@QTTC@ 3@@@@@@@@@@@@@@@@@@@@@@@@ |
d5a192b11a1a
- More Smalltalk/X support
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
83 |
@CP\L0@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@') ; colorMapFromArray:#[143 136 136 208 208 208 192 192 184 176 176 176 175 168 168 176 168 168 191 184 184 191 176 176 159 152 144 160 160 160 239 232 224 192 184 184 159 152 160 207 192 200 207 200 200 144 144 144 224 224 224 160 152 160 127 120 120 144 144 136 128 128 128 111 104 104 207 200 208 239 232 240 95 88 88 96 96 96 79 72 80 112 112 120 192 192 200 223 208 208 111 104 96 80 80 80 64 64 64 223 216 216 128 120 128 31 24 24 32 32 24 79 72 64 64 56 56 47 40 40 240 240 240 239 224 224 63 48 48 191 184 176 112 112 104 64 64 56 63 56 56 48 48 48 48 40 48 127 112 120 160 160 168 208 200 208 224 224 216]; mask:((Depth1Image new) width: 24; height: 24; photometric:(#blackIs0); bitsPerSample:(#[1]); samplesPerPixel:(1); bits:(ByteArray fromPackedString:'@@@@@@@@@G>@@O? @_?0@??8@??8@??<@??<O??>__?>_O?>_G?>NA?>@P_>A<_<C>_<C>_8C>_8C>?0C<? @8?@@@\@@@@@') ; yourself); yourself] |
d5a192b11a1a
- More Smalltalk/X support
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
84 |
! |
d5a192b11a1a
- More Smalltalk/X support
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
85 |
|
d5a192b11a1a
- More Smalltalk/X support
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
86 |
defaultIcon2 |
d5a192b11a1a
- More Smalltalk/X support
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
87 |
"This resource specification was automatically generated |
d5a192b11a1a
- More Smalltalk/X support
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
88 |
by the ImageEditor of ST/X." |
d5a192b11a1a
- More Smalltalk/X support
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
89 |
|
d5a192b11a1a
- More Smalltalk/X support
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
90 |
"Do not manually edit this!! If it is corrupted, |
d5a192b11a1a
- More Smalltalk/X support
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
91 |
the ImageEditor may not be able to read the specification." |
d5a192b11a1a
- More Smalltalk/X support
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
92 |
|
d5a192b11a1a
- More Smalltalk/X support
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
93 |
" |
d5a192b11a1a
- More Smalltalk/X support
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
94 |
self defaultIcon2 inspect |
d5a192b11a1a
- More Smalltalk/X support
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
95 |
ImageEditor openOnClass:self andSelector:#defaultIcon2 |
d5a192b11a1a
- More Smalltalk/X support
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
96 |
Icon flushCachedIcons |
d5a192b11a1a
- More Smalltalk/X support
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
97 |
" |
d5a192b11a1a
- More Smalltalk/X support
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
98 |
|
d5a192b11a1a
- More Smalltalk/X support
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
99 |
<resource: #image> |
d5a192b11a1a
- More Smalltalk/X support
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
100 |
|
d5a192b11a1a
- More Smalltalk/X support
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
101 |
^Icon |
d5a192b11a1a
- More Smalltalk/X support
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
102 |
constantNamed:'MercurialSourceCodeManagementSettingsAppl class defaultIcon2' |
d5a192b11a1a
- More Smalltalk/X support
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
103 |
ifAbsentPut:[(Depth8Image new) width: 24; height: 24; photometric:(#palette); bitsPerSample:(#[8]); samplesPerPixel:(1); bits:(ByteArray fromPackedString:' |
d5a192b11a1a
- More Smalltalk/X support
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
104 |
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@PHCA@PEA D@@@@@@@@@@@@@@@@@@@@GA@ HB@ HB@$C |
d5a192b11a1a
- More Smalltalk/X support
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
105 |
B @@@@@@@@@@@@@@@@,IB@ HB@ HB@ LA@4@@@@@@@@@@@@@C LLB@ HB@ HB@ HB@<P@@@@@@@@@@@@BPPHB@ HB@ HB@ HBADR@@@@@@@@@@@@D0$HB@ H |
d5a192b11a1a
- More Smalltalk/X support
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
106 |
B@ HB@ HB@ SA@@@@@@@@@@@@APLB@ HB@ HB@ HB@ IEP@@@@@VA@LW@Q OC@ HB@ HB@ HB@ LFPD@@@DLBP\Q@@@ZF0 LB@ HB@ HB@ IF@X@@A0HA!!4^ |
d5a192b11a1a
- More Smalltalk/X support
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
107 |
@@@SF!!<_@@$HB@ HB@0FH@L@@BDI@AH:N#\7HP@O@BHIB@ HB@LFH0H@@@@ABS\:N#(:M0@!!A@@DB@ HCA0OI@8@@@@@M#(:@A\@@C\@@@XDB@ HBP8%I D@ |
d5a192b11a1a
- More Smalltalk/X support
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
108 |
@@@@M3 7A@$D@P@@@@8IB@ LC P''C0@@@C\7N#$:N0 HHA0@@@8LA@XA@Q<Y@0@@@@@7NS(7B@ HB@@@@PCB" JC2T[@@@@@@@@M34LBB@<OAP @@P)JB$I |
d5a192b11a1a
- More Smalltalk/X support
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
109 |
J!!HA@@@@@@@@@B,LHB@YHB@ A XACQP-F0L@@@@@@@@ @@(RK"T H@@@BA,/LCD@L @@@@@@@@@@HB@ HB@ MP@@@QTTC@ 3@@@@@@@@@@@@@A$ HB@5@@@@ |
d5a192b11a1a
- More Smalltalk/X support
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
110 |
@CP\L0@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@') ; colorMapFromArray:#[143 136 136 208 208 208 192 192 184 176 176 176 175 168 168 176 168 168 191 184 184 191 176 176 159 152 144 160 160 160 239 232 224 192 184 184 159 152 160 207 192 200 207 200 200 144 144 144 224 224 224 160 152 160 127 120 120 144 144 136 128 128 128 111 104 104 207 200 208 239 232 240 95 88 88 96 96 96 79 72 80 112 112 120 192 192 200 223 208 208 111 104 96 80 80 80 64 64 64 223 216 216 128 120 128 31 24 24 32 32 24 79 72 64 64 56 56 47 40 40 240 240 240 239 224 224 63 48 48 191 184 176 112 112 104 64 64 56 63 56 56 48 48 48 48 40 48 127 112 120 160 160 168 208 200 208 224 224 216 0 0 0 0 64 0 32 96 32 96 192 128 32 128 64 32 160 64 32 128 32 32 32 32 32 64 32]; mask:((Depth1Image new) width: 24; height: 24; photometric:(#blackIs0); bitsPerSample:(#[1]); samplesPerPixel:(1); bits:(ByteArray fromPackedString:'@@@@@@@@@G>@@O? @_?0@??8@??8@??<@??<O??>__?>_O?>_??>O=?>GR_>G<_<_>_<O>_8G?_8C??0K<? G<?@C8\@@@@@') ; yourself); yourself] |
d5a192b11a1a
- More Smalltalk/X support
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
111 |
! |
d5a192b11a1a
- More Smalltalk/X support
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
112 |
|
d5a192b11a1a
- More Smalltalk/X support
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
113 |
defaultIcon3 |
d5a192b11a1a
- More Smalltalk/X support
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
114 |
"This resource specification was automatically generated |
d5a192b11a1a
- More Smalltalk/X support
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
115 |
by the ImageEditor of ST/X." |
d5a192b11a1a
- More Smalltalk/X support
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
116 |
|
d5a192b11a1a
- More Smalltalk/X support
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
117 |
"Do not manually edit this!! If it is corrupted, |
d5a192b11a1a
- More Smalltalk/X support
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
118 |
the ImageEditor may not be able to read the specification." |
d5a192b11a1a
- More Smalltalk/X support
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
119 |
|
d5a192b11a1a
- More Smalltalk/X support
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
120 |
" |
d5a192b11a1a
- More Smalltalk/X support
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
121 |
self defaultIcon3 inspect |
d5a192b11a1a
- More Smalltalk/X support
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
122 |
ImageEditor openOnClass:self andSelector:#defaultIcon3 |
d5a192b11a1a
- More Smalltalk/X support
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
123 |
Icon flushCachedIcons |
d5a192b11a1a
- More Smalltalk/X support
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
124 |
" |
d5a192b11a1a
- More Smalltalk/X support
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
125 |
|
d5a192b11a1a
- More Smalltalk/X support
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
126 |
<resource: #image> |
d5a192b11a1a
- More Smalltalk/X support
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
127 |
|
d5a192b11a1a
- More Smalltalk/X support
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
128 |
^Icon |
d5a192b11a1a
- More Smalltalk/X support
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
129 |
constantNamed:'HGSourceCodeManagementSettingsAppl defaultIcon3' |
d5a192b11a1a
- More Smalltalk/X support
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
130 |
ifAbsentPut:[(Depth8Image new) width: 24; height: 24; photometric:(#palette); bitsPerSample:(#[8]); samplesPerPixel:(1); bits:(ByteArray fromPackedString:' |
d5a192b11a1a
- More Smalltalk/X support
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
131 |
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@PHCA@PEA D@@@@@@@@@@@@@@@@@@@@GA@ HB@ HB@$C |
d5a192b11a1a
- More Smalltalk/X support
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
132 |
B @@@@@@@@@@@@@@@@,IB@ HB@ HB@ LA@4@@@@@@@@@@@@@C LLB@ HB@ HB@ HB@<N@@@@@@@@@@@@BPPHB@ HB@ HB@ HBADR@@@@@@@@@@@@D0$HB@ H |
d5a192b11a1a
- More Smalltalk/X support
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
133 |
B@ HB@ HB@ SA@@@@@@@@@@@@APLB@ HB@ HB@ HB@ IEP@@@@@VA@LW@Q OC@ HB@ HB@ HB@ LFPD@@@DLBP\Q@@@ZF0 LB@ HB@ HB@ IF@X@@A0HA!!4^ |
d5a192b11a1a
- More Smalltalk/X support
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
134 |
@@@SF!!<_@@$HB@ HB@0FH@L@@BDI@AH:N#\7HP@O@BHIB@ HB@LFH0H@@@@ABS\:N#(:M0@!!A@@DB@ HCA0OI@8@@@@@M#(:@A\@@C\@@@XDB@ HBP8%I D@ |
d5a192b11a1a
- More Smalltalk/X support
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
135 |
@@@@M3 7A@$D@P@@@@8IB@ LDA@''C0@@@C\7N#$:N0 HOA0@@@8LA@XADA@Y@0@@@@@7NS(7B@ <OC0@@@PCB" JDA@[@@@@@@@@M4@LBC0?O38<@@P)DA@P |
d5a192b11a1a
- More Smalltalk/X support
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
136 |
DA@PDA@@@@@@@B,LOC0=OC0<A XADA@PDA@PDA@@@@@<@@(RK"T<O@@@BA,/LCD@DA@@@@@@@@@@OC0<OC0<MP@@@QTTC@ 3DA@@@@@@@@@@@C4<OC05@@@@ |
d5a192b11a1a
- More Smalltalk/X support
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
137 |
@CP\L0@@DA@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@') ; colorMapFromArray:#[174 169 169 255 255 255 233 233 230 216 216 216 213 209 209 214 209 209 232 229 229 229 223 223 191 187 181 197 197 197 255 255 255 233 230 230 194 189 194 247 244 245 251 250 250 177 177 177 131 0 0 194 189 194 155 149 149 175 175 169 157 157 157 136 128 128 251 251 251 255 255 255 117 108 108 118 118 118 97 89 98 139 139 147 240 240 242 255 255 255 137 128 118 98 98 98 79 79 79 255 255 255 156 149 156 38 30 30 39 39 30 97 89 79 79 69 69 58 49 49 255 255 255 255 255 255 77 59 59 229 226 223 137 137 128 79 79 69 77 69 69 59 59 59 59 49 59 154 140 147 199 199 204 251 251 251 255 255 255 0 0 0 0 64 0 32 96 32 96 192 128 32 128 64 32 160 64 32 128 32 64 64 64 96 96 96 128 128 128 32 32 32 32 64 32]; mask:((Depth1Image new) width: 24; height: 24; photometric:(#blackIs0); bitsPerSample:(#[1]); samplesPerPixel:(1); bits:(ByteArray fromPackedString:'@@@@@@@@@G>@@O? @_?0@??8@??8@??<@??<O??>__?>_O?>_??>O=?>GR_>G<_<_>_<O>_8G?_>C??>K<?0G<?0C8\0@@@@') ; yourself); yourself] |
d5a192b11a1a
- More Smalltalk/X support
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
138 |
! |
d5a192b11a1a
- More Smalltalk/X support
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
139 |
|
d5a192b11a1a
- More Smalltalk/X support
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
140 |
defaultLogo |
65 | 141 |
^ HGIconLibrary hgLogo2 |
46
d5a192b11a1a
- More Smalltalk/X support
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
142 |
|
d5a192b11a1a
- More Smalltalk/X support
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
143 |
"Created: / 04-10-2012 / 19:01:06 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
65 | 144 |
"Modified: / 15-11-2012 / 23:12:46 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
46
d5a192b11a1a
- More Smalltalk/X support
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
145 |
! ! |
d5a192b11a1a
- More Smalltalk/X support
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
146 |
|
d5a192b11a1a
- More Smalltalk/X support
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
147 |
!HGSourceCodeManagementSettingsAppl class methodsFor:'interface specs'! |
d5a192b11a1a
- More Smalltalk/X support
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
148 |
|
d5a192b11a1a
- More Smalltalk/X support
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
149 |
windowSpec |
d5a192b11a1a
- More Smalltalk/X support
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
150 |
"This resource specification was automatically generated |
d5a192b11a1a
- More Smalltalk/X support
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
151 |
by the UIPainter of ST/X." |
d5a192b11a1a
- More Smalltalk/X support
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
152 |
|
d5a192b11a1a
- More Smalltalk/X support
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
153 |
"Do not manually edit this!! If it is corrupted, |
d5a192b11a1a
- More Smalltalk/X support
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
154 |
the UIPainter may not be able to read the specification." |
d5a192b11a1a
- More Smalltalk/X support
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
155 |
|
d5a192b11a1a
- More Smalltalk/X support
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
156 |
" |
d5a192b11a1a
- More Smalltalk/X support
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
157 |
UIPainter new openOnClass:HGSourceCodeManagementSettingsAppl andSelector:#windowSpec |
d5a192b11a1a
- More Smalltalk/X support
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
158 |
HGSourceCodeManagementSettingsAppl new openInterface:#windowSpec |
d5a192b11a1a
- More Smalltalk/X support
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
159 |
HGSourceCodeManagementSettingsAppl open |
d5a192b11a1a
- More Smalltalk/X support
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
160 |
" |
d5a192b11a1a
- More Smalltalk/X support
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
161 |
|
d5a192b11a1a
- More Smalltalk/X support
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
162 |
<resource: #canvas> |
d5a192b11a1a
- More Smalltalk/X support
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
163 |
|
498
45cfae5e535b
class: HGSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents:
497
diff
changeset
|
164 |
^ |
45cfae5e535b
class: HGSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents:
497
diff
changeset
|
165 |
#(FullSpec |
45cfae5e535b
class: HGSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents:
497
diff
changeset
|
166 |
name: windowSpec |
45cfae5e535b
class: HGSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents:
497
diff
changeset
|
167 |
window: |
45cfae5e535b
class: HGSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents:
497
diff
changeset
|
168 |
(WindowSpec |
45cfae5e535b
class: HGSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents:
497
diff
changeset
|
169 |
label: 'Mercurial Settings' |
45cfae5e535b
class: HGSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents:
497
diff
changeset
|
170 |
name: 'Mercurial Settings' |
45cfae5e535b
class: HGSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents:
497
diff
changeset
|
171 |
min: (Point 10 10) |
45cfae5e535b
class: HGSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents:
497
diff
changeset
|
172 |
bounds: (Rectangle 0 0 695 627) |
45cfae5e535b
class: HGSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents:
497
diff
changeset
|
173 |
) |
45cfae5e535b
class: HGSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents:
497
diff
changeset
|
174 |
component: |
45cfae5e535b
class: HGSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents:
497
diff
changeset
|
175 |
(SpecCollection |
45cfae5e535b
class: HGSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents:
497
diff
changeset
|
176 |
collection: ( |
45cfae5e535b
class: HGSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents:
497
diff
changeset
|
177 |
(LabelSpec |
45cfae5e535b
class: HGSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents:
497
diff
changeset
|
178 |
label: ' Mercurial Settings' |
45cfae5e535b
class: HGSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents:
497
diff
changeset
|
179 |
name: 'MercurialSettingsTitle' |
45cfae5e535b
class: HGSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents:
497
diff
changeset
|
180 |
layout: (LayoutFrame 0 0 0 0 0 1 66 0) |
45cfae5e535b
class: HGSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents:
497
diff
changeset
|
181 |
style: (FontDescription helvetica medium roman 18 #'iso10646-1') |
45cfae5e535b
class: HGSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents:
497
diff
changeset
|
182 |
backgroundColor: (Color 100.0 100.0 100.0) |
45cfae5e535b
class: HGSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents:
497
diff
changeset
|
183 |
translateLabel: true |
45cfae5e535b
class: HGSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents:
497
diff
changeset
|
184 |
adjust: left |
45cfae5e535b
class: HGSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents:
497
diff
changeset
|
185 |
) |
45cfae5e535b
class: HGSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents:
497
diff
changeset
|
186 |
(LabelSpec |
45cfae5e535b
class: HGSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents:
497
diff
changeset
|
187 |
label: 'Logo' |
45cfae5e535b
class: HGSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents:
497
diff
changeset
|
188 |
name: 'MercurialLogo' |
45cfae5e535b
class: HGSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents:
497
diff
changeset
|
189 |
layout: (LayoutFrame -71 1 -1 0 4 1 65 0) |
45cfae5e535b
class: HGSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents:
497
diff
changeset
|
190 |
hasCharacterOrientedLabel: false |
45cfae5e535b
class: HGSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents:
497
diff
changeset
|
191 |
backgroundColor: (Color 100.0 100.0 100.0) |
45cfae5e535b
class: HGSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents:
497
diff
changeset
|
192 |
translateLabel: true |
45cfae5e535b
class: HGSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents:
497
diff
changeset
|
193 |
labelChannel: defaultLogo |
45cfae5e535b
class: HGSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents:
497
diff
changeset
|
194 |
) |
45cfae5e535b
class: HGSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents:
497
diff
changeset
|
195 |
(CheckBoxSpec |
45cfae5e535b
class: HGSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents:
497
diff
changeset
|
196 |
label: 'Show in Menus' |
45cfae5e535b
class: HGSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents:
497
diff
changeset
|
197 |
name: 'CheckBox1' |
45cfae5e535b
class: HGSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents:
497
diff
changeset
|
198 |
layout: (LayoutFrame 0 0 73 0 0 1 103 0) |
45cfae5e535b
class: HGSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents:
497
diff
changeset
|
199 |
activeHelpKey: shownInBrowserMenus |
45cfae5e535b
class: HGSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents:
497
diff
changeset
|
200 |
model: shownInBrowserMenusHolder |
45cfae5e535b
class: HGSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents:
497
diff
changeset
|
201 |
translateLabel: true |
45cfae5e535b
class: HGSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents:
497
diff
changeset
|
202 |
) |
45cfae5e535b
class: HGSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents:
497
diff
changeset
|
203 |
(ViewSpec |
45cfae5e535b
class: HGSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents:
497
diff
changeset
|
204 |
name: 'Settings' |
45cfae5e535b
class: HGSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents:
497
diff
changeset
|
205 |
layout: (LayoutFrame 0 0 105 0 0 1 0 1) |
45cfae5e535b
class: HGSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents:
497
diff
changeset
|
206 |
component: |
45cfae5e535b
class: HGSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents:
497
diff
changeset
|
207 |
(SpecCollection |
45cfae5e535b
class: HGSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents:
497
diff
changeset
|
208 |
collection: ( |
45cfae5e535b
class: HGSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents:
497
diff
changeset
|
209 |
(VerticalPanelViewSpec |
45cfae5e535b
class: HGSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents:
497
diff
changeset
|
210 |
name: 'GeneralSettingsPanel' |
45cfae5e535b
class: HGSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents:
497
diff
changeset
|
211 |
layout: (LayoutFrame 0 0 0 0 0 1 0 1) |
45cfae5e535b
class: HGSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents:
497
diff
changeset
|
212 |
horizontalLayout: fit |
45cfae5e535b
class: HGSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents:
497
diff
changeset
|
213 |
verticalLayout: top |
45cfae5e535b
class: HGSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents:
497
diff
changeset
|
214 |
horizontalSpace: 3 |
45cfae5e535b
class: HGSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents:
497
diff
changeset
|
215 |
verticalSpace: 3 |
45cfae5e535b
class: HGSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents:
497
diff
changeset
|
216 |
component: |
45cfae5e535b
class: HGSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents:
497
diff
changeset
|
217 |
(SpecCollection |
45cfae5e535b
class: HGSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents:
497
diff
changeset
|
218 |
collection: ( |
45cfae5e535b
class: HGSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents:
497
diff
changeset
|
219 |
(ViewSpec |
45cfae5e535b
class: HGSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents:
497
diff
changeset
|
220 |
name: 'Panel1' |
45cfae5e535b
class: HGSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents:
497
diff
changeset
|
221 |
component: |
45cfae5e535b
class: HGSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents:
497
diff
changeset
|
222 |
(SpecCollection |
45cfae5e535b
class: HGSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents:
497
diff
changeset
|
223 |
collection: ( |
45cfae5e535b
class: HGSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents:
497
diff
changeset
|
224 |
(LabelSpec |
45cfae5e535b
class: HGSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents:
497
diff
changeset
|
225 |
label: '''hg'' command:' |
45cfae5e535b
class: HGSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents:
497
diff
changeset
|
226 |
name: 'CommandLabel' |
45cfae5e535b
class: HGSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents:
497
diff
changeset
|
227 |
layout: (LayoutFrame 5 0 0 0 150 0 30 0) |
45cfae5e535b
class: HGSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents:
497
diff
changeset
|
228 |
translateLabel: true |
45cfae5e535b
class: HGSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents:
497
diff
changeset
|
229 |
adjust: right |
45cfae5e535b
class: HGSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents:
497
diff
changeset
|
230 |
) |
45cfae5e535b
class: HGSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents:
497
diff
changeset
|
231 |
(FilenameInputFieldSpec |
45cfae5e535b
class: HGSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents:
497
diff
changeset
|
232 |
name: 'HGCommand' |
45cfae5e535b
class: HGSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents:
497
diff
changeset
|
233 |
layout: (LayoutFrame 150 0 0 0 -100 1 0 1) |
45cfae5e535b
class: HGSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents:
497
diff
changeset
|
234 |
model: hgCommand |
45cfae5e535b
class: HGSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents:
497
diff
changeset
|
235 |
acceptOnPointerLeave: true |
45cfae5e535b
class: HGSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents:
497
diff
changeset
|
236 |
emptyFieldReplacementText: 'Autodetect' |
45cfae5e535b
class: HGSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents:
497
diff
changeset
|
237 |
) |
45cfae5e535b
class: HGSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents:
497
diff
changeset
|
238 |
(ActionButtonSpec |
45cfae5e535b
class: HGSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents:
497
diff
changeset
|
239 |
label: 'Test' |
45cfae5e535b
class: HGSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents:
497
diff
changeset
|
240 |
name: 'HGCommandTest' |
45cfae5e535b
class: HGSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents:
497
diff
changeset
|
241 |
layout: (LayoutFrame -100 1 0 0 -8 1 0 1) |
45cfae5e535b
class: HGSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents:
497
diff
changeset
|
242 |
translateLabel: true |
45cfae5e535b
class: HGSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents:
497
diff
changeset
|
243 |
model: doTestHGCommand |
45cfae5e535b
class: HGSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents:
497
diff
changeset
|
244 |
enableChannel: svnEnabled |
80
8f300696b26b
Added configurable path to 'hg' command.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
67
diff
changeset
|
245 |
) |
498
45cfae5e535b
class: HGSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents:
497
diff
changeset
|
246 |
) |
45cfae5e535b
class: HGSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents:
497
diff
changeset
|
247 |
|
45cfae5e535b
class: HGSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents:
497
diff
changeset
|
248 |
) |
45cfae5e535b
class: HGSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents:
497
diff
changeset
|
249 |
extent: (Point 695 30) |
45cfae5e535b
class: HGSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents:
497
diff
changeset
|
250 |
) |
45cfae5e535b
class: HGSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents:
497
diff
changeset
|
251 |
(ViewSpec |
45cfae5e535b
class: HGSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents:
497
diff
changeset
|
252 |
name: 'Spacer' |
45cfae5e535b
class: HGSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents:
497
diff
changeset
|
253 |
extent: (Point 695 15) |
45cfae5e535b
class: HGSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents:
497
diff
changeset
|
254 |
) |
45cfae5e535b
class: HGSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents:
497
diff
changeset
|
255 |
(FramedBoxSpec |
45cfae5e535b
class: HGSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents:
497
diff
changeset
|
256 |
label: 'External Tools' |
45cfae5e535b
class: HGSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents:
497
diff
changeset
|
257 |
name: 'ToolsSettings' |
45cfae5e535b
class: HGSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents:
497
diff
changeset
|
258 |
initiallyInvisible: true |
45cfae5e535b
class: HGSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents:
497
diff
changeset
|
259 |
labelPosition: topLeft |
45cfae5e535b
class: HGSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents:
497
diff
changeset
|
260 |
translateLabel: true |
45cfae5e535b
class: HGSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents:
497
diff
changeset
|
261 |
component: |
45cfae5e535b
class: HGSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents:
497
diff
changeset
|
262 |
(SpecCollection |
45cfae5e535b
class: HGSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents:
497
diff
changeset
|
263 |
collection: ( |
45cfae5e535b
class: HGSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents:
497
diff
changeset
|
264 |
(LabelSpec |
45cfae5e535b
class: HGSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents:
497
diff
changeset
|
265 |
label: 'Diff2:' |
45cfae5e535b
class: HGSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents:
497
diff
changeset
|
266 |
name: 'Label1' |
45cfae5e535b
class: HGSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents:
497
diff
changeset
|
267 |
layout: (LayoutFrame 0 0 0 0 80 0 30 0) |
45cfae5e535b
class: HGSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents:
497
diff
changeset
|
268 |
translateLabel: true |
45cfae5e535b
class: HGSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents:
497
diff
changeset
|
269 |
adjust: left |
45cfae5e535b
class: HGSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents:
497
diff
changeset
|
270 |
) |
45cfae5e535b
class: HGSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents:
497
diff
changeset
|
271 |
(FilenameInputFieldSpec |
45cfae5e535b
class: HGSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents:
497
diff
changeset
|
272 |
name: 'FilenameEntryField1' |
45cfae5e535b
class: HGSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents:
497
diff
changeset
|
273 |
layout: (LayoutFrame 80 0 3 0 0 1 28 0) |
45cfae5e535b
class: HGSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents:
497
diff
changeset
|
274 |
enableChannel: svnEnabled |
45cfae5e535b
class: HGSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents:
497
diff
changeset
|
275 |
model: hgDiff2Command |
45cfae5e535b
class: HGSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents:
497
diff
changeset
|
276 |
acceptOnPointerLeave: true |
45cfae5e535b
class: HGSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents:
497
diff
changeset
|
277 |
) |
45cfae5e535b
class: HGSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents:
497
diff
changeset
|
278 |
(LabelSpec |
45cfae5e535b
class: HGSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents:
497
diff
changeset
|
279 |
label: 'Diff3:' |
45cfae5e535b
class: HGSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents:
497
diff
changeset
|
280 |
name: 'Label2' |
45cfae5e535b
class: HGSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents:
497
diff
changeset
|
281 |
layout: (LayoutFrame 0 0 30 0 80 0 0 1.0) |
45cfae5e535b
class: HGSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents:
497
diff
changeset
|
282 |
translateLabel: true |
45cfae5e535b
class: HGSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents:
497
diff
changeset
|
283 |
adjust: left |
45cfae5e535b
class: HGSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents:
497
diff
changeset
|
284 |
) |
45cfae5e535b
class: HGSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents:
497
diff
changeset
|
285 |
(FilenameInputFieldSpec |
45cfae5e535b
class: HGSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents:
497
diff
changeset
|
286 |
name: 'FilenameEntryField2' |
45cfae5e535b
class: HGSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents:
497
diff
changeset
|
287 |
layout: (LayoutFrame 80 0 33 0 0 1 58 0) |
45cfae5e535b
class: HGSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents:
497
diff
changeset
|
288 |
enableChannel: svnEnabled |
45cfae5e535b
class: HGSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents:
497
diff
changeset
|
289 |
model: hgDiff3Command |
45cfae5e535b
class: HGSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents:
497
diff
changeset
|
290 |
acceptOnPointerLeave: true |
80
8f300696b26b
Added configurable path to 'hg' command.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
67
diff
changeset
|
291 |
) |
498
45cfae5e535b
class: HGSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents:
497
diff
changeset
|
292 |
) |
45cfae5e535b
class: HGSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents:
497
diff
changeset
|
293 |
|
45cfae5e535b
class: HGSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents:
497
diff
changeset
|
294 |
) |
45cfae5e535b
class: HGSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents:
497
diff
changeset
|
295 |
extent: (Point 695 95) |
45cfae5e535b
class: HGSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents:
497
diff
changeset
|
296 |
) |
45cfae5e535b
class: HGSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents:
497
diff
changeset
|
297 |
(FramedBoxSpec |
45cfae5e535b
class: HGSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents:
497
diff
changeset
|
298 |
label: 'Debugging' |
45cfae5e535b
class: HGSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents:
497
diff
changeset
|
299 |
name: 'DebugSettings' |
45cfae5e535b
class: HGSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents:
497
diff
changeset
|
300 |
initiallyInvisible: true |
45cfae5e535b
class: HGSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents:
497
diff
changeset
|
301 |
labelPosition: topLeft |
45cfae5e535b
class: HGSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents:
497
diff
changeset
|
302 |
translateLabel: true |
45cfae5e535b
class: HGSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents:
497
diff
changeset
|
303 |
component: |
45cfae5e535b
class: HGSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents:
497
diff
changeset
|
304 |
(SpecCollection |
45cfae5e535b
class: HGSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents:
497
diff
changeset
|
305 |
collection: ( |
45cfae5e535b
class: HGSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents:
497
diff
changeset
|
306 |
(VerticalPanelViewSpec |
45cfae5e535b
class: HGSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents:
497
diff
changeset
|
307 |
name: 'VerticalPanel1' |
45cfae5e535b
class: HGSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents:
497
diff
changeset
|
308 |
layout: (LayoutFrame 0 0 0 0 0 1 0 1) |
45cfae5e535b
class: HGSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents:
497
diff
changeset
|
309 |
horizontalLayout: fit |
45cfae5e535b
class: HGSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents:
497
diff
changeset
|
310 |
verticalLayout: top |
45cfae5e535b
class: HGSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents:
497
diff
changeset
|
311 |
horizontalSpace: 3 |
45cfae5e535b
class: HGSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents:
497
diff
changeset
|
312 |
verticalSpace: 3 |
45cfae5e535b
class: HGSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents:
497
diff
changeset
|
313 |
component: |
45cfae5e535b
class: HGSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents:
497
diff
changeset
|
314 |
(SpecCollection |
45cfae5e535b
class: HGSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents:
497
diff
changeset
|
315 |
collection: ( |
45cfae5e535b
class: HGSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents:
497
diff
changeset
|
316 |
(CheckBoxSpec |
45cfae5e535b
class: HGSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents:
497
diff
changeset
|
317 |
label: 'Verbose (Traces svn commands to Transcript)' |
45cfae5e535b
class: HGSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents:
497
diff
changeset
|
318 |
name: 'Verbose' |
45cfae5e535b
class: HGSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents:
497
diff
changeset
|
319 |
enableChannel: svnEnabled |
45cfae5e535b
class: HGSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents:
497
diff
changeset
|
320 |
model: svnVerbose |
45cfae5e535b
class: HGSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents:
497
diff
changeset
|
321 |
translateLabel: true |
45cfae5e535b
class: HGSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents:
497
diff
changeset
|
322 |
useDefaultExtent: true |
80
8f300696b26b
Added configurable path to 'hg' command.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
67
diff
changeset
|
323 |
) |
498
45cfae5e535b
class: HGSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents:
497
diff
changeset
|
324 |
) |
45cfae5e535b
class: HGSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents:
497
diff
changeset
|
325 |
|
45cfae5e535b
class: HGSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents:
497
diff
changeset
|
326 |
) |
80
8f300696b26b
Added configurable path to 'hg' command.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
67
diff
changeset
|
327 |
) |
498
45cfae5e535b
class: HGSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents:
497
diff
changeset
|
328 |
) |
45cfae5e535b
class: HGSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents:
497
diff
changeset
|
329 |
|
45cfae5e535b
class: HGSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents:
497
diff
changeset
|
330 |
) |
45cfae5e535b
class: HGSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents:
497
diff
changeset
|
331 |
extent: (Point 695 70) |
45cfae5e535b
class: HGSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents:
497
diff
changeset
|
332 |
) |
45cfae5e535b
class: HGSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents:
497
diff
changeset
|
333 |
(CheckBoxSpec |
45cfae5e535b
class: HGSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents:
497
diff
changeset
|
334 |
label: 'Automatically push changes to upstream repository' |
45cfae5e535b
class: HGSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents:
497
diff
changeset
|
335 |
name: 'CheckBox2' |
45cfae5e535b
class: HGSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents:
497
diff
changeset
|
336 |
model: hgAutopush |
45cfae5e535b
class: HGSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents:
497
diff
changeset
|
337 |
translateLabel: true |
45cfae5e535b
class: HGSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents:
497
diff
changeset
|
338 |
extent: (Point 695 30) |
80
8f300696b26b
Added configurable path to 'hg' command.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
67
diff
changeset
|
339 |
) |
498
45cfae5e535b
class: HGSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents:
497
diff
changeset
|
340 |
) |
45cfae5e535b
class: HGSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents:
497
diff
changeset
|
341 |
|
45cfae5e535b
class: HGSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents:
497
diff
changeset
|
342 |
) |
80
8f300696b26b
Added configurable path to 'hg' command.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
67
diff
changeset
|
343 |
) |
498
45cfae5e535b
class: HGSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents:
497
diff
changeset
|
344 |
) |
45cfae5e535b
class: HGSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents:
497
diff
changeset
|
345 |
|
45cfae5e535b
class: HGSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents:
497
diff
changeset
|
346 |
) |
46
d5a192b11a1a
- More Smalltalk/X support
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
347 |
) |
498
45cfae5e535b
class: HGSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents:
497
diff
changeset
|
348 |
) |
45cfae5e535b
class: HGSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents:
497
diff
changeset
|
349 |
|
45cfae5e535b
class: HGSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents:
497
diff
changeset
|
350 |
) |
45cfae5e535b
class: HGSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents:
497
diff
changeset
|
351 |
) |
46
d5a192b11a1a
- More Smalltalk/X support
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
352 |
! ! |
d5a192b11a1a
- More Smalltalk/X support
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
353 |
|
d5a192b11a1a
- More Smalltalk/X support
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
354 |
!HGSourceCodeManagementSettingsAppl class methodsFor:'queries'! |
d5a192b11a1a
- More Smalltalk/X support
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
355 |
|
d5a192b11a1a
- More Smalltalk/X support
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
356 |
managerClass |
d5a192b11a1a
- More Smalltalk/X support
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
357 |
"backlink to my manager class (needed by the settings app)" |
d5a192b11a1a
- More Smalltalk/X support
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
358 |
|
d5a192b11a1a
- More Smalltalk/X support
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
359 |
^ HGSourceCodeManager |
d5a192b11a1a
- More Smalltalk/X support
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
360 |
|
d5a192b11a1a
- More Smalltalk/X support
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
361 |
"Created: / 19-04-2011 / 12:46:52 / cg" |
d5a192b11a1a
- More Smalltalk/X support
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
362 |
"Modified: / 13-11-2012 / 22:15:39 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
d5a192b11a1a
- More Smalltalk/X support
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
363 |
! ! |
d5a192b11a1a
- More Smalltalk/X support
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
364 |
|
80
8f300696b26b
Added configurable path to 'hg' command.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
67
diff
changeset
|
365 |
!HGSourceCodeManagementSettingsAppl methodsFor:'actions'! |
8f300696b26b
Added configurable path to 'hg' command.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
67
diff
changeset
|
366 |
|
8f300696b26b
Added configurable path to 'hg' command.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
67
diff
changeset
|
367 |
doTestHGCommand |
8f300696b26b
Added configurable path to 'hg' command.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
67
diff
changeset
|
368 |
|
8f300696b26b
Added configurable path to 'hg' command.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
67
diff
changeset
|
369 |
self hgCommand value isEmptyOrNil ifTrue:[ |
183
8f8315881c72
Bugfix in Settings (checking for Mercurial version).
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
151
diff
changeset
|
370 |
self doTestHGCommand: HGCommand hgCommand |
80
8f300696b26b
Added configurable path to 'hg' command.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
67
diff
changeset
|
371 |
] ifFalse:[ |
8f300696b26b
Added configurable path to 'hg' command.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
67
diff
changeset
|
372 |
self doTestHGCommand: self hgCommand value |
8f300696b26b
Added configurable path to 'hg' command.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
67
diff
changeset
|
373 |
] |
8f300696b26b
Added configurable path to 'hg' command.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
67
diff
changeset
|
374 |
|
8f300696b26b
Added configurable path to 'hg' command.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
67
diff
changeset
|
375 |
"Created: / 19-11-2012 / 21:32:03 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
183
8f8315881c72
Bugfix in Settings (checking for Mercurial version).
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
151
diff
changeset
|
376 |
"Modified: / 21-01-2013 / 04:59:14 / jv" |
80
8f300696b26b
Added configurable path to 'hg' command.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
67
diff
changeset
|
377 |
! |
8f300696b26b
Added configurable path to 'hg' command.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
67
diff
changeset
|
378 |
|
8f300696b26b
Added configurable path to 'hg' command.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
67
diff
changeset
|
379 |
doTestHGCommand: command |
8f300696b26b
Added configurable path to 'hg' command.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
67
diff
changeset
|
380 |
| version versionString | |
196
30c54b661abd
Documentation scripts for Windows
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
195
diff
changeset
|
381 |
(OperatingSystem canExecuteCommand: command) ifFalse:[ |
80
8f300696b26b
Added configurable path to 'hg' command.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
67
diff
changeset
|
382 |
Dialog warn: 'Cannot execute hg command.\\Make sure Metcurial is installed and PATH is set up correctly' withCRs. |
8f300696b26b
Added configurable path to 'hg' command.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
67
diff
changeset
|
383 |
^self. |
8f300696b26b
Added configurable path to 'hg' command.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
67
diff
changeset
|
384 |
]. |
8f300696b26b
Added configurable path to 'hg' command.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
67
diff
changeset
|
385 |
|
8f300696b26b
Added configurable path to 'hg' command.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
67
diff
changeset
|
386 |
[ |
183
8f8315881c72
Bugfix in Settings (checking for Mercurial version).
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
151
diff
changeset
|
387 |
versionString := OperatingSystem getCommandOutputFrom:('"%1" --version' bindWith:command). |
80
8f300696b26b
Added configurable path to 'hg' command.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
67
diff
changeset
|
388 |
version := (HGCommandParser on: versionString) parseCommandVersion. |
196
30c54b661abd
Documentation scripts for Windows
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
195
diff
changeset
|
389 |
|
80
8f300696b26b
Added configurable path to 'hg' command.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
67
diff
changeset
|
390 |
(HGCommand hgVersionIsSupported:version) ifTrue:[ |
8f300696b26b
Added configurable path to 'hg' command.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
67
diff
changeset
|
391 |
Dialog information: ('Installed Mercurial version is OK.\\Reported version: ', versionString) withCRs. |
8f300696b26b
Added configurable path to 'hg' command.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
67
diff
changeset
|
392 |
] ifFalse:[ |
8f300696b26b
Added configurable path to 'hg' command.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
67
diff
changeset
|
393 |
Dialog warn: ('Installed Mercurial is not (yet) supported.\\Reported version: ', versionString) withCRs. |
8f300696b26b
Added configurable path to 'hg' command.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
67
diff
changeset
|
394 |
]. |
8f300696b26b
Added configurable path to 'hg' command.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
67
diff
changeset
|
395 |
] on: HGCommandError do:[ |
8f300696b26b
Added configurable path to 'hg' command.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
67
diff
changeset
|
396 |
Dialog warn: 'Failed to read ''',command,' --version'''. |
8f300696b26b
Added configurable path to 'hg' command.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
67
diff
changeset
|
397 |
^self |
8f300696b26b
Added configurable path to 'hg' command.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
67
diff
changeset
|
398 |
]. |
8f300696b26b
Added configurable path to 'hg' command.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
67
diff
changeset
|
399 |
|
8f300696b26b
Added configurable path to 'hg' command.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
67
diff
changeset
|
400 |
"Created: / 19-11-2012 / 21:32:12 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
183
8f8315881c72
Bugfix in Settings (checking for Mercurial version).
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
151
diff
changeset
|
401 |
"Modified: / 21-01-2013 / 05:12:39 / jv" |
80
8f300696b26b
Added configurable path to 'hg' command.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
67
diff
changeset
|
402 |
! ! |
8f300696b26b
Added configurable path to 'hg' command.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
67
diff
changeset
|
403 |
|
46
d5a192b11a1a
- More Smalltalk/X support
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
404 |
!HGSourceCodeManagementSettingsAppl methodsFor:'aspects'! |
d5a192b11a1a
- More Smalltalk/X support
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
405 |
|
151
527a1e85aef8
Support for 'autopush' in commit dialog.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
115
diff
changeset
|
406 |
hgAutopush |
527a1e85aef8
Support for 'autopush' in commit dialog.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
115
diff
changeset
|
407 |
|
527a1e85aef8
Support for 'autopush' in commit dialog.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
115
diff
changeset
|
408 |
hgAutopush isNil ifTrue:[ |
527a1e85aef8
Support for 'autopush' in commit dialog.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
115
diff
changeset
|
409 |
hgAutopush := self settingsAspectFor: #hgAutopush |
527a1e85aef8
Support for 'autopush' in commit dialog.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
115
diff
changeset
|
410 |
]. |
527a1e85aef8
Support for 'autopush' in commit dialog.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
115
diff
changeset
|
411 |
^ hgAutopush |
527a1e85aef8
Support for 'autopush' in commit dialog.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
115
diff
changeset
|
412 |
|
527a1e85aef8
Support for 'autopush' in commit dialog.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
115
diff
changeset
|
413 |
"Created: / 10-12-2012 / 02:38:12 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
527a1e85aef8
Support for 'autopush' in commit dialog.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
115
diff
changeset
|
414 |
! |
527a1e85aef8
Support for 'autopush' in commit dialog.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
115
diff
changeset
|
415 |
|
80
8f300696b26b
Added configurable path to 'hg' command.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
67
diff
changeset
|
416 |
hgCommand |
8f300696b26b
Added configurable path to 'hg' command.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
67
diff
changeset
|
417 |
|
8f300696b26b
Added configurable path to 'hg' command.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
67
diff
changeset
|
418 |
hgCommand isNil ifTrue:[ |
8f300696b26b
Added configurable path to 'hg' command.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
67
diff
changeset
|
419 |
hgCommand := self settingsAspectFor: #hgCommand |
8f300696b26b
Added configurable path to 'hg' command.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
67
diff
changeset
|
420 |
]. |
8f300696b26b
Added configurable path to 'hg' command.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
67
diff
changeset
|
421 |
^ hgCommand |
8f300696b26b
Added configurable path to 'hg' command.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
67
diff
changeset
|
422 |
|
8f300696b26b
Added configurable path to 'hg' command.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
67
diff
changeset
|
423 |
"Modified: / 19-11-2012 / 21:30:24 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
8f300696b26b
Added configurable path to 'hg' command.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
67
diff
changeset
|
424 |
! |
8f300696b26b
Added configurable path to 'hg' command.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
67
diff
changeset
|
425 |
|
8f300696b26b
Added configurable path to 'hg' command.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
67
diff
changeset
|
426 |
hgDiff2Command |
8f300696b26b
Added configurable path to 'hg' command.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
67
diff
changeset
|
427 |
|
8f300696b26b
Added configurable path to 'hg' command.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
67
diff
changeset
|
428 |
hgDiff2Command isNil ifTrue:[ |
8f300696b26b
Added configurable path to 'hg' command.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
67
diff
changeset
|
429 |
hgDiff2Command := self settingsAspectFor: #hgDiff2Command |
8f300696b26b
Added configurable path to 'hg' command.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
67
diff
changeset
|
430 |
]. |
8f300696b26b
Added configurable path to 'hg' command.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
67
diff
changeset
|
431 |
^ hgDiff2Command |
8f300696b26b
Added configurable path to 'hg' command.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
67
diff
changeset
|
432 |
|
8f300696b26b
Added configurable path to 'hg' command.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
67
diff
changeset
|
433 |
"Created: / 19-11-2012 / 21:30:45 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
8f300696b26b
Added configurable path to 'hg' command.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
67
diff
changeset
|
434 |
! |
8f300696b26b
Added configurable path to 'hg' command.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
67
diff
changeset
|
435 |
|
8f300696b26b
Added configurable path to 'hg' command.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
67
diff
changeset
|
436 |
hgDiff3Command |
46
d5a192b11a1a
- More Smalltalk/X support
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
437 |
|
80
8f300696b26b
Added configurable path to 'hg' command.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
67
diff
changeset
|
438 |
hgDiff3Command isNil ifTrue:[ |
8f300696b26b
Added configurable path to 'hg' command.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
67
diff
changeset
|
439 |
hgDiff3Command := self settingsAspectFor: #hgDiff3Command |
8f300696b26b
Added configurable path to 'hg' command.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
67
diff
changeset
|
440 |
]. |
8f300696b26b
Added configurable path to 'hg' command.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
67
diff
changeset
|
441 |
^ hgDiff3Command |
8f300696b26b
Added configurable path to 'hg' command.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
67
diff
changeset
|
442 |
|
8f300696b26b
Added configurable path to 'hg' command.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
67
diff
changeset
|
443 |
"Created: / 19-11-2012 / 21:30:59 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
151
527a1e85aef8
Support for 'autopush' in commit dialog.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
115
diff
changeset
|
444 |
! |
527a1e85aef8
Support for 'autopush' in commit dialog.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
115
diff
changeset
|
445 |
|
527a1e85aef8
Support for 'autopush' in commit dialog.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
115
diff
changeset
|
446 |
settings |
527a1e85aef8
Support for 'autopush' in commit dialog.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
115
diff
changeset
|
447 |
^#(hgCommand hgAutopush) |
527a1e85aef8
Support for 'autopush' in commit dialog.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
115
diff
changeset
|
448 |
|
527a1e85aef8
Support for 'autopush' in commit dialog.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
115
diff
changeset
|
449 |
"Created: / 10-12-2012 / 02:40:18 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
80
8f300696b26b
Added configurable path to 'hg' command.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
67
diff
changeset
|
450 |
! ! |
8f300696b26b
Added configurable path to 'hg' command.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
67
diff
changeset
|
451 |
|
497 | 452 |
!HGSourceCodeManagementSettingsAppl methodsFor:'help'! |
453 |
||
454 |
editorHelpRelativeWikiURL |
|
455 |
"the relative URL of the dialog-description in the Wiki" |
|
456 |
||
457 |
^ 'Settings_HGSourceCodeManagerSettings' |
|
458 |
! ! |
|
459 |
||
80
8f300696b26b
Added configurable path to 'hg' command.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
67
diff
changeset
|
460 |
!HGSourceCodeManagementSettingsAppl methodsFor:'helpers'! |
8f300696b26b
Added configurable path to 'hg' command.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
67
diff
changeset
|
461 |
|
8f300696b26b
Added configurable path to 'hg' command.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
67
diff
changeset
|
462 |
settingsAspectFor: settingName |
8f300696b26b
Added configurable path to 'hg' command.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
67
diff
changeset
|
463 |
|
8f300696b26b
Added configurable path to 'hg' command.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
67
diff
changeset
|
464 |
|holder| |
8f300696b26b
Added configurable path to 'hg' command.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
67
diff
changeset
|
465 |
|
8f300696b26b
Added configurable path to 'hg' command.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
67
diff
changeset
|
466 |
self createBuilder. |
8f300696b26b
Added configurable path to 'hg' command.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
67
diff
changeset
|
467 |
|
8f300696b26b
Added configurable path to 'hg' command.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
67
diff
changeset
|
468 |
(holder := builder bindingAt:settingName) isNil ifTrue:[ |
8f300696b26b
Added configurable path to 'hg' command.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
67
diff
changeset
|
469 |
holder := (currentUserPrefs perform: settingName asSymbol) asValue. |
8f300696b26b
Added configurable path to 'hg' command.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
67
diff
changeset
|
470 |
holder onChangeSend:#updateModifiedChannel to:self. |
8f300696b26b
Added configurable path to 'hg' command.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
67
diff
changeset
|
471 |
builder aspectAt:settingName put:holder |
8f300696b26b
Added configurable path to 'hg' command.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
67
diff
changeset
|
472 |
]. |
8f300696b26b
Added configurable path to 'hg' command.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
67
diff
changeset
|
473 |
^ holder. |
8f300696b26b
Added configurable path to 'hg' command.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
67
diff
changeset
|
474 |
|
8f300696b26b
Added configurable path to 'hg' command.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
67
diff
changeset
|
475 |
"Created: / 25-05-2009 / 18:43:42 / Jan Vrany <vranyj1@fel.cvut.cz>" |
8f300696b26b
Added configurable path to 'hg' command.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
67
diff
changeset
|
476 |
"Modified: / 22-12-2011 / 15:13:37 / cg" |
46
d5a192b11a1a
- More Smalltalk/X support
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
477 |
! ! |
d5a192b11a1a
- More Smalltalk/X support
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
478 |
|
d5a192b11a1a
- More Smalltalk/X support
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
479 |
!HGSourceCodeManagementSettingsAppl methodsFor:'protocol'! |
d5a192b11a1a
- More Smalltalk/X support
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
480 |
|
d5a192b11a1a
- More Smalltalk/X support
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
481 |
basicReadSettings |
49
ffb879bfafe7
- stx_libscm_mercurial
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
46
diff
changeset
|
482 |
self shownInBrowserMenusHolder value:HGSourceCodeManager shownInBrowserMenus. |
151
527a1e85aef8
Support for 'autopush' in commit dialog.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
115
diff
changeset
|
483 |
self readAspects:self settings from:currentUserPrefs |
46
d5a192b11a1a
- More Smalltalk/X support
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
484 |
|
151
527a1e85aef8
Support for 'autopush' in commit dialog.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
115
diff
changeset
|
485 |
"Modified: / 10-12-2012 / 02:41:49 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
46
d5a192b11a1a
- More Smalltalk/X support
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
486 |
! |
d5a192b11a1a
- More Smalltalk/X support
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
487 |
|
d5a192b11a1a
- More Smalltalk/X support
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
488 |
basicSaveSettings |
151
527a1e85aef8
Support for 'autopush' in commit dialog.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
115
diff
changeset
|
489 |
HGSourceCodeManager shownInBrowserMenus:self shownInBrowserMenusHolder value. |
527a1e85aef8
Support for 'autopush' in commit dialog.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
115
diff
changeset
|
490 |
self writeAspects: self settings to: currentUserPrefs |
46
d5a192b11a1a
- More Smalltalk/X support
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
491 |
|
151
527a1e85aef8
Support for 'autopush' in commit dialog.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
115
diff
changeset
|
492 |
"Modified: / 10-12-2012 / 02:40:58 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
46
d5a192b11a1a
- More Smalltalk/X support
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
493 |
! |
d5a192b11a1a
- More Smalltalk/X support
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
494 |
|
192
c40e091cc26e
Added reference to help file.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
183
diff
changeset
|
495 |
help |
c40e091cc26e
Added reference to help file.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
183
diff
changeset
|
496 |
|filename| |
c40e091cc26e
Added reference to help file.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
183
diff
changeset
|
497 |
|
c40e091cc26e
Added reference to help file.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
183
diff
changeset
|
498 |
filename := self helpFilename. |
c40e091cc26e
Added reference to help file.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
183
diff
changeset
|
499 |
filename isNil ifTrue:[ |
c40e091cc26e
Added reference to help file.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
183
diff
changeset
|
500 |
self warn:(self resources string:'Sorry - no Help available here.'). |
c40e091cc26e
Added reference to help file.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
183
diff
changeset
|
501 |
^ self. |
c40e091cc26e
Added reference to help file.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
183
diff
changeset
|
502 |
]. |
c40e091cc26e
Added reference to help file.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
183
diff
changeset
|
503 |
self withWaitCursorDo:[ |
c40e091cc26e
Added reference to help file.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
183
diff
changeset
|
504 |
| file | |
c40e091cc26e
Added reference to help file.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
183
diff
changeset
|
505 |
|
196
30c54b661abd
Documentation scripts for Windows
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
195
diff
changeset
|
506 |
file := (HTMLDocumentView helpFileFor: filename) asFilename. |
192
c40e091cc26e
Added reference to help file.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
183
diff
changeset
|
507 |
file isNil ifTrue:[ |
196
30c54b661abd
Documentation scripts for Windows
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
195
diff
changeset
|
508 |
file := (Smalltalk getPackageDirectoryForPackage: self class package) / 'docs' / 'output' / 'html' / 'settings.html'. |
192
c40e091cc26e
Added reference to help file.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
183
diff
changeset
|
509 |
]. |
c40e091cc26e
Added reference to help file.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
183
diff
changeset
|
510 |
file exists ifTrue:[ |
c40e091cc26e
Added reference to help file.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
183
diff
changeset
|
511 |
HTMLDocumentView openDocumentation: file. |
c40e091cc26e
Added reference to help file.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
183
diff
changeset
|
512 |
] ifFalse:[ |
c40e091cc26e
Added reference to help file.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
183
diff
changeset
|
513 |
self warn:'Missing help file: doc/online/<language>/help/' , filename,'\\You can download missing files from "www.exept.de".' withCRs. |
c40e091cc26e
Added reference to help file.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
183
diff
changeset
|
514 |
] |
c40e091cc26e
Added reference to help file.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
183
diff
changeset
|
515 |
|
c40e091cc26e
Added reference to help file.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
183
diff
changeset
|
516 |
|
c40e091cc26e
Added reference to help file.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
183
diff
changeset
|
517 |
]. |
c40e091cc26e
Added reference to help file.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
183
diff
changeset
|
518 |
|
c40e091cc26e
Added reference to help file.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
183
diff
changeset
|
519 |
"Created: / 22-01-2013 / 20:39:07 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
c40e091cc26e
Added reference to help file.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
183
diff
changeset
|
520 |
! |
c40e091cc26e
Added reference to help file.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
183
diff
changeset
|
521 |
|
46
d5a192b11a1a
- More Smalltalk/X support
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
522 |
helpFilename |
d5a192b11a1a
- More Smalltalk/X support
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
523 |
"subclasses must return the relative name of a helpFile |
d5a192b11a1a
- More Smalltalk/X support
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
524 |
in the doc/online/<language>/help directory. |
d5a192b11a1a
- More Smalltalk/X support
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
525 |
Or nil, if no help is available." |
d5a192b11a1a
- More Smalltalk/X support
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
526 |
|
196
30c54b661abd
Documentation scripts for Windows
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
195
diff
changeset
|
527 |
^'HG/settings.html'. |
192
c40e091cc26e
Added reference to help file.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
183
diff
changeset
|
528 |
|
c40e091cc26e
Added reference to help file.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
183
diff
changeset
|
529 |
" |
196
30c54b661abd
Documentation scripts for Windows
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
195
diff
changeset
|
530 |
HGSourceCodeManagementSettingsAppl basicNew help |
192
c40e091cc26e
Added reference to help file.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
183
diff
changeset
|
531 |
" |
c40e091cc26e
Added reference to help file.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
183
diff
changeset
|
532 |
|
c40e091cc26e
Added reference to help file.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
183
diff
changeset
|
533 |
"Modified (comment): / 22-01-2013 / 20:37:28 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
46
d5a192b11a1a
- More Smalltalk/X support
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
534 |
! ! |
d5a192b11a1a
- More Smalltalk/X support
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
535 |
|
d5a192b11a1a
- More Smalltalk/X support
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
536 |
!HGSourceCodeManagementSettingsAppl methodsFor:'queries'! |
d5a192b11a1a
- More Smalltalk/X support
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
537 |
|
d5a192b11a1a
- More Smalltalk/X support
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
538 |
hasUnsavedChanges |
d5a192b11a1a
- More Smalltalk/X support
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
539 |
|
49
ffb879bfafe7
- stx_libscm_mercurial
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
46
diff
changeset
|
540 |
(HGSourceCodeManager shownInBrowserMenus ~= self shownInBrowserMenusHolder value) |
46
d5a192b11a1a
- More Smalltalk/X support
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
541 |
ifTrue:[^ true]. |
d5a192b11a1a
- More Smalltalk/X support
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
542 |
|
151
527a1e85aef8
Support for 'autopush' in commit dialog.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
115
diff
changeset
|
543 |
^ self hasChangedAspectIn:self settings asComparedTo: currentUserPrefs |
46
d5a192b11a1a
- More Smalltalk/X support
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
544 |
|
151
527a1e85aef8
Support for 'autopush' in commit dialog.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
115
diff
changeset
|
545 |
"Modified: / 10-12-2012 / 02:40:27 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
46
d5a192b11a1a
- More Smalltalk/X support
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
546 |
! ! |
d5a192b11a1a
- More Smalltalk/X support
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
547 |
|
d5a192b11a1a
- More Smalltalk/X support
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
548 |
!HGSourceCodeManagementSettingsAppl class methodsFor:'documentation'! |
d5a192b11a1a
- More Smalltalk/X support
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
549 |
|
498
45cfae5e535b
class: HGSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents:
497
diff
changeset
|
550 |
version |
45cfae5e535b
class: HGSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents:
497
diff
changeset
|
551 |
^ '$Header$' |
45cfae5e535b
class: HGSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents:
497
diff
changeset
|
552 |
! |
45cfae5e535b
class: HGSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents:
497
diff
changeset
|
553 |
|
45cfae5e535b
class: HGSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents:
497
diff
changeset
|
554 |
version_CVS |
45cfae5e535b
class: HGSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents:
497
diff
changeset
|
555 |
^ '$Header$' |
45cfae5e535b
class: HGSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents:
497
diff
changeset
|
556 |
! |
45cfae5e535b
class: HGSourceCodeManagementSettingsAppl
Claus Gittinger <cg@exept.de>
parents:
497
diff
changeset
|
557 |
|
54
66045198bfbc
More changes towards self hosting. Some work on model is still missing...
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
49
diff
changeset
|
558 |
version_HG |
115
b1ed2d29054b
version_HG changed to return string.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
80
diff
changeset
|
559 |
|
b1ed2d29054b
version_HG changed to return string.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
80
diff
changeset
|
560 |
^ '$Changeset: <not expanded> $' |
54
66045198bfbc
More changes towards self hosting. Some work on model is still missing...
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
49
diff
changeset
|
561 |
! |
66045198bfbc
More changes towards self hosting. Some work on model is still missing...
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
49
diff
changeset
|
562 |
|
46
d5a192b11a1a
- More Smalltalk/X support
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
563 |
version_SVN |
497 | 564 |
^ '$Id$' |
46
d5a192b11a1a
- More Smalltalk/X support
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
565 |
! ! |
183
8f8315881c72
Bugfix in Settings (checking for Mercurial version).
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
151
diff
changeset
|
566 |