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