SmalltalkInspectorView.st
author Claus Gittinger <cg@exept.de>
Wed, 05 Jun 2019 14:16:59 +0200
changeset 18805 f6df57c6dbfb
parent 9377 0f4ac22d542c
child 12123 4bde08cebd48
permissions -rw-r--r--
#BUGFIX by cg class: AbstractFileBrowser changed: #currentFileNameHolder endless loop if file not present.
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
DictionaryInspectorView subclass:#SmalltalkInspectorView
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
!SmalltalkInspectorView 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 dictionary inspector - separate subclass to allow for a different menu.
a3081301426e initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    40
a3081301426e initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    41
    [author:]
a3081301426e initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    42
        Claus Gittinger
a3081301426e initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    43
"
a3081301426e initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    44
! !
a3081301426e initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    45
8404
d44520bb049b *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6509
diff changeset
    46
!SmalltalkInspectorView methodsFor:'initialization & release'!
d44520bb049b *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6509
diff changeset
    47
d44520bb049b *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6509
diff changeset
    48
initialize
d44520bb049b *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6509
diff changeset
    49
    super initialize.
d44520bb049b *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6509
diff changeset
    50
d44520bb049b *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6509
diff changeset
    51
    hideNilValues := true.
d44520bb049b *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6509
diff changeset
    52
! !
d44520bb049b *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6509
diff changeset
    53
6509
bcaae26df254 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6507
diff changeset
    54
!SmalltalkInspectorView methodsFor:'private'!
bcaae26df254 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6507
diff changeset
    55
bcaae26df254 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6507
diff changeset
    56
indexList
bcaae26df254 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6507
diff changeset
    57
    "redefined to not show class variables"
bcaae26df254 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6507
diff changeset
    58
8404
d44520bb049b *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6509
diff changeset
    59
^ super indexList.
d44520bb049b *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6509
diff changeset
    60
"/    keys := OrderedCollection new.
d44520bb049b *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6509
diff changeset
    61
"/    inspectedObject keysDo:[:k |
d44520bb049b *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6509
diff changeset
    62
"/                                (Smalltalk keyIsClassVariableNameKey:k) ifFalse:[
d44520bb049b *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6509
diff changeset
    63
"/                                    keys add:k
d44520bb049b *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6509
diff changeset
    64
"/                                ]
d44520bb049b *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6509
diff changeset
    65
"/                           ].
d44520bb049b *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6509
diff changeset
    66
"/    keys := keys asSortedCollection:[:a :b | a displayString < b displayString].
d44520bb049b *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6509
diff changeset
    67
"/    ^ keys
6509
bcaae26df254 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6507
diff changeset
    68
! !
bcaae26df254 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6507
diff changeset
    69
6507
a3081301426e initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    70
!SmalltalkInspectorView class methodsFor:'documentation'!
a3081301426e initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    71
a3081301426e initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    72
version
9377
0f4ac22d542c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8404
diff changeset
    73
    ^ '$Header: /cvs/stx/stx/libtool/SmalltalkInspectorView.st,v 1.4 2010-03-03 11:16:38 cg Exp $'
0f4ac22d542c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8404
diff changeset
    74
!
0f4ac22d542c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8404
diff changeset
    75
0f4ac22d542c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8404
diff changeset
    76
version_CVS
0f4ac22d542c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8404
diff changeset
    77
    ^ '$Header: /cvs/stx/stx/libtool/SmalltalkInspectorView.st,v 1.4 2010-03-03 11:16:38 cg Exp $'
6507
a3081301426e initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    78
! !