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