author | Jan Vrany <jan.vrany@labware.com> |
Sun, 09 Aug 2020 13:00:09 +0100 | |
changeset 4004 | 794e6f425fa8 |
parent 3412 | df11bb428463 |
permissions | -rw-r--r-- |
749 | 1 |
"{ Package: 'stx:libjava/startup' }" |
2 |
||
2678
c865275e48a7
Updated to match Mercurial revision a00302fe5083 with two tweaks:
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
2396
diff
changeset
|
3 |
ApplicationDefinition subclass:#stx_libjava_startup |
749 | 4 |
instanceVariableNames:'' |
5 |
classVariableNames:'' |
|
6 |
poolDictionaries:'' |
|
7 |
category:'* Projects & Packages *' |
|
8 |
! |
|
9 |
||
10 |
||
11 |
!stx_libjava_startup class methodsFor:'description'! |
|
12 |
||
13 |
excludedFromPreRequisites |
|
14 |
"list all packages which should be ignored in the automatic |
|
15 |
preRequisites scan. See #preRequisites for more." |
|
16 |
||
17 |
^ #( |
|
18 |
) |
|
19 |
! |
|
20 |
||
21 |
isGUIApplication |
|
22 |
"return true, if this is a GUI application. |
|
23 |
(these need more libraries and use a different startup procedure)" |
|
24 |
||
25 |
^ false |
|
26 |
! |
|
27 |
||
2678
c865275e48a7
Updated to match Mercurial revision a00302fe5083 with two tweaks:
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
2396
diff
changeset
|
28 |
mandatoryPreRequisites |
c865275e48a7
Updated to match Mercurial revision a00302fe5083 with two tweaks:
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
2396
diff
changeset
|
29 |
"list all required mandatory packages. |
c865275e48a7
Updated to match Mercurial revision a00302fe5083 with two tweaks:
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
2396
diff
changeset
|
30 |
Packages are mandatory, if they contain superclasses of the package's classes |
c865275e48a7
Updated to match Mercurial revision a00302fe5083 with two tweaks:
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
2396
diff
changeset
|
31 |
or classes which are extended by this package. |
749 | 32 |
This list can be maintained manually or (better) generated and |
2678
c865275e48a7
Updated to match Mercurial revision a00302fe5083 with two tweaks:
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
2396
diff
changeset
|
33 |
updated by scanning the superclass hierarchies |
c865275e48a7
Updated to match Mercurial revision a00302fe5083 with two tweaks:
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
2396
diff
changeset
|
34 |
(the browser has a menu function for that)" |
749 | 35 |
|
36 |
^ #( |
|
37 |
#'stx:libbasic' "ApplicationDefinition - superclass of stx_libjava_startup " |
|
2678
c865275e48a7
Updated to match Mercurial revision a00302fe5083 with two tweaks:
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
2396
diff
changeset
|
38 |
) |
c865275e48a7
Updated to match Mercurial revision a00302fe5083 with two tweaks:
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
2396
diff
changeset
|
39 |
! |
c865275e48a7
Updated to match Mercurial revision a00302fe5083 with two tweaks:
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
2396
diff
changeset
|
40 |
|
c865275e48a7
Updated to match Mercurial revision a00302fe5083 with two tweaks:
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
2396
diff
changeset
|
41 |
referencedPreRequisites |
c865275e48a7
Updated to match Mercurial revision a00302fe5083 with two tweaks:
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
2396
diff
changeset
|
42 |
"list all packages containing classes referenced by the packages's members. |
c865275e48a7
Updated to match Mercurial revision a00302fe5083 with two tweaks:
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
2396
diff
changeset
|
43 |
This list can be maintained manually or (better) generated and |
c865275e48a7
Updated to match Mercurial revision a00302fe5083 with two tweaks:
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
2396
diff
changeset
|
44 |
updated by looking for global variable accesses |
c865275e48a7
Updated to match Mercurial revision a00302fe5083 with two tweaks:
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
2396
diff
changeset
|
45 |
(the browser has a menu function for that) |
c865275e48a7
Updated to match Mercurial revision a00302fe5083 with two tweaks:
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
2396
diff
changeset
|
46 |
However, often too much is found, and you may want to explicitely |
c865275e48a7
Updated to match Mercurial revision a00302fe5083 with two tweaks:
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
2396
diff
changeset
|
47 |
exclude individual packages in the #excludedFromPreRequisites method." |
c865275e48a7
Updated to match Mercurial revision a00302fe5083 with two tweaks:
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
2396
diff
changeset
|
48 |
|
c865275e48a7
Updated to match Mercurial revision a00302fe5083 with two tweaks:
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
2396
diff
changeset
|
49 |
^ #( |
749 | 50 |
#'stx:libjava' "Java - referenced by JavaStartup class>>main: " |
51 |
) |
|
52 |
! |
|
53 |
||
54 |
subProjects |
|
55 |
"list packages which are known as subprojects. |
|
56 |
This method is generated automatically; however, when generating automatically, |
|
57 |
packages are only added - never removed, unless listed in #excludedFromSubProjects." |
|
58 |
||
59 |
^ #( |
|
60 |
) |
|
61 |
! ! |
|
62 |
||
63 |
!stx_libjava_startup class methodsFor:'description - contents'! |
|
64 |
||
65 |
classNamesAndAttributes |
|
66 |
"lists the classes which are to be included in the project. |
|
67 |
Each entry in the list may be: a single class-name (symbol), |
|
68 |
or an array-literal consisting of class name and attributes. |
|
69 |
Attributes are: #autoload or #<os> where os is one of win32, unix,..." |
|
70 |
||
71 |
^ #( |
|
72 |
"<className> or (<className> attributes...) in load order" |
|
73 |
JavaStartup |
|
74 |
#'stx_libjava_startup' |
|
75 |
) |
|
76 |
! |
|
77 |
||
78 |
extensionMethodNames |
|
79 |
"lists the extension methods which are to be included in the project. |
|
80 |
Entries are 2-element array literals, consisting of class-name and selector." |
|
81 |
||
82 |
^ #( |
|
83 |
) |
|
84 |
! ! |
|
85 |
||
86 |
!stx_libjava_startup class methodsFor:'description - project information'! |
|
87 |
||
88 |
applicationIconFileName |
|
89 |
"Return the name (without suffix) of an icon-file (the app's icon); will be included in the rc-resource file" |
|
90 |
||
91 |
^ nil |
|
92 |
"/ ^ self applicationName |
|
93 |
! |
|
94 |
||
95 |
companyName |
|
96 |
"Return a companyname which will appear in <lib>.rc" |
|
97 |
||
98 |
^ 'SWING Research Group & eXept Software AG' |
|
99 |
||
100 |
"Modified: / 07-04-2011 / 20:22:53 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
101 |
! |
|
102 |
||
103 |
description |
|
104 |
"Return a description string which will appear in vc.def / bc.def" |
|
105 |
||
106 |
^ 'Smalltalk/X Java Launcher' |
|
107 |
||
108 |
"Modified: / 07-04-2011 / 20:23:22 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
109 |
! |
|
110 |
||
111 |
legalCopyright |
|
112 |
"Return a copyright string which will appear in <lib>.rc" |
|
113 |
||
114 |
^ 'Copyright 2010-2011 Jan Vrany, Jan Kurs, Marcel Hlopko\nCopyright 1988-2011Claus Gittinger \nCopyright 1998-2011 eXept Software AG' |
|
115 |
||
116 |
"Modified: / 07-04-2011 / 20:24:35 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
117 |
! |
|
118 |
||
119 |
productName |
|
120 |
"Return a product name which will appear in <lib>.rc" |
|
121 |
||
122 |
^ 'Smalltalk/X JVM' |
|
123 |
||
124 |
"Modified: / 07-04-2011 / 20:24:41 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
125 |
! ! |
|
126 |
||
127 |
!stx_libjava_startup class methodsFor:'description - startup'! |
|
128 |
||
129 |
startupClassName |
|
130 |
"the name of the class which starts the show in its <startupSelector> method. |
|
131 |
Usually, the name of a subclass of StandAloneStartup." |
|
132 |
||
133 |
^ 'JavaStartup' |
|
134 |
||
135 |
"Modified: / 07-04-2011 / 20:24:57 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
136 |
! |
|
137 |
||
138 |
startupSelector |
|
139 |
"the message that is sent to the startupClass to start the show" |
|
140 |
||
141 |
^ #'start' |
|
142 |
! ! |
|
143 |
||
144 |
!stx_libjava_startup class methodsFor:'description - svn'! |
|
145 |
||
146 |
svnRevisionNr |
|
147 |
"Return a SVN revision number of myself. |
|
148 |
This number is updated after a commit" |
|
149 |
||
150 |
^ "$SVN-Revision:"'nil'"$" |
|
151 |
! ! |
|
152 |
||
153 |
!stx_libjava_startup class methodsFor:'documentation'! |
|
154 |
||
2353
fa7400d022a0
Updated to https://swing.fit.cvut.cz/hg/stx.libjava/rev/31f8b995905e
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
2152
diff
changeset
|
155 |
version_CVS |
3412
df11bb428463
Merged with mercurial revision 4f3cc813be4 (8 changesets total)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
3360
diff
changeset
|
156 |
^ '$Header: /cvs/stx/stx/libjava/startup/stx_libjava_startup.st,v 1.6 2015-03-20 13:29:45 vrany Exp $' |
2353
fa7400d022a0
Updated to https://swing.fit.cvut.cz/hg/stx.libjava/rev/31f8b995905e
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
2152
diff
changeset
|
157 |
! |
fa7400d022a0
Updated to https://swing.fit.cvut.cz/hg/stx.libjava/rev/31f8b995905e
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
2152
diff
changeset
|
158 |
|
fa7400d022a0
Updated to https://swing.fit.cvut.cz/hg/stx.libjava/rev/31f8b995905e
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
2152
diff
changeset
|
159 |
version_HG |
fa7400d022a0
Updated to https://swing.fit.cvut.cz/hg/stx.libjava/rev/31f8b995905e
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
2152
diff
changeset
|
160 |
|
fa7400d022a0
Updated to https://swing.fit.cvut.cz/hg/stx.libjava/rev/31f8b995905e
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
2152
diff
changeset
|
161 |
^ '$Changeset: <not expanded> $' |
fa7400d022a0
Updated to https://swing.fit.cvut.cz/hg/stx.libjava/rev/31f8b995905e
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
2152
diff
changeset
|
162 |
! |
fa7400d022a0
Updated to https://swing.fit.cvut.cz/hg/stx.libjava/rev/31f8b995905e
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
2152
diff
changeset
|
163 |
|
749 | 164 |
version_SVN |
3412
df11bb428463
Merged with mercurial revision 4f3cc813be4 (8 changesets total)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
3360
diff
changeset
|
165 |
^ '$Id: stx_libjava_startup.st,v 1.6 2015-03-20 13:29:45 vrany Exp $' |
2152 | 166 |
! ! |
2353
fa7400d022a0
Updated to https://swing.fit.cvut.cz/hg/stx.libjava/rev/31f8b995905e
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
2152
diff
changeset
|
167 |