Workspace.st
changeset 125 3ffa271732f7
parent 123 25ab7ade4d3a
child 131 208fa92f434d
equal deleted inserted replaced
124:7abd3a234296 125:3ffa271732f7
    21 
    21 
    22 Workspace comment:'
    22 Workspace comment:'
    23 COPYRIGHT (c) 1989 by Claus Gittinger
    23 COPYRIGHT (c) 1989 by Claus Gittinger
    24 	     All Rights Reserved
    24 	     All Rights Reserved
    25 
    25 
    26 $Header: /cvs/stx/stx/libwidg/Workspace.st,v 1.21 1995-05-07 01:58:55 claus Exp $
    26 $Header: /cvs/stx/stx/libwidg/Workspace.st,v 1.22 1995-05-09 01:57:12 claus Exp $
    27 '!
    27 '!
    28 
    28 
    29 !Workspace class methodsFor:'documentation'!
    29 !Workspace class methodsFor:'documentation'!
    30 
    30 
    31 copyright
    31 copyright
    42 "
    42 "
    43 !
    43 !
    44 
    44 
    45 version
    45 version
    46 "
    46 "
    47 $Header: /cvs/stx/stx/libwidg/Workspace.st,v 1.21 1995-05-07 01:58:55 claus Exp $
    47 $Header: /cvs/stx/stx/libwidg/Workspace.st,v 1.22 1995-05-09 01:57:12 claus Exp $
    48 "
    48 "
    49 !
    49 !
    50 
    50 
    51 documentation
    51 documentation
    52 "
    52 "
    53     a view for editable text which can evaluate expressions.
    53     a view for editable text which can evaluate expressions.
    54     I.e. its basically a view for editable text, with added
    54     I.e. its basically a view for editable text, with added
    55     'doIt', 'printIt' and 'inspectIt' functions on the popup-menu.
    55     'doIt', 'printIt' and 'inspectIt' functions on the popup-menu.
       
    56 
    56     The action to be performed on doIt is defined by a block,
    57     The action to be performed on doIt is defined by a block,
    57     which can be defined by the owner of this view.
    58     which can be defined by the owner of this view.
    58     (thus you can put a workspace into more complex widgets, and
    59     (thus you can put a workspace into more complex widgets, and
    59      control what should happen on 'doIt').
    60      control what should happen on 'doIt').
    60 
    61 
    61     A useful default action is setup, which simply evaluates the
    62     A useful default action is setup, which simply evaluates the
    62     selection as a smalltalk expression. (but, a lisp or prolog
    63     selection as a smalltalk expression. 
    63     view could define its own action ...)
    64     (but, a lisp or prolog view could define its own action ...)
    64 
    65 
    65 
    66 
    66     Caveat:
    67     Caveat:
    67 	in this version, Workspace does not yet support doIt in MVC setups.
    68 	in this version, Workspace does not yet support doIt in MVC setups.
    68 	For now, simulate this by setting the doItAction, to notify the
    69 	For now, simulate this by setting the doItAction, to notify the