186
|
1 |
"{ Package: 'stx:goodies/monticello' }"
|
|
2 |
|
962
|
3 |
"{ NameSpace: Smalltalk }"
|
|
4 |
|
186
|
5 |
Tools::BrowserList subclass:#MCBrowserList
|
|
6 |
instanceVariableNames:'listHolder'
|
|
7 |
classVariableNames:''
|
|
8 |
poolDictionaries:''
|
575
|
9 |
category:'SCM-Monticello-St/X UI'
|
186
|
10 |
!
|
|
11 |
|
|
12 |
|
|
13 |
!MCBrowserList class methodsFor:'interface specs'!
|
|
14 |
|
|
15 |
windowSpec
|
|
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:MCBrowserList andSelector:#windowSpec
|
|
24 |
MCBrowserList new openInterface:#windowSpec
|
|
25 |
MCBrowserList open
|
|
26 |
"
|
|
27 |
|
|
28 |
<resource: #canvas>
|
|
29 |
|
|
30 |
^
|
|
31 |
#(FullSpec
|
|
32 |
name: windowSpec
|
|
33 |
window:
|
|
34 |
(WindowSpec
|
|
35 |
label: 'MC Browser List'
|
|
36 |
name: 'MC Browser List'
|
|
37 |
min: (Point 10 10)
|
|
38 |
bounds: (Rectangle 0 0 300 300)
|
|
39 |
)
|
|
40 |
component:
|
|
41 |
(SpecCollection
|
|
42 |
collection: (
|
|
43 |
(SelectionInListModelViewSpec
|
|
44 |
name: 'SelectionInListModelView1'
|
|
45 |
layout: (LayoutFrame 0 0 0 0 0 1 0 1)
|
|
46 |
model: selectionHolder
|
|
47 |
menu: menuHolder
|
|
48 |
hasHorizontalScrollBar: true
|
|
49 |
hasVerticalScrollBar: true
|
|
50 |
listModel: listHolder
|
|
51 |
useIndex: false
|
|
52 |
highlightMode: line
|
|
53 |
)
|
|
54 |
)
|
|
55 |
|
|
56 |
)
|
|
57 |
)
|
|
58 |
! !
|
|
59 |
|
|
60 |
!MCBrowserList class methodsFor:'plugIn spec'!
|
|
61 |
|
|
62 |
aspectSelectors
|
|
63 |
"This resource specification was automatically generated
|
|
64 |
by the UIPainter of ST/X."
|
|
65 |
|
|
66 |
"Do not manually edit this. If it is corrupted,
|
|
67 |
the UIPainter may not be able to read the specification."
|
|
68 |
|
|
69 |
"Return a description of exported aspects;
|
|
70 |
these can be connected to aspects of an embedding application
|
|
71 |
(if this app is embedded in a subCanvas)."
|
|
72 |
|
|
73 |
^ #(
|
|
74 |
#inGeneratorHolder
|
|
75 |
#outGeneratorHolder
|
|
76 |
#menuHolder
|
|
77 |
#selectionHolder
|
|
78 |
).
|
|
79 |
|
|
80 |
"Modified: / 17-09-2010 / 11:37:30 / Jan Vrany <jan.vrany@fit.cvut.cz>"
|
|
81 |
! !
|
|
82 |
|
962
|
83 |
!MCBrowserList class methodsFor:'queries'!
|
|
84 |
|
|
85 |
isAbstract
|
|
86 |
^ self == MCBrowserList
|
|
87 |
! !
|
|
88 |
|
186
|
89 |
!MCBrowserList methodsFor:'aspects'!
|
|
90 |
|
|
91 |
listHolder
|
|
92 |
"return/create the 'listHolder' value holder (automatically generated)"
|
|
93 |
|
|
94 |
listHolder isNil ifTrue:[
|
|
95 |
listHolder := ValueHolder new.
|
|
96 |
].
|
|
97 |
^ listHolder
|
|
98 |
! !
|
|
99 |
|
|
100 |
!MCBrowserList methodsFor:'queries'!
|
|
101 |
|
|
102 |
supportsSearch
|
|
103 |
|
|
104 |
^false
|
|
105 |
|
|
106 |
"Created: / 04-08-2011 / 19:04:11 / Jan Vrany <jan.vrany@fit.cvut.cz>"
|
|
107 |
! !
|
|
108 |
|
|
109 |
!MCBrowserList class methodsFor:'documentation'!
|
|
110 |
|
329
|
111 |
version
|
962
|
112 |
^ '$Header: /cvs/stx/stx/goodies/monticello/MCBrowserList.st,v 1.5 2015-02-01 14:14:45 cg Exp $'
|
329
|
113 |
!
|
|
114 |
|
186
|
115 |
version_CVS
|
962
|
116 |
^ '$Header: /cvs/stx/stx/goodies/monticello/MCBrowserList.st,v 1.5 2015-02-01 14:14:45 cg Exp $'
|
186
|
117 |
!
|
|
118 |
|
|
119 |
version_SVN
|
962
|
120 |
^ '$Id: MCBrowserList.st,v 1.5 2015-02-01 14:14:45 cg Exp $'
|
186
|
121 |
! !
|
962
|
122 |
|