author | Merge Script |
Thu, 07 Apr 2016 07:08:20 +0200 | |
branch | jv |
changeset 1009 | e25edee0d1e7 |
parent 987 | 7dbc6348209e |
child 1095 | 87f223484bc3 |
permissions | -rw-r--r-- |
352 | 1 |
"{ Package: 'stx:goodies/monticello' }" |
2 |
||
987
7dbc6348209e
mcz writing: do not include project definition class when include St/X extras is not wanted
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
589
diff
changeset
|
3 |
"{ NameSpace: Smalltalk }" |
7dbc6348209e
mcz writing: do not include project definition class when include St/X extras is not wanted
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
589
diff
changeset
|
4 |
|
352 | 5 |
MCDialog subclass:#MCRepositoryDialog |
6 |
instanceVariableNames:'repositoryTypeHolder' |
|
7 |
classVariableNames:'' |
|
8 |
poolDictionaries:'' |
|
589 | 9 |
category:'SCM-Monticello-St/X UI' |
352 | 10 |
! |
11 |
||
12 |
||
13 |
!MCRepositoryDialog class methodsFor:'interface specs'! |
|
14 |
||
15 |
contentSpec |
|
16 |
"This resource specification was automatically generated |
|
17 |
by the UIPainter of ST/X." |
|
18 |
||
19 |
"Do not manually edit this!! If it is corrupted, |
|
20 |
the UIPainter may not be able to read the specification." |
|
21 |
||
22 |
" |
|
23 |
UIPainter new openOnClass:MCRepositoryDialog andSelector:#contentSpec |
|
24 |
MCRepositoryDialog new openInterface:#contentSpec |
|
25 |
" |
|
26 |
||
27 |
<resource: #canvas> |
|
28 |
||
29 |
^ |
|
30 |
#(FullSpec |
|
31 |
name: contentSpec |
|
32 |
window: |
|
33 |
(WindowSpec |
|
34 |
label: 'Content Spec' |
|
35 |
name: 'Content Spec' |
|
36 |
min: (Point 10 10) |
|
37 |
bounds: (Rectangle 0 0 580 300) |
|
38 |
) |
|
39 |
component: |
|
40 |
(SpecCollection |
|
41 |
collection: ( |
|
42 |
(LabelSpec |
|
43 |
label: 'Type:' |
|
44 |
name: 'TypeLabel' |
|
45 |
layout: (LayoutFrame 0 0 15 0 100 0 35 0) |
|
46 |
translateLabel: true |
|
47 |
) |
|
48 |
(PopUpListSpec |
|
49 |
label: 'PopUp List' |
|
50 |
name: 'PopUpList1' |
|
51 |
layout: (LayoutFrame 100 0 12 0 0 1 37 0) |
|
52 |
tabable: true |
|
53 |
model: repositoryTypeHolder |
|
54 |
menu: |
|
55 |
(Array |
|
56 |
'HTTP' 'Local' |
|
57 |
) |
|
58 |
) |
|
59 |
(SubCanvasSpec |
|
60 |
name: 'Info' |
|
61 |
layout: (LayoutFrame 0 0 45 0 0 1 0 1) |
|
62 |
hasHorizontalScrollBar: false |
|
63 |
hasVerticalScrollBar: false |
|
64 |
createNewBuilder: false |
|
65 |
) |
|
66 |
) |
|
67 |
||
68 |
) |
|
69 |
) |
|
70 |
! ! |
|
71 |
||
72 |
!MCRepositoryDialog methodsFor:'accessing'! |
|
73 |
||
74 |
defaultTitle |
|
75 |
"superclass MCDialog says that I am responsible to implement this method" |
|
76 |
||
77 |
^ 'Monticello Repository' |
|
78 |
||
79 |
"Created: / 13-10-2010 / 15:01:09 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
80 |
! ! |
|
81 |
||
82 |
!MCRepositoryDialog methodsFor:'aspects'! |
|
83 |
||
84 |
repositoryTypeHolder |
|
85 |
<resource: #uiAspect> |
|
86 |
||
87 |
"automatically generated by UIPainter ..." |
|
88 |
||
89 |
"*** the code below creates a default model when invoked." |
|
90 |
"*** (which may not be the one you wanted)" |
|
91 |
"*** Please change as required and accept it in the browser." |
|
92 |
"*** (and replace this comment by something more useful ;-)" |
|
93 |
||
94 |
repositoryTypeHolder isNil ifTrue:[ |
|
95 |
repositoryTypeHolder := ValueHolder with:'HTTP'. |
|
96 |
"/ if your app needs to be notified of changes, uncomment one of the lines below: |
|
97 |
"/ repositoryTypeHolder addDependent:self. |
|
98 |
"/ repositoryTypeHolder onChangeSend:#repositoryTypeHolderChanged to:self. |
|
99 |
]. |
|
100 |
^ repositoryTypeHolder. |
|
101 |
||
102 |
"Modified: / 13-10-2010 / 15:17:30 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
103 |
! ! |
|
104 |
||
105 |
!MCRepositoryDialog class methodsFor:'documentation'! |
|
106 |
||
107 |
version |
|
589 | 108 |
^ '$Header: /cvs/stx/stx/goodies/monticello/MCRepositoryDialog.st,v 1.2 2012-09-11 21:13:56 cg Exp $' |
352 | 109 |
! |
110 |
||
111 |
version_CVS |
|
589 | 112 |
^ '$Header: /cvs/stx/stx/goodies/monticello/MCRepositoryDialog.st,v 1.2 2012-09-11 21:13:56 cg Exp $' |
352 | 113 |
! |
114 |
||
987
7dbc6348209e
mcz writing: do not include project definition class when include St/X extras is not wanted
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
589
diff
changeset
|
115 |
version_HG |
7dbc6348209e
mcz writing: do not include project definition class when include St/X extras is not wanted
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
589
diff
changeset
|
116 |
|
7dbc6348209e
mcz writing: do not include project definition class when include St/X extras is not wanted
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
589
diff
changeset
|
117 |
^ '$Changeset: <not expanded> $' |
7dbc6348209e
mcz writing: do not include project definition class when include St/X extras is not wanted
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
589
diff
changeset
|
118 |
! |
7dbc6348209e
mcz writing: do not include project definition class when include St/X extras is not wanted
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
589
diff
changeset
|
119 |
|
352 | 120 |
version_SVN |
121 |
^ '§Id: MCRepositoryDialog.st 19 2010-10-14 10:51:48Z vranyj1 §' |
|
122 |
! ! |
|
987
7dbc6348209e
mcz writing: do not include project definition class when include St/X extras is not wanted
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
589
diff
changeset
|
123 |