TopView.st
author Claus Gittinger <cg@exept.de>
Sat, 25 May 1996 12:10:02 +0200
changeset 712 7d1330ebc4b8
parent 658 ce56170b3fb1
child 761 34d17118452a
permissions -rw-r--r--
commentary
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
135
claus
parents:
diff changeset
     1
"
claus
parents:
diff changeset
     2
 COPYRIGHT (c) 1995 by Claus Gittinger
claus
parents:
diff changeset
     3
	      All Rights Reserved
claus
parents:
diff changeset
     4
claus
parents:
diff changeset
     5
 This software is furnished under a license and may be used
claus
parents:
diff changeset
     6
 only in accordance with the terms of that license and with the
claus
parents:
diff changeset
     7
 inclusion of the above copyright notice.   This software may not
claus
parents:
diff changeset
     8
 be provided or otherwise made available to, or used by, any
claus
parents:
diff changeset
     9
 other person.  No title to or ownership of the software is
claus
parents:
diff changeset
    10
 hereby transferred.
claus
parents:
diff changeset
    11
"
claus
parents:
diff changeset
    12
claus
parents:
diff changeset
    13
View subclass:#TopView
314
de706ed62d27 added withReadCursorDo: / withExecuteCursorDo:
Claus Gittinger <cg@exept.de>
parents: 298
diff changeset
    14
	instanceVariableNames:'type'
de706ed62d27 added withReadCursorDo: / withExecuteCursorDo:
Claus Gittinger <cg@exept.de>
parents: 298
diff changeset
    15
	classVariableNames:''
de706ed62d27 added withReadCursorDo: / withExecuteCursorDo:
Claus Gittinger <cg@exept.de>
parents: 298
diff changeset
    16
	poolDictionaries:''
de706ed62d27 added withReadCursorDo: / withExecuteCursorDo:
Claus Gittinger <cg@exept.de>
parents: 298
diff changeset
    17
	category:'Views-Basic'
135
claus
parents:
diff changeset
    18
!
claus
parents:
diff changeset
    19
claus
parents:
diff changeset
    20
!TopView class methodsFor:'documentation'!
claus
parents:
diff changeset
    21
claus
parents:
diff changeset
    22
copyright
claus
parents:
diff changeset
    23
"
claus
parents:
diff changeset
    24
 COPYRIGHT (c) 1995 by Claus Gittinger
claus
parents:
diff changeset
    25
	      All Rights Reserved
claus
parents:
diff changeset
    26
claus
parents:
diff changeset
    27
 This software is furnished under a license and may be used
claus
parents:
diff changeset
    28
 only in accordance with the terms of that license and with the
claus
parents:
diff changeset
    29
 inclusion of the above copyright notice.   This software may not
claus
parents:
diff changeset
    30
 be provided or otherwise made available to, or used by, any
claus
parents:
diff changeset
    31
 other person.  No title to or ownership of the software is
claus
parents:
diff changeset
    32
 hereby transferred.
claus
parents:
diff changeset
    33
"
claus
parents:
diff changeset
    34
!
claus
parents:
diff changeset
    35
claus
parents:
diff changeset
    36
documentation
claus
parents:
diff changeset
    37
"
claus
parents:
diff changeset
    38
    I am an abstract superclass of StandardSystemView and PopUpView;
claus
parents:
diff changeset
    39
    i.e. views which have no superview.
616
56cf67c82664 documentation
Claus Gittinger <cg@exept.de>
parents: 597
diff changeset
    40
625
4d8f6dc3af75 commentary & category changes
Claus Gittinger <cg@exept.de>
parents: 616
diff changeset
    41
    Do not get confused by the name TopView - your applications
4d8f6dc3af75 commentary & category changes
Claus Gittinger <cg@exept.de>
parents: 616
diff changeset
    42
    topViews are typically instances of StandardSystemView.
4d8f6dc3af75 commentary & category changes
Claus Gittinger <cg@exept.de>
parents: 616
diff changeset
    43
4d8f6dc3af75 commentary & category changes
Claus Gittinger <cg@exept.de>
parents: 616
diff changeset
    44
616
56cf67c82664 documentation
Claus Gittinger <cg@exept.de>
parents: 597
diff changeset
    45
    [see also:]
625
4d8f6dc3af75 commentary & category changes
Claus Gittinger <cg@exept.de>
parents: 616
diff changeset
    46
        StandardSystemView PopUpView DialogBox 
616
56cf67c82664 documentation
Claus Gittinger <cg@exept.de>
parents: 597
diff changeset
    47
        ( introduction to view programming :html: programming/viewintro.html )
56cf67c82664 documentation
Claus Gittinger <cg@exept.de>
parents: 597
diff changeset
    48
56cf67c82664 documentation
Claus Gittinger <cg@exept.de>
parents: 597
diff changeset
    49
    [author:]
56cf67c82664 documentation
Claus Gittinger <cg@exept.de>
parents: 597
diff changeset
    50
        Claus Gittinger
135
claus
parents:
diff changeset
    51
"
claus
parents:
diff changeset
    52
! !
claus
parents:
diff changeset
    53
claus
parents:
diff changeset
    54
!TopView class methodsFor:'defaults'!
claus
parents:
diff changeset
    55
claus
parents:
diff changeset
    56
defaultExtent
586
b91f10f632d5 commentary
Claus Gittinger <cg@exept.de>
parents: 510
diff changeset
    57
    "return the default extent of my instances.
b91f10f632d5 commentary
Claus Gittinger <cg@exept.de>
parents: 510
diff changeset
    58
     Topviews extents is 2/3 of screen by default"
135
claus
parents:
diff changeset
    59
153
claus
parents: 151
diff changeset
    60
    |display|
claus
parents: 151
diff changeset
    61
claus
parents: 151
diff changeset
    62
    display := Screen current.
claus
parents: 151
diff changeset
    63
    ^ (display width // 3 * 2) @ (display height // 3 * 2)
586
b91f10f632d5 commentary
Claus Gittinger <cg@exept.de>
parents: 510
diff changeset
    64
b91f10f632d5 commentary
Claus Gittinger <cg@exept.de>
parents: 510
diff changeset
    65
    "Modified: 22.4.1996 / 23:39:13 / cg"
135
claus
parents:
diff changeset
    66
! !
claus
parents:
diff changeset
    67
625
4d8f6dc3af75 commentary & category changes
Claus Gittinger <cg@exept.de>
parents: 616
diff changeset
    68
!TopView methodsFor:'accessing-behavior'!
269
ea536bb319a6 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 219
diff changeset
    69
ea536bb319a6 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 219
diff changeset
    70
beMaster
ea536bb319a6 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 219
diff changeset
    71
    "make this a master-view. All slave views within the same
ea536bb319a6 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 219
diff changeset
    72
     windowGroup will be closed if any master is closed."
ea536bb319a6 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 219
diff changeset
    73
ea536bb319a6 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 219
diff changeset
    74
    type := #master
298
37bc0d73346f documentation update
Claus Gittinger <cg@exept.de>
parents: 269
diff changeset
    75
37bc0d73346f documentation update
Claus Gittinger <cg@exept.de>
parents: 269
diff changeset
    76
    "
37bc0d73346f documentation update
Claus Gittinger <cg@exept.de>
parents: 269
diff changeset
    77
     see example in TopView>>beSlave
37bc0d73346f documentation update
Claus Gittinger <cg@exept.de>
parents: 269
diff changeset
    78
    "
37bc0d73346f documentation update
Claus Gittinger <cg@exept.de>
parents: 269
diff changeset
    79
37bc0d73346f documentation update
Claus Gittinger <cg@exept.de>
parents: 269
diff changeset
    80
    "Created: 10.12.1995 / 13:30:50 / cg"
269
ea536bb319a6 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 219
diff changeset
    81
!
ea536bb319a6 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 219
diff changeset
    82
ea536bb319a6 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 219
diff changeset
    83
bePartner
ea536bb319a6 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 219
diff changeset
    84
    "make this a partner-view. Each partner-view will automatically 
712
7d1330ebc4b8 commentary
Claus Gittinger <cg@exept.de>
parents: 658
diff changeset
    85
     close other partner views (within the same windowGroup) when closed."
269
ea536bb319a6 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 219
diff changeset
    86
ea536bb319a6 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 219
diff changeset
    87
    type := #partner 
298
37bc0d73346f documentation update
Claus Gittinger <cg@exept.de>
parents: 269
diff changeset
    88
37bc0d73346f documentation update
Claus Gittinger <cg@exept.de>
parents: 269
diff changeset
    89
    "
37bc0d73346f documentation update
Claus Gittinger <cg@exept.de>
parents: 269
diff changeset
    90
     create two topViews within the same group:
37bc0d73346f documentation update
Claus Gittinger <cg@exept.de>
parents: 269
diff changeset
    91
     if any of them is iconified/deiconified/closed, the other one is also
37bc0d73346f documentation update
Claus Gittinger <cg@exept.de>
parents: 269
diff changeset
    92
37bc0d73346f documentation update
Claus Gittinger <cg@exept.de>
parents: 269
diff changeset
    93
     |top1 top2|
37bc0d73346f documentation update
Claus Gittinger <cg@exept.de>
parents: 269
diff changeset
    94
712
7d1330ebc4b8 commentary
Claus Gittinger <cg@exept.de>
parents: 658
diff changeset
    95
     top1 := StandardSystemView new label:'partner'; extent:300@300.
7d1330ebc4b8 commentary
Claus Gittinger <cg@exept.de>
parents: 658
diff changeset
    96
     top2 := StandardSystemView new label:'partner'; extent:200@200.
298
37bc0d73346f documentation update
Claus Gittinger <cg@exept.de>
parents: 269
diff changeset
    97
     top1 bePartner.
37bc0d73346f documentation update
Claus Gittinger <cg@exept.de>
parents: 269
diff changeset
    98
     top2 bePartner.
37bc0d73346f documentation update
Claus Gittinger <cg@exept.de>
parents: 269
diff changeset
    99
37bc0d73346f documentation update
Claus Gittinger <cg@exept.de>
parents: 269
diff changeset
   100
     top1 open.
37bc0d73346f documentation update
Claus Gittinger <cg@exept.de>
parents: 269
diff changeset
   101
     top2 openInGroup:(top1 windowGroup)
37bc0d73346f documentation update
Claus Gittinger <cg@exept.de>
parents: 269
diff changeset
   102
    "
37bc0d73346f documentation update
Claus Gittinger <cg@exept.de>
parents: 269
diff changeset
   103
37bc0d73346f documentation update
Claus Gittinger <cg@exept.de>
parents: 269
diff changeset
   104
    "Created: 10.12.1995 / 13:29:59 / cg"
712
7d1330ebc4b8 commentary
Claus Gittinger <cg@exept.de>
parents: 658
diff changeset
   105
    "Modified: 25.5.1996 / 11:44:48 / cg"
269
ea536bb319a6 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 219
diff changeset
   106
!
ea536bb319a6 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 219
diff changeset
   107
ea536bb319a6 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 219
diff changeset
   108
beSlave
ea536bb319a6 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 219
diff changeset
   109
    "make this a slave-view. It will be closed automatically,
712
7d1330ebc4b8 commentary
Claus Gittinger <cg@exept.de>
parents: 658
diff changeset
   110
     whenever any master of the windowgroup is closed.
7d1330ebc4b8 commentary
Claus Gittinger <cg@exept.de>
parents: 658
diff changeset
   111
     See also: #bePartner"
269
ea536bb319a6 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 219
diff changeset
   112
ea536bb319a6 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 219
diff changeset
   113
    type := #slave 
298
37bc0d73346f documentation update
Claus Gittinger <cg@exept.de>
parents: 269
diff changeset
   114
37bc0d73346f documentation update
Claus Gittinger <cg@exept.de>
parents: 269
diff changeset
   115
    "
37bc0d73346f documentation update
Claus Gittinger <cg@exept.de>
parents: 269
diff changeset
   116
     create two topViews within the same group:
37bc0d73346f documentation update
Claus Gittinger <cg@exept.de>
parents: 269
diff changeset
   117
     the slave is allowed to be iconified/close independ of the master;
37bc0d73346f documentation update
Claus Gittinger <cg@exept.de>
parents: 269
diff changeset
   118
     but if the master is iconified, the slave is also.
37bc0d73346f documentation update
Claus Gittinger <cg@exept.de>
parents: 269
diff changeset
   119
37bc0d73346f documentation update
Claus Gittinger <cg@exept.de>
parents: 269
diff changeset
   120
     |top1 top2|
37bc0d73346f documentation update
Claus Gittinger <cg@exept.de>
parents: 269
diff changeset
   121
712
7d1330ebc4b8 commentary
Claus Gittinger <cg@exept.de>
parents: 658
diff changeset
   122
     top1 := StandardSystemView new label:'master'; extent:300@300.
7d1330ebc4b8 commentary
Claus Gittinger <cg@exept.de>
parents: 658
diff changeset
   123
     top2 := StandardSystemView new label:'slave'; extent:200@200.
298
37bc0d73346f documentation update
Claus Gittinger <cg@exept.de>
parents: 269
diff changeset
   124
     top1 beMaster.
37bc0d73346f documentation update
Claus Gittinger <cg@exept.de>
parents: 269
diff changeset
   125
     top2 beSlave.
37bc0d73346f documentation update
Claus Gittinger <cg@exept.de>
parents: 269
diff changeset
   126
37bc0d73346f documentation update
Claus Gittinger <cg@exept.de>
parents: 269
diff changeset
   127
     top1 open.
37bc0d73346f documentation update
Claus Gittinger <cg@exept.de>
parents: 269
diff changeset
   128
     top2 openInGroup:(top1 windowGroup)
37bc0d73346f documentation update
Claus Gittinger <cg@exept.de>
parents: 269
diff changeset
   129
    "
37bc0d73346f documentation update
Claus Gittinger <cg@exept.de>
parents: 269
diff changeset
   130
37bc0d73346f documentation update
Claus Gittinger <cg@exept.de>
parents: 269
diff changeset
   131
    "Created: 10.12.1995 / 13:29:10 / cg"
712
7d1330ebc4b8 commentary
Claus Gittinger <cg@exept.de>
parents: 658
diff changeset
   132
    "Modified: 25.5.1996 / 11:45:30 / cg"
269
ea536bb319a6 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 219
diff changeset
   133
!
ea536bb319a6 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 219
diff changeset
   134
501
0a701f42de02 focusKey handling now done here & in Controller
Claus Gittinger <cg@exept.de>
parents: 419
diff changeset
   135
focusSequence:aCollectionOfSubcomponents
625
4d8f6dc3af75 commentary & category changes
Claus Gittinger <cg@exept.de>
parents: 616
diff changeset
   136
    "define the sequence for stepping through my components."
4d8f6dc3af75 commentary & category changes
Claus Gittinger <cg@exept.de>
parents: 616
diff changeset
   137
501
0a701f42de02 focusKey handling now done here & in Controller
Claus Gittinger <cg@exept.de>
parents: 419
diff changeset
   138
    windowGroup isNil ifTrue:[
0a701f42de02 focusKey handling now done here & in Controller
Claus Gittinger <cg@exept.de>
parents: 419
diff changeset
   139
        windowGroup := WindowGroup new.
0a701f42de02 focusKey handling now done here & in Controller
Claus Gittinger <cg@exept.de>
parents: 419
diff changeset
   140
    ].
0a701f42de02 focusKey handling now done here & in Controller
Claus Gittinger <cg@exept.de>
parents: 419
diff changeset
   141
    windowGroup focusSequence:aCollectionOfSubcomponents.
0a701f42de02 focusKey handling now done here & in Controller
Claus Gittinger <cg@exept.de>
parents: 419
diff changeset
   142
0a701f42de02 focusKey handling now done here & in Controller
Claus Gittinger <cg@exept.de>
parents: 419
diff changeset
   143
    "Created: 6.3.1996 / 15:37:11 / cg"
625
4d8f6dc3af75 commentary & category changes
Claus Gittinger <cg@exept.de>
parents: 616
diff changeset
   144
    "Modified: 30.4.1996 / 15:41:40 / cg"
4d8f6dc3af75 commentary & category changes
Claus Gittinger <cg@exept.de>
parents: 616
diff changeset
   145
! !
4d8f6dc3af75 commentary & category changes
Claus Gittinger <cg@exept.de>
parents: 616
diff changeset
   146
4d8f6dc3af75 commentary & category changes
Claus Gittinger <cg@exept.de>
parents: 616
diff changeset
   147
!TopView methodsFor:'event handling'!
4d8f6dc3af75 commentary & category changes
Claus Gittinger <cg@exept.de>
parents: 616
diff changeset
   148
4d8f6dc3af75 commentary & category changes
Claus Gittinger <cg@exept.de>
parents: 616
diff changeset
   149
keyPress:key x:x y:y
4d8f6dc3af75 commentary & category changes
Claus Gittinger <cg@exept.de>
parents: 616
diff changeset
   150
    "notice: this is going to be moved into the upcoming 
4d8f6dc3af75 commentary & category changes
Claus Gittinger <cg@exept.de>
parents: 616
diff changeset
   151
     StandardSystemViewController."
4d8f6dc3af75 commentary & category changes
Claus Gittinger <cg@exept.de>
parents: 616
diff changeset
   152
4d8f6dc3af75 commentary & category changes
Claus Gittinger <cg@exept.de>
parents: 616
diff changeset
   153
    <resource: #keyboard ( #Tab #FocusNext #FocusPrevious #CursorDown #CursorUp ) >
4d8f6dc3af75 commentary & category changes
Claus Gittinger <cg@exept.de>
parents: 616
diff changeset
   154
4d8f6dc3af75 commentary & category changes
Claus Gittinger <cg@exept.de>
parents: 616
diff changeset
   155
    key == #Tab ifTrue:[
4d8f6dc3af75 commentary & category changes
Claus Gittinger <cg@exept.de>
parents: 616
diff changeset
   156
        windowGroup notNil ifTrue:[
4d8f6dc3af75 commentary & category changes
Claus Gittinger <cg@exept.de>
parents: 616
diff changeset
   157
            self sensor shiftDown ifTrue:[
4d8f6dc3af75 commentary & category changes
Claus Gittinger <cg@exept.de>
parents: 616
diff changeset
   158
                windowGroup focusPrevious
4d8f6dc3af75 commentary & category changes
Claus Gittinger <cg@exept.de>
parents: 616
diff changeset
   159
            ] ifFalse:[
4d8f6dc3af75 commentary & category changes
Claus Gittinger <cg@exept.de>
parents: 616
diff changeset
   160
                windowGroup focusNext
4d8f6dc3af75 commentary & category changes
Claus Gittinger <cg@exept.de>
parents: 616
diff changeset
   161
            ]
4d8f6dc3af75 commentary & category changes
Claus Gittinger <cg@exept.de>
parents: 616
diff changeset
   162
        ]
4d8f6dc3af75 commentary & category changes
Claus Gittinger <cg@exept.de>
parents: 616
diff changeset
   163
    ].
4d8f6dc3af75 commentary & category changes
Claus Gittinger <cg@exept.de>
parents: 616
diff changeset
   164
    (key == #FocusNext or:[key == #CursorDown]) ifTrue:[
4d8f6dc3af75 commentary & category changes
Claus Gittinger <cg@exept.de>
parents: 616
diff changeset
   165
        windowGroup notNil ifTrue:[
4d8f6dc3af75 commentary & category changes
Claus Gittinger <cg@exept.de>
parents: 616
diff changeset
   166
            windowGroup focusNext.
4d8f6dc3af75 commentary & category changes
Claus Gittinger <cg@exept.de>
parents: 616
diff changeset
   167
        ]
4d8f6dc3af75 commentary & category changes
Claus Gittinger <cg@exept.de>
parents: 616
diff changeset
   168
    ].
4d8f6dc3af75 commentary & category changes
Claus Gittinger <cg@exept.de>
parents: 616
diff changeset
   169
    (key == #FocusPrevious or:[key == #CursorUp])  ifTrue:[
4d8f6dc3af75 commentary & category changes
Claus Gittinger <cg@exept.de>
parents: 616
diff changeset
   170
        windowGroup notNil ifTrue:[
4d8f6dc3af75 commentary & category changes
Claus Gittinger <cg@exept.de>
parents: 616
diff changeset
   171
            windowGroup focusPrevious.
4d8f6dc3af75 commentary & category changes
Claus Gittinger <cg@exept.de>
parents: 616
diff changeset
   172
        ]
4d8f6dc3af75 commentary & category changes
Claus Gittinger <cg@exept.de>
parents: 616
diff changeset
   173
    ].
4d8f6dc3af75 commentary & category changes
Claus Gittinger <cg@exept.de>
parents: 616
diff changeset
   174
4d8f6dc3af75 commentary & category changes
Claus Gittinger <cg@exept.de>
parents: 616
diff changeset
   175
    "Created: 1.2.1996 / 22:08:30 / cg"
4d8f6dc3af75 commentary & category changes
Claus Gittinger <cg@exept.de>
parents: 616
diff changeset
   176
    "Modified: 7.3.1996 / 13:19:35 / cg"
501
0a701f42de02 focusKey handling now done here & in Controller
Claus Gittinger <cg@exept.de>
parents: 419
diff changeset
   177
!
0a701f42de02 focusKey handling now done here & in Controller
Claus Gittinger <cg@exept.de>
parents: 419
diff changeset
   178
625
4d8f6dc3af75 commentary & category changes
Claus Gittinger <cg@exept.de>
parents: 616
diff changeset
   179
showActivity:someMessage
4d8f6dc3af75 commentary & category changes
Claus Gittinger <cg@exept.de>
parents: 616
diff changeset
   180
    "some activityNotification shalt be communicated to
4d8f6dc3af75 commentary & category changes
Claus Gittinger <cg@exept.de>
parents: 616
diff changeset
   181
     the user. 
4d8f6dc3af75 commentary & category changes
Claus Gittinger <cg@exept.de>
parents: 616
diff changeset
   182
     Default for activity notifications here: ignore them"
4d8f6dc3af75 commentary & category changes
Claus Gittinger <cg@exept.de>
parents: 616
diff changeset
   183
4d8f6dc3af75 commentary & category changes
Claus Gittinger <cg@exept.de>
parents: 616
diff changeset
   184
    ^ self
4d8f6dc3af75 commentary & category changes
Claus Gittinger <cg@exept.de>
parents: 616
diff changeset
   185
4d8f6dc3af75 commentary & category changes
Claus Gittinger <cg@exept.de>
parents: 616
diff changeset
   186
    "Created: 16.12.1995 / 18:40:13 / cg"
4d8f6dc3af75 commentary & category changes
Claus Gittinger <cg@exept.de>
parents: 616
diff changeset
   187
    "Modified: 23.4.1996 / 21:38:27 / cg"
4d8f6dc3af75 commentary & category changes
Claus Gittinger <cg@exept.de>
parents: 616
diff changeset
   188
! !
4d8f6dc3af75 commentary & category changes
Claus Gittinger <cg@exept.de>
parents: 616
diff changeset
   189
4d8f6dc3af75 commentary & category changes
Claus Gittinger <cg@exept.de>
parents: 616
diff changeset
   190
!TopView methodsFor:'initialization'!
4d8f6dc3af75 commentary & category changes
Claus Gittinger <cg@exept.de>
parents: 616
diff changeset
   191
4d8f6dc3af75 commentary & category changes
Claus Gittinger <cg@exept.de>
parents: 616
diff changeset
   192
initialize
4d8f6dc3af75 commentary & category changes
Claus Gittinger <cg@exept.de>
parents: 616
diff changeset
   193
    "initialize the topViews position for the screens center"
4d8f6dc3af75 commentary & category changes
Claus Gittinger <cg@exept.de>
parents: 616
diff changeset
   194
4d8f6dc3af75 commentary & category changes
Claus Gittinger <cg@exept.de>
parents: 616
diff changeset
   195
    |screenCenter|
4d8f6dc3af75 commentary & category changes
Claus Gittinger <cg@exept.de>
parents: 616
diff changeset
   196
4d8f6dc3af75 commentary & category changes
Claus Gittinger <cg@exept.de>
parents: 616
diff changeset
   197
    super initialize.
4d8f6dc3af75 commentary & category changes
Claus Gittinger <cg@exept.de>
parents: 616
diff changeset
   198
4d8f6dc3af75 commentary & category changes
Claus Gittinger <cg@exept.de>
parents: 616
diff changeset
   199
    screenCenter := device center.
4d8f6dc3af75 commentary & category changes
Claus Gittinger <cg@exept.de>
parents: 616
diff changeset
   200
    left := screenCenter x - (width // 2).
4d8f6dc3af75 commentary & category changes
Claus Gittinger <cg@exept.de>
parents: 616
diff changeset
   201
    top := screenCenter y - (height // 2).
4d8f6dc3af75 commentary & category changes
Claus Gittinger <cg@exept.de>
parents: 616
diff changeset
   202
    type := #normal
4d8f6dc3af75 commentary & category changes
Claus Gittinger <cg@exept.de>
parents: 616
diff changeset
   203
! !
4d8f6dc3af75 commentary & category changes
Claus Gittinger <cg@exept.de>
parents: 616
diff changeset
   204
4d8f6dc3af75 commentary & category changes
Claus Gittinger <cg@exept.de>
parents: 616
diff changeset
   205
!TopView methodsFor:'misc'!
4d8f6dc3af75 commentary & category changes
Claus Gittinger <cg@exept.de>
parents: 616
diff changeset
   206
4d8f6dc3af75 commentary & category changes
Claus Gittinger <cg@exept.de>
parents: 616
diff changeset
   207
raiseDeiconified
4d8f6dc3af75 commentary & category changes
Claus Gittinger <cg@exept.de>
parents: 616
diff changeset
   208
    "deiconify & bring to front"
4d8f6dc3af75 commentary & category changes
Claus Gittinger <cg@exept.de>
parents: 616
diff changeset
   209
4d8f6dc3af75 commentary & category changes
Claus Gittinger <cg@exept.de>
parents: 616
diff changeset
   210
    self isCollapsed ifTrue:[
645
a62615e26583 Rename unrealize-->unmap.
Stefan Vogel <sv@exept.de>
parents: 625
diff changeset
   211
        self unmap.
a62615e26583 Rename unrealize-->unmap.
Stefan Vogel <sv@exept.de>
parents: 625
diff changeset
   212
        self realize.
625
4d8f6dc3af75 commentary & category changes
Claus Gittinger <cg@exept.de>
parents: 616
diff changeset
   213
    ].
4d8f6dc3af75 commentary & category changes
Claus Gittinger <cg@exept.de>
parents: 616
diff changeset
   214
    self raise
4d8f6dc3af75 commentary & category changes
Claus Gittinger <cg@exept.de>
parents: 616
diff changeset
   215
4d8f6dc3af75 commentary & category changes
Claus Gittinger <cg@exept.de>
parents: 616
diff changeset
   216
    "
4d8f6dc3af75 commentary & category changes
Claus Gittinger <cg@exept.de>
parents: 616
diff changeset
   217
     Transcript topView raiseDeiconified
4d8f6dc3af75 commentary & category changes
Claus Gittinger <cg@exept.de>
parents: 616
diff changeset
   218
    "
645
a62615e26583 Rename unrealize-->unmap.
Stefan Vogel <sv@exept.de>
parents: 625
diff changeset
   219
a62615e26583 Rename unrealize-->unmap.
Stefan Vogel <sv@exept.de>
parents: 625
diff changeset
   220
    "Modified: 3.5.1996 / 23:49:36 / stefan"
625
4d8f6dc3af75 commentary & category changes
Claus Gittinger <cg@exept.de>
parents: 616
diff changeset
   221
!
4d8f6dc3af75 commentary & category changes
Claus Gittinger <cg@exept.de>
parents: 616
diff changeset
   222
4d8f6dc3af75 commentary & category changes
Claus Gittinger <cg@exept.de>
parents: 616
diff changeset
   223
withCursor:aCursor do:aBlock
4d8f6dc3af75 commentary & category changes
Claus Gittinger <cg@exept.de>
parents: 616
diff changeset
   224
    "evaluate aBlock while showing aCursor in all my views.
4d8f6dc3af75 commentary & category changes
Claus Gittinger <cg@exept.de>
parents: 616
diff changeset
   225
     Return the value as returned by aBlock."
4d8f6dc3af75 commentary & category changes
Claus Gittinger <cg@exept.de>
parents: 616
diff changeset
   226
4d8f6dc3af75 commentary & category changes
Claus Gittinger <cg@exept.de>
parents: 616
diff changeset
   227
    windowGroup notNil ifTrue:[
4d8f6dc3af75 commentary & category changes
Claus Gittinger <cg@exept.de>
parents: 616
diff changeset
   228
	^ windowGroup withCursor:aCursor do:aBlock
4d8f6dc3af75 commentary & category changes
Claus Gittinger <cg@exept.de>
parents: 616
diff changeset
   229
    ].
4d8f6dc3af75 commentary & category changes
Claus Gittinger <cg@exept.de>
parents: 616
diff changeset
   230
    ^ super withCursor:aCursor do:aBlock
4d8f6dc3af75 commentary & category changes
Claus Gittinger <cg@exept.de>
parents: 616
diff changeset
   231
! !
4d8f6dc3af75 commentary & category changes
Claus Gittinger <cg@exept.de>
parents: 616
diff changeset
   232
4d8f6dc3af75 commentary & category changes
Claus Gittinger <cg@exept.de>
parents: 616
diff changeset
   233
!TopView methodsFor:'queries'!
4d8f6dc3af75 commentary & category changes
Claus Gittinger <cg@exept.de>
parents: 616
diff changeset
   234
269
ea536bb319a6 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 219
diff changeset
   235
heightIncludingBorder
ea536bb319a6 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 219
diff changeset
   236
    "return the views overall-height"
ea536bb319a6 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 219
diff changeset
   237
ea536bb319a6 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 219
diff changeset
   238
    ^ height
ea536bb319a6 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 219
diff changeset
   239
!
ea536bb319a6 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 219
diff changeset
   240
ea536bb319a6 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 219
diff changeset
   241
isCollapsed
ea536bb319a6 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 219
diff changeset
   242
    "ST80 compatibility: return true if the view is not shown (i.e. iconified)"
ea536bb319a6 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 219
diff changeset
   243
ea536bb319a6 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 219
diff changeset
   244
    ^ shown not
ea536bb319a6 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 219
diff changeset
   245
!
ea536bb319a6 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 219
diff changeset
   246
ea536bb319a6 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 219
diff changeset
   247
preferredExtent
ea536bb319a6 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 219
diff changeset
   248
    "return my preferred extent - this is the minimum size I would like to have.
ea536bb319a6 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 219
diff changeset
   249
     The default here is the classes default extent,
ea536bb319a6 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 219
diff changeset
   250
     however many subclasses redefine this to compute the actual value
ea536bb319a6 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 219
diff changeset
   251
     depending on the sizes of the contents or subcomponents."
ea536bb319a6 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 219
diff changeset
   252
ea536bb319a6 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 219
diff changeset
   253
    ^ self class defaultExtent
ea536bb319a6 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 219
diff changeset
   254
!
ea536bb319a6 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 219
diff changeset
   255
ea536bb319a6 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 219
diff changeset
   256
type
ea536bb319a6 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 219
diff changeset
   257
    "return the views type. This is one of #normal,
ea536bb319a6 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 219
diff changeset
   258
     #master, #slave or #partner."
ea536bb319a6 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 219
diff changeset
   259
ea536bb319a6 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 219
diff changeset
   260
    ^ type
ea536bb319a6 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 219
diff changeset
   261
!
ea536bb319a6 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 219
diff changeset
   262
ea536bb319a6 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 219
diff changeset
   263
widthIncludingBorder
ea536bb319a6 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 219
diff changeset
   264
    "return the views overall-width"
ea536bb319a6 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 219
diff changeset
   265
ea536bb319a6 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 219
diff changeset
   266
    ^ width
ea536bb319a6 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 219
diff changeset
   267
! !
ea536bb319a6 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 219
diff changeset
   268
ea536bb319a6 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 219
diff changeset
   269
!TopView methodsFor:'startup'!
ea536bb319a6 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 219
diff changeset
   270
ea536bb319a6 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 219
diff changeset
   271
openWithExtent:anExtent
ea536bb319a6 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 219
diff changeset
   272
    "set extent and open. The given extent overrides the 
ea536bb319a6 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 219
diff changeset
   273
     receivers preferredExtent.
ea536bb319a6 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 219
diff changeset
   274
     Added for ST-80 compatibility"
ea536bb319a6 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 219
diff changeset
   275
ea536bb319a6 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 219
diff changeset
   276
    self extent:anExtent; sizeFixed:true.
ea536bb319a6 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 219
diff changeset
   277
    self open
625
4d8f6dc3af75 commentary & category changes
Claus Gittinger <cg@exept.de>
parents: 616
diff changeset
   278
!
4d8f6dc3af75 commentary & category changes
Claus Gittinger <cg@exept.de>
parents: 616
diff changeset
   279
4d8f6dc3af75 commentary & category changes
Claus Gittinger <cg@exept.de>
parents: 616
diff changeset
   280
openWithPriority:aPriority
4d8f6dc3af75 commentary & category changes
Claus Gittinger <cg@exept.de>
parents: 616
diff changeset
   281
    "open the view, run the windowgroup process at
4d8f6dc3af75 commentary & category changes
Claus Gittinger <cg@exept.de>
parents: 616
diff changeset
   282
     other than UserScehdulingPriority."
4d8f6dc3af75 commentary & category changes
Claus Gittinger <cg@exept.de>
parents: 616
diff changeset
   283
4d8f6dc3af75 commentary & category changes
Claus Gittinger <cg@exept.de>
parents: 616
diff changeset
   284
    self open.
4d8f6dc3af75 commentary & category changes
Claus Gittinger <cg@exept.de>
parents: 616
diff changeset
   285
    windowGroup process priority:aPriority.
4d8f6dc3af75 commentary & category changes
Claus Gittinger <cg@exept.de>
parents: 616
diff changeset
   286
4d8f6dc3af75 commentary & category changes
Claus Gittinger <cg@exept.de>
parents: 616
diff changeset
   287
    "Created: 30.4.1996 / 15:34:44 / cg"
269
ea536bb319a6 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 219
diff changeset
   288
! !
ea536bb319a6 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 219
diff changeset
   289
157
claus
parents: 153
diff changeset
   290
!TopView methodsFor:'window events'!
claus
parents: 153
diff changeset
   291
claus
parents: 153
diff changeset
   292
destroy
claus
parents: 153
diff changeset
   293
    "the receiver is to be destroyed - look for partners and slaves"
claus
parents: 153
diff changeset
   294
claus
parents: 153
diff changeset
   295
    |wg|
claus
parents: 153
diff changeset
   296
claus
parents: 153
diff changeset
   297
    wg := windowGroup.                  "/ have to fetch windowGroup before;
claus
parents: 153
diff changeset
   298
    super destroy.                      "/ since destroy nils it
419
07b575e87a34 openModal moved to SimpleView (can now open subviews modal)
Claus Gittinger <cg@exept.de>
parents: 416
diff changeset
   299
07b575e87a34 openModal moved to SimpleView (can now open subviews modal)
Claus Gittinger <cg@exept.de>
parents: 416
diff changeset
   300
    "/
07b575e87a34 openModal moved to SimpleView (can now open subviews modal)
Claus Gittinger <cg@exept.de>
parents: 416
diff changeset
   301
    "/ destroy slaves and partners
07b575e87a34 openModal moved to SimpleView (can now open subviews modal)
Claus Gittinger <cg@exept.de>
parents: 416
diff changeset
   302
    "/
07b575e87a34 openModal moved to SimpleView (can now open subviews modal)
Claus Gittinger <cg@exept.de>
parents: 416
diff changeset
   303
    self masterSlaveMessage:#destroy inGroup:wg 
07b575e87a34 openModal moved to SimpleView (can now open subviews modal)
Claus Gittinger <cg@exept.de>
parents: 416
diff changeset
   304
07b575e87a34 openModal moved to SimpleView (can now open subviews modal)
Claus Gittinger <cg@exept.de>
parents: 416
diff changeset
   305
"/    wg notNil ifTrue:[
07b575e87a34 openModal moved to SimpleView (can now open subviews modal)
Claus Gittinger <cg@exept.de>
parents: 416
diff changeset
   306
"/        "/
07b575e87a34 openModal moved to SimpleView (can now open subviews modal)
Claus Gittinger <cg@exept.de>
parents: 416
diff changeset
   307
"/        "/ if I am a master or partner, close all slaves
07b575e87a34 openModal moved to SimpleView (can now open subviews modal)
Claus Gittinger <cg@exept.de>
parents: 416
diff changeset
   308
"/        "/
07b575e87a34 openModal moved to SimpleView (can now open subviews modal)
Claus Gittinger <cg@exept.de>
parents: 416
diff changeset
   309
"/        (type == #master or:[type == #partner]) ifTrue:[
07b575e87a34 openModal moved to SimpleView (can now open subviews modal)
Claus Gittinger <cg@exept.de>
parents: 416
diff changeset
   310
"/            wg slavesDo:[:v | v destroy].
07b575e87a34 openModal moved to SimpleView (can now open subviews modal)
Claus Gittinger <cg@exept.de>
parents: 416
diff changeset
   311
"/        ].
07b575e87a34 openModal moved to SimpleView (can now open subviews modal)
Claus Gittinger <cg@exept.de>
parents: 416
diff changeset
   312
"/        "/
07b575e87a34 openModal moved to SimpleView (can now open subviews modal)
Claus Gittinger <cg@exept.de>
parents: 416
diff changeset
   313
"/        "/ if I am a partner, close all partners
07b575e87a34 openModal moved to SimpleView (can now open subviews modal)
Claus Gittinger <cg@exept.de>
parents: 416
diff changeset
   314
"/        "/
07b575e87a34 openModal moved to SimpleView (can now open subviews modal)
Claus Gittinger <cg@exept.de>
parents: 416
diff changeset
   315
"/        type == #partner ifTrue:[
07b575e87a34 openModal moved to SimpleView (can now open subviews modal)
Claus Gittinger <cg@exept.de>
parents: 416
diff changeset
   316
"/            wg partnersDo:[:v | v ~~ self ifTrue:[v destroy]].
07b575e87a34 openModal moved to SimpleView (can now open subviews modal)
Claus Gittinger <cg@exept.de>
parents: 416
diff changeset
   317
"/        ].
07b575e87a34 openModal moved to SimpleView (can now open subviews modal)
Claus Gittinger <cg@exept.de>
parents: 416
diff changeset
   318
"/    ].
157
claus
parents: 153
diff changeset
   319
!
claus
parents: 153
diff changeset
   320
claus
parents: 153
diff changeset
   321
mapped
claus
parents: 153
diff changeset
   322
    "the recevier was mapped (i.e. deiconified or just created);
claus
parents: 153
diff changeset
   323
     look for partners and slaves."
claus
parents: 153
diff changeset
   324
claus
parents: 153
diff changeset
   325
    realized := true.
claus
parents: 153
diff changeset
   326
    super mapped.
419
07b575e87a34 openModal moved to SimpleView (can now open subviews modal)
Claus Gittinger <cg@exept.de>
parents: 416
diff changeset
   327
07b575e87a34 openModal moved to SimpleView (can now open subviews modal)
Claus Gittinger <cg@exept.de>
parents: 416
diff changeset
   328
    "/
07b575e87a34 openModal moved to SimpleView (can now open subviews modal)
Claus Gittinger <cg@exept.de>
parents: 416
diff changeset
   329
    "/ rerealize slaves and partners
07b575e87a34 openModal moved to SimpleView (can now open subviews modal)
Claus Gittinger <cg@exept.de>
parents: 416
diff changeset
   330
    "/
658
ce56170b3fb1 renamed rerealize to remap
Claus Gittinger <cg@exept.de>
parents: 645
diff changeset
   331
    self masterSlaveMessage:#remap inGroup:windowGroup
419
07b575e87a34 openModal moved to SimpleView (can now open subviews modal)
Claus Gittinger <cg@exept.de>
parents: 416
diff changeset
   332
658
ce56170b3fb1 renamed rerealize to remap
Claus Gittinger <cg@exept.de>
parents: 645
diff changeset
   333
    "Modified: 8.5.1996 / 23:05:34 / cg"
157
claus
parents: 153
diff changeset
   334
!
claus
parents: 153
diff changeset
   335
501
0a701f42de02 focusKey handling now done here & in Controller
Claus Gittinger <cg@exept.de>
parents: 419
diff changeset
   336
masterSlaveMessage:aSelector inGroup:aWindowGroup
0a701f42de02 focusKey handling now done here & in Controller
Claus Gittinger <cg@exept.de>
parents: 419
diff changeset
   337
    "send aSelector to partners and/or slaves.
0a701f42de02 focusKey handling now done here & in Controller
Claus Gittinger <cg@exept.de>
parents: 419
diff changeset
   338
     This is a private helper for destroy / mapped / unmapped"
0a701f42de02 focusKey handling now done here & in Controller
Claus Gittinger <cg@exept.de>
parents: 419
diff changeset
   339
0a701f42de02 focusKey handling now done here & in Controller
Claus Gittinger <cg@exept.de>
parents: 419
diff changeset
   340
    aWindowGroup notNil ifTrue:[
0a701f42de02 focusKey handling now done here & in Controller
Claus Gittinger <cg@exept.de>
parents: 419
diff changeset
   341
	"/
0a701f42de02 focusKey handling now done here & in Controller
Claus Gittinger <cg@exept.de>
parents: 419
diff changeset
   342
	"/ if I am a master or partner, send to all slaves
0a701f42de02 focusKey handling now done here & in Controller
Claus Gittinger <cg@exept.de>
parents: 419
diff changeset
   343
	"/
0a701f42de02 focusKey handling now done here & in Controller
Claus Gittinger <cg@exept.de>
parents: 419
diff changeset
   344
	(type == #master or:[type == #partner]) ifTrue:[
0a701f42de02 focusKey handling now done here & in Controller
Claus Gittinger <cg@exept.de>
parents: 419
diff changeset
   345
	    aWindowGroup slavesDo:[:v | v perform:aSelector].
0a701f42de02 focusKey handling now done here & in Controller
Claus Gittinger <cg@exept.de>
parents: 419
diff changeset
   346
	].
0a701f42de02 focusKey handling now done here & in Controller
Claus Gittinger <cg@exept.de>
parents: 419
diff changeset
   347
	"/
0a701f42de02 focusKey handling now done here & in Controller
Claus Gittinger <cg@exept.de>
parents: 419
diff changeset
   348
	"/ if I am a partner, send to all partners
0a701f42de02 focusKey handling now done here & in Controller
Claus Gittinger <cg@exept.de>
parents: 419
diff changeset
   349
	"/
0a701f42de02 focusKey handling now done here & in Controller
Claus Gittinger <cg@exept.de>
parents: 419
diff changeset
   350
	type == #partner ifTrue:[
0a701f42de02 focusKey handling now done here & in Controller
Claus Gittinger <cg@exept.de>
parents: 419
diff changeset
   351
	    aWindowGroup partnersDo:[:v | v ~~ self ifTrue:[v perform:aSelector]].
0a701f42de02 focusKey handling now done here & in Controller
Claus Gittinger <cg@exept.de>
parents: 419
diff changeset
   352
	].
0a701f42de02 focusKey handling now done here & in Controller
Claus Gittinger <cg@exept.de>
parents: 419
diff changeset
   353
    ].
0a701f42de02 focusKey handling now done here & in Controller
Claus Gittinger <cg@exept.de>
parents: 419
diff changeset
   354
!
0a701f42de02 focusKey handling now done here & in Controller
Claus Gittinger <cg@exept.de>
parents: 419
diff changeset
   355
157
claus
parents: 153
diff changeset
   356
unmapped 
claus
parents: 153
diff changeset
   357
    "the recevier was unmapped (i.e. iconified);
claus
parents: 153
diff changeset
   358
     look for partners and slaves."
claus
parents: 153
diff changeset
   359
claus
parents: 153
diff changeset
   360
    super unmapped.
419
07b575e87a34 openModal moved to SimpleView (can now open subviews modal)
Claus Gittinger <cg@exept.de>
parents: 416
diff changeset
   361
07b575e87a34 openModal moved to SimpleView (can now open subviews modal)
Claus Gittinger <cg@exept.de>
parents: 416
diff changeset
   362
    "/
07b575e87a34 openModal moved to SimpleView (can now open subviews modal)
Claus Gittinger <cg@exept.de>
parents: 416
diff changeset
   363
    "/ unrealize slaves and partners
07b575e87a34 openModal moved to SimpleView (can now open subviews modal)
Claus Gittinger <cg@exept.de>
parents: 416
diff changeset
   364
    "/
658
ce56170b3fb1 renamed rerealize to remap
Claus Gittinger <cg@exept.de>
parents: 645
diff changeset
   365
    self masterSlaveMessage:#unmap inGroup:windowGroup
157
claus
parents: 153
diff changeset
   366
658
ce56170b3fb1 renamed rerealize to remap
Claus Gittinger <cg@exept.de>
parents: 645
diff changeset
   367
    "Modified: 8.5.1996 / 23:05:45 / cg"
157
claus
parents: 153
diff changeset
   368
! !
claus
parents: 153
diff changeset
   369
269
ea536bb319a6 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 219
diff changeset
   370
!TopView class methodsFor:'documentation'!
135
claus
parents:
diff changeset
   371
269
ea536bb319a6 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 219
diff changeset
   372
version
712
7d1330ebc4b8 commentary
Claus Gittinger <cg@exept.de>
parents: 658
diff changeset
   373
    ^ '$Header: /cvs/stx/stx/libview/TopView.st,v 1.24 1996-05-25 10:10:02 cg Exp $'
135
claus
parents:
diff changeset
   374
! !