DependentPart.st
author Claus Gittinger <cg@exept.de>
Tue, 14 Jan 1997 18:02:37 +0100
changeset 365 47e0d48fd769
parent 278 f2382bb48850
child 1789 f52f0a0d8448
permissions -rw-r--r--
commentary
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
278
f2382bb48850 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
     1
VisualPart subclass:#DependentPart
f2382bb48850 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
     2
	instanceVariableNames:'model'
f2382bb48850 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
     3
	classVariableNames:''
f2382bb48850 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
     4
	poolDictionaries:''
f2382bb48850 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
     5
	category:'Graphics-Display Objects'
f2382bb48850 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
     6
!
f2382bb48850 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
     7
365
47e0d48fd769 commentary
Claus Gittinger <cg@exept.de>
parents: 278
diff changeset
     8
!DependentPart class methodsFor:'documentation'!
47e0d48fd769 commentary
Claus Gittinger <cg@exept.de>
parents: 278
diff changeset
     9
47e0d48fd769 commentary
Claus Gittinger <cg@exept.de>
parents: 278
diff changeset
    10
documentation
47e0d48fd769 commentary
Claus Gittinger <cg@exept.de>
parents: 278
diff changeset
    11
"
47e0d48fd769 commentary
Claus Gittinger <cg@exept.de>
parents: 278
diff changeset
    12
    a dummy class - only existing to provide a compatible home
47e0d48fd769 commentary
Claus Gittinger <cg@exept.de>
parents: 278
diff changeset
    13
    for fileIn of ST-80 classes.
47e0d48fd769 commentary
Claus Gittinger <cg@exept.de>
parents: 278
diff changeset
    14
47e0d48fd769 commentary
Claus Gittinger <cg@exept.de>
parents: 278
diff changeset
    15
    Notice: 
47e0d48fd769 commentary
Claus Gittinger <cg@exept.de>
parents: 278
diff changeset
    16
        this class was implemented using protocol information
47e0d48fd769 commentary
Claus Gittinger <cg@exept.de>
parents: 278
diff changeset
    17
        from alpha testers, from reading PD programs and 
47e0d48fd769 commentary
Claus Gittinger <cg@exept.de>
parents: 278
diff changeset
    18
        from the Hopkins/Horan book.
47e0d48fd769 commentary
Claus Gittinger <cg@exept.de>
parents: 278
diff changeset
    19
        - it may not be complete or compatible to the corresponding ST-80 class. 
47e0d48fd769 commentary
Claus Gittinger <cg@exept.de>
parents: 278
diff changeset
    20
        If you encounter any incompatibilities, please forward a note 
47e0d48fd769 commentary
Claus Gittinger <cg@exept.de>
parents: 278
diff changeset
    21
        describing the incompatibility verbal (i.e. no code) to the ST/X team.
47e0d48fd769 commentary
Claus Gittinger <cg@exept.de>
parents: 278
diff changeset
    22
47e0d48fd769 commentary
Claus Gittinger <cg@exept.de>
parents: 278
diff changeset
    23
    [author:]
47e0d48fd769 commentary
Claus Gittinger <cg@exept.de>
parents: 278
diff changeset
    24
        Claus Gittinger
47e0d48fd769 commentary
Claus Gittinger <cg@exept.de>
parents: 278
diff changeset
    25
"
47e0d48fd769 commentary
Claus Gittinger <cg@exept.de>
parents: 278
diff changeset
    26
47e0d48fd769 commentary
Claus Gittinger <cg@exept.de>
parents: 278
diff changeset
    27
47e0d48fd769 commentary
Claus Gittinger <cg@exept.de>
parents: 278
diff changeset
    28
47e0d48fd769 commentary
Claus Gittinger <cg@exept.de>
parents: 278
diff changeset
    29
! !
278
f2382bb48850 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    30
f2382bb48850 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    31
!DependentPart class methodsFor:'instance creation'!
f2382bb48850 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    32
f2382bb48850 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    33
model:aModel
f2382bb48850 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    34
    "return a new instance and initialize its model"
f2382bb48850 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    35
f2382bb48850 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    36
    ^ self new model:aModel
f2382bb48850 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    37
f2382bb48850 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    38
    "Created: 24.5.1996 / 19:17:37 / cg"
f2382bb48850 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    39
! !
f2382bb48850 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    40
f2382bb48850 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    41
!DependentPart methodsFor:'accessing'!
f2382bb48850 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    42
f2382bb48850 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    43
model
f2382bb48850 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    44
    "return model"
f2382bb48850 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    45
f2382bb48850 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    46
    ^ model
f2382bb48850 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    47
f2382bb48850 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    48
    "Created: 24.5.1996 / 19:16:51 / cg"
f2382bb48850 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    49
!
f2382bb48850 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    50
f2382bb48850 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    51
model:something
f2382bb48850 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    52
    "set model"
f2382bb48850 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    53
f2382bb48850 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    54
    model := something.
f2382bb48850 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    55
f2382bb48850 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    56
    "Created: 24.5.1996 / 19:16:51 / cg"
f2382bb48850 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    57
! !
f2382bb48850 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    58
f2382bb48850 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    59
!DependentPart class methodsFor:'documentation'!
f2382bb48850 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    60
f2382bb48850 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    61
version
365
47e0d48fd769 commentary
Claus Gittinger <cg@exept.de>
parents: 278
diff changeset
    62
    ^ '$Header: /cvs/stx/stx/libview2/DependentPart.st,v 1.2 1997-01-14 17:02:04 cg Exp $'
278
f2382bb48850 intitial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    63
! !