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