ClassVariablesInspectorView.st
author Jan Vrany <jan.vrany@fit.cvut.cz>
Wed, 04 Sep 2013 11:33:19 +0100
branchjv
changeset 13491 b3afe831ff0a
parent 12650 e0f607754b9a
child 15950 23be8cf85415
permissions -rw-r--r--
Merged 81d796e3295c and 5dbbc9379782 (branch default - CVS HEAD)
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
6507
a3081301426e initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
     1
"
a3081301426e initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
     2
 COPYRIGHT (c) 2006 by eXept Software AG
a3081301426e initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
     3
              All Rights Reserved
a3081301426e initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
     4
a3081301426e initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
     5
 This software is furnished under a license and may be used
a3081301426e initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
     6
 only in accordance with the terms of that license and with the
a3081301426e initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
     7
 inclusion of the above copyright notice.   This software may not
a3081301426e initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
     8
 be provided or otherwise made available to, or used by, any
a3081301426e initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
     9
 other person.  No title to or ownership of the software is
a3081301426e initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    10
 hereby transferred.
a3081301426e initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    11
"
a3081301426e initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    12
"{ Package: 'stx:libtool' }"
a3081301426e initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    13
a3081301426e initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    14
SmalltalkInspectorView subclass:#ClassVariablesInspectorView
a3081301426e initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    15
	instanceVariableNames:''
a3081301426e initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    16
	classVariableNames:''
a3081301426e initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    17
	poolDictionaries:''
a3081301426e initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    18
	category:'Interface-Inspector'
a3081301426e initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    19
!
a3081301426e initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    20
a3081301426e initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    21
!ClassVariablesInspectorView class methodsFor:'documentation'!
a3081301426e initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    22
a3081301426e initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    23
copyright
a3081301426e initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    24
"
a3081301426e initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    25
 COPYRIGHT (c) 2006 by eXept Software AG
a3081301426e initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    26
              All Rights Reserved
a3081301426e initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    27
a3081301426e initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    28
 This software is furnished under a license and may be used
a3081301426e initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    29
 only in accordance with the terms of that license and with the
a3081301426e initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    30
 inclusion of the above copyright notice.   This software may not
a3081301426e initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    31
 be provided or otherwise made available to, or used by, any
a3081301426e initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    32
 other person.  No title to or ownership of the software is
a3081301426e initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    33
 hereby transferred.
a3081301426e initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    34
"
a3081301426e initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    35
!
a3081301426e initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    36
a3081301426e initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    37
documentation
a3081301426e initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    38
"
a3081301426e initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    39
    same as a smalltalk inspector - separate subclass to allow for a different menu,
a3081301426e initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    40
    and filtering classVars.
a3081301426e initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    41
a3081301426e initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    42
    [author:]
a3081301426e initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    43
        Claus Gittinger
a3081301426e initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    44
"
a3081301426e initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    45
! !
a3081301426e initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    46
6509
bcaae26df254 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6507
diff changeset
    47
!ClassVariablesInspectorView methodsFor:'private'!
bcaae26df254 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6507
diff changeset
    48
bcaae26df254 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6507
diff changeset
    49
indexList
bcaae26df254 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6507
diff changeset
    50
    "redefined to only show class variables"
bcaae26df254 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6507
diff changeset
    51
bcaae26df254 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6507
diff changeset
    52
    keys := OrderedCollection new.
bcaae26df254 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6507
diff changeset
    53
    inspectedObject keysDo:[:k |
bcaae26df254 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6507
diff changeset
    54
                                (Smalltalk keyIsClassVariableNameKey:k) ifTrue:[
bcaae26df254 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6507
diff changeset
    55
                                    keys add:k
bcaae26df254 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6507
diff changeset
    56
                                ]
bcaae26df254 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6507
diff changeset
    57
                           ].
bcaae26df254 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6507
diff changeset
    58
    keys := keys asSortedCollection:[:a :b | a displayString < b displayString].
bcaae26df254 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6507
diff changeset
    59
    ^ keys
bcaae26df254 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6507
diff changeset
    60
! !
bcaae26df254 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6507
diff changeset
    61
6507
a3081301426e initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    62
!ClassVariablesInspectorView class methodsFor:'documentation'!
a3081301426e initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    63
a3081301426e initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    64
version
12125
0c49a3b13e43 Merged with /trunk
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12123
diff changeset
    65
    ^ '$Header: /cvs/stx/stx/libtool/ClassVariablesInspectorView.st,v 1.2 2006/01/30 18:17:56 cg Exp $'
12650
e0f607754b9a Merged 18d06283743d and ff31bac2fd1b (branch default - CVS HEAD)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12125
diff changeset
    66
!
e0f607754b9a Merged 18d06283743d and ff31bac2fd1b (branch default - CVS HEAD)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12125
diff changeset
    67
e0f607754b9a Merged 18d06283743d and ff31bac2fd1b (branch default - CVS HEAD)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12125
diff changeset
    68
version_HG
e0f607754b9a Merged 18d06283743d and ff31bac2fd1b (branch default - CVS HEAD)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12125
diff changeset
    69
e0f607754b9a Merged 18d06283743d and ff31bac2fd1b (branch default - CVS HEAD)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12125
diff changeset
    70
    ^ '$Changeset: <not expanded> $'
12125
0c49a3b13e43 Merged with /trunk
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12123
diff changeset
    71
! !
12650
e0f607754b9a Merged 18d06283743d and ff31bac2fd1b (branch default - CVS HEAD)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 12125
diff changeset
    72