InspectorList.st
author tz
Fri, 30 Jan 1998 15:04:16 +0100
changeset 534 25e349c437d2
parent 327 0040d47658c6
child 809 6f127dd5e578
permissions -rw-r--r--
info clock removed
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
33
eeb1fd7f92aa intitial checkin
ca
parents:
diff changeset
     1
"{ NameSpace: NewInspector }"
eeb1fd7f92aa intitial checkin
ca
parents:
diff changeset
     2
eeb1fd7f92aa intitial checkin
ca
parents:
diff changeset
     3
Object subclass:#InspectorList
eeb1fd7f92aa intitial checkin
ca
parents:
diff changeset
     4
	instanceVariableNames:'inspectedObject instanceNames instanceTypes selection'
eeb1fd7f92aa intitial checkin
ca
parents:
diff changeset
     5
	classVariableNames:''
eeb1fd7f92aa intitial checkin
ca
parents:
diff changeset
     6
	poolDictionaries:''
eeb1fd7f92aa intitial checkin
ca
parents:
diff changeset
     7
	category:'Inspector'
eeb1fd7f92aa intitial checkin
ca
parents:
diff changeset
     8
!
eeb1fd7f92aa intitial checkin
ca
parents:
diff changeset
     9
eeb1fd7f92aa intitial checkin
ca
parents:
diff changeset
    10
eeb1fd7f92aa intitial checkin
ca
parents:
diff changeset
    11
!InspectorList class methodsFor:'instance creation'!
eeb1fd7f92aa intitial checkin
ca
parents:
diff changeset
    12
eeb1fd7f92aa intitial checkin
ca
parents:
diff changeset
    13
for:anObject
eeb1fd7f92aa intitial checkin
ca
parents:
diff changeset
    14
    "create a new list for an instance
eeb1fd7f92aa intitial checkin
ca
parents:
diff changeset
    15
    "
38
7b75ce74d9e1 checkin from browser
ca
parents: 33
diff changeset
    16
    ^ self new inspect:anObject
7b75ce74d9e1 checkin from browser
ca
parents: 33
diff changeset
    17
7b75ce74d9e1 checkin from browser
ca
parents: 33
diff changeset
    18
7b75ce74d9e1 checkin from browser
ca
parents: 33
diff changeset
    19
!
7b75ce74d9e1 checkin from browser
ca
parents: 33
diff changeset
    20
7b75ce74d9e1 checkin from browser
ca
parents: 33
diff changeset
    21
new
7b75ce74d9e1 checkin from browser
ca
parents: 33
diff changeset
    22
    "create a new instance and set the inspected object to nil
7b75ce74d9e1 checkin from browser
ca
parents: 33
diff changeset
    23
    "
7b75ce74d9e1 checkin from browser
ca
parents: 33
diff changeset
    24
    ^ self basicNew initialize.
7b75ce74d9e1 checkin from browser
ca
parents: 33
diff changeset
    25
7b75ce74d9e1 checkin from browser
ca
parents: 33
diff changeset
    26
! !
7b75ce74d9e1 checkin from browser
ca
parents: 33
diff changeset
    27
7b75ce74d9e1 checkin from browser
ca
parents: 33
diff changeset
    28
!InspectorList class methodsFor:'helpers'!
7b75ce74d9e1 checkin from browser
ca
parents: 33
diff changeset
    29
7b75ce74d9e1 checkin from browser
ca
parents: 33
diff changeset
    30
asString:aCollection
7b75ce74d9e1 checkin from browser
ca
parents: 33
diff changeset
    31
    "converts any collection to a string seperated by spaces. If
7b75ce74d9e1 checkin from browser
ca
parents: 33
diff changeset
    32
     the collection is empty or nil, nil is returned otherwise a
7b75ce74d9e1 checkin from browser
ca
parents: 33
diff changeset
    33
     string.
7b75ce74d9e1 checkin from browser
ca
parents: 33
diff changeset
    34
    "
7b75ce74d9e1 checkin from browser
ca
parents: 33
diff changeset
    35
    |string|
7b75ce74d9e1 checkin from browser
ca
parents: 33
diff changeset
    36
7b75ce74d9e1 checkin from browser
ca
parents: 33
diff changeset
    37
    aCollection isCollection ifTrue:[
7b75ce74d9e1 checkin from browser
ca
parents: 33
diff changeset
    38
        aCollection isString ifTrue:[
7b75ce74d9e1 checkin from browser
ca
parents: 33
diff changeset
    39
            string := aCollection
7b75ce74d9e1 checkin from browser
ca
parents: 33
diff changeset
    40
        ] ifFalse:[
7b75ce74d9e1 checkin from browser
ca
parents: 33
diff changeset
    41
            string := aCollection asStringWith:Character space
7b75ce74d9e1 checkin from browser
ca
parents: 33
diff changeset
    42
                                          from:1 to:(aCollection size)
7b75ce74d9e1 checkin from browser
ca
parents: 33
diff changeset
    43
                                  compressTabs:true 
7b75ce74d9e1 checkin from browser
ca
parents: 33
diff changeset
    44
                                         final:nil
7b75ce74d9e1 checkin from browser
ca
parents: 33
diff changeset
    45
        ].
7b75ce74d9e1 checkin from browser
ca
parents: 33
diff changeset
    46
        string := string withoutSeparators.
7b75ce74d9e1 checkin from browser
ca
parents: 33
diff changeset
    47
7b75ce74d9e1 checkin from browser
ca
parents: 33
diff changeset
    48
        string notEmpty ifTrue:[
7b75ce74d9e1 checkin from browser
ca
parents: 33
diff changeset
    49
            ^ string
7b75ce74d9e1 checkin from browser
ca
parents: 33
diff changeset
    50
        ]
7b75ce74d9e1 checkin from browser
ca
parents: 33
diff changeset
    51
    ].
7b75ce74d9e1 checkin from browser
ca
parents: 33
diff changeset
    52
    ^ nil
33
eeb1fd7f92aa intitial checkin
ca
parents:
diff changeset
    53
eeb1fd7f92aa intitial checkin
ca
parents:
diff changeset
    54
eeb1fd7f92aa intitial checkin
ca
parents:
diff changeset
    55
! !
eeb1fd7f92aa intitial checkin
ca
parents:
diff changeset
    56
eeb1fd7f92aa intitial checkin
ca
parents:
diff changeset
    57
!InspectorList class methodsFor:'testing'!
eeb1fd7f92aa intitial checkin
ca
parents:
diff changeset
    58
eeb1fd7f92aa intitial checkin
ca
parents:
diff changeset
    59
isDirectory:anInstance
38
7b75ce74d9e1 checkin from browser
ca
parents: 33
diff changeset
    60
    "returns true if the instance is a directory
33
eeb1fd7f92aa intitial checkin
ca
parents:
diff changeset
    61
    "
eeb1fd7f92aa intitial checkin
ca
parents:
diff changeset
    62
    |cls|
eeb1fd7f92aa intitial checkin
ca
parents:
diff changeset
    63
eeb1fd7f92aa intitial checkin
ca
parents:
diff changeset
    64
    anInstance notNil ifTrue:[
eeb1fd7f92aa intitial checkin
ca
parents:
diff changeset
    65
        cls := anInstance class.
eeb1fd7f92aa intitial checkin
ca
parents:
diff changeset
    66
eeb1fd7f92aa intitial checkin
ca
parents:
diff changeset
    67
        cls == Character  ifTrue:[ ^ false ].
eeb1fd7f92aa intitial checkin
ca
parents:
diff changeset
    68
        cls == Symbol     ifTrue:[ ^ false ].
eeb1fd7f92aa intitial checkin
ca
parents:
diff changeset
    69
        cls == String     ifTrue:[ ^ false ].
eeb1fd7f92aa intitial checkin
ca
parents:
diff changeset
    70
eeb1fd7f92aa intitial checkin
ca
parents:
diff changeset
    71
        cls allInstVarNames notEmpty ifTrue:[
eeb1fd7f92aa intitial checkin
ca
parents:
diff changeset
    72
            ^ true
eeb1fd7f92aa intitial checkin
ca
parents:
diff changeset
    73
        ].
eeb1fd7f92aa intitial checkin
ca
parents:
diff changeset
    74
eeb1fd7f92aa intitial checkin
ca
parents:
diff changeset
    75
        anInstance isVariable ifTrue:[
eeb1fd7f92aa intitial checkin
ca
parents:
diff changeset
    76
            ^ true
eeb1fd7f92aa intitial checkin
ca
parents:
diff changeset
    77
        ].
eeb1fd7f92aa intitial checkin
ca
parents:
diff changeset
    78
    ].
eeb1fd7f92aa intitial checkin
ca
parents:
diff changeset
    79
    ^ false
eeb1fd7f92aa intitial checkin
ca
parents:
diff changeset
    80
eeb1fd7f92aa intitial checkin
ca
parents:
diff changeset
    81
38
7b75ce74d9e1 checkin from browser
ca
parents: 33
diff changeset
    82
!
7b75ce74d9e1 checkin from browser
ca
parents: 33
diff changeset
    83
7b75ce74d9e1 checkin from browser
ca
parents: 33
diff changeset
    84
isTraceable:anInstance
7b75ce74d9e1 checkin from browser
ca
parents: 33
diff changeset
    85
    "returns true if the instance could be traced or traped
7b75ce74d9e1 checkin from browser
ca
parents: 33
diff changeset
    86
    "
7b75ce74d9e1 checkin from browser
ca
parents: 33
diff changeset
    87
    |cls|
7b75ce74d9e1 checkin from browser
ca
parents: 33
diff changeset
    88
7b75ce74d9e1 checkin from browser
ca
parents: 33
diff changeset
    89
    anInstance notNil ifTrue:[
7b75ce74d9e1 checkin from browser
ca
parents: 33
diff changeset
    90
        cls := anInstance class.
7b75ce74d9e1 checkin from browser
ca
parents: 33
diff changeset
    91
7b75ce74d9e1 checkin from browser
ca
parents: 33
diff changeset
    92
      ^ (     cls ~~ True
7b75ce74d9e1 checkin from browser
ca
parents: 33
diff changeset
    93
         and:[cls ~~ False
7b75ce74d9e1 checkin from browser
ca
parents: 33
diff changeset
    94
         and:[cls ~~ SmallInteger]]
7b75ce74d9e1 checkin from browser
ca
parents: 33
diff changeset
    95
        )
7b75ce74d9e1 checkin from browser
ca
parents: 33
diff changeset
    96
    ].
7b75ce74d9e1 checkin from browser
ca
parents: 33
diff changeset
    97
    ^ false.
7b75ce74d9e1 checkin from browser
ca
parents: 33
diff changeset
    98
33
eeb1fd7f92aa intitial checkin
ca
parents:
diff changeset
    99
! !
eeb1fd7f92aa intitial checkin
ca
parents:
diff changeset
   100
eeb1fd7f92aa intitial checkin
ca
parents:
diff changeset
   101
!InspectorList methodsFor:'accessing'!
eeb1fd7f92aa intitial checkin
ca
parents:
diff changeset
   102
eeb1fd7f92aa intitial checkin
ca
parents:
diff changeset
   103
includesSelf:aBoolean
eeb1fd7f92aa intitial checkin
ca
parents:
diff changeset
   104
    "includes 'self' dependant on the boolean
eeb1fd7f92aa intitial checkin
ca
parents:
diff changeset
   105
    "
eeb1fd7f92aa intitial checkin
ca
parents:
diff changeset
   106
    (self includesSelf) ~~ aBoolean ifTrue:[
eeb1fd7f92aa intitial checkin
ca
parents:
diff changeset
   107
        aBoolean ifTrue:[
eeb1fd7f92aa intitial checkin
ca
parents:
diff changeset
   108
            instanceNames addFirst:'self'.
eeb1fd7f92aa intitial checkin
ca
parents:
diff changeset
   109
            instanceTypes addFirst:#self.
eeb1fd7f92aa intitial checkin
ca
parents:
diff changeset
   110
38
7b75ce74d9e1 checkin from browser
ca
parents: 33
diff changeset
   111
            selection notNil ifTrue:[selection := selection + 1]
7b75ce74d9e1 checkin from browser
ca
parents: 33
diff changeset
   112
                            ifFalse:[selection := 1]
7b75ce74d9e1 checkin from browser
ca
parents: 33
diff changeset
   113
33
eeb1fd7f92aa intitial checkin
ca
parents:
diff changeset
   114
        ] ifFalse:[
eeb1fd7f92aa intitial checkin
ca
parents:
diff changeset
   115
            instanceNames removeFirst.
eeb1fd7f92aa intitial checkin
ca
parents:
diff changeset
   116
            instanceTypes removeFirst.
eeb1fd7f92aa intitial checkin
ca
parents:
diff changeset
   117
eeb1fd7f92aa intitial checkin
ca
parents:
diff changeset
   118
            selection isNil ifFalse:[
eeb1fd7f92aa intitial checkin
ca
parents:
diff changeset
   119
                (selection := selection - 1) == 0 ifTrue:[
eeb1fd7f92aa intitial checkin
ca
parents:
diff changeset
   120
                    selection := nil
eeb1fd7f92aa intitial checkin
ca
parents:
diff changeset
   121
                ]
eeb1fd7f92aa intitial checkin
ca
parents:
diff changeset
   122
            ]
eeb1fd7f92aa intitial checkin
ca
parents:
diff changeset
   123
        ]
eeb1fd7f92aa intitial checkin
ca
parents:
diff changeset
   124
    ]
eeb1fd7f92aa intitial checkin
ca
parents:
diff changeset
   125
eeb1fd7f92aa intitial checkin
ca
parents:
diff changeset
   126
eeb1fd7f92aa intitial checkin
ca
parents:
diff changeset
   127
!
eeb1fd7f92aa intitial checkin
ca
parents:
diff changeset
   128
38
7b75ce74d9e1 checkin from browser
ca
parents: 33
diff changeset
   129
list
7b75ce74d9e1 checkin from browser
ca
parents: 33
diff changeset
   130
    "returns self
7b75ce74d9e1 checkin from browser
ca
parents: 33
diff changeset
   131
    "
7b75ce74d9e1 checkin from browser
ca
parents: 33
diff changeset
   132
    ^ self
7b75ce74d9e1 checkin from browser
ca
parents: 33
diff changeset
   133
!
7b75ce74d9e1 checkin from browser
ca
parents: 33
diff changeset
   134
33
eeb1fd7f92aa intitial checkin
ca
parents:
diff changeset
   135
size
38
7b75ce74d9e1 checkin from browser
ca
parents: 33
diff changeset
   136
    "returns size of list
33
eeb1fd7f92aa intitial checkin
ca
parents:
diff changeset
   137
    "
eeb1fd7f92aa intitial checkin
ca
parents:
diff changeset
   138
    ^ instanceNames size
eeb1fd7f92aa intitial checkin
ca
parents:
diff changeset
   139
38
7b75ce74d9e1 checkin from browser
ca
parents: 33
diff changeset
   140
!
7b75ce74d9e1 checkin from browser
ca
parents: 33
diff changeset
   141
7b75ce74d9e1 checkin from browser
ca
parents: 33
diff changeset
   142
update
7b75ce74d9e1 checkin from browser
ca
parents: 33
diff changeset
   143
    "update list contents
7b75ce74d9e1 checkin from browser
ca
parents: 33
diff changeset
   144
    "
7b75ce74d9e1 checkin from browser
ca
parents: 33
diff changeset
   145
    |start stop size|
7b75ce74d9e1 checkin from browser
ca
parents: 33
diff changeset
   146
7b75ce74d9e1 checkin from browser
ca
parents: 33
diff changeset
   147
    inspectedObject isVariable ifTrue:[
7b75ce74d9e1 checkin from browser
ca
parents: 33
diff changeset
   148
        start := instanceNames findFirst:[:el|(el at:1) isDigit].
7b75ce74d9e1 checkin from browser
ca
parents: 33
diff changeset
   149
        stop  := instanceTypes size.
7b75ce74d9e1 checkin from browser
ca
parents: 33
diff changeset
   150
7b75ce74d9e1 checkin from browser
ca
parents: 33
diff changeset
   151
        start == 0 ifTrue:[
7b75ce74d9e1 checkin from browser
ca
parents: 33
diff changeset
   152
            size := stop + 10.  "must be > 1: force a resize the first time"   
7b75ce74d9e1 checkin from browser
ca
parents: 33
diff changeset
   153
        ] ifFalse:[
7b75ce74d9e1 checkin from browser
ca
parents: 33
diff changeset
   154
            instanceTypes last ~~ #grow ifTrue:[size := stop]
7b75ce74d9e1 checkin from browser
ca
parents: 33
diff changeset
   155
                                       ifFalse:[size := stop-1].
7b75ce74d9e1 checkin from browser
ca
parents: 33
diff changeset
   156
7b75ce74d9e1 checkin from browser
ca
parents: 33
diff changeset
   157
            instanceTypes removeFromIndex:start toIndex:stop.
7b75ce74d9e1 checkin from browser
ca
parents: 33
diff changeset
   158
            instanceNames removeFromIndex:start toIndex:stop.
7b75ce74d9e1 checkin from browser
ca
parents: 33
diff changeset
   159
        ].
7b75ce74d9e1 checkin from browser
ca
parents: 33
diff changeset
   160
        self resizeTo:size.
7b75ce74d9e1 checkin from browser
ca
parents: 33
diff changeset
   161
    ]
33
eeb1fd7f92aa intitial checkin
ca
parents:
diff changeset
   162
! !
eeb1fd7f92aa intitial checkin
ca
parents:
diff changeset
   163
eeb1fd7f92aa intitial checkin
ca
parents:
diff changeset
   164
!InspectorList methodsFor:'accessing contents'!
eeb1fd7f92aa intitial checkin
ca
parents:
diff changeset
   165
eeb1fd7f92aa intitial checkin
ca
parents:
diff changeset
   166
inspectedObject
eeb1fd7f92aa intitial checkin
ca
parents:
diff changeset
   167
    "returns current inspected object
eeb1fd7f92aa intitial checkin
ca
parents:
diff changeset
   168
    "
eeb1fd7f92aa intitial checkin
ca
parents:
diff changeset
   169
    ^ inspectedObject
eeb1fd7f92aa intitial checkin
ca
parents:
diff changeset
   170
eeb1fd7f92aa intitial checkin
ca
parents:
diff changeset
   171
eeb1fd7f92aa intitial checkin
ca
parents:
diff changeset
   172
!
eeb1fd7f92aa intitial checkin
ca
parents:
diff changeset
   173
eeb1fd7f92aa intitial checkin
ca
parents:
diff changeset
   174
instanceNames
eeb1fd7f92aa intitial checkin
ca
parents:
diff changeset
   175
    "returns list of instance names
eeb1fd7f92aa intitial checkin
ca
parents:
diff changeset
   176
    "
eeb1fd7f92aa intitial checkin
ca
parents:
diff changeset
   177
    ^ instanceNames
eeb1fd7f92aa intitial checkin
ca
parents:
diff changeset
   178
eeb1fd7f92aa intitial checkin
ca
parents:
diff changeset
   179
eeb1fd7f92aa intitial checkin
ca
parents:
diff changeset
   180
!
eeb1fd7f92aa intitial checkin
ca
parents:
diff changeset
   181
eeb1fd7f92aa intitial checkin
ca
parents:
diff changeset
   182
instanceTypeAt:anIndex
38
7b75ce74d9e1 checkin from browser
ca
parents: 33
diff changeset
   183
    "returns type assigned to the list entry (#directory #normal #self #grow)
7b75ce74d9e1 checkin from browser
ca
parents: 33
diff changeset
   184
     In case of an invalid index nil is returned.
33
eeb1fd7f92aa intitial checkin
ca
parents:
diff changeset
   185
    "
38
7b75ce74d9e1 checkin from browser
ca
parents: 33
diff changeset
   186
    (anIndex isNil or:[anIndex > instanceTypes size]) ifFalse:[^ instanceTypes at:anIndex]
7b75ce74d9e1 checkin from browser
ca
parents: 33
diff changeset
   187
                                                       ifTrue:[^ nil].
33
eeb1fd7f92aa intitial checkin
ca
parents:
diff changeset
   188
eeb1fd7f92aa intitial checkin
ca
parents:
diff changeset
   189
eeb1fd7f92aa intitial checkin
ca
parents:
diff changeset
   190
!
eeb1fd7f92aa intitial checkin
ca
parents:
diff changeset
   191
eeb1fd7f92aa intitial checkin
ca
parents:
diff changeset
   192
instanceTypes
38
7b75ce74d9e1 checkin from browser
ca
parents: 33
diff changeset
   193
    "returns list of types (#directory #normal #self #grow)
33
eeb1fd7f92aa intitial checkin
ca
parents:
diff changeset
   194
    "
eeb1fd7f92aa intitial checkin
ca
parents:
diff changeset
   195
    ^ instanceTypes
eeb1fd7f92aa intitial checkin
ca
parents:
diff changeset
   196
eeb1fd7f92aa intitial checkin
ca
parents:
diff changeset
   197
eeb1fd7f92aa intitial checkin
ca
parents:
diff changeset
   198
!
eeb1fd7f92aa intitial checkin
ca
parents:
diff changeset
   199
eeb1fd7f92aa intitial checkin
ca
parents:
diff changeset
   200
instanceVarAt:anIndex
38
7b75ce74d9e1 checkin from browser
ca
parents: 33
diff changeset
   201
    "returns the instnace variable assigned to the index or 
7b75ce74d9e1 checkin from browser
ca
parents: 33
diff changeset
   202
     nil in case of an invalid index.
33
eeb1fd7f92aa intitial checkin
ca
parents:
diff changeset
   203
    "
327
0040d47658c6 check - warnings eliminated. Fix in InspectorList.st
Claus Gittinger <cg@exept.de>
parents: 38
diff changeset
   204
    |nm|
33
eeb1fd7f92aa intitial checkin
ca
parents:
diff changeset
   205
38
7b75ce74d9e1 checkin from browser
ca
parents: 33
diff changeset
   206
    (anIndex isNil or:[anIndex > instanceTypes size]) ifFalse:[
33
eeb1fd7f92aa intitial checkin
ca
parents:
diff changeset
   207
        nm := instanceNames at:anIndex.
eeb1fd7f92aa intitial checkin
ca
parents:
diff changeset
   208
eeb1fd7f92aa intitial checkin
ca
parents:
diff changeset
   209
        (nm at:1) isDigit ifFalse:[
eeb1fd7f92aa intitial checkin
ca
parents:
diff changeset
   210
            self includesSelf ifFalse:[
eeb1fd7f92aa intitial checkin
ca
parents:
diff changeset
   211
                ^ inspectedObject instVarAt:anIndex
eeb1fd7f92aa intitial checkin
ca
parents:
diff changeset
   212
            ].
eeb1fd7f92aa intitial checkin
ca
parents:
diff changeset
   213
            anIndex == 1 ifFalse:[^ inspectedObject instVarAt:(anIndex-1)]
eeb1fd7f92aa intitial checkin
ca
parents:
diff changeset
   214
                          ifTrue:[^ inspectedObject]
eeb1fd7f92aa intitial checkin
ca
parents:
diff changeset
   215
        ].
eeb1fd7f92aa intitial checkin
ca
parents:
diff changeset
   216
      ^ inspectedObject basicAt:(Number readFrom:nm onError:0)
eeb1fd7f92aa intitial checkin
ca
parents:
diff changeset
   217
    ].
eeb1fd7f92aa intitial checkin
ca
parents:
diff changeset
   218
    ^ nil
eeb1fd7f92aa intitial checkin
ca
parents:
diff changeset
   219
eeb1fd7f92aa intitial checkin
ca
parents:
diff changeset
   220
eeb1fd7f92aa intitial checkin
ca
parents:
diff changeset
   221
! !
eeb1fd7f92aa intitial checkin
ca
parents:
diff changeset
   222
eeb1fd7f92aa intitial checkin
ca
parents:
diff changeset
   223
!InspectorList methodsFor:'initialization'!
eeb1fd7f92aa intitial checkin
ca
parents:
diff changeset
   224
38
7b75ce74d9e1 checkin from browser
ca
parents: 33
diff changeset
   225
initialize
7b75ce74d9e1 checkin from browser
ca
parents: 33
diff changeset
   226
    "initialize instance attributes
33
eeb1fd7f92aa intitial checkin
ca
parents:
diff changeset
   227
    "
38
7b75ce74d9e1 checkin from browser
ca
parents: 33
diff changeset
   228
    super initialize.
33
eeb1fd7f92aa intitial checkin
ca
parents:
diff changeset
   229
38
7b75ce74d9e1 checkin from browser
ca
parents: 33
diff changeset
   230
    instanceNames := OrderedCollection new.
7b75ce74d9e1 checkin from browser
ca
parents: 33
diff changeset
   231
    instanceTypes := OrderedCollection new.
7b75ce74d9e1 checkin from browser
ca
parents: 33
diff changeset
   232
33
eeb1fd7f92aa intitial checkin
ca
parents:
diff changeset
   233
! !
eeb1fd7f92aa intitial checkin
ca
parents:
diff changeset
   234
eeb1fd7f92aa intitial checkin
ca
parents:
diff changeset
   235
!InspectorList methodsFor:'private'!
eeb1fd7f92aa intitial checkin
ca
parents:
diff changeset
   236
38
7b75ce74d9e1 checkin from browser
ca
parents: 33
diff changeset
   237
resizeTo:aNumber
7b75ce74d9e1 checkin from browser
ca
parents: 33
diff changeset
   238
    "resize list to minimum aNumber
33
eeb1fd7f92aa intitial checkin
ca
parents:
diff changeset
   239
    "
38
7b75ce74d9e1 checkin from browser
ca
parents: 33
diff changeset
   240
    |lstVarId basicSize newLastId obj instSize|
33
eeb1fd7f92aa intitial checkin
ca
parents:
diff changeset
   241
eeb1fd7f92aa intitial checkin
ca
parents:
diff changeset
   242
    (inspectedObject isVariable and:[self class isDirectory:inspectedObject]) ifFalse:[
eeb1fd7f92aa intitial checkin
ca
parents:
diff changeset
   243
        ^ self
eeb1fd7f92aa intitial checkin
ca
parents:
diff changeset
   244
    ].
eeb1fd7f92aa intitial checkin
ca
parents:
diff changeset
   245
38
7b75ce74d9e1 checkin from browser
ca
parents: 33
diff changeset
   246
    instanceTypes size == 0 ifTrue:[
7b75ce74d9e1 checkin from browser
ca
parents: 33
diff changeset
   247
        lstVarId := 0
7b75ce74d9e1 checkin from browser
ca
parents: 33
diff changeset
   248
    ] ifFalse:[
7b75ce74d9e1 checkin from browser
ca
parents: 33
diff changeset
   249
        instSize := inspectedObject class instSize.
33
eeb1fd7f92aa intitial checkin
ca
parents:
diff changeset
   250
38
7b75ce74d9e1 checkin from browser
ca
parents: 33
diff changeset
   251
        instanceTypes first == #self ifTrue:[
7b75ce74d9e1 checkin from browser
ca
parents: 33
diff changeset
   252
            instSize := instSize + 1
7b75ce74d9e1 checkin from browser
ca
parents: 33
diff changeset
   253
        ].
33
eeb1fd7f92aa intitial checkin
ca
parents:
diff changeset
   254
        instanceTypes last == #grow ifTrue:[
eeb1fd7f92aa intitial checkin
ca
parents:
diff changeset
   255
            instanceNames removeLast.       " ..    "
eeb1fd7f92aa intitial checkin
ca
parents:
diff changeset
   256
            instanceTypes removeLast.       " #grow "
38
7b75ce74d9e1 checkin from browser
ca
parents: 33
diff changeset
   257
        ].
7b75ce74d9e1 checkin from browser
ca
parents: 33
diff changeset
   258
        lstVarId := instanceTypes size - instSize.
7b75ce74d9e1 checkin from browser
ca
parents: 33
diff changeset
   259
    ].
7b75ce74d9e1 checkin from browser
ca
parents: 33
diff changeset
   260
7b75ce74d9e1 checkin from browser
ca
parents: 33
diff changeset
   261
    (basicSize := inspectedObject basicSize) == lstVarId ifTrue:[
7b75ce74d9e1 checkin from browser
ca
parents: 33
diff changeset
   262
        ^ self
7b75ce74d9e1 checkin from browser
ca
parents: 33
diff changeset
   263
    ].
7b75ce74d9e1 checkin from browser
ca
parents: 33
diff changeset
   264
    newLastId := (1 bitShift:((aNumber-1) highBit)) max:128.
7b75ce74d9e1 checkin from browser
ca
parents: 33
diff changeset
   265
7b75ce74d9e1 checkin from browser
ca
parents: 33
diff changeset
   266
    (newLastId + 64) > basicSize ifTrue:[
7b75ce74d9e1 checkin from browser
ca
parents: 33
diff changeset
   267
        newLastId := basicSize
33
eeb1fd7f92aa intitial checkin
ca
parents:
diff changeset
   268
    ].
eeb1fd7f92aa intitial checkin
ca
parents:
diff changeset
   269
eeb1fd7f92aa intitial checkin
ca
parents:
diff changeset
   270
    [lstVarId ~~ newLastId] whileTrue:[
eeb1fd7f92aa intitial checkin
ca
parents:
diff changeset
   271
        lstVarId := lstVarId + 1.
eeb1fd7f92aa intitial checkin
ca
parents:
diff changeset
   272
        obj := inspectedObject basicAt:lstVarId.
eeb1fd7f92aa intitial checkin
ca
parents:
diff changeset
   273
eeb1fd7f92aa intitial checkin
ca
parents:
diff changeset
   274
        (self class isDirectory:obj) ifTrue:[instanceTypes add:#directory]
eeb1fd7f92aa intitial checkin
ca
parents:
diff changeset
   275
                                    ifFalse:[instanceTypes add:#normal].
eeb1fd7f92aa intitial checkin
ca
parents:
diff changeset
   276
eeb1fd7f92aa intitial checkin
ca
parents:
diff changeset
   277
        instanceNames add:(lstVarId printString, '   ', obj class name printString).
eeb1fd7f92aa intitial checkin
ca
parents:
diff changeset
   278
    ].
eeb1fd7f92aa intitial checkin
ca
parents:
diff changeset
   279
eeb1fd7f92aa intitial checkin
ca
parents:
diff changeset
   280
    lstVarId ~~ basicSize ifTrue:[
eeb1fd7f92aa intitial checkin
ca
parents:
diff changeset
   281
        instanceNames add:'..'.
eeb1fd7f92aa intitial checkin
ca
parents:
diff changeset
   282
        instanceTypes add:#grow
eeb1fd7f92aa intitial checkin
ca
parents:
diff changeset
   283
    ].
eeb1fd7f92aa intitial checkin
ca
parents:
diff changeset
   284
! !
eeb1fd7f92aa intitial checkin
ca
parents:
diff changeset
   285
eeb1fd7f92aa intitial checkin
ca
parents:
diff changeset
   286
!InspectorList methodsFor:'selections'!
eeb1fd7f92aa intitial checkin
ca
parents:
diff changeset
   287
eeb1fd7f92aa intitial checkin
ca
parents:
diff changeset
   288
selectedInstanceType
38
7b75ce74d9e1 checkin from browser
ca
parents: 33
diff changeset
   289
    "returns type assigned to the selected list entry (#directory #normal #self #grow).
7b75ce74d9e1 checkin from browser
ca
parents: 33
diff changeset
   290
     In case of no selection nil is returned.
33
eeb1fd7f92aa intitial checkin
ca
parents:
diff changeset
   291
    "
eeb1fd7f92aa intitial checkin
ca
parents:
diff changeset
   292
    ^ self instanceTypeAt:selection
eeb1fd7f92aa intitial checkin
ca
parents:
diff changeset
   293
eeb1fd7f92aa intitial checkin
ca
parents:
diff changeset
   294
eeb1fd7f92aa intitial checkin
ca
parents:
diff changeset
   295
!
eeb1fd7f92aa intitial checkin
ca
parents:
diff changeset
   296
eeb1fd7f92aa intitial checkin
ca
parents:
diff changeset
   297
selectedInstanceVar
eeb1fd7f92aa intitial checkin
ca
parents:
diff changeset
   298
    "returns current inspected instance variable or nil
eeb1fd7f92aa intitial checkin
ca
parents:
diff changeset
   299
    "
eeb1fd7f92aa intitial checkin
ca
parents:
diff changeset
   300
    ^ self instanceVarAt:selection
eeb1fd7f92aa intitial checkin
ca
parents:
diff changeset
   301
eeb1fd7f92aa intitial checkin
ca
parents:
diff changeset
   302
eeb1fd7f92aa intitial checkin
ca
parents:
diff changeset
   303
!
eeb1fd7f92aa intitial checkin
ca
parents:
diff changeset
   304
eeb1fd7f92aa intitial checkin
ca
parents:
diff changeset
   305
selection
eeb1fd7f92aa intitial checkin
ca
parents:
diff changeset
   306
    "returns current selection number or nil
eeb1fd7f92aa intitial checkin
ca
parents:
diff changeset
   307
    "
eeb1fd7f92aa intitial checkin
ca
parents:
diff changeset
   308
    ^ selection
eeb1fd7f92aa intitial checkin
ca
parents:
diff changeset
   309
eeb1fd7f92aa intitial checkin
ca
parents:
diff changeset
   310
eeb1fd7f92aa intitial checkin
ca
parents:
diff changeset
   311
!
eeb1fd7f92aa intitial checkin
ca
parents:
diff changeset
   312
38
7b75ce74d9e1 checkin from browser
ca
parents: 33
diff changeset
   313
setSelection:aNrOrNil
7b75ce74d9e1 checkin from browser
ca
parents: 33
diff changeset
   314
    "change current selection to a number or nil; may resize the lists
7b75ce74d9e1 checkin from browser
ca
parents: 33
diff changeset
   315
    "
7b75ce74d9e1 checkin from browser
ca
parents: 33
diff changeset
   316
    selection := aNrOrNil.
7b75ce74d9e1 checkin from browser
ca
parents: 33
diff changeset
   317
7b75ce74d9e1 checkin from browser
ca
parents: 33
diff changeset
   318
    (selection isNil or:[instanceTypes size > selection]) ifFalse:[
7b75ce74d9e1 checkin from browser
ca
parents: 33
diff changeset
   319
        self resizeTo:selection.
7b75ce74d9e1 checkin from browser
ca
parents: 33
diff changeset
   320
7b75ce74d9e1 checkin from browser
ca
parents: 33
diff changeset
   321
        selection > instanceTypes size ifTrue:[
7b75ce74d9e1 checkin from browser
ca
parents: 33
diff changeset
   322
            selection := nil
7b75ce74d9e1 checkin from browser
ca
parents: 33
diff changeset
   323
        ]
7b75ce74d9e1 checkin from browser
ca
parents: 33
diff changeset
   324
    ]    
7b75ce74d9e1 checkin from browser
ca
parents: 33
diff changeset
   325
! !
7b75ce74d9e1 checkin from browser
ca
parents: 33
diff changeset
   326
7b75ce74d9e1 checkin from browser
ca
parents: 33
diff changeset
   327
!InspectorList methodsFor:'testing'!
7b75ce74d9e1 checkin from browser
ca
parents: 33
diff changeset
   328
7b75ce74d9e1 checkin from browser
ca
parents: 33
diff changeset
   329
includesSelf
7b75ce74d9e1 checkin from browser
ca
parents: 33
diff changeset
   330
    "returns true if 'self' is included in the list
7b75ce74d9e1 checkin from browser
ca
parents: 33
diff changeset
   331
    "
7b75ce74d9e1 checkin from browser
ca
parents: 33
diff changeset
   332
    ^ (instanceTypes notEmpty and:[instanceTypes first == #self])
7b75ce74d9e1 checkin from browser
ca
parents: 33
diff changeset
   333
7b75ce74d9e1 checkin from browser
ca
parents: 33
diff changeset
   334
7b75ce74d9e1 checkin from browser
ca
parents: 33
diff changeset
   335
!
7b75ce74d9e1 checkin from browser
ca
parents: 33
diff changeset
   336
7b75ce74d9e1 checkin from browser
ca
parents: 33
diff changeset
   337
isEmpty
7b75ce74d9e1 checkin from browser
ca
parents: 33
diff changeset
   338
    "returns true if the list is empty
33
eeb1fd7f92aa intitial checkin
ca
parents:
diff changeset
   339
    "
38
7b75ce74d9e1 checkin from browser
ca
parents: 33
diff changeset
   340
    ^ instanceNames isEmpty
7b75ce74d9e1 checkin from browser
ca
parents: 33
diff changeset
   341
7b75ce74d9e1 checkin from browser
ca
parents: 33
diff changeset
   342
!
7b75ce74d9e1 checkin from browser
ca
parents: 33
diff changeset
   343
7b75ce74d9e1 checkin from browser
ca
parents: 33
diff changeset
   344
notEmpty
7b75ce74d9e1 checkin from browser
ca
parents: 33
diff changeset
   345
    "returns true if the list is not empty
7b75ce74d9e1 checkin from browser
ca
parents: 33
diff changeset
   346
    "
7b75ce74d9e1 checkin from browser
ca
parents: 33
diff changeset
   347
    ^ instanceNames notEmpty
7b75ce74d9e1 checkin from browser
ca
parents: 33
diff changeset
   348
7b75ce74d9e1 checkin from browser
ca
parents: 33
diff changeset
   349
! !
7b75ce74d9e1 checkin from browser
ca
parents: 33
diff changeset
   350
7b75ce74d9e1 checkin from browser
ca
parents: 33
diff changeset
   351
!InspectorList methodsFor:'user interaction'!
7b75ce74d9e1 checkin from browser
ca
parents: 33
diff changeset
   352
7b75ce74d9e1 checkin from browser
ca
parents: 33
diff changeset
   353
accept:aText notifying:aView
7b75ce74d9e1 checkin from browser
ca
parents: 33
diff changeset
   354
    "evaluating aText on the selected instance var; if an error occurs #Error
7b75ce74d9e1 checkin from browser
ca
parents: 33
diff changeset
   355
     is returned otherwise the inspected object instance. On success the list
7b75ce74d9e1 checkin from browser
ca
parents: 33
diff changeset
   356
     will be updated.
7b75ce74d9e1 checkin from browser
ca
parents: 33
diff changeset
   357
    "
7b75ce74d9e1 checkin from browser
ca
parents: 33
diff changeset
   358
    |text slNr value|
7b75ce74d9e1 checkin from browser
ca
parents: 33
diff changeset
   359
7b75ce74d9e1 checkin from browser
ca
parents: 33
diff changeset
   360
    selection notNil ifTrue:[
7b75ce74d9e1 checkin from browser
ca
parents: 33
diff changeset
   361
        text := self class asString:aText.
7b75ce74d9e1 checkin from browser
ca
parents: 33
diff changeset
   362
7b75ce74d9e1 checkin from browser
ca
parents: 33
diff changeset
   363
        text notNil ifTrue:[
7b75ce74d9e1 checkin from browser
ca
parents: 33
diff changeset
   364
            self includesSelf ifFalse:[slNr := selection]
7b75ce74d9e1 checkin from browser
ca
parents: 33
diff changeset
   365
                               ifTrue:[slNr := selection-1].
7b75ce74d9e1 checkin from browser
ca
parents: 33
diff changeset
   366
7b75ce74d9e1 checkin from browser
ca
parents: 33
diff changeset
   367
            value := inspectedObject class evaluatorClass 
7b75ce74d9e1 checkin from browser
ca
parents: 33
diff changeset
   368
                       evaluate:text
7b75ce74d9e1 checkin from browser
ca
parents: 33
diff changeset
   369
                       receiver:inspectedObject 
7b75ce74d9e1 checkin from browser
ca
parents: 33
diff changeset
   370
                      notifying:aView.
33
eeb1fd7f92aa intitial checkin
ca
parents:
diff changeset
   371
38
7b75ce74d9e1 checkin from browser
ca
parents: 33
diff changeset
   372
            slNr ~~ 0 ifTrue:[
7b75ce74d9e1 checkin from browser
ca
parents: 33
diff changeset
   373
                (inspectedObject class isVariable) ifFalse:[
7b75ce74d9e1 checkin from browser
ca
parents: 33
diff changeset
   374
                    inspectedObject instVarAt:slNr put:value
7b75ce74d9e1 checkin from browser
ca
parents: 33
diff changeset
   375
                ] ifTrue:[
7b75ce74d9e1 checkin from browser
ca
parents: 33
diff changeset
   376
                    slNr <= (inspectedObject class instSize) ifTrue:[
7b75ce74d9e1 checkin from browser
ca
parents: 33
diff changeset
   377
                        inspectedObject instVarAt:slNr put:value
7b75ce74d9e1 checkin from browser
ca
parents: 33
diff changeset
   378
                    ] ifFalse:[
7b75ce74d9e1 checkin from browser
ca
parents: 33
diff changeset
   379
                        slNr := slNr - inspectedObject class instSize.
7b75ce74d9e1 checkin from browser
ca
parents: 33
diff changeset
   380
                        inspectedObject basicAt:slNr put:value
7b75ce74d9e1 checkin from browser
ca
parents: 33
diff changeset
   381
                    ]
7b75ce74d9e1 checkin from browser
ca
parents: 33
diff changeset
   382
                ]
7b75ce74d9e1 checkin from browser
ca
parents: 33
diff changeset
   383
            ].
7b75ce74d9e1 checkin from browser
ca
parents: 33
diff changeset
   384
            inspectedObject changed.
7b75ce74d9e1 checkin from browser
ca
parents: 33
diff changeset
   385
            self update.
7b75ce74d9e1 checkin from browser
ca
parents: 33
diff changeset
   386
          ^ inspectedObject
7b75ce74d9e1 checkin from browser
ca
parents: 33
diff changeset
   387
        ]
7b75ce74d9e1 checkin from browser
ca
parents: 33
diff changeset
   388
    ].
7b75ce74d9e1 checkin from browser
ca
parents: 33
diff changeset
   389
    ^ #Error
7b75ce74d9e1 checkin from browser
ca
parents: 33
diff changeset
   390
!
7b75ce74d9e1 checkin from browser
ca
parents: 33
diff changeset
   391
7b75ce74d9e1 checkin from browser
ca
parents: 33
diff changeset
   392
doIt:aCode notifying:aView
7b75ce74d9e1 checkin from browser
ca
parents: 33
diff changeset
   393
    "evaluating aCode on the selected instance var; if an error occurs #Error
7b75ce74d9e1 checkin from browser
ca
parents: 33
diff changeset
   394
     is returned otherwise the result returned from the evaluator. On success
7b75ce74d9e1 checkin from browser
ca
parents: 33
diff changeset
   395
     the list will be updated.
7b75ce74d9e1 checkin from browser
ca
parents: 33
diff changeset
   396
    "
7b75ce74d9e1 checkin from browser
ca
parents: 33
diff changeset
   397
    |successFg result evaluator selInstVar code|
7b75ce74d9e1 checkin from browser
ca
parents: 33
diff changeset
   398
7b75ce74d9e1 checkin from browser
ca
parents: 33
diff changeset
   399
    selInstVar := self selectedInstanceVar.
7b75ce74d9e1 checkin from browser
ca
parents: 33
diff changeset
   400
7b75ce74d9e1 checkin from browser
ca
parents: 33
diff changeset
   401
    selInstVar notNil ifTrue:[
7b75ce74d9e1 checkin from browser
ca
parents: 33
diff changeset
   402
        code := self class asString:aCode.
7b75ce74d9e1 checkin from browser
ca
parents: 33
diff changeset
   403
7b75ce74d9e1 checkin from browser
ca
parents: 33
diff changeset
   404
        code notNil ifTrue:[
7b75ce74d9e1 checkin from browser
ca
parents: 33
diff changeset
   405
            evaluator := selInstVar class evaluatorClass.
7b75ce74d9e1 checkin from browser
ca
parents: 33
diff changeset
   406
            successFg := true.
33
eeb1fd7f92aa intitial checkin
ca
parents:
diff changeset
   407
38
7b75ce74d9e1 checkin from browser
ca
parents: 33
diff changeset
   408
            evaluator notNil ifTrue:[
7b75ce74d9e1 checkin from browser
ca
parents: 33
diff changeset
   409
                result := evaluator evaluate:code 
7b75ce74d9e1 checkin from browser
ca
parents: 33
diff changeset
   410
                                          in:nil 
7b75ce74d9e1 checkin from browser
ca
parents: 33
diff changeset
   411
                                    receiver:selInstVar 
7b75ce74d9e1 checkin from browser
ca
parents: 33
diff changeset
   412
                                   notifying:aView 
7b75ce74d9e1 checkin from browser
ca
parents: 33
diff changeset
   413
                                      logged:true 
7b75ce74d9e1 checkin from browser
ca
parents: 33
diff changeset
   414
                                      ifFail:[successFg := false].
7b75ce74d9e1 checkin from browser
ca
parents: 33
diff changeset
   415
7b75ce74d9e1 checkin from browser
ca
parents: 33
diff changeset
   416
                successFg ifTrue:[
7b75ce74d9e1 checkin from browser
ca
parents: 33
diff changeset
   417
                    self update. 
7b75ce74d9e1 checkin from browser
ca
parents: 33
diff changeset
   418
                  ^ result 
7b75ce74d9e1 checkin from browser
ca
parents: 33
diff changeset
   419
                ]
33
eeb1fd7f92aa intitial checkin
ca
parents:
diff changeset
   420
            ]
38
7b75ce74d9e1 checkin from browser
ca
parents: 33
diff changeset
   421
        ]
7b75ce74d9e1 checkin from browser
ca
parents: 33
diff changeset
   422
    ].
7b75ce74d9e1 checkin from browser
ca
parents: 33
diff changeset
   423
    ^ #Error.
7b75ce74d9e1 checkin from browser
ca
parents: 33
diff changeset
   424
7b75ce74d9e1 checkin from browser
ca
parents: 33
diff changeset
   425
7b75ce74d9e1 checkin from browser
ca
parents: 33
diff changeset
   426
!
7b75ce74d9e1 checkin from browser
ca
parents: 33
diff changeset
   427
7b75ce74d9e1 checkin from browser
ca
parents: 33
diff changeset
   428
inspect:anObject
7b75ce74d9e1 checkin from browser
ca
parents: 33
diff changeset
   429
    "inspect a new instance; update contents
7b75ce74d9e1 checkin from browser
ca
parents: 33
diff changeset
   430
    "
7b75ce74d9e1 checkin from browser
ca
parents: 33
diff changeset
   431
    |varNamesSize|
7b75ce74d9e1 checkin from browser
ca
parents: 33
diff changeset
   432
7b75ce74d9e1 checkin from browser
ca
parents: 33
diff changeset
   433
    selection := nil.
7b75ce74d9e1 checkin from browser
ca
parents: 33
diff changeset
   434
7b75ce74d9e1 checkin from browser
ca
parents: 33
diff changeset
   435
    anObject == inspectedObject ifFalse:[
7b75ce74d9e1 checkin from browser
ca
parents: 33
diff changeset
   436
        inspectedObject := anObject.
33
eeb1fd7f92aa intitial checkin
ca
parents:
diff changeset
   437
38
7b75ce74d9e1 checkin from browser
ca
parents: 33
diff changeset
   438
        (self class isDirectory:inspectedObject) ifFalse:[
7b75ce74d9e1 checkin from browser
ca
parents: 33
diff changeset
   439
            instanceNames := OrderedCollection new.
7b75ce74d9e1 checkin from browser
ca
parents: 33
diff changeset
   440
            instanceTypes := OrderedCollection new.
7b75ce74d9e1 checkin from browser
ca
parents: 33
diff changeset
   441
        ] ifTrue:[    
7b75ce74d9e1 checkin from browser
ca
parents: 33
diff changeset
   442
            instanceNames := inspectedObject class allInstVarNames.
7b75ce74d9e1 checkin from browser
ca
parents: 33
diff changeset
   443
            varNamesSize  := instanceNames size.
7b75ce74d9e1 checkin from browser
ca
parents: 33
diff changeset
   444
            instanceTypes := OrderedCollection new:varNamesSize.
7b75ce74d9e1 checkin from browser
ca
parents: 33
diff changeset
   445
7b75ce74d9e1 checkin from browser
ca
parents: 33
diff changeset
   446
            1 to:varNamesSize do:[:i|
7b75ce74d9e1 checkin from browser
ca
parents: 33
diff changeset
   447
                (self class isDirectory:(inspectedObject instVarAt:i)) ifTrue:[
7b75ce74d9e1 checkin from browser
ca
parents: 33
diff changeset
   448
                    instanceTypes add:#directory
7b75ce74d9e1 checkin from browser
ca
parents: 33
diff changeset
   449
                ] ifFalse:[
7b75ce74d9e1 checkin from browser
ca
parents: 33
diff changeset
   450
                    instanceTypes add:#normal
7b75ce74d9e1 checkin from browser
ca
parents: 33
diff changeset
   451
                ]
7b75ce74d9e1 checkin from browser
ca
parents: 33
diff changeset
   452
            ].
7b75ce74d9e1 checkin from browser
ca
parents: 33
diff changeset
   453
        ]
7b75ce74d9e1 checkin from browser
ca
parents: 33
diff changeset
   454
    ].
7b75ce74d9e1 checkin from browser
ca
parents: 33
diff changeset
   455
    self update
33
eeb1fd7f92aa intitial checkin
ca
parents:
diff changeset
   456
! !
eeb1fd7f92aa intitial checkin
ca
parents:
diff changeset
   457
eeb1fd7f92aa intitial checkin
ca
parents:
diff changeset
   458
!InspectorList class methodsFor:'documentation'!
eeb1fd7f92aa intitial checkin
ca
parents:
diff changeset
   459
eeb1fd7f92aa intitial checkin
ca
parents:
diff changeset
   460
version
eeb1fd7f92aa intitial checkin
ca
parents:
diff changeset
   461
    ^ '$Header$'
eeb1fd7f92aa intitial checkin
ca
parents:
diff changeset
   462
! !