Wrapper.st
author Claus Gittinger <cg@exept.de>
Wed, 17 Sep 1997 20:11:14 +0200
changeset 698 f7e53b928204
parent 365 47e0d48fd769
child 1220 39e5e28042da
permissions -rw-r--r--
*** empty log message ***
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
245
8d7f9a8d2c78 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
     1
"
8d7f9a8d2c78 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
     2
 COPYRIGHT (c) 1996 by Claus Gittinger
8d7f9a8d2c78 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
     3
              All Rights Reserved
8d7f9a8d2c78 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
     4
8d7f9a8d2c78 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
     5
 This software is furnished under a license and may be used
8d7f9a8d2c78 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
     6
 only in accordance with the terms of that license and with the
8d7f9a8d2c78 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
     7
 inclusion of the above copyright notice.   This software may not
8d7f9a8d2c78 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
     8
 be provided or otherwise made available to, or used by, any
8d7f9a8d2c78 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
     9
 other person.  No title to or ownership of the software is
8d7f9a8d2c78 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    10
 hereby transferred.
8d7f9a8d2c78 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    11
"
8d7f9a8d2c78 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    12
8d7f9a8d2c78 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    13
8d7f9a8d2c78 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    14
279
bf069aab8a8c checkin from browser
Claus Gittinger <cg@exept.de>
parents: 247
diff changeset
    15
VisualPart subclass:#Wrapper
245
8d7f9a8d2c78 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    16
	instanceVariableNames:'component'
8d7f9a8d2c78 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    17
	classVariableNames:''
8d7f9a8d2c78 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    18
	poolDictionaries:''
8d7f9a8d2c78 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    19
	category:'Graphics-Display Objects'
8d7f9a8d2c78 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    20
!
8d7f9a8d2c78 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    21
365
47e0d48fd769 commentary
Claus Gittinger <cg@exept.de>
parents: 323
diff changeset
    22
!Wrapper class methodsFor:'documentation'!
245
8d7f9a8d2c78 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    23
8d7f9a8d2c78 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    24
copyright
8d7f9a8d2c78 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    25
"
8d7f9a8d2c78 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    26
 COPYRIGHT (c) 1996 by Claus Gittinger
8d7f9a8d2c78 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    27
              All Rights Reserved
8d7f9a8d2c78 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    28
8d7f9a8d2c78 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    29
 This software is furnished under a license and may be used
8d7f9a8d2c78 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    30
 only in accordance with the terms of that license and with the
8d7f9a8d2c78 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    31
 inclusion of the above copyright notice.   This software may not
8d7f9a8d2c78 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    32
 be provided or otherwise made available to, or used by, any
8d7f9a8d2c78 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    33
 other person.  No title to or ownership of the software is
8d7f9a8d2c78 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    34
 hereby transferred.
8d7f9a8d2c78 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    35
"
8d7f9a8d2c78 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    36
8d7f9a8d2c78 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    37
8d7f9a8d2c78 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    38
!
8d7f9a8d2c78 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    39
8d7f9a8d2c78 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    40
documentation
8d7f9a8d2c78 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    41
"
8d7f9a8d2c78 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    42
    abstract superclass for all kinds of wrapping components
8d7f9a8d2c78 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    43
365
47e0d48fd769 commentary
Claus Gittinger <cg@exept.de>
parents: 323
diff changeset
    44
    This class and its subclasses (currently) exist mostly for
47e0d48fd769 commentary
Claus Gittinger <cg@exept.de>
parents: 323
diff changeset
    45
    ST-80 compatibility - to provide a home for ported PD classes,
47e0d48fd769 commentary
Claus Gittinger <cg@exept.de>
parents: 323
diff changeset
    46
    which depend on the VisualPart hierarchy.
47e0d48fd769 commentary
Claus Gittinger <cg@exept.de>
parents: 323
diff changeset
    47
47e0d48fd769 commentary
Claus Gittinger <cg@exept.de>
parents: 323
diff changeset
    48
    Notice: 
47e0d48fd769 commentary
Claus Gittinger <cg@exept.de>
parents: 323
diff changeset
    49
        this class was implemented using protocol information
47e0d48fd769 commentary
Claus Gittinger <cg@exept.de>
parents: 323
diff changeset
    50
        from alpha testers, from reading PD programs and 
47e0d48fd769 commentary
Claus Gittinger <cg@exept.de>
parents: 323
diff changeset
    51
        from the Hopkins/Horan book.
47e0d48fd769 commentary
Claus Gittinger <cg@exept.de>
parents: 323
diff changeset
    52
        - it may not be complete or compatible to the corresponding ST-80 class. 
47e0d48fd769 commentary
Claus Gittinger <cg@exept.de>
parents: 323
diff changeset
    53
        If you encounter any incompatibilities, please forward a note 
47e0d48fd769 commentary
Claus Gittinger <cg@exept.de>
parents: 323
diff changeset
    54
        describing the incompatibility verbal (i.e. no code) to the ST/X team.
47e0d48fd769 commentary
Claus Gittinger <cg@exept.de>
parents: 323
diff changeset
    55
        This is still being constructed - not yet finished.
47e0d48fd769 commentary
Claus Gittinger <cg@exept.de>
parents: 323
diff changeset
    56
245
8d7f9a8d2c78 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    57
    [author:]
8d7f9a8d2c78 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    58
        Claus Gittinger
8d7f9a8d2c78 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    59
"
8d7f9a8d2c78 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    60
8d7f9a8d2c78 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    61
! !
8d7f9a8d2c78 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    62
365
47e0d48fd769 commentary
Claus Gittinger <cg@exept.de>
parents: 323
diff changeset
    63
!Wrapper class methodsFor:'instance creation'!
245
8d7f9a8d2c78 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    64
8d7f9a8d2c78 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    65
on:aComponent
8d7f9a8d2c78 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    66
    ^ self new component:aComponent
8d7f9a8d2c78 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    67
8d7f9a8d2c78 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    68
    "Created: 8.5.1996 / 23:20:46 / cg"
8d7f9a8d2c78 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    69
! !
8d7f9a8d2c78 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    70
8d7f9a8d2c78 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    71
!Wrapper methodsFor:'accessing'!
8d7f9a8d2c78 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    72
8d7f9a8d2c78 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    73
component
247
7b29d5a02e68 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 246
diff changeset
    74
    "return the wrappers component"
7b29d5a02e68 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 246
diff changeset
    75
245
8d7f9a8d2c78 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    76
    ^ component
8d7f9a8d2c78 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    77
8d7f9a8d2c78 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    78
    "Created: 8.5.1996 / 23:17:30 / cg"
247
7b29d5a02e68 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 246
diff changeset
    79
    "Modified: 9.5.1996 / 00:19:58 / cg"
245
8d7f9a8d2c78 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    80
!
8d7f9a8d2c78 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    81
8d7f9a8d2c78 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    82
component:someComponent
247
7b29d5a02e68 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 246
diff changeset
    83
    "set the wrappers component"
7b29d5a02e68 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 246
diff changeset
    84
279
bf069aab8a8c checkin from browser
Claus Gittinger <cg@exept.de>
parents: 247
diff changeset
    85
    component := someComponent.
bf069aab8a8c checkin from browser
Claus Gittinger <cg@exept.de>
parents: 247
diff changeset
    86
    component notNil ifTrue:[
283
f28c462b9d13 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 279
diff changeset
    87
        "/ temporary kludge - images are (currently) not
f28c462b9d13 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 279
diff changeset
    88
        "/ inheriting from visualComponent ...
292
60fbf13dfc8c prepare for view-component integration
Claus Gittinger <cg@exept.de>
parents: 283
diff changeset
    89
"/        (someComponent respondsTo:#container:) ifTrue:[
60fbf13dfc8c prepare for view-component integration
Claus Gittinger <cg@exept.de>
parents: 283
diff changeset
    90
            someComponent container:self.
60fbf13dfc8c prepare for view-component integration
Claus Gittinger <cg@exept.de>
parents: 283
diff changeset
    91
"/        ].
60fbf13dfc8c prepare for view-component integration
Claus Gittinger <cg@exept.de>
parents: 283
diff changeset
    92
        bounds isNil ifTrue:[
60fbf13dfc8c prepare for view-component integration
Claus Gittinger <cg@exept.de>
parents: 283
diff changeset
    93
            component bounds notNil ifTrue:[
60fbf13dfc8c prepare for view-component integration
Claus Gittinger <cg@exept.de>
parents: 283
diff changeset
    94
                bounds := component bounds
60fbf13dfc8c prepare for view-component integration
Claus Gittinger <cg@exept.de>
parents: 283
diff changeset
    95
            ]
283
f28c462b9d13 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 279
diff changeset
    96
        ]
279
bf069aab8a8c checkin from browser
Claus Gittinger <cg@exept.de>
parents: 247
diff changeset
    97
    ]
245
8d7f9a8d2c78 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    98
8d7f9a8d2c78 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    99
    "Created: 8.5.1996 / 23:17:46 / cg"
292
60fbf13dfc8c prepare for view-component integration
Claus Gittinger <cg@exept.de>
parents: 283
diff changeset
   100
    "Modified: 5.6.1996 / 02:31:40 / cg"
245
8d7f9a8d2c78 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   101
! !
8d7f9a8d2c78 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   102
8d7f9a8d2c78 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   103
!Wrapper methodsFor:'accessing - bounds'!
8d7f9a8d2c78 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   104
8d7f9a8d2c78 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   105
bounds:newBounds
246
9f80dbcbcd34 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 245
diff changeset
   106
    "set my bounds - forwarded to the wrapped object"
9f80dbcbcd34 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 245
diff changeset
   107
321
6421da8810e2 more view mimicri;
Claus Gittinger <cg@exept.de>
parents: 292
diff changeset
   108
    newBounds ~= bounds ifTrue:[
6421da8810e2 more view mimicri;
Claus Gittinger <cg@exept.de>
parents: 292
diff changeset
   109
        bounds := newBounds.
6421da8810e2 more view mimicri;
Claus Gittinger <cg@exept.de>
parents: 292
diff changeset
   110
        component bounds:newBounds
6421da8810e2 more view mimicri;
Claus Gittinger <cg@exept.de>
parents: 292
diff changeset
   111
    ].
245
8d7f9a8d2c78 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   112
8d7f9a8d2c78 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   113
    "Created: 8.5.1996 / 23:18:12 / cg"
321
6421da8810e2 more view mimicri;
Claus Gittinger <cg@exept.de>
parents: 292
diff changeset
   114
    "Modified: 19.7.1996 / 17:47:34 / cg"
245
8d7f9a8d2c78 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   115
!
8d7f9a8d2c78 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   116
279
bf069aab8a8c checkin from browser
Claus Gittinger <cg@exept.de>
parents: 247
diff changeset
   117
newBounds:newBounds containingBounds:containingBounds
bf069aab8a8c checkin from browser
Claus Gittinger <cg@exept.de>
parents: 247
diff changeset
   118
    self bounds:newBounds
bf069aab8a8c checkin from browser
Claus Gittinger <cg@exept.de>
parents: 247
diff changeset
   119
bf069aab8a8c checkin from browser
Claus Gittinger <cg@exept.de>
parents: 247
diff changeset
   120
    "Created: 26.5.1996 / 16:50:49 / cg"
bf069aab8a8c checkin from browser
Claus Gittinger <cg@exept.de>
parents: 247
diff changeset
   121
!
bf069aab8a8c checkin from browser
Claus Gittinger <cg@exept.de>
parents: 247
diff changeset
   122
245
8d7f9a8d2c78 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   123
preferredBounds
246
9f80dbcbcd34 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 245
diff changeset
   124
    "return my preferredBounds as the components preferredBounds"
9f80dbcbcd34 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 245
diff changeset
   125
245
8d7f9a8d2c78 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   126
    ^ component preferredBounds
8d7f9a8d2c78 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   127
8d7f9a8d2c78 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   128
    "Created: 8.5.1996 / 23:18:53 / cg"
246
9f80dbcbcd34 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 245
diff changeset
   129
    "Modified: 9.5.1996 / 00:10:32 / cg"
245
8d7f9a8d2c78 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   130
! !
8d7f9a8d2c78 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   131
8d7f9a8d2c78 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   132
!Wrapper methodsFor:'displaying'!
8d7f9a8d2c78 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   133
8d7f9a8d2c78 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   134
displayOn:aGC
246
9f80dbcbcd34 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 245
diff changeset
   135
    "display myself - forwarded to the wrapped object"
9f80dbcbcd34 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 245
diff changeset
   136
245
8d7f9a8d2c78 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   137
    component displayOn:aGC
8d7f9a8d2c78 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   138
8d7f9a8d2c78 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   139
    "Created: 8.5.1996 / 23:19:24 / cg"
246
9f80dbcbcd34 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 245
diff changeset
   140
    "Modified: 9.5.1996 / 00:10:59 / cg"
245
8d7f9a8d2c78 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   141
! !
8d7f9a8d2c78 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   142
292
60fbf13dfc8c prepare for view-component integration
Claus Gittinger <cg@exept.de>
parents: 283
diff changeset
   143
!Wrapper methodsFor:'queries'!
60fbf13dfc8c prepare for view-component integration
Claus Gittinger <cg@exept.de>
parents: 283
diff changeset
   144
60fbf13dfc8c prepare for view-component integration
Claus Gittinger <cg@exept.de>
parents: 283
diff changeset
   145
hasBorder
60fbf13dfc8c prepare for view-component integration
Claus Gittinger <cg@exept.de>
parents: 283
diff changeset
   146
    ^ false
60fbf13dfc8c prepare for view-component integration
Claus Gittinger <cg@exept.de>
parents: 283
diff changeset
   147
60fbf13dfc8c prepare for view-component integration
Claus Gittinger <cg@exept.de>
parents: 283
diff changeset
   148
    "Created: 26.5.1996 / 16:47:37 / cg"
60fbf13dfc8c prepare for view-component integration
Claus Gittinger <cg@exept.de>
parents: 283
diff changeset
   149
!
60fbf13dfc8c prepare for view-component integration
Claus Gittinger <cg@exept.de>
parents: 283
diff changeset
   150
60fbf13dfc8c prepare for view-component integration
Claus Gittinger <cg@exept.de>
parents: 283
diff changeset
   151
isWrapper
60fbf13dfc8c prepare for view-component integration
Claus Gittinger <cg@exept.de>
parents: 283
diff changeset
   152
    ^ true
60fbf13dfc8c prepare for view-component integration
Claus Gittinger <cg@exept.de>
parents: 283
diff changeset
   153
60fbf13dfc8c prepare for view-component integration
Claus Gittinger <cg@exept.de>
parents: 283
diff changeset
   154
    "Created: 5.6.1996 / 01:04:30 / cg"
60fbf13dfc8c prepare for view-component integration
Claus Gittinger <cg@exept.de>
parents: 283
diff changeset
   155
! !
60fbf13dfc8c prepare for view-component integration
Claus Gittinger <cg@exept.de>
parents: 283
diff changeset
   156
279
bf069aab8a8c checkin from browser
Claus Gittinger <cg@exept.de>
parents: 247
diff changeset
   157
!Wrapper methodsFor:'testing'!
bf069aab8a8c checkin from browser
Claus Gittinger <cg@exept.de>
parents: 247
diff changeset
   158
bf069aab8a8c checkin from browser
Claus Gittinger <cg@exept.de>
parents: 247
diff changeset
   159
containsPoint:aPoint
bf069aab8a8c checkin from browser
Claus Gittinger <cg@exept.de>
parents: 247
diff changeset
   160
    ^ component containsPoint:aPoint
bf069aab8a8c checkin from browser
Claus Gittinger <cg@exept.de>
parents: 247
diff changeset
   161
bf069aab8a8c checkin from browser
Claus Gittinger <cg@exept.de>
parents: 247
diff changeset
   162
    "Created: 26.5.1996 / 16:48:00 / cg"
bf069aab8a8c checkin from browser
Claus Gittinger <cg@exept.de>
parents: 247
diff changeset
   163
!
bf069aab8a8c checkin from browser
Claus Gittinger <cg@exept.de>
parents: 247
diff changeset
   164
bf069aab8a8c checkin from browser
Claus Gittinger <cg@exept.de>
parents: 247
diff changeset
   165
intersects:aRectangle
bf069aab8a8c checkin from browser
Claus Gittinger <cg@exept.de>
parents: 247
diff changeset
   166
    ^ component intersects:aRectangle
bf069aab8a8c checkin from browser
Claus Gittinger <cg@exept.de>
parents: 247
diff changeset
   167
bf069aab8a8c checkin from browser
Claus Gittinger <cg@exept.de>
parents: 247
diff changeset
   168
    "Created: 26.5.1996 / 16:48:52 / cg"
bf069aab8a8c checkin from browser
Claus Gittinger <cg@exept.de>
parents: 247
diff changeset
   169
! !
bf069aab8a8c checkin from browser
Claus Gittinger <cg@exept.de>
parents: 247
diff changeset
   170
292
60fbf13dfc8c prepare for view-component integration
Claus Gittinger <cg@exept.de>
parents: 283
diff changeset
   171
!Wrapper methodsFor:'view protocol mimicri'!
60fbf13dfc8c prepare for view-component integration
Claus Gittinger <cg@exept.de>
parents: 283
diff changeset
   172
321
6421da8810e2 more view mimicri;
Claus Gittinger <cg@exept.de>
parents: 292
diff changeset
   173
containerMapped
6421da8810e2 more view mimicri;
Claus Gittinger <cg@exept.de>
parents: 292
diff changeset
   174
    component containerMapped
6421da8810e2 more view mimicri;
Claus Gittinger <cg@exept.de>
parents: 292
diff changeset
   175
6421da8810e2 more view mimicri;
Claus Gittinger <cg@exept.de>
parents: 292
diff changeset
   176
    "Created: 19.7.1996 / 17:41:31 / cg"
6421da8810e2 more view mimicri;
Claus Gittinger <cg@exept.de>
parents: 292
diff changeset
   177
!
6421da8810e2 more view mimicri;
Claus Gittinger <cg@exept.de>
parents: 292
diff changeset
   178
6421da8810e2 more view mimicri;
Claus Gittinger <cg@exept.de>
parents: 292
diff changeset
   179
containerUnmapped
6421da8810e2 more view mimicri;
Claus Gittinger <cg@exept.de>
parents: 292
diff changeset
   180
    component containerUnmapped
6421da8810e2 more view mimicri;
Claus Gittinger <cg@exept.de>
parents: 292
diff changeset
   181
6421da8810e2 more view mimicri;
Claus Gittinger <cg@exept.de>
parents: 292
diff changeset
   182
    "Created: 19.7.1996 / 17:45:10 / cg"
6421da8810e2 more view mimicri;
Claus Gittinger <cg@exept.de>
parents: 292
diff changeset
   183
!
6421da8810e2 more view mimicri;
Claus Gittinger <cg@exept.de>
parents: 292
diff changeset
   184
6421da8810e2 more view mimicri;
Claus Gittinger <cg@exept.de>
parents: 292
diff changeset
   185
destroy
6421da8810e2 more view mimicri;
Claus Gittinger <cg@exept.de>
parents: 292
diff changeset
   186
    component destroy
6421da8810e2 more view mimicri;
Claus Gittinger <cg@exept.de>
parents: 292
diff changeset
   187
6421da8810e2 more view mimicri;
Claus Gittinger <cg@exept.de>
parents: 292
diff changeset
   188
    "Created: 19.7.1996 / 17:26:02 / cg"
6421da8810e2 more view mimicri;
Claus Gittinger <cg@exept.de>
parents: 292
diff changeset
   189
!
6421da8810e2 more view mimicri;
Claus Gittinger <cg@exept.de>
parents: 292
diff changeset
   190
292
60fbf13dfc8c prepare for view-component integration
Claus Gittinger <cg@exept.de>
parents: 283
diff changeset
   191
realize
60fbf13dfc8c prepare for view-component integration
Claus Gittinger <cg@exept.de>
parents: 283
diff changeset
   192
    "my container realized itself. Forward this to my component"
60fbf13dfc8c prepare for view-component integration
Claus Gittinger <cg@exept.de>
parents: 283
diff changeset
   193
60fbf13dfc8c prepare for view-component integration
Claus Gittinger <cg@exept.de>
parents: 283
diff changeset
   194
    component realize.
60fbf13dfc8c prepare for view-component integration
Claus Gittinger <cg@exept.de>
parents: 283
diff changeset
   195
60fbf13dfc8c prepare for view-component integration
Claus Gittinger <cg@exept.de>
parents: 283
diff changeset
   196
    "Created: 4.6.1996 / 21:29:27 / cg"
60fbf13dfc8c prepare for view-component integration
Claus Gittinger <cg@exept.de>
parents: 283
diff changeset
   197
!
60fbf13dfc8c prepare for view-component integration
Claus Gittinger <cg@exept.de>
parents: 283
diff changeset
   198
60fbf13dfc8c prepare for view-component integration
Claus Gittinger <cg@exept.de>
parents: 283
diff changeset
   199
removeSubView:aView
60fbf13dfc8c prepare for view-component integration
Claus Gittinger <cg@exept.de>
parents: 283
diff changeset
   200
    component := nil
60fbf13dfc8c prepare for view-component integration
Claus Gittinger <cg@exept.de>
parents: 283
diff changeset
   201
60fbf13dfc8c prepare for view-component integration
Claus Gittinger <cg@exept.de>
parents: 283
diff changeset
   202
    "Created: 4.6.1996 / 21:39:50 / cg"
60fbf13dfc8c prepare for view-component integration
Claus Gittinger <cg@exept.de>
parents: 283
diff changeset
   203
! !
60fbf13dfc8c prepare for view-component integration
Claus Gittinger <cg@exept.de>
parents: 283
diff changeset
   204
365
47e0d48fd769 commentary
Claus Gittinger <cg@exept.de>
parents: 323
diff changeset
   205
!Wrapper class methodsFor:'documentation'!
245
8d7f9a8d2c78 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   206
8d7f9a8d2c78 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   207
version
365
47e0d48fd769 commentary
Claus Gittinger <cg@exept.de>
parents: 323
diff changeset
   208
    ^ '$Header: /cvs/stx/stx/libview2/Wrapper.st,v 1.9 1997-01-14 17:00:54 cg Exp $'
245
8d7f9a8d2c78 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   209
! !