1353
|
1 |
"
|
|
2 |
COPYRIGHT (c) 1999 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 |
|
1433
|
14 |
"{ Package: 'stx:libview2' }"
|
|
15 |
|
1287
|
16 |
View subclass:#ApplicationSubView
|
|
17 |
instanceVariableNames:'application'
|
|
18 |
classVariableNames:''
|
|
19 |
poolDictionaries:''
|
|
20 |
category:'Views-Basic'
|
|
21 |
!
|
|
22 |
|
|
23 |
!ApplicationSubView class methodsFor:'documentation'!
|
|
24 |
|
1353
|
25 |
copyright
|
|
26 |
"
|
|
27 |
COPYRIGHT (c) 1999 eXept Software AG
|
|
28 |
All Rights Reserved
|
|
29 |
|
|
30 |
This software is furnished under a license and may be used
|
|
31 |
only in accordance with the terms of that license and with the
|
|
32 |
inclusion of the above copyright notice. This software may not
|
|
33 |
be provided or otherwise made available to, or used by, any
|
|
34 |
other person. No title to or ownership of the software is
|
|
35 |
hereby transferred.
|
|
36 |
"
|
|
37 |
|
|
38 |
!
|
|
39 |
|
1287
|
40 |
documentation
|
|
41 |
"
|
|
42 |
needed sometimes, when a full application is embeded into an ExtendedComboBox
|
|
43 |
or subcanvas AND you want to avoid, that this application accesses the outer
|
|
44 |
applications aspects (by returning a private application instance).
|
1288
|
45 |
|
|
46 |
Notice: you may have to manually set this views application to be the embedded app
|
|
47 |
(i.e. via #application:) unless it is set by #client:....
|
1287
|
48 |
|
|
49 |
see self-embedding example in CodingExamples_GUI::GUIDemoExtendedComboBox
|
|
50 |
"
|
|
51 |
!
|
|
52 |
|
|
53 |
examples
|
|
54 |
"
|
|
55 |
see self-embedding example in CodingExamples_GUI::GUIDemoExtendedComboBox
|
|
56 |
"
|
|
57 |
! !
|
|
58 |
|
|
59 |
!ApplicationSubView methodsFor:'accessing'!
|
|
60 |
|
|
61 |
application
|
|
62 |
"return the value of the instance variable 'application' (automatically generated)"
|
|
63 |
|
1433
|
64 |
^ application
|
|
65 |
!
|
1287
|
66 |
|
|
67 |
application:something
|
|
68 |
"set the value of the instance variable 'application' (automatically generated)"
|
|
69 |
|
1433
|
70 |
application := something.
|
|
71 |
!
|
1288
|
72 |
|
|
73 |
client:anApplication spec:aWindowSpecOrSpecSymbol builder:aBuilder
|
|
74 |
self application:anApplication.
|
|
75 |
^ super client:anApplication spec:aWindowSpecOrSpecSymbol builder:aBuilder
|
|
76 |
|
|
77 |
|
|
78 |
! !
|
1287
|
79 |
|
1433
|
80 |
!ApplicationSubView methodsFor:'events'!
|
|
81 |
|
|
82 |
realize
|
|
83 |
|app|
|
|
84 |
|
|
85 |
super realize.
|
|
86 |
(app := self application) notNil ifTrue:[
|
|
87 |
app postOpenAsSubcanvasWith:app builder
|
|
88 |
]
|
|
89 |
! !
|
|
90 |
|
1287
|
91 |
!ApplicationSubView class methodsFor:'documentation'!
|
|
92 |
|
|
93 |
version
|
1433
|
94 |
^ '$Header: /cvs/stx/stx/libview2/ApplicationSubView.st,v 1.4 2000-11-22 14:54:00 tm Exp $'
|
1287
|
95 |
! !
|