5591
|
1 |
"
|
|
2 |
COPYRIGHT (c) 2000 by eXept Software AG
|
|
3 |
All Rights Reserved
|
|
4 |
|
|
5 |
This software is furnished under a license and may be used
|
|
6 |
only in accordance with the terms of that license and with the
|
|
7 |
inclusion of the above copyright notice. This software may not
|
|
8 |
be provided or otherwise made available to, or used by, any
|
|
9 |
other person. No title to or ownership of the software is
|
|
10 |
hereby transferred.
|
|
11 |
"
|
5592
|
12 |
"{ Package: 'stx:libtool' }"
|
5591
|
13 |
|
|
14 |
"{ NameSpace: Tools }"
|
|
15 |
|
|
16 |
ApplicationModel subclass:#NavigatorModel
|
|
17 |
instanceVariableNames:''
|
8695
|
18 |
classVariableNames:'AllEntry SuperSendEntry UncommentedEntry'
|
5591
|
19 |
poolDictionaries:''
|
|
20 |
category:'Interface-Browsers-New'
|
|
21 |
!
|
|
22 |
|
|
23 |
!NavigatorModel class methodsFor:'documentation'!
|
|
24 |
|
|
25 |
copyright
|
|
26 |
"
|
|
27 |
COPYRIGHT (c) 2000 by eXept Software AG
|
|
28 |
All Rights Reserved
|
|
29 |
|
|
30 |
This software is furnished under a license and may be used
|
|
31 |
only in accordance with the terms of that license and with the
|
|
32 |
inclusion of the above copyright notice. This software may not
|
|
33 |
be provided or otherwise made available to, or used by, any
|
|
34 |
other person. No title to or ownership of the software is
|
|
35 |
hereby transferred.
|
|
36 |
"
|
|
37 |
! !
|
|
38 |
|
|
39 |
!NavigatorModel class methodsFor:'initialization'!
|
|
40 |
|
|
41 |
initialize
|
8695
|
42 |
AllEntry := '* all *'.
|
|
43 |
SuperSendEntry := '* super *'.
|
|
44 |
UncommentedEntry := '* uncommented *'.
|
5591
|
45 |
|
|
46 |
"Created: / 24.2.2000 / 13:41:29 / cg"
|
|
47 |
! !
|
|
48 |
|
|
49 |
!NavigatorModel class methodsFor:'defaults'!
|
|
50 |
|
7058
|
51 |
markForBeingInChangeList
|
|
52 |
^ ' *'
|
|
53 |
|
|
54 |
"Created: / 29-08-2006 / 10:26:05 / cg"
|
|
55 |
!
|
|
56 |
|
5591
|
57 |
nameListEntryForALL
|
|
58 |
^ AllEntry ? '* all *'
|
|
59 |
|
|
60 |
"Created: / 24.2.2000 / 13:39:10 / cg"
|
|
61 |
"Modified: / 25.2.2000 / 21:18:30 / cg"
|
|
62 |
!
|
|
63 |
|
|
64 |
nameListEntryForNILCategory
|
|
65 |
^ '* no category *'
|
|
66 |
!
|
|
67 |
|
|
68 |
nameListEntryForNonStatic
|
|
69 |
^ '* instance *'
|
|
70 |
!
|
|
71 |
|
8719
|
72 |
nameListEntryForObsolete
|
|
73 |
^ '* obsolete *'
|
|
74 |
!
|
|
75 |
|
5591
|
76 |
nameListEntryForStatic
|
|
77 |
^ '* static *'
|
8695
|
78 |
!
|
|
79 |
|
|
80 |
nameListEntryForSuperSend
|
|
81 |
^ SuperSendEntry ? '* super *'
|
|
82 |
!
|
|
83 |
|
|
84 |
nameListEntryForUncommented
|
|
85 |
^ UncommentedEntry ? '* uncommented *'
|
5591
|
86 |
! !
|
|
87 |
|
|
88 |
!NavigatorModel class methodsFor:'interface specs'!
|
|
89 |
|
|
90 |
metaSpec
|
|
91 |
"This resource specification was automatically generated
|
|
92 |
by the UIPainter of ST/X."
|
|
93 |
|
|
94 |
"Do not manually edit this!! If it is corrupted,
|
|
95 |
the UIPainter may not be able to read the specification."
|
|
96 |
|
|
97 |
"
|
7488
|
98 |
UIPainter new openOnClass:Tools::NavigatorModel andSelector:#metaSpec
|
|
99 |
Tools::NavigatorModel new openInterface:#metaSpec
|
5591
|
100 |
"
|
|
101 |
|
|
102 |
<resource: #canvas>
|
|
103 |
|
|
104 |
^
|
7488
|
105 |
#(FullSpec
|
|
106 |
name: metaSpec
|
|
107 |
window:
|
|
108 |
(WindowSpec
|
|
109 |
label: 'MetaToggles'
|
|
110 |
name: 'MetaToggles'
|
|
111 |
min: (Point 0 0)
|
|
112 |
max: (Point 1024 721)
|
|
113 |
bounds: (Rectangle 0 0 300 28)
|
|
114 |
)
|
|
115 |
component:
|
|
116 |
(SpecCollection
|
|
117 |
collection: (
|
|
118 |
(RadioButtonSpec
|
|
119 |
label: 'Instance'
|
|
120 |
name: 'InstanceToggle'
|
|
121 |
layout: (LayoutFrame 0 0.0 0 0.0 0 0.5 25 0)
|
|
122 |
translateLabel: true
|
|
123 |
tabable: true
|
|
124 |
model: notMetaToggle
|
|
125 |
isTriggerOnDown: true
|
|
126 |
select: true
|
|
127 |
isToggle: true
|
|
128 |
)
|
|
129 |
(RadioButtonSpec
|
|
130 |
label: 'Class'
|
|
131 |
name: 'ClassToggle'
|
|
132 |
layout: (LayoutFrame 0 0.5 0 0 0 1.0 25 0)
|
|
133 |
translateLabel: true
|
|
134 |
labelChannel: metaToggleLabelHolder
|
|
135 |
tabable: false
|
|
136 |
model: metaToggle
|
|
137 |
isTriggerOnDown: true
|
|
138 |
select: true
|
|
139 |
isToggle: true
|
|
140 |
)
|
|
141 |
)
|
5591
|
142 |
|
7488
|
143 |
)
|
5591
|
144 |
)
|
|
145 |
! !
|
|
146 |
|
|
147 |
!NavigatorModel class methodsFor:'misc'!
|
|
148 |
|
|
149 |
classResources
|
|
150 |
^ NewSystemBrowser classResources
|
|
151 |
! !
|
|
152 |
|
|
153 |
!NavigatorModel methodsFor:'misc'!
|
|
154 |
|
|
155 |
resources
|
|
156 |
|m|
|
|
157 |
|
|
158 |
(m := self masterApplication) notNil ifTrue:[
|
|
159 |
^ m resources
|
|
160 |
].
|
|
161 |
^ super resources
|
|
162 |
! !
|
|
163 |
|
|
164 |
!NavigatorModel class methodsFor:'documentation'!
|
|
165 |
|
|
166 |
version
|
8719
|
167 |
^ '$Header: /cvs/stx/stx/libtool/Tools_NavigatorModel.st,v 1.6 2009-09-17 12:03:13 cg Exp $'
|
5591
|
168 |
! !
|
|
169 |
|
|
170 |
NavigatorModel initialize!
|