6507
|
1 |
"
|
|
2 |
COPYRIGHT (c) 2006 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 |
|
|
13 |
"{ Package: 'stx:libtool' }"
|
|
14 |
|
|
15 |
SmalltalkInspectorView subclass:#ClassVariablesInspectorView
|
|
16 |
instanceVariableNames:''
|
|
17 |
classVariableNames:''
|
|
18 |
poolDictionaries:''
|
|
19 |
category:'Interface-Inspector'
|
|
20 |
!
|
|
21 |
|
|
22 |
!ClassVariablesInspectorView class methodsFor:'documentation'!
|
|
23 |
|
|
24 |
copyright
|
|
25 |
"
|
|
26 |
COPYRIGHT (c) 2006 by eXept Software AG
|
|
27 |
All Rights Reserved
|
|
28 |
|
|
29 |
This software is furnished under a license and may be used
|
|
30 |
only in accordance with the terms of that license and with the
|
|
31 |
inclusion of the above copyright notice. This software may not
|
|
32 |
be provided or otherwise made available to, or used by, any
|
|
33 |
other person. No title to or ownership of the software is
|
|
34 |
hereby transferred.
|
|
35 |
"
|
|
36 |
!
|
|
37 |
|
|
38 |
documentation
|
|
39 |
"
|
|
40 |
same as a smalltalk inspector - separate subclass to allow for a different menu,
|
|
41 |
and filtering classVars.
|
|
42 |
|
|
43 |
[author:]
|
|
44 |
Claus Gittinger
|
|
45 |
"
|
|
46 |
! !
|
|
47 |
|
6509
|
48 |
!ClassVariablesInspectorView methodsFor:'private'!
|
|
49 |
|
|
50 |
indexList
|
|
51 |
"redefined to only show class variables"
|
|
52 |
|
|
53 |
keys := OrderedCollection new.
|
|
54 |
inspectedObject keysDo:[:k |
|
|
55 |
(Smalltalk keyIsClassVariableNameKey:k) ifTrue:[
|
|
56 |
keys add:k
|
|
57 |
]
|
|
58 |
].
|
|
59 |
keys := keys asSortedCollection:[:a :b | a displayString < b displayString].
|
|
60 |
^ keys
|
|
61 |
! !
|
|
62 |
|
6507
|
63 |
!ClassVariablesInspectorView class methodsFor:'documentation'!
|
|
64 |
|
|
65 |
version
|
6509
|
66 |
^ '$Header: /cvs/stx/stx/libtool/ClassVariablesInspectorView.st,v 1.2 2006-01-30 18:17:56 cg Exp $'
|
6507
|
67 |
! !
|