1287
|
1 |
View subclass:#ApplicationSubView
|
|
2 |
instanceVariableNames:'application'
|
|
3 |
classVariableNames:''
|
|
4 |
poolDictionaries:''
|
|
5 |
category:'Views-Basic'
|
|
6 |
!
|
|
7 |
|
|
8 |
!ApplicationSubView class methodsFor:'documentation'!
|
|
9 |
|
|
10 |
documentation
|
|
11 |
"
|
|
12 |
needed sometimes, when a full application is embeded into an ExtendedComboBox
|
|
13 |
or subcanvas AND you want to avoid, that this application accesses the outer
|
|
14 |
applications aspects (by returning a private application instance).
|
1288
|
15 |
|
|
16 |
Notice: you may have to manually set this views application to be the embedded app
|
|
17 |
(i.e. via #application:) unless it is set by #client:....
|
1287
|
18 |
|
|
19 |
see self-embedding example in CodingExamples_GUI::GUIDemoExtendedComboBox
|
|
20 |
"
|
|
21 |
!
|
|
22 |
|
|
23 |
examples
|
|
24 |
"
|
|
25 |
see self-embedding example in CodingExamples_GUI::GUIDemoExtendedComboBox
|
|
26 |
"
|
|
27 |
! !
|
|
28 |
|
|
29 |
!ApplicationSubView methodsFor:'accessing'!
|
|
30 |
|
|
31 |
application
|
|
32 |
"return the value of the instance variable 'application' (automatically generated)"
|
|
33 |
|
|
34 |
^ application!
|
|
35 |
|
|
36 |
application:something
|
|
37 |
"set the value of the instance variable 'application' (automatically generated)"
|
|
38 |
|
1288
|
39 |
application := something.!
|
|
40 |
|
|
41 |
client:anApplication spec:aWindowSpecOrSpecSymbol builder:aBuilder
|
|
42 |
self application:anApplication.
|
|
43 |
^ super client:anApplication spec:aWindowSpecOrSpecSymbol builder:aBuilder
|
|
44 |
|
|
45 |
|
|
46 |
! !
|
1287
|
47 |
|
|
48 |
!ApplicationSubView class methodsFor:'documentation'!
|
|
49 |
|
|
50 |
version
|
1288
|
51 |
^ '$Header: /cvs/stx/stx/libview2/ApplicationSubView.st,v 1.2 1999-12-08 19:56:31 ca Exp $'
|
1287
|
52 |
! !
|