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