author | Jan Vrany <jan.vrany@fit.cvut.cz> |
Wed, 02 Sep 2015 18:29:03 +0100 | |
changeset 5 | 5cc2caa88b23 |
parent 2 | e439b82dda7d |
child 6 | 3e34be6a5d07 |
permissions | -rw-r--r-- |
0 | 1 |
"{ Package: 'stx:goodies/ring' }" |
2 |
||
3 |
"{ NameSpace: Smalltalk }" |
|
4 |
||
5 |
LibraryDefinition subclass:#stx_goodies_ring |
|
6 |
instanceVariableNames:'' |
|
7 |
classVariableNames:'' |
|
8 |
poolDictionaries:'' |
|
9 |
category:'* Projects & Packages *' |
|
10 |
! |
|
11 |
||
12 |
||
13 |
!stx_goodies_ring class methodsFor:'description'! |
|
14 |
||
15 |
excludedFromPreRequisites |
|
16 |
"list packages which are to be explicitely excluded from the automatic constructed |
|
17 |
prerequisites list. If empty, everything that is found along the inheritance of any of |
|
18 |
my classes is considered to be a prerequisite package." |
|
19 |
||
20 |
^ #( |
|
21 |
) |
|
22 |
! |
|
23 |
||
24 |
mandatoryPreRequisites |
|
25 |
"list packages which are mandatory as a prerequisite. |
|
26 |
This are packages containing superclasses of my classes and classes which |
|
27 |
are extended by myself. |
|
28 |
They are mandatory, because we need these packages as a prerequisite for loading and compiling. |
|
29 |
This method is generated automatically, |
|
30 |
by searching along the inheritance chain of all of my classes." |
|
31 |
||
2
e439b82dda7d
Fixed some tests. Not all pass, though,
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
1
diff
changeset
|
32 |
^ #( |
0 | 33 |
#'stx:libbasic' "Behavior - extended" |
34 |
) |
|
35 |
! |
|
36 |
||
37 |
referencedPreRequisites |
|
38 |
"list packages which are a prerequisite, because they contain |
|
39 |
classes which are referenced by my classes. |
|
40 |
We do not need these packages as a prerequisite for compiling or loading, |
|
41 |
however, a class from it may be referenced during execution and having it |
|
42 |
unloaded then may lead to a runtime doesNotUnderstand error, unless the caller |
|
43 |
includes explicit checks for the package being present. |
|
44 |
This method is generated automatically, |
|
45 |
by searching all classes (and their packages) which are referenced by my classes." |
|
46 |
||
47 |
^ #( |
|
48 |
#'stx:libcompat' "DateAndTime - referenced by RGCommentDefinition>>timeStamp" |
|
49 |
) |
|
50 |
! |
|
51 |
||
52 |
subProjects |
|
53 |
"list packages which are known as subprojects. |
|
54 |
The generated makefile will enter those and make there as well. |
|
55 |
However: they are not forced to be loaded when a package is loaded; |
|
56 |
for those, redefine requiredPrerequisites." |
|
57 |
||
58 |
^ #( |
|
59 |
) |
|
60 |
! ! |
|
61 |
||
62 |
!stx_goodies_ring class methodsFor:'description - contents'! |
|
63 |
||
64 |
classNamesAndAttributes |
|
65 |
"lists the classes which are to be included in the project. |
|
66 |
Each entry in the list may be: a single class-name (symbol), |
|
67 |
or an array-literal consisting of class name and attributes. |
|
68 |
Attributes are: #autoload or #<os> where os is one of win32, unix,..." |
|
69 |
||
70 |
^ #( |
|
71 |
"<className> or (<className> attributes...) in load order" |
|
72 |
RGDefinition |
|
73 |
#'stx_goodies_ring' |
|
74 |
RGAbstractContainer |
|
75 |
RGElementDefinition |
|
76 |
RGGlobalDefinition |
|
77 |
RGBehaviorDefinition |
|
78 |
RGCommentDefinition |
|
79 |
RGContainer |
|
80 |
RGGlobalVariableDefinition |
|
81 |
RGMethodDefinition |
|
82 |
RGOrganization |
|
83 |
RGVariableDefinition |
|
84 |
RGClassDescriptionDefinition |
|
85 |
RGClassInstanceVariableDefinition |
|
86 |
RGClassVariableDefinition |
|
87 |
RGInstanceVariableDefinition |
|
88 |
RGNamespace |
|
89 |
RGPackage |
|
90 |
RGPoolVariableDefinition |
|
91 |
RGSlice |
|
92 |
RGTraitDescriptionDefinition |
|
93 |
RGClassDefinition |
|
94 |
RGMetaclassDefinition |
|
95 |
RGMetatraitDefinition |
|
96 |
RGTraitDefinition |
|
97 |
) |
|
98 |
! |
|
99 |
||
100 |
extensionMethodNames |
|
101 |
"list class/selector pairs of extensions. |
|
102 |
A correponding method with real names must be present in my concrete subclasses" |
|
103 |
||
104 |
^ #( |
|
105 |
Behavior methodNamed: |
|
106 |
Behavior protocols |
|
107 |
Class asFullRingDefinition |
|
108 |
Class asRingDefinition |
|
109 |
Class asRingDefinitionWithMethods:withSuperclasses:withSubclasses:withPackageKeys:in: |
|
110 |
Class asRingDefinitionWithMethods:withSuperclasses:withSubclasses:withPackages: |
|
111 |
Method asActiveRingDefinition |
|
112 |
Method asFullRingDefinition |
|
113 |
Method asHistoricalRingDefinition |
|
114 |
Method asPassiveRingDefinition |
|
115 |
Method asRingDefinition |
|
116 |
Method methodReference |
|
117 |
Method realClass |
|
118 |
Object isRingObject |
|
119 |
) |
|
120 |
! ! |
|
121 |
||
122 |
!stx_goodies_ring class methodsFor:'description - project information'! |
|
123 |
||
124 |
companyName |
|
125 |
"Returns a company string which will appear in <lib>.rc. |
|
126 |
Under win32, this is placed into the dlls file-info" |
|
127 |
||
128 |
^ 'eXept Software AG' |
|
129 |
! |
|
130 |
||
131 |
description |
|
132 |
"Returns a description string which will appear in nt.def / bc.def" |
|
133 |
||
134 |
^ 'Smalltalk/X Class library' |
|
135 |
! |
|
136 |
||
137 |
legalCopyright |
|
138 |
"Returns a copyright string which will appear in <lib>.rc. |
|
139 |
Under win32, this is placed into the dlls file-info" |
|
140 |
||
141 |
^ 'Copyright Claus Gittinger 1988-2015\nCopyright eXept Software AG 2015' |
|
142 |
! |
|
143 |
||
144 |
productName |
|
145 |
"Returns a product name which will appear in <lib>.rc. |
|
146 |
Under win32, this is placed into the dlls file-info. |
|
147 |
This method is usually redefined in a concrete application definition" |
|
148 |
||
149 |
^ 'Smalltalk/X' |
|
150 |
! ! |
|
151 |
||
152 |
!stx_goodies_ring class methodsFor:'documentation'! |
|
153 |
||
154 |
version_HG |
|
155 |
^ '$Changeset: <not expanded> $' |
|
156 |
! ! |
|
157 |