Behavior.st
branchjv
changeset 18919 dbe023989a90
parent 18907 77e711d30041
parent 18910 815f8cba1f42
child 19227 5e949760a4e8
equal deleted inserted replaced
18907:77e711d30041 18919:dbe023989a90
       
     1 "{ Encoding: utf8 }"
       
     2 
     1 "
     3 "
     2  COPYRIGHT (c) 1988 by Claus Gittinger
     4  COPYRIGHT (c) 1988 by Claus Gittinger
     3 	      All Rights Reserved
     5 	      All Rights Reserved
     4 
     6 
     5  This software is furnished under a license and may be used
     7  This software is furnished under a license and may be used
    21 !
    23 !
    22 
    24 
    23 !Behavior class methodsFor:'documentation'!
    25 !Behavior class methodsFor:'documentation'!
    24 
    26 
    25 VS
    27 VS
    26     ^ '§Header: /cvs/stx/stx/libbasic/Behavior.st,v 1.315 2011/11/29 10:20:21 cg Exp §'
    28     ^ '§Header: /cvs/stx/stx/libbasic/Behavior.st,v 1.315 2011/11/29 10:20:21 cg Exp §'
    27 !
    29 !
    28 
    30 
    29 copyright
    31 copyright
    30 "
    32 "
    31  COPYRIGHT (c) 1988 by Claus Gittinger
    33  COPYRIGHT (c) 1988 by Claus Gittinger
  3155 ! !
  3157 ! !
  3156 
  3158 
  3157 !Behavior methodsFor:'misc ui support'!
  3159 !Behavior methodsFor:'misc ui support'!
  3158 
  3160 
  3159 browse
  3161 browse
  3160     "open a browser showing the receiver"
  3162     "open a browser showing the receiver. Returns the browser"
  3161 
  3163 
  3162     self browserClass openInClass:self
  3164     ^ self browserClass openInClass:self
  3163 
  3165 
  3164     "
  3166     "
  3165      Array browserClass
  3167      Array browserClass
  3166      Array browse
  3168      Array browse
  3167     "
  3169     "
  3168 !
  3170 !
  3169 
  3171 
  3170 browse:selector
  3172 browse:selector
  3171     "open a browser showing the receiver"
  3173     "open a browser showing the receiver.
  3172 
  3174      Returns the browser"
  3173     self browserClass openInClass:self selector:selector
  3175 
       
  3176     ^ self browserClass openInClass:self selector:selector
  3174 
  3177 
  3175     "
  3178     "
  3176      Array browse:#at:put:
  3179      Array browse:#at:put:
  3177     "
  3180     "
  3178 !
  3181 !
  3572 
  3575 
  3573     "Created: / 06-08-2006 / 15:23:32 / cg"
  3576     "Created: / 06-08-2006 / 15:23:32 / cg"
  3574 !
  3577 !
  3575 
  3578 
  3576 isAbstract
  3579 isAbstract
       
  3580     "true if this is an abstract class 
       
  3581      (has no direct instances, should not be instantiated).
       
  3582      Usually, this means that it only provides shared protocol for its
       
  3583      subclasses, which should be used."
       
  3584     
  3577     ^ false
  3585     ^ false
  3578 !
  3586 !
  3579 
  3587 
  3580 isBehavior
  3588 isBehavior
  3581     "return true, if the receiver is describing another object's behavior.
  3589     "return true, if the receiver is describing another object's behavior.
  3633 
  3641 
  3634 isStartableWithStart
  3642 isStartableWithStart
  3635     ^ false
  3643     ^ false
  3636 
  3644 
  3637     "Created: / 06-08-2006 / 15:23:57 / cg"
  3645     "Created: / 06-08-2006 / 15:23:57 / cg"
       
  3646 !
       
  3647 
       
  3648 isUtilityClass
       
  3649     "a utility class is one which is not to be instantiated,
       
  3650      but only provides a number of utility functions on the class side.
       
  3651      It is usually also abstract"
       
  3652      
       
  3653     ^ false
  3638 !
  3654 !
  3639 
  3655 
  3640 isVisualStartable
  3656 isVisualStartable
  3641     ^ false
  3657     ^ false
  3642 
  3658