author | convert-repo |
Thu, 30 Aug 2018 03:34:47 +0000 | |
changeset 857 | fdb5c39711ea |
parent 535 | cde846c99f0d |
permissions | -rw-r--r-- |
43
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
1 |
" |
335
7e19ab19148b
Changed license to LGPL2.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
171
diff
changeset
|
2 |
stx:libscm - a new source code management library for Smalltalk/X |
509
f92210d4585b
Updated copyright notice.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
335
diff
changeset
|
3 |
Copyright (C) 2012-2015 Jan Vrany |
335
7e19ab19148b
Changed license to LGPL2.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
171
diff
changeset
|
4 |
|
7e19ab19148b
Changed license to LGPL2.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
171
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:
171
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:
171
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:
171
diff
changeset
|
8 |
version 2.1 of the License. |
43
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
9 |
|
335
7e19ab19148b
Changed license to LGPL2.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
171
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:
171
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:
171
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:
171
diff
changeset
|
13 |
Lesser General Public License for more details. |
43
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
14 |
|
335
7e19ab19148b
Changed license to LGPL2.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
171
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:
171
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:
171
diff
changeset
|
17 |
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
43
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
18 |
" |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
19 |
"{ Package: 'stx:libscm/common' }" |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
20 |
|
534
04ae4c0086c2
UI: fixed button order in dialogs (SCMAbstractDialog) to follow UI guidelines
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
509
diff
changeset
|
21 |
"{ NameSpace: Smalltalk }" |
04ae4c0086c2
UI: fixed button order in dialogs (SCMAbstractDialog) to follow UI guidelines
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
509
diff
changeset
|
22 |
|
43
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
23 |
SimpleDialog subclass:#SCMAbstractDialog |
171
771ae4f01925
Changes to support standalone commit (without package model).
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
114
diff
changeset
|
24 |
instanceVariableNames:'onCancelBlock onAcceptBlock titleHolder subtitleHolder infoPanel' |
43
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
25 |
classVariableNames:'CatchExceptions' |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
26 |
poolDictionaries:'' |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
27 |
category:'SCM-Common-StX-Interface' |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
28 |
! |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
29 |
|
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
30 |
!SCMAbstractDialog class methodsFor:'documentation'! |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
31 |
|
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
32 |
copyright |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
33 |
" |
335
7e19ab19148b
Changed license to LGPL2.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
171
diff
changeset
|
34 |
stx:libscm - a new source code management library for Smalltalk/X |
509
f92210d4585b
Updated copyright notice.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
335
diff
changeset
|
35 |
Copyright (C) 2012-2015 Jan Vrany |
43
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
36 |
|
335
7e19ab19148b
Changed license to LGPL2.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
171
diff
changeset
|
37 |
This library is free software; you can redistribute it and/or |
7e19ab19148b
Changed license to LGPL2.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
171
diff
changeset
|
38 |
modify it under the terms of the GNU Lesser General Public |
7e19ab19148b
Changed license to LGPL2.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
171
diff
changeset
|
39 |
License as published by the Free Software Foundation; either |
7e19ab19148b
Changed license to LGPL2.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
171
diff
changeset
|
40 |
version 2.1 of the License. |
43
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
41 |
|
335
7e19ab19148b
Changed license to LGPL2.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
171
diff
changeset
|
42 |
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:
171
diff
changeset
|
43 |
but WITHOUT ANY WARRANTY; without even the implied warranty of |
7e19ab19148b
Changed license to LGPL2.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
171
diff
changeset
|
44 |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
7e19ab19148b
Changed license to LGPL2.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
171
diff
changeset
|
45 |
Lesser General Public License for more details. |
43
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
46 |
|
335
7e19ab19148b
Changed license to LGPL2.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
171
diff
changeset
|
47 |
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:
171
diff
changeset
|
48 |
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:
171
diff
changeset
|
49 |
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
43
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
50 |
" |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
51 |
! ! |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
52 |
|
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
53 |
!SCMAbstractDialog class methodsFor:'instance creation'! |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
54 |
|
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
55 |
on: model |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
56 |
|
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
57 |
^self new |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
58 |
model: model; |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
59 |
yourself |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
60 |
|
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
61 |
"Created: / 14-04-2008 / 11:09:38 / Jan Vrany <vranyj1@fel.cvut.cz>" |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
62 |
! ! |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
63 |
|
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
64 |
!SCMAbstractDialog class methodsFor:'accessing'! |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
65 |
|
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
66 |
catchExceptions |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
67 |
|
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
68 |
^CatchExceptions isNil or:[CatchExceptions] |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
69 |
|
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
70 |
"Created: / 09-12-2009 / 16:22:40 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
71 |
! |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
72 |
|
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
73 |
catchExceptions: aBoolean |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
74 |
|
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
75 |
CatchExceptions := aBoolean |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
76 |
|
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
77 |
"Created: / 09-12-2009 / 16:22:54 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
78 |
! ! |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
79 |
|
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
80 |
!SCMAbstractDialog class methodsFor:'image specs'! |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
81 |
|
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
82 |
dialogIcon |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
83 |
"raise an error: must be redefined in concrete subclass(es)" |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
84 |
|
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
85 |
^ self subclassResponsibility |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
86 |
! |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
87 |
|
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
88 |
downArrow |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
89 |
"This resource specification was automatically generated |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
90 |
by the ImageEditor of ST/X." |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
91 |
|
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
92 |
"Do not manually edit this!! If it is corrupted, |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
93 |
the ImageEditor may not be able to read the specification." |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
94 |
|
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
95 |
" |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
96 |
self downArrow inspect |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
97 |
ImageEditor openOnClass:self andSelector:#downArrow |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
98 |
Icon flushCachedIcons |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
99 |
" |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
100 |
|
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
101 |
<resource: #image> |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
102 |
|
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
103 |
^Icon |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
104 |
constantNamed:'SVN::Dialog class downArrow' |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
105 |
ifAbsentPut:[(Depth1Image new) width: 16; height: 16; photometric:(#palette); bitsPerSample:(#[1]); samplesPerPixel:(1); bits:(ByteArray fromPackedString:'@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@b') ; colorMapFromArray:#[0 0 0]; mask:((Depth1Image new) width: 16; height: 16; photometric:(#blackIs0); bitsPerSample:(#[1]); samplesPerPixel:(1); bits:(ByteArray fromPackedString:'@@@@@@@@@@@@@@@@C?@O<@_ @<@A @@@@@@@@@@@@@@b') ; yourself); yourself] |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
106 |
! |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
107 |
|
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
108 |
errorIcon |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
109 |
^ ToolbarIconLibrary error32x32Icon |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
110 |
|
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
111 |
"Created: / 09-12-2009 / 16:38:23 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
112 |
! ! |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
113 |
|
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
114 |
!SCMAbstractDialog class methodsFor:'interface opening'! |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
115 |
|
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
116 |
openOn: model |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
117 |
|
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
118 |
|
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
119 |
^(self on: model) open |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
120 |
|
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
121 |
"Created: / 14-04-2008 / 11:09:38 / Jan Vrany <vranyj1@fel.cvut.cz>" |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
122 |
"Modified: / 19-04-2008 / 13:17:11 / Jan Vrany <vranyj1@fel.cvut.cz>" |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
123 |
! ! |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
124 |
|
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
125 |
!SCMAbstractDialog class methodsFor:'interface specs'! |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
126 |
|
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
127 |
buttonsSpec |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
128 |
"This resource specification was automatically generated |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
129 |
by the UIPainter of ST/X." |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
130 |
|
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
131 |
"Do not manually edit this!! If it is corrupted, |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
132 |
the UIPainter may not be able to read the specification." |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
133 |
|
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
134 |
" |
534
04ae4c0086c2
UI: fixed button order in dialogs (SCMAbstractDialog) to follow UI guidelines
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
509
diff
changeset
|
135 |
UIPainter new openOnClass:SCMAbstractDialog andSelector:#buttonsSpec |
04ae4c0086c2
UI: fixed button order in dialogs (SCMAbstractDialog) to follow UI guidelines
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
509
diff
changeset
|
136 |
SCMAbstractDialog new openInterface:#buttonsSpec |
43
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
137 |
" |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
138 |
|
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
139 |
<resource: #canvas> |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
140 |
|
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
141 |
^ |
534
04ae4c0086c2
UI: fixed button order in dialogs (SCMAbstractDialog) to follow UI guidelines
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
509
diff
changeset
|
142 |
#(FullSpec |
04ae4c0086c2
UI: fixed button order in dialogs (SCMAbstractDialog) to follow UI guidelines
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
509
diff
changeset
|
143 |
name: buttonsSpec |
04ae4c0086c2
UI: fixed button order in dialogs (SCMAbstractDialog) to follow UI guidelines
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
509
diff
changeset
|
144 |
window: |
04ae4c0086c2
UI: fixed button order in dialogs (SCMAbstractDialog) to follow UI guidelines
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
509
diff
changeset
|
145 |
(WindowSpec |
04ae4c0086c2
UI: fixed button order in dialogs (SCMAbstractDialog) to follow UI guidelines
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
509
diff
changeset
|
146 |
label: 'Buttons' |
04ae4c0086c2
UI: fixed button order in dialogs (SCMAbstractDialog) to follow UI guidelines
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
509
diff
changeset
|
147 |
name: 'Buttons' |
04ae4c0086c2
UI: fixed button order in dialogs (SCMAbstractDialog) to follow UI guidelines
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
509
diff
changeset
|
148 |
min: (Point 10 10) |
04ae4c0086c2
UI: fixed button order in dialogs (SCMAbstractDialog) to follow UI guidelines
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
509
diff
changeset
|
149 |
bounds: (Rectangle 0 0 400 30) |
04ae4c0086c2
UI: fixed button order in dialogs (SCMAbstractDialog) to follow UI guidelines
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
509
diff
changeset
|
150 |
) |
04ae4c0086c2
UI: fixed button order in dialogs (SCMAbstractDialog) to follow UI guidelines
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
509
diff
changeset
|
151 |
component: |
04ae4c0086c2
UI: fixed button order in dialogs (SCMAbstractDialog) to follow UI guidelines
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
509
diff
changeset
|
152 |
(SpecCollection |
04ae4c0086c2
UI: fixed button order in dialogs (SCMAbstractDialog) to follow UI guidelines
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
509
diff
changeset
|
153 |
collection: ( |
04ae4c0086c2
UI: fixed button order in dialogs (SCMAbstractDialog) to follow UI guidelines
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
509
diff
changeset
|
154 |
(HorizontalPanelViewSpec |
04ae4c0086c2
UI: fixed button order in dialogs (SCMAbstractDialog) to follow UI guidelines
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
509
diff
changeset
|
155 |
name: 'ButtonPanel' |
04ae4c0086c2
UI: fixed button order in dialogs (SCMAbstractDialog) to follow UI guidelines
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
509
diff
changeset
|
156 |
layout: (LayoutFrame 0 0 0 0 0 1 0 1) |
535
cde846c99f0d
UI: dialog button ordering updated to follow St/X UI Coding Guideline.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
534
diff
changeset
|
157 |
horizontalLayout: okCancelBox |
534
04ae4c0086c2
UI: fixed button order in dialogs (SCMAbstractDialog) to follow UI guidelines
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
509
diff
changeset
|
158 |
verticalLayout: center |
04ae4c0086c2
UI: fixed button order in dialogs (SCMAbstractDialog) to follow UI guidelines
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
509
diff
changeset
|
159 |
horizontalSpace: 3 |
04ae4c0086c2
UI: fixed button order in dialogs (SCMAbstractDialog) to follow UI guidelines
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
509
diff
changeset
|
160 |
verticalSpace: 3 |
04ae4c0086c2
UI: fixed button order in dialogs (SCMAbstractDialog) to follow UI guidelines
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
509
diff
changeset
|
161 |
reverseOrderIfOKAtLeft: true |
04ae4c0086c2
UI: fixed button order in dialogs (SCMAbstractDialog) to follow UI guidelines
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
509
diff
changeset
|
162 |
component: |
04ae4c0086c2
UI: fixed button order in dialogs (SCMAbstractDialog) to follow UI guidelines
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
509
diff
changeset
|
163 |
(SpecCollection |
04ae4c0086c2
UI: fixed button order in dialogs (SCMAbstractDialog) to follow UI guidelines
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
509
diff
changeset
|
164 |
collection: ( |
04ae4c0086c2
UI: fixed button order in dialogs (SCMAbstractDialog) to follow UI guidelines
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
509
diff
changeset
|
165 |
(ActionButtonSpec |
04ae4c0086c2
UI: fixed button order in dialogs (SCMAbstractDialog) to follow UI guidelines
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
509
diff
changeset
|
166 |
label: 'Cancel' |
04ae4c0086c2
UI: fixed button order in dialogs (SCMAbstractDialog) to follow UI guidelines
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
509
diff
changeset
|
167 |
name: 'CancelButton' |
04ae4c0086c2
UI: fixed button order in dialogs (SCMAbstractDialog) to follow UI guidelines
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
509
diff
changeset
|
168 |
translateLabel: true |
04ae4c0086c2
UI: fixed button order in dialogs (SCMAbstractDialog) to follow UI guidelines
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
509
diff
changeset
|
169 |
model: doCancel |
535
cde846c99f0d
UI: dialog button ordering updated to follow St/X UI Coding Guideline.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
534
diff
changeset
|
170 |
extent: (Point 195 22) |
43
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
171 |
) |
534
04ae4c0086c2
UI: fixed button order in dialogs (SCMAbstractDialog) to follow UI guidelines
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
509
diff
changeset
|
172 |
(ActionButtonSpec |
04ae4c0086c2
UI: fixed button order in dialogs (SCMAbstractDialog) to follow UI guidelines
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
509
diff
changeset
|
173 |
label: 'OK' |
04ae4c0086c2
UI: fixed button order in dialogs (SCMAbstractDialog) to follow UI guidelines
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
509
diff
changeset
|
174 |
name: 'AcceptButton' |
04ae4c0086c2
UI: fixed button order in dialogs (SCMAbstractDialog) to follow UI guidelines
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
509
diff
changeset
|
175 |
translateLabel: true |
04ae4c0086c2
UI: fixed button order in dialogs (SCMAbstractDialog) to follow UI guidelines
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
509
diff
changeset
|
176 |
labelChannel: acceptButtonTitleAspect |
04ae4c0086c2
UI: fixed button order in dialogs (SCMAbstractDialog) to follow UI guidelines
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
509
diff
changeset
|
177 |
model: doAccept |
04ae4c0086c2
UI: fixed button order in dialogs (SCMAbstractDialog) to follow UI guidelines
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
509
diff
changeset
|
178 |
enableChannel: acceptEnabledHolder |
535
cde846c99f0d
UI: dialog button ordering updated to follow St/X UI Coding Guideline.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
534
diff
changeset
|
179 |
extent: (Point 196 22) |
534
04ae4c0086c2
UI: fixed button order in dialogs (SCMAbstractDialog) to follow UI guidelines
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
509
diff
changeset
|
180 |
) |
04ae4c0086c2
UI: fixed button order in dialogs (SCMAbstractDialog) to follow UI guidelines
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
509
diff
changeset
|
181 |
) |
04ae4c0086c2
UI: fixed button order in dialogs (SCMAbstractDialog) to follow UI guidelines
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
509
diff
changeset
|
182 |
|
04ae4c0086c2
UI: fixed button order in dialogs (SCMAbstractDialog) to follow UI guidelines
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
509
diff
changeset
|
183 |
) |
535
cde846c99f0d
UI: dialog button ordering updated to follow St/X UI Coding Guideline.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
534
diff
changeset
|
184 |
keepSpaceForOSXResizeHandleH: true |
43
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
185 |
) |
534
04ae4c0086c2
UI: fixed button order in dialogs (SCMAbstractDialog) to follow UI guidelines
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
509
diff
changeset
|
186 |
) |
04ae4c0086c2
UI: fixed button order in dialogs (SCMAbstractDialog) to follow UI guidelines
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
509
diff
changeset
|
187 |
|
04ae4c0086c2
UI: fixed button order in dialogs (SCMAbstractDialog) to follow UI guidelines
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
509
diff
changeset
|
188 |
) |
04ae4c0086c2
UI: fixed button order in dialogs (SCMAbstractDialog) to follow UI guidelines
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
509
diff
changeset
|
189 |
) |
43
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
190 |
! |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
191 |
|
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
192 |
contentSpec |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
193 |
"This resource specification was automatically generated |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
194 |
by the UIPainter of ST/X." |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
195 |
|
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
196 |
"Do not manually edit this!! If it is corrupted, |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
197 |
the UIPainter may not be able to read the specification." |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
198 |
|
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
199 |
" |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
200 |
UIPainter new openOnClass:SVN::Dialog andSelector:#contentSpec |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
201 |
SVN::Dialog new openInterface:#contentSpec |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
202 |
" |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
203 |
|
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
204 |
<resource: #canvas> |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
205 |
|
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
206 |
^ |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
207 |
#(FullSpec |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
208 |
name: contentSpec |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
209 |
window: |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
210 |
(WindowSpec |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
211 |
label: 'Dialog' |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
212 |
name: 'Dialog' |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
213 |
min: (Point 10 10) |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
214 |
bounds: (Rectangle 0 0 300 300) |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
215 |
) |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
216 |
component: |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
217 |
(SpecCollection |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
218 |
collection: ( |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
219 |
(LabelSpec |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
220 |
label: 'You should override #contentSpec' |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
221 |
name: 'Message' |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
222 |
layout: (LayoutFrame 0 0 0 0 0 1 0 1) |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
223 |
translateLabel: true |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
224 |
) |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
225 |
) |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
226 |
|
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
227 |
) |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
228 |
) |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
229 |
! |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
230 |
|
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
231 |
errorSpec |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
232 |
"This resource specification was automatically generated |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
233 |
by the UIPainter of ST/X." |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
234 |
|
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
235 |
"Do not manually edit this!! If it is corrupted, |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
236 |
the UIPainter may not be able to read the specification." |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
237 |
|
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
238 |
" |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
239 |
UIPainter new openOnClass:SVN::Dialog andSelector:#errorSpec |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
240 |
SVN::Dialog new openInterface:#errorSpec |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
241 |
" |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
242 |
|
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
243 |
<resource: #canvas> |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
244 |
|
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
245 |
^ |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
246 |
#(FullSpec |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
247 |
name: errorSpec |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
248 |
window: |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
249 |
(WindowSpec |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
250 |
label: 'Error' |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
251 |
name: 'Error' |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
252 |
min: (Point 10 10) |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
253 |
bounds: (Rectangle 0 0 300 300) |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
254 |
) |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
255 |
component: |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
256 |
(SpecCollection |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
257 |
collection: ( |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
258 |
(LabelSpec |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
259 |
label: 'errorIcon' |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
260 |
name: 'ErrorIcon' |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
261 |
layout: (LayoutFrame 0 0 0 0 35 0 35 0) |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
262 |
hasCharacterOrientedLabel: false |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
263 |
translateLabel: true |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
264 |
) |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
265 |
(LabelSpec |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
266 |
name: 'ErrorMessage' |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
267 |
layout: (LayoutFrame 35 0 0 0 0 1 0 1) |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
268 |
translateLabel: true |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
269 |
labelChannel: infoHolder |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
270 |
) |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
271 |
) |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
272 |
|
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
273 |
) |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
274 |
) |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
275 |
! |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
276 |
|
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
277 |
messageSpec |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
278 |
"This resource specification was automatically generated |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
279 |
by the UIPainter of ST/X." |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
280 |
|
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
281 |
"Do not manually edit this!! If it is corrupted, |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
282 |
the UIPainter may not be able to read the specification." |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
283 |
|
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
284 |
" |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
285 |
UIPainter new openOnClass:SVN::Dialog andSelector:#messageSpec |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
286 |
SVN::Dialog new openInterface:#messageSpec |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
287 |
" |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
288 |
|
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
289 |
<resource: #canvas> |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
290 |
|
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
291 |
^ |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
292 |
#(FullSpec |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
293 |
name: messageSpec |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
294 |
window: |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
295 |
(WindowSpec |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
296 |
label: 'Message' |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
297 |
name: 'Message' |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
298 |
min: (Point 10 10) |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
299 |
bounds: (Rectangle 0 0 300 300) |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
300 |
) |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
301 |
component: |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
302 |
(SpecCollection |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
303 |
collection: ( |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
304 |
(HTMLViewSpec |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
305 |
name: 'HTMLBrowser' |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
306 |
layout: (LayoutFrame 20 0 20 0 -20 1 -20 1) |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
307 |
level: 0 |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
308 |
hasHorizontalScrollBar: true |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
309 |
hasVerticalScrollBar: true |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
310 |
htmlText: infoHolder |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
311 |
) |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
312 |
) |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
313 |
|
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
314 |
) |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
315 |
) |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
316 |
! |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
317 |
|
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
318 |
windowSpec |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
319 |
"This resource specification was automatically generated |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
320 |
by the UIPainter of ST/X." |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
321 |
|
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
322 |
"Do not manually edit this!! If it is corrupted, |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
323 |
the UIPainter may not be able to read the specification." |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
324 |
|
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
325 |
" |
535
cde846c99f0d
UI: dialog button ordering updated to follow St/X UI Coding Guideline.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
534
diff
changeset
|
326 |
UIPainter new openOnClass:SCMAbstractDialog andSelector:#windowSpec |
cde846c99f0d
UI: dialog button ordering updated to follow St/X UI Coding Guideline.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
534
diff
changeset
|
327 |
SCMAbstractDialog new openInterface:#windowSpec |
cde846c99f0d
UI: dialog button ordering updated to follow St/X UI Coding Guideline.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
534
diff
changeset
|
328 |
SCMAbstractDialog open |
43
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
329 |
" |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
330 |
|
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
331 |
<resource: #canvas> |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
332 |
|
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
333 |
^ |
535
cde846c99f0d
UI: dialog button ordering updated to follow St/X UI Coding Guideline.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
534
diff
changeset
|
334 |
#(FullSpec |
cde846c99f0d
UI: dialog button ordering updated to follow St/X UI Coding Guideline.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
534
diff
changeset
|
335 |
name: windowSpec |
cde846c99f0d
UI: dialog button ordering updated to follow St/X UI Coding Guideline.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
534
diff
changeset
|
336 |
window: |
cde846c99f0d
UI: dialog button ordering updated to follow St/X UI Coding Guideline.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
534
diff
changeset
|
337 |
(WindowSpec |
cde846c99f0d
UI: dialog button ordering updated to follow St/X UI Coding Guideline.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
534
diff
changeset
|
338 |
label: 'SubVersion: Dialog ' |
cde846c99f0d
UI: dialog button ordering updated to follow St/X UI Coding Guideline.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
534
diff
changeset
|
339 |
name: 'SubVersion: Dialog ' |
cde846c99f0d
UI: dialog button ordering updated to follow St/X UI Coding Guideline.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
534
diff
changeset
|
340 |
labelChannel: titleHolder |
cde846c99f0d
UI: dialog button ordering updated to follow St/X UI Coding Guideline.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
534
diff
changeset
|
341 |
min: (Point 10 10) |
cde846c99f0d
UI: dialog button ordering updated to follow St/X UI Coding Guideline.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
534
diff
changeset
|
342 |
bounds: (Rectangle 0 0 648 451) |
cde846c99f0d
UI: dialog button ordering updated to follow St/X UI Coding Guideline.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
534
diff
changeset
|
343 |
) |
cde846c99f0d
UI: dialog button ordering updated to follow St/X UI Coding Guideline.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
534
diff
changeset
|
344 |
component: |
cde846c99f0d
UI: dialog button ordering updated to follow St/X UI Coding Guideline.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
534
diff
changeset
|
345 |
(SpecCollection |
cde846c99f0d
UI: dialog button ordering updated to follow St/X UI Coding Guideline.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
534
diff
changeset
|
346 |
collection: ( |
cde846c99f0d
UI: dialog button ordering updated to follow St/X UI Coding Guideline.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
534
diff
changeset
|
347 |
(ViewSpec |
cde846c99f0d
UI: dialog button ordering updated to follow St/X UI Coding Guideline.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
534
diff
changeset
|
348 |
name: 'TitleBox' |
cde846c99f0d
UI: dialog button ordering updated to follow St/X UI Coding Guideline.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
534
diff
changeset
|
349 |
layout: (LayoutFrame 0 0 0 0 0 1 66 0) |
cde846c99f0d
UI: dialog button ordering updated to follow St/X UI Coding Guideline.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
534
diff
changeset
|
350 |
backgroundColor: (Color 100.0 100.0 100.0) |
cde846c99f0d
UI: dialog button ordering updated to follow St/X UI Coding Guideline.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
534
diff
changeset
|
351 |
component: |
cde846c99f0d
UI: dialog button ordering updated to follow St/X UI Coding Guideline.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
534
diff
changeset
|
352 |
(SpecCollection |
cde846c99f0d
UI: dialog button ordering updated to follow St/X UI Coding Guideline.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
534
diff
changeset
|
353 |
collection: ( |
cde846c99f0d
UI: dialog button ordering updated to follow St/X UI Coding Guideline.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
534
diff
changeset
|
354 |
(LabelSpec |
cde846c99f0d
UI: dialog button ordering updated to follow St/X UI Coding Guideline.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
534
diff
changeset
|
355 |
label: 'DialogTitle' |
cde846c99f0d
UI: dialog button ordering updated to follow St/X UI Coding Guideline.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
534
diff
changeset
|
356 |
name: 'DialogTitle' |
cde846c99f0d
UI: dialog button ordering updated to follow St/X UI Coding Guideline.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
534
diff
changeset
|
357 |
layout: (LayoutFrame 10 0 0 0 -75 1 40 0) |
cde846c99f0d
UI: dialog button ordering updated to follow St/X UI Coding Guideline.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
534
diff
changeset
|
358 |
style: (FontDescription helvetica medium roman 18 #'iso10646-1') |
cde846c99f0d
UI: dialog button ordering updated to follow St/X UI Coding Guideline.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
534
diff
changeset
|
359 |
backgroundColor: (Color 100.0 100.0 100.0) |
cde846c99f0d
UI: dialog button ordering updated to follow St/X UI Coding Guideline.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
534
diff
changeset
|
360 |
translateLabel: true |
cde846c99f0d
UI: dialog button ordering updated to follow St/X UI Coding Guideline.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
534
diff
changeset
|
361 |
labelChannel: titleHolder |
cde846c99f0d
UI: dialog button ordering updated to follow St/X UI Coding Guideline.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
534
diff
changeset
|
362 |
adjust: left |
cde846c99f0d
UI: dialog button ordering updated to follow St/X UI Coding Guideline.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
534
diff
changeset
|
363 |
) |
cde846c99f0d
UI: dialog button ordering updated to follow St/X UI Coding Guideline.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
534
diff
changeset
|
364 |
(LabelSpec |
cde846c99f0d
UI: dialog button ordering updated to follow St/X UI Coding Guideline.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
534
diff
changeset
|
365 |
label: 'DialogSubtitle' |
cde846c99f0d
UI: dialog button ordering updated to follow St/X UI Coding Guideline.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
534
diff
changeset
|
366 |
name: 'DialogSubtitle' |
cde846c99f0d
UI: dialog button ordering updated to follow St/X UI Coding Guideline.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
534
diff
changeset
|
367 |
layout: (LayoutFrame 30 0 40 0 -75 1 66 0) |
cde846c99f0d
UI: dialog button ordering updated to follow St/X UI Coding Guideline.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
534
diff
changeset
|
368 |
backgroundColor: (Color 100.0 100.0 100.0) |
cde846c99f0d
UI: dialog button ordering updated to follow St/X UI Coding Guideline.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
534
diff
changeset
|
369 |
translateLabel: true |
cde846c99f0d
UI: dialog button ordering updated to follow St/X UI Coding Guideline.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
534
diff
changeset
|
370 |
labelChannel: subtitleHolder |
cde846c99f0d
UI: dialog button ordering updated to follow St/X UI Coding Guideline.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
534
diff
changeset
|
371 |
resizeForLabel: false |
cde846c99f0d
UI: dialog button ordering updated to follow St/X UI Coding Guideline.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
534
diff
changeset
|
372 |
adjust: left |
43
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
373 |
) |
535
cde846c99f0d
UI: dialog button ordering updated to follow St/X UI Coding Guideline.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
534
diff
changeset
|
374 |
(LabelSpec |
cde846c99f0d
UI: dialog button ordering updated to follow St/X UI Coding Guideline.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
534
diff
changeset
|
375 |
label: 'Icon' |
cde846c99f0d
UI: dialog button ordering updated to follow St/X UI Coding Guideline.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
534
diff
changeset
|
376 |
name: 'DialogIcon' |
cde846c99f0d
UI: dialog button ordering updated to follow St/X UI Coding Guideline.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
534
diff
changeset
|
377 |
layout: (LayoutFrame -157 1 0 0 0 1 66 0) |
cde846c99f0d
UI: dialog button ordering updated to follow St/X UI Coding Guideline.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
534
diff
changeset
|
378 |
hasCharacterOrientedLabel: false |
cde846c99f0d
UI: dialog button ordering updated to follow St/X UI Coding Guideline.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
534
diff
changeset
|
379 |
backgroundColor: (Color 100.0 100.0 100.0) |
cde846c99f0d
UI: dialog button ordering updated to follow St/X UI Coding Guideline.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
534
diff
changeset
|
380 |
translateLabel: true |
cde846c99f0d
UI: dialog button ordering updated to follow St/X UI Coding Guideline.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
534
diff
changeset
|
381 |
labelChannel: dialogIconAspect |
43
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
382 |
) |
535
cde846c99f0d
UI: dialog button ordering updated to follow St/X UI Coding Guideline.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
534
diff
changeset
|
383 |
) |
cde846c99f0d
UI: dialog button ordering updated to follow St/X UI Coding Guideline.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
534
diff
changeset
|
384 |
|
cde846c99f0d
UI: dialog button ordering updated to follow St/X UI Coding Guideline.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
534
diff
changeset
|
385 |
) |
43
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
386 |
) |
535
cde846c99f0d
UI: dialog button ordering updated to follow St/X UI Coding Guideline.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
534
diff
changeset
|
387 |
(ViewSpec |
cde846c99f0d
UI: dialog button ordering updated to follow St/X UI Coding Guideline.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
534
diff
changeset
|
388 |
name: 'ContentBox' |
cde846c99f0d
UI: dialog button ordering updated to follow St/X UI Coding Guideline.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
534
diff
changeset
|
389 |
layout: (LayoutFrame 5 0 70 0 -5 1 -50 1) |
cde846c99f0d
UI: dialog button ordering updated to follow St/X UI Coding Guideline.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
534
diff
changeset
|
390 |
component: |
cde846c99f0d
UI: dialog button ordering updated to follow St/X UI Coding Guideline.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
534
diff
changeset
|
391 |
(SpecCollection |
cde846c99f0d
UI: dialog button ordering updated to follow St/X UI Coding Guideline.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
534
diff
changeset
|
392 |
collection: ( |
cde846c99f0d
UI: dialog button ordering updated to follow St/X UI Coding Guideline.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
534
diff
changeset
|
393 |
(SubCanvasSpec |
cde846c99f0d
UI: dialog button ordering updated to follow St/X UI Coding Guideline.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
534
diff
changeset
|
394 |
name: 'InfoPanel' |
cde846c99f0d
UI: dialog button ordering updated to follow St/X UI Coding Guideline.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
534
diff
changeset
|
395 |
layout: (LayoutFrame 0 0 0 0 0 1 40 0) |
cde846c99f0d
UI: dialog button ordering updated to follow St/X UI Coding Guideline.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
534
diff
changeset
|
396 |
level: 0 |
cde846c99f0d
UI: dialog button ordering updated to follow St/X UI Coding Guideline.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
534
diff
changeset
|
397 |
initiallyInvisible: true |
cde846c99f0d
UI: dialog button ordering updated to follow St/X UI Coding Guideline.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
534
diff
changeset
|
398 |
hasHorizontalScrollBar: false |
cde846c99f0d
UI: dialog button ordering updated to follow St/X UI Coding Guideline.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
534
diff
changeset
|
399 |
hasVerticalScrollBar: false |
cde846c99f0d
UI: dialog button ordering updated to follow St/X UI Coding Guideline.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
534
diff
changeset
|
400 |
clientKey: infoPanel |
cde846c99f0d
UI: dialog button ordering updated to follow St/X UI Coding Guideline.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
534
diff
changeset
|
401 |
createNewBuilder: false |
cde846c99f0d
UI: dialog button ordering updated to follow St/X UI Coding Guideline.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
534
diff
changeset
|
402 |
) |
cde846c99f0d
UI: dialog button ordering updated to follow St/X UI Coding Guideline.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
534
diff
changeset
|
403 |
(SubCanvasSpec |
cde846c99f0d
UI: dialog button ordering updated to follow St/X UI Coding Guideline.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
534
diff
changeset
|
404 |
name: 'Content' |
cde846c99f0d
UI: dialog button ordering updated to follow St/X UI Coding Guideline.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
534
diff
changeset
|
405 |
layout: (LayoutFrame 0 0 0 0 0 1 0 1) |
cde846c99f0d
UI: dialog button ordering updated to follow St/X UI Coding Guideline.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
534
diff
changeset
|
406 |
hasHorizontalScrollBar: false |
cde846c99f0d
UI: dialog button ordering updated to follow St/X UI Coding Guideline.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
534
diff
changeset
|
407 |
hasVerticalScrollBar: false |
cde846c99f0d
UI: dialog button ordering updated to follow St/X UI Coding Guideline.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
534
diff
changeset
|
408 |
specHolder: contentSpecHolder |
cde846c99f0d
UI: dialog button ordering updated to follow St/X UI Coding Guideline.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
534
diff
changeset
|
409 |
createNewBuilder: false |
cde846c99f0d
UI: dialog button ordering updated to follow St/X UI Coding Guideline.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
534
diff
changeset
|
410 |
) |
cde846c99f0d
UI: dialog button ordering updated to follow St/X UI Coding Guideline.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
534
diff
changeset
|
411 |
) |
cde846c99f0d
UI: dialog button ordering updated to follow St/X UI Coding Guideline.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
534
diff
changeset
|
412 |
|
cde846c99f0d
UI: dialog button ordering updated to follow St/X UI Coding Guideline.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
534
diff
changeset
|
413 |
) |
cde846c99f0d
UI: dialog button ordering updated to follow St/X UI Coding Guideline.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
534
diff
changeset
|
414 |
) |
cde846c99f0d
UI: dialog button ordering updated to follow St/X UI Coding Guideline.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
534
diff
changeset
|
415 |
(DividerSpec |
cde846c99f0d
UI: dialog button ordering updated to follow St/X UI Coding Guideline.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
534
diff
changeset
|
416 |
name: 'Separator' |
cde846c99f0d
UI: dialog button ordering updated to follow St/X UI Coding Guideline.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
534
diff
changeset
|
417 |
layout: (LayoutFrame 5 0 -50 1 -5 1 -30 1) |
cde846c99f0d
UI: dialog button ordering updated to follow St/X UI Coding Guideline.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
534
diff
changeset
|
418 |
) |
cde846c99f0d
UI: dialog button ordering updated to follow St/X UI Coding Guideline.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
534
diff
changeset
|
419 |
(UISubSpecification |
cde846c99f0d
UI: dialog button ordering updated to follow St/X UI Coding Guideline.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
534
diff
changeset
|
420 |
name: 'Buttons' |
cde846c99f0d
UI: dialog button ordering updated to follow St/X UI Coding Guideline.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
534
diff
changeset
|
421 |
layout: (LayoutFrame 0 0 -30 1 0 1 0 1) |
cde846c99f0d
UI: dialog button ordering updated to follow St/X UI Coding Guideline.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
534
diff
changeset
|
422 |
minorKey: buttonsSpec |
cde846c99f0d
UI: dialog button ordering updated to follow St/X UI Coding Guideline.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
534
diff
changeset
|
423 |
) |
cde846c99f0d
UI: dialog button ordering updated to follow St/X UI Coding Guideline.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
534
diff
changeset
|
424 |
) |
cde846c99f0d
UI: dialog button ordering updated to follow St/X UI Coding Guideline.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
534
diff
changeset
|
425 |
|
cde846c99f0d
UI: dialog button ordering updated to follow St/X UI Coding Guideline.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
534
diff
changeset
|
426 |
) |
cde846c99f0d
UI: dialog button ordering updated to follow St/X UI Coding Guideline.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
534
diff
changeset
|
427 |
) |
43
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
428 |
! ! |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
429 |
|
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
430 |
!SCMAbstractDialog class methodsFor:'menu specs'! |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
431 |
|
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
432 |
actionsMenu |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
433 |
"This resource specification was automatically generated |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
434 |
by the MenuEditor of ST/X." |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
435 |
|
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
436 |
"Do not manually edit this!! If it is corrupted, |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
437 |
the MenuEditor may not be able to read the specification." |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
438 |
|
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
439 |
" |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
440 |
MenuEditor new openOnClass:SVN::Dialog andSelector:#actionsMenu |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
441 |
(Menu new fromLiteralArrayEncoding:(SVN::Dialog actionsMenu)) startUp |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
442 |
" |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
443 |
|
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
444 |
<resource: #menu> |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
445 |
|
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
446 |
^ |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
447 |
#(Menu |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
448 |
( |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
449 |
(MenuItem |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
450 |
label: 'ActionsMenu' |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
451 |
translateLabel: true |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
452 |
submenu: |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
453 |
(Menu |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
454 |
( |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
455 |
(MenuItem |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
456 |
label: 'Catch exceptions' |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
457 |
translateLabel: true |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
458 |
indication: catchExceptionsAspect |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
459 |
) |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
460 |
(MenuItem |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
461 |
label: 'Inspect model' |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
462 |
itemValue: doInspect |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
463 |
translateLabel: true |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
464 |
) |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
465 |
(MenuItem |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
466 |
label: 'Inspect dialog' |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
467 |
itemValue: doInspectDialog |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
468 |
translateLabel: true |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
469 |
) |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
470 |
) |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
471 |
nil |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
472 |
nil |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
473 |
) |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
474 |
labelImage: (ResourceRetriever #'SVN::Dialog' downArrow) |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
475 |
) |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
476 |
) |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
477 |
nil |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
478 |
nil |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
479 |
) |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
480 |
! ! |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
481 |
|
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
482 |
!SCMAbstractDialog methodsFor:'accessing'! |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
483 |
|
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
484 |
acceptButtonLabel |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
485 |
^ 'OK' |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
486 |
|
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
487 |
"Created: / 13-04-2008 / 11:06:41 / Jan Vrany <vranyj1@fel.cvut.cz>" |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
488 |
! |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
489 |
|
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
490 |
acceptEnabled |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
491 |
^ self acceptEnabledHolder value |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
492 |
|
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
493 |
"Created: / 16-08-2009 / 17:18:13 / Jan Vrany <vranyj1@fel.cvut.cz>" |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
494 |
! |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
495 |
|
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
496 |
acceptEnabled:aBoolean |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
497 |
self acceptEnabledHolder value:aBoolean |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
498 |
|
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
499 |
"Created: / 03-10-2008 / 14:29:11 / Jan Vrany <vranyj1@fel.cvut.cz>" |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
500 |
! |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
501 |
|
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
502 |
contentSpec |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
503 |
|
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
504 |
^self contentSpecHolder value |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
505 |
|
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
506 |
"Created: / 21-10-2008 / 12:39:50 / Jan Vrany <vranyj1@fel.cvut.cz>" |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
507 |
! |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
508 |
|
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
509 |
contentSpec: aSymbol |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
510 |
|
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
511 |
self contentSpecHolder value: aSymbol |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
512 |
|
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
513 |
"Created: / 21-10-2008 / 12:38:56 / Jan Vrany <vranyj1@fel.cvut.cz>" |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
514 |
! |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
515 |
|
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
516 |
infoPanel |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
517 |
infoPanel isNil ifTrue:[ |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
518 |
infoPanel := Tools::InlineMessageDialog new |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
519 |
]. |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
520 |
^ infoPanel |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
521 |
|
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
522 |
"Created: / 09-02-2012 / 19:23:51 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
523 |
! |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
524 |
|
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
525 |
model |
171
771ae4f01925
Changes to support standalone commit (without package model).
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
114
diff
changeset
|
526 |
<resource: #obsolete> |
43
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
527 |
|
171
771ae4f01925
Changes to support standalone commit (without package model).
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
114
diff
changeset
|
528 |
^self subclassResponsibility |
43
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
529 |
|
171
771ae4f01925
Changes to support standalone commit (without package model).
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
114
diff
changeset
|
530 |
"Created: / 12-01-2013 / 11:58:33 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
43
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
531 |
! |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
532 |
|
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
533 |
subtitle |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
534 |
"return the value in 'dialogSubtitleHolder'" |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
535 |
|
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
536 |
^ self subtitleHolder value |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
537 |
|
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
538 |
"Created: / 22-10-2008 / 12:40:02 / Jan Vrany <vranyj1@fel.cvut.cz>" |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
539 |
"Modified: / 09-04-2009 / 07:53:25 / Jan Vrany <vranyj1@fel.cvut.cz>" |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
540 |
! |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
541 |
|
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
542 |
subtitle:newValue |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
543 |
"set the value in 'dialogSubtitleHolder'" |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
544 |
|
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
545 |
self subtitleHolder value:' ' , newValue |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
546 |
|
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
547 |
"Created: / 22-10-2008 / 12:40:14 / Jan Vrany <vranyj1@fel.cvut.cz>" |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
548 |
"Modified: / 09-04-2009 / 07:53:18 / Jan Vrany <vranyj1@fel.cvut.cz>" |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
549 |
! |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
550 |
|
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
551 |
title |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
552 |
|
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
553 |
^self dialogTitleAspect value |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
554 |
|
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
555 |
"Created: / 22-10-2008 / 12:40:41 / Jan Vrany <vranyj1@fel.cvut.cz>" |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
556 |
! |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
557 |
|
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
558 |
title: aString |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
559 |
|
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
560 |
^self titleHolder value: aString |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
561 |
|
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
562 |
"Created: / 22-10-2008 / 12:40:49 / Jan Vrany <vranyj1@fel.cvut.cz>" |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
563 |
"Modified: / 09-04-2009 / 14:12:49 / Jan Vrany <vranyj1@fel.cvut.cz>" |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
564 |
! ! |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
565 |
|
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
566 |
!SCMAbstractDialog methodsFor:'accessing - defaults'! |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
567 |
|
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
568 |
defaultContentSpec |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
569 |
|
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
570 |
^#contentSpec |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
571 |
|
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
572 |
"Created: / 21-10-2008 / 12:35:11 / Jan Vrany <vranyj1@fel.cvut.cz>" |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
573 |
! |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
574 |
|
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
575 |
defaultModel |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
576 |
^ nil |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
577 |
|
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
578 |
"Created: / 03-10-2008 / 14:57:35 / Jan Vrany <vranyj1@fel.cvut.cz>" |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
579 |
! |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
580 |
|
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
581 |
defaultSubtitle |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
582 |
|
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
583 |
^'' |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
584 |
|
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
585 |
"Created: / 03-10-2008 / 13:54:08 / Jan Vrany <vranyj1@fel.cvut.cz>" |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
586 |
! |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
587 |
|
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
588 |
defaultTitle |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
589 |
^ 'Commit' |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
590 |
|
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
591 |
"Created: / 03-10-2008 / 13:58:40 / Jan Vrany <vranyj1@fel.cvut.cz>" |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
592 |
"Modified: / 08-02-2012 / 18:25:21 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
593 |
! ! |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
594 |
|
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
595 |
!SCMAbstractDialog methodsFor:'actions'! |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
596 |
|
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
597 |
doAccept |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
598 |
self acceptEnabled ifTrue:[ |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
599 |
super doAccept |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
600 |
] |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
601 |
|
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
602 |
"Created: / 16-08-2009 / 17:18:47 / Jan Vrany <vranyj1@fel.cvut.cz>" |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
603 |
! |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
604 |
|
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
605 |
doCancel |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
606 |
self infoPanel doAbortIfWorking. |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
607 |
super doCancel |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
608 |
|
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
609 |
"Created: / 28-10-2008 / 14:47:44 / Jan Vrany <vranyj1@fel.cvut.cz>" |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
610 |
"Modified: / 04-10-2012 / 19:21:41 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
611 |
! |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
612 |
|
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
613 |
doHelp |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
614 |
<resource: #uiCallback> |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
615 |
|
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
616 |
Transcript showCR:self class name, ': action for doHelp ...'. |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
617 |
! |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
618 |
|
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
619 |
doInspect |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
620 |
|
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
621 |
self model inspect |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
622 |
! |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
623 |
|
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
624 |
doInspectDialog |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
625 |
|
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
626 |
self inspect |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
627 |
|
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
628 |
"Created: / 10-03-2010 / 15:30:57 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
629 |
! ! |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
630 |
|
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
631 |
!SCMAbstractDialog methodsFor:'aspects'! |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
632 |
|
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
633 |
acceptButtonTitleAspect |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
634 |
^ self acceptButtonLabel |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
635 |
|
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
636 |
"Modified: / 31-03-2008 / 18:53:56 / janfrog" |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
637 |
"Created: / 13-04-2008 / 11:08:43 / Jan Vrany <vranyj1@fel.cvut.cz>" |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
638 |
! |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
639 |
|
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
640 |
acceptEnabledHolder |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
641 |
|holder| |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
642 |
|
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
643 |
(holder := builder bindingAt:#acceptEnabledHolder) isNil ifTrue:[ |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
644 |
holder := false asValue. |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
645 |
builder aspectAt:#acceptEnabledHolder put:holder. |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
646 |
]. |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
647 |
^ holder. |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
648 |
|
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
649 |
"Created: / 14-04-2008 / 11:17:10 / Jan Vrany <vranyj1@fel.cvut.cz>" |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
650 |
"Modified: / 14-04-2008 / 12:56:08 / Jan Vrany <vranyj1@fel.cvut.cz>" |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
651 |
! |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
652 |
|
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
653 |
catchExceptionsAspect |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
654 |
|
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
655 |
^(AspectAdaptor forAspect:#catchExceptions) |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
656 |
subject: self class |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
657 |
|
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
658 |
"Created: / 09-12-2009 / 16:23:43 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
659 |
! |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
660 |
|
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
661 |
contentSpecHolder |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
662 |
<resource: #uiAspect> |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
663 |
|
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
664 |
|holder| |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
665 |
|
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
666 |
(holder := builder bindingAt:#contentSpecHolder) isNil ifTrue:[ |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
667 |
holder := self defaultContentSpec asValue. |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
668 |
holder onChangeSend:#contentSpecChanged to: self. |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
669 |
builder aspectAt:#contentSpecHolder put:holder. |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
670 |
]. |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
671 |
^ holder. |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
672 |
|
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
673 |
"Created: / 21-10-2008 / 12:34:59 / Jan Vrany <vranyj1@fel.cvut.cz>" |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
674 |
"Modified: / 22-10-2008 / 11:22:16 / Jan Vrany <vranyj1@fel.cvut.cz>" |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
675 |
! |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
676 |
|
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
677 |
dialogIconAspect |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
678 |
^ self class dialogIcon |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
679 |
|
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
680 |
"Created: / 13-04-2008 / 11:05:55 / Jan Vrany <vranyj1@fel.cvut.cz>" |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
681 |
! |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
682 |
|
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
683 |
subtitleHolder |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
684 |
"return/create the valueHolder 'dialogSubtitleHolder'" |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
685 |
|
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
686 |
subtitleHolder isNil ifTrue:[ |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
687 |
subtitleHolder := self defaultSubtitle asValue |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
688 |
]. |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
689 |
^ subtitleHolder |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
690 |
|
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
691 |
"Created: / 03-10-2008 / 13:53:16 / Jan Vrany <vranyj1@fel.cvut.cz>" |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
692 |
"Modified: / 09-04-2009 / 07:53:51 / Jan Vrany <vranyj1@fel.cvut.cz>" |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
693 |
! |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
694 |
|
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
695 |
titleHolder |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
696 |
titleHolder isNil ifTrue:[ |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
697 |
titleHolder := self defaultTitle asValue. |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
698 |
]. |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
699 |
^titleHolder |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
700 |
|
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
701 |
"Modified: / 31-03-2008 / 18:53:56 / janfrog" |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
702 |
"Created: / 13-04-2008 / 11:05:55 / Jan Vrany <vranyj1@fel.cvut.cz>" |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
703 |
"Modified: / 09-04-2009 / 07:52:33 / Jan Vrany <vranyj1@fel.cvut.cz>" |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
704 |
! ! |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
705 |
|
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
706 |
!SCMAbstractDialog methodsFor:'change & update'! |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
707 |
|
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
708 |
contentSpecChanged |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
709 |
|
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
710 |
self contentSpecChanged: self contentSpec |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
711 |
|
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
712 |
"Created: / 22-10-2008 / 11:22:35 / Jan Vrany <vranyj1@fel.cvut.cz>" |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
713 |
"Modified: / 06-11-2008 / 18:31:33 / Jan Vrany <vranyj1@fel.cvut.cz>" |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
714 |
! |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
715 |
|
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
716 |
contentSpecChanged: specSymbol |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
717 |
|
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
718 |
"nothing to do here" |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
719 |
|
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
720 |
"Created: / 06-11-2008 / 18:31:19 / Jan Vrany <vranyj1@fel.cvut.cz>" |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
721 |
! ! |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
722 |
|
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
723 |
!SCMAbstractDialog methodsFor:'events'! |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
724 |
|
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
725 |
closeAccept |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
726 |
|
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
727 |
[onAcceptBlock ifNotNil:[onAcceptBlock value: self]] |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
728 |
ensure:[super closeAccept] |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
729 |
! |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
730 |
|
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
731 |
closeCancel |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
732 |
|
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
733 |
[onCancelBlock ifNotNil:[onCancelBlock value: self]] |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
734 |
ensure:[super closeCancel] |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
735 |
! |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
736 |
|
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
737 |
closeWindow |
62
546880a402fb
SCMAbstractDialog: fixed: #closeWindow
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
53
diff
changeset
|
738 |
super closeWindow. |
43
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
739 |
self infoPanel doAbortIfWorking. |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
740 |
|
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
741 |
"Created: / 01-11-2009 / 16:33:26 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
62
546880a402fb
SCMAbstractDialog: fixed: #closeWindow
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
53
diff
changeset
|
742 |
"Modified: / 15-11-2012 / 17:19:46 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
43
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
743 |
! ! |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
744 |
|
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
745 |
!SCMAbstractDialog methodsFor:'hooks'! |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
746 |
|
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
747 |
onAccept: aBlock |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
748 |
|
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
749 |
onAcceptBlock := aBlock |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
750 |
! |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
751 |
|
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
752 |
onCancel: aBlock |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
753 |
|
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
754 |
onCancelBlock := aBlock |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
755 |
! ! |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
756 |
|
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
757 |
!SCMAbstractDialog methodsFor:'initialization'! |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
758 |
|
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
759 |
initialize |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
760 |
|
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
761 |
super initialize. |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
762 |
self createBuilder |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
763 |
|
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
764 |
"Created: / 22-10-2008 / 12:37:01 / Jan Vrany <vranyj1@fel.cvut.cz>" |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
765 |
! ! |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
766 |
|
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
767 |
!SCMAbstractDialog methodsFor:'private'! |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
768 |
|
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
769 |
handleError: ex |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
770 |
|
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
771 |
self breakPoint: #jv. |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
772 |
|
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
773 |
self class catchExceptions ifFalse:[ex pass]. |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
774 |
self showError: ex description. |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
775 |
|
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
776 |
"Created: / 09-12-2009 / 16:32:38 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
777 |
! |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
778 |
|
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
779 |
handleUserConfirmation: ex |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
780 |
|
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
781 |
^ex proceedWith: ex defaultAction |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
782 |
|
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
783 |
"Created: / 09-12-2009 / 16:31:24 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
784 |
! |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
785 |
|
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
786 |
showContent |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
787 |
|
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
788 |
self |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
789 |
contentSpec: #contentSpec. |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
790 |
|
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
791 |
"Created: / 09-04-2009 / 08:14:36 / Jan Vrany <vranyj1@fel.cvut.cz>" |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
792 |
! |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
793 |
|
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
794 |
showErorr: aString |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
795 |
self infoPanel beWarning; showMessage: aString |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
796 |
|
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
797 |
"Created: / 04-10-2012 / 19:24:41 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
798 |
! |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
799 |
|
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
800 |
showError: aString |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
801 |
|
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
802 |
self |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
803 |
info: aString; |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
804 |
contentSpec: #errorSpec |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
805 |
|
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
806 |
"Created: / 09-12-2009 / 16:40:11 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
807 |
! |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
808 |
|
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
809 |
showMessage: aString |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
810 |
self infoPanel beInformation; showMessage: aString |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
811 |
|
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
812 |
"Created: / 09-04-2009 / 08:14:51 / Jan Vrany <vranyj1@fel.cvut.cz>" |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
813 |
"Modified: / 04-10-2012 / 19:24:23 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
814 |
! |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
815 |
|
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
816 |
showProgressWhile:aBlock |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
817 |
|
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
818 |
self infoPanel progress: 'Working copy...' while: aBlock. |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
819 |
|
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
820 |
"Created: / 21-10-2008 / 12:07:06 / Jan Vrany <vranyj1@fel.cvut.cz>" |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
821 |
"Modified: / 09-04-2009 / 08:28:26 / Jan Vrany <vranyj1@fel.cvut.cz>" |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
822 |
"Created: / 11-02-2012 / 23:03:14 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
823 |
! ! |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
824 |
|
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
825 |
!SCMAbstractDialog class methodsFor:'documentation'! |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
826 |
|
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
827 |
version_GIT |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
828 |
"Never, ever change this method. Ask JV or CG why" |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
829 |
^thisContext method mclass theNonMetaclass instVarNamed: #revision |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
830 |
! |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
831 |
|
53
8043f7b6f41a
- More common code refactored
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
43
diff
changeset
|
832 |
version_HG |
114
8b27cb46af9a
version_HG changed to return String.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
62
diff
changeset
|
833 |
|
8b27cb46af9a
version_HG changed to return String.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
62
diff
changeset
|
834 |
^ '$Changeset: <not expanded> $' |
53
8043f7b6f41a
- More common code refactored
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
43
diff
changeset
|
835 |
! |
8043f7b6f41a
- More common code refactored
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
43
diff
changeset
|
836 |
|
43
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
837 |
version_SVN |
535
cde846c99f0d
UI: dialog button ordering updated to follow St/X UI Coding Guideline.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
534
diff
changeset
|
838 |
^ 'Id:: ' |
43
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
839 |
! ! |
335
7e19ab19148b
Changed license to LGPL2.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
171
diff
changeset
|
840 |