ClassInspectorView.st
author Claus Gittinger <cg@exept.de>
Wed, 07 Jul 1999 02:26:33 +0200
changeset 2236 257f587ad7dc
parent 165 df29ee4514c1
child 2271 0cf238543cb1
permissions -rw-r--r--
migrate instvars 'inspectedObject' to 'object' and 'selectedLine' to 'selectionIndex'

"
 COPYRIGHT (c) 1994 by Claus Gittinger
              All Rights Reserved

 This software is furnished under a license and may be used
 only in accordance with the terms of that license and with the
 inclusion of the above copyright notice.   This software may not
 be provided or otherwise made available to, or used by, any
 other person.  No title to or ownership of the software is
 hereby transferred.
"



InspectorView subclass:#ClassInspectorView
	instanceVariableNames:''
	classVariableNames:''
	poolDictionaries:''
	category:'Interface-Inspector'
!

!ClassInspectorView class methodsFor:'documentation'!

copyright
"
 COPYRIGHT (c) 1994 by Claus Gittinger
              All Rights Reserved

 This software is furnished under a license and may be used
 only in accordance with the terms of that license and with the
 inclusion of the above copyright notice.   This software may not
 be provided or otherwise made available to, or used by, any
 other person.  No title to or ownership of the software is
 hereby transferred.
"


! !

!ClassInspectorView methodsFor:'accessing'!

listOfNames
    "return a list of names to show in the selectionList"

    |aList|

    aList := super listOfNames.

    "/
    "/ add class variables
    "/
    inspectedObject class withAllSuperclasses reverse do:[:aClass |
	|varNames|

	varNames := aClass classVarNames.
	varNames notEmpty ifTrue:[
	    aList add:'--- classvariables from ' , aClass name , ' ---'.
	    varNames do:[:classVarName |
		aList add:classVarName
	    ]
	]
    ].
    ^ aList
! !

!ClassInspectorView methodsFor:'documentation'!

copyright
"
 COPYRIGHT (c) 1994 by Claus Gittinger
	      All Rights Reserved

 This software is furnished under a license and may be used
 only in accordance with the terms of that license and with the
 inclusion of the above copyright notice.   This software may not
 be provided or otherwise made available to, or used by, any
 other person.  No title to or ownership of the software is
 hereby transferred.
"
!

documentation
"
    modified Inspector for Classes; in addition to instance variables,
    also shows ClassVariables in its left SelectionList.
"
!

version
    ^ '$Header: /cvs/stx/stx/libtool/ClassInspectorView.st,v 1.7 1999-07-07 00:25:16 cg Exp $'
! !

!ClassInspectorView class methodsFor:'documentation'!

version
    ^ '$Header: /cvs/stx/stx/libtool/ClassInspectorView.st,v 1.7 1999-07-07 00:25:16 cg Exp $'


! !