extensions.st
changeset 18167 97f8391ddca3
parent 18160 3739b4556f30
child 18195 963edd8d8cab
equal deleted inserted replaced
18166:20d62f930706 18167:97f8391ddca3
  2321         priority: 20;
  2321         priority: 20;
  2322         view: ((HVScrollableView for:GnuplotGraphView) data:self; yourself)
  2322         view: ((HVScrollableView for:GnuplotGraphView) data:self; yourself)
  2323 
  2323 
  2324     "
  2324     "
  2325      ((RandomGenerator new) next:100 integerBetween:10 and:90) inspect
  2325      ((RandomGenerator new) next:100 integerBetween:10 and:90) inspect
  2326     "
  2326      #(10 20 30 40 10 20 30 40) inspect
       
  2327     "
       
  2328 
       
  2329     "Modified (comment): / 31-05-2018 / 11:29:21 / Claus Gittinger"
  2327 ! !
  2330 ! !
  2328 
  2331 
  2329 !SequenceableCollection methodsFor:'inspecting'!
  2332 !SequenceableCollection methodsFor:'inspecting'!
  2330 
  2333 
  2331 inspector2Tabs
  2334 inspector2Tabs
  2335 
  2338 
  2336     tabs := super inspector2Tabs.
  2339     tabs := super inspector2Tabs.
  2337     self isExternalBytes ifFalse:[
  2340     self isExternalBytes ifFalse:[
  2338         self isString ifFalse:[
  2341         self isString ifFalse:[
  2339             self notEmpty ifTrue:[
  2342             self notEmpty ifTrue:[
  2340                 (self conform:#isNumber) ifTrue:[
  2343                 ((self conform:#isNumber) 
       
  2344                 or:[(self conform:#isTimeDuration)
       
  2345                 or:[(self conform:#isTimestamp)]]) ifTrue:[
  2341                     tabs := tabs copyWith:#inspector2TabGraph
  2346                     tabs := tabs copyWith:#inspector2TabGraph
  2342                 ]
  2347                 ]
  2343             ]
  2348             ]
  2344         ]
  2349         ]
  2345     ].
  2350     ].
  2346     ^ tabs
  2351     ^ tabs
       
  2352 
       
  2353     "
       
  2354      #(10 20 30 40 10 20 30 40) inspect
       
  2355     "
       
  2356 
       
  2357     "Modified (comment): / 31-05-2018 / 11:26:33 / Claus Gittinger"
  2347 ! !
  2358 ! !
  2348 
  2359 
  2349 !Set methodsFor:'misc ui support'!
  2360 !Set methodsFor:'misc ui support'!
  2350 
  2361 
  2351 inspectorClass
  2362 inspectorClass