packages/AbstractPackageDetails.st
author Jan Vrany <jan.vrany@fit.cvut.cz>
Thu, 31 May 2018 10:52:50 +0100
branchjv
changeset 4330 998eb03f0736
parent 3011 1997ff6e7e55
permissions -rw-r--r--
Copyright updates
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
1443
6dfdf336b472 copyright
Claus Gittinger <cg@exept.de>
parents: 1268
diff changeset
     1
"
6dfdf336b472 copyright
Claus Gittinger <cg@exept.de>
parents: 1268
diff changeset
     2
 COPYRIGHT (c) 2003 by eXept Software AG
6dfdf336b472 copyright
Claus Gittinger <cg@exept.de>
parents: 1268
diff changeset
     3
              All Rights Reserved
6dfdf336b472 copyright
Claus Gittinger <cg@exept.de>
parents: 1268
diff changeset
     4
6dfdf336b472 copyright
Claus Gittinger <cg@exept.de>
parents: 1268
diff changeset
     5
 This software is furnished under a license and may be used
6dfdf336b472 copyright
Claus Gittinger <cg@exept.de>
parents: 1268
diff changeset
     6
 only in accordance with the terms of that license and with the
6dfdf336b472 copyright
Claus Gittinger <cg@exept.de>
parents: 1268
diff changeset
     7
 inclusion of the above copyright notice.   This software may not
6dfdf336b472 copyright
Claus Gittinger <cg@exept.de>
parents: 1268
diff changeset
     8
 be provided or otherwise made available to, or used by, any
6dfdf336b472 copyright
Claus Gittinger <cg@exept.de>
parents: 1268
diff changeset
     9
 other person.  No title to or ownership of the software is
6dfdf336b472 copyright
Claus Gittinger <cg@exept.de>
parents: 1268
diff changeset
    10
 hereby transferred.
6dfdf336b472 copyright
Claus Gittinger <cg@exept.de>
parents: 1268
diff changeset
    11
"
6dfdf336b472 copyright
Claus Gittinger <cg@exept.de>
parents: 1268
diff changeset
    12
1228
924001ce0214 initial checkin
james
parents:
diff changeset
    13
"{ Package: 'stx:libbasic3' }"
924001ce0214 initial checkin
james
parents:
diff changeset
    14
924001ce0214 initial checkin
james
parents:
diff changeset
    15
"{ NameSpace: Packages }"
924001ce0214 initial checkin
james
parents:
diff changeset
    16
1268
9dc8d1b8ce9b Lots and lots of changes...
james
parents: 1228
diff changeset
    17
AbstractPackageNotebookApplication subclass:#AbstractPackageDetails
1228
924001ce0214 initial checkin
james
parents:
diff changeset
    18
	instanceVariableNames:''
924001ce0214 initial checkin
james
parents:
diff changeset
    19
	classVariableNames:''
924001ce0214 initial checkin
james
parents:
diff changeset
    20
	poolDictionaries:''
924001ce0214 initial checkin
james
parents:
diff changeset
    21
	category:'Package-Application'
924001ce0214 initial checkin
james
parents:
diff changeset
    22
!
924001ce0214 initial checkin
james
parents:
diff changeset
    23
1443
6dfdf336b472 copyright
Claus Gittinger <cg@exept.de>
parents: 1268
diff changeset
    24
!AbstractPackageDetails class methodsFor:'documentation'!
6dfdf336b472 copyright
Claus Gittinger <cg@exept.de>
parents: 1268
diff changeset
    25
6dfdf336b472 copyright
Claus Gittinger <cg@exept.de>
parents: 1268
diff changeset
    26
copyright
6dfdf336b472 copyright
Claus Gittinger <cg@exept.de>
parents: 1268
diff changeset
    27
"
6dfdf336b472 copyright
Claus Gittinger <cg@exept.de>
parents: 1268
diff changeset
    28
 COPYRIGHT (c) 2003 by eXept Software AG
6dfdf336b472 copyright
Claus Gittinger <cg@exept.de>
parents: 1268
diff changeset
    29
              All Rights Reserved
6dfdf336b472 copyright
Claus Gittinger <cg@exept.de>
parents: 1268
diff changeset
    30
6dfdf336b472 copyright
Claus Gittinger <cg@exept.de>
parents: 1268
diff changeset
    31
 This software is furnished under a license and may be used
6dfdf336b472 copyright
Claus Gittinger <cg@exept.de>
parents: 1268
diff changeset
    32
 only in accordance with the terms of that license and with the
6dfdf336b472 copyright
Claus Gittinger <cg@exept.de>
parents: 1268
diff changeset
    33
 inclusion of the above copyright notice.   This software may not
6dfdf336b472 copyright
Claus Gittinger <cg@exept.de>
parents: 1268
diff changeset
    34
 be provided or otherwise made available to, or used by, any
6dfdf336b472 copyright
Claus Gittinger <cg@exept.de>
parents: 1268
diff changeset
    35
 other person.  No title to or ownership of the software is
6dfdf336b472 copyright
Claus Gittinger <cg@exept.de>
parents: 1268
diff changeset
    36
 hereby transferred.
6dfdf336b472 copyright
Claus Gittinger <cg@exept.de>
parents: 1268
diff changeset
    37
"
6dfdf336b472 copyright
Claus Gittinger <cg@exept.de>
parents: 1268
diff changeset
    38
! !
1228
924001ce0214 initial checkin
james
parents:
diff changeset
    39
924001ce0214 initial checkin
james
parents:
diff changeset
    40
!AbstractPackageDetails methodsFor:'change & update'!
924001ce0214 initial checkin
james
parents:
diff changeset
    41
924001ce0214 initial checkin
james
parents:
diff changeset
    42
update:something with:aParameter from:changedObject
924001ce0214 initial checkin
james
parents:
diff changeset
    43
    "Invoked when an object that I depend upon sends a change notification."
924001ce0214 initial checkin
james
parents:
diff changeset
    44
    (self packagesSelectedHolder == changedObject) ifTrue:[
924001ce0214 initial checkin
james
parents:
diff changeset
    45
        self packagesSelectedHolderChanged:aParameter
924001ce0214 initial checkin
james
parents:
diff changeset
    46
    ].
924001ce0214 initial checkin
james
parents:
diff changeset
    47
! !
924001ce0214 initial checkin
james
parents:
diff changeset
    48
924001ce0214 initial checkin
james
parents:
diff changeset
    49
!AbstractPackageDetails methodsFor:'changes'!
924001ce0214 initial checkin
james
parents:
diff changeset
    50
924001ce0214 initial checkin
james
parents:
diff changeset
    51
declareDependents
924001ce0214 initial checkin
james
parents:
diff changeset
    52
    "assumed that the removeDependents has been called"
924001ce0214 initial checkin
james
parents:
diff changeset
    53
    self packagesSelectedHolder addDependent:self.
924001ce0214 initial checkin
james
parents:
diff changeset
    54
!
924001ce0214 initial checkin
james
parents:
diff changeset
    55
1268
9dc8d1b8ce9b Lots and lots of changes...
james
parents: 1228
diff changeset
    56
packagesSelectedHolderChanged:packagesSelected 
9dc8d1b8ce9b Lots and lots of changes...
james
parents: 1228
diff changeset
    57
9dc8d1b8ce9b Lots and lots of changes...
james
parents: 1228
diff changeset
    58
    self updateWithPackages:packagesSelected
1228
924001ce0214 initial checkin
james
parents:
diff changeset
    59
!
924001ce0214 initial checkin
james
parents:
diff changeset
    60
924001ce0214 initial checkin
james
parents:
diff changeset
    61
removeDependents
924001ce0214 initial checkin
james
parents:
diff changeset
    62
    "assumed that the removeDependents has been called"
924001ce0214 initial checkin
james
parents:
diff changeset
    63
    self packagesSelectedHolder removeDependent:self.
924001ce0214 initial checkin
james
parents:
diff changeset
    64
!
924001ce0214 initial checkin
james
parents:
diff changeset
    65
924001ce0214 initial checkin
james
parents:
diff changeset
    66
updateWithPackages:packages
924001ce0214 initial checkin
james
parents:
diff changeset
    67
    self subclassResponsibility
924001ce0214 initial checkin
james
parents:
diff changeset
    68
! !
924001ce0214 initial checkin
james
parents:
diff changeset
    69
924001ce0214 initial checkin
james
parents:
diff changeset
    70
!AbstractPackageDetails class methodsFor:'documentation'!
924001ce0214 initial checkin
james
parents:
diff changeset
    71
924001ce0214 initial checkin
james
parents:
diff changeset
    72
version
3011
1997ff6e7e55 trunk branched into /branches/jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 1443
diff changeset
    73
    ^ '$Header: /var/local/cvs/stx/libbasic3/packages/AbstractPackageDetails.st,v 1.3 2006-01-10 09:25:06 cg Exp $'
1228
924001ce0214 initial checkin
james
parents:
diff changeset
    74
! !