964
|
1 |
"
|
|
2 |
COPYRIGHT (c) 1998 by eXept Software AG
|
|
3 |
All Rights Reserved
|
|
4 |
|
|
5 |
This software is furnished under a license and may be used
|
|
6 |
only in accordance with the terms of that license and with the
|
|
7 |
inclusion of the above copyright notice. This software may not
|
|
8 |
be provided or otherwise made available to, or used by, any
|
|
9 |
other person. No title to or ownership of the software is
|
|
10 |
hereby transferred.
|
|
11 |
"
|
|
12 |
|
|
13 |
|
|
14 |
StandardSystemView subclass:#ApplicationWindow
|
|
15 |
instanceVariableNames:'keyboardProcessor'
|
|
16 |
classVariableNames:''
|
|
17 |
poolDictionaries:''
|
|
18 |
category:'Interface-Framework'
|
|
19 |
!
|
|
20 |
|
|
21 |
!ApplicationWindow class methodsFor:'documentation'!
|
|
22 |
|
|
23 |
copyright
|
|
24 |
"
|
|
25 |
COPYRIGHT (c) 1998 by eXept Software AG
|
|
26 |
All Rights Reserved
|
|
27 |
|
|
28 |
This software is furnished under a license and may be used
|
|
29 |
only in accordance with the terms of that license and with the
|
|
30 |
inclusion of the above copyright notice. This software may not
|
|
31 |
be provided or otherwise made available to, or used by, any
|
|
32 |
other person. No title to or ownership of the software is
|
|
33 |
hereby transferred.
|
|
34 |
"
|
|
35 |
|
|
36 |
!
|
|
37 |
|
|
38 |
documentation
|
|
39 |
"
|
|
40 |
ApplicationWindow is provided for ST80 compatibility, to
|
|
41 |
give loaded code a home, in case its subclassed from it.
|
|
42 |
It does not (yet) provide much of additional functionality.
|
|
43 |
|
|
44 |
[author:]
|
|
45 |
Claus Gittinger (cg@data)
|
|
46 |
|
|
47 |
[see also:]
|
|
48 |
ApplicationModel UIBuilder
|
|
49 |
"
|
|
50 |
! !
|
|
51 |
|
|
52 |
!ApplicationWindow methodsFor:'accessing'!
|
|
53 |
|
|
54 |
keyboardProcessor
|
968
|
55 |
"return my keyboard processor"
|
964
|
56 |
|
|
57 |
^ keyboardProcessor
|
|
58 |
|
|
59 |
"Created: / 18.6.1998 / 18:52:42 / cg"
|
968
|
60 |
"Modified: / 18.6.1998 / 20:00:18 / cg"
|
964
|
61 |
!
|
|
62 |
|
|
63 |
keyboardProcessor:something
|
968
|
64 |
"set my keyboard processor"
|
964
|
65 |
|
|
66 |
keyboardProcessor := something.
|
|
67 |
|
|
68 |
"Created: / 18.6.1998 / 18:52:42 / cg"
|
968
|
69 |
"Modified: / 18.6.1998 / 20:00:30 / cg"
|
964
|
70 |
! !
|
|
71 |
|
|
72 |
!ApplicationWindow methodsFor:'events'!
|
|
73 |
|
966
|
74 |
destroy
|
964
|
75 |
self noticeOfWindowClose.
|
|
76 |
self keyboardProcessor release.
|
966
|
77 |
super destroy
|
964
|
78 |
|
966
|
79 |
"Created: / 18.6.1998 / 19:15:28 / cg"
|
964
|
80 |
!
|
|
81 |
|
|
82 |
noticeOfWindowClose
|
|
83 |
application notNil ifTrue:[
|
|
84 |
application noticeOfWindowClose:self
|
|
85 |
].
|
|
86 |
|
|
87 |
"Created: / 18.6.1998 / 18:56:01 / cg"
|
|
88 |
! !
|
|
89 |
|
|
90 |
!ApplicationWindow class methodsFor:'documentation'!
|
|
91 |
|
|
92 |
version
|
968
|
93 |
^ '$Header: /cvs/stx/stx/libview2/ApplicationWindow.st,v 1.3 1998-06-18 18:00:54 cg Exp $'
|
964
|
94 |
! !
|