752
|
1 |
"{ Package: 'stx:libjava/startup' }"
|
|
2 |
|
|
3 |
ApplicationDefinition subclass:#stx_libjava_startup
|
|
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 |
|
|
28 |
preRequisites
|
|
29 |
"list all required packages.
|
|
30 |
This list can be maintained manually or (better) generated and
|
|
31 |
updated by scanning the superclass hierarchies and looking for
|
|
32 |
global variable accesses. (the browser has a menu function for that)
|
|
33 |
Howevery, often too much is found, and you may want to explicitely
|
|
34 |
exclude individual packages in the #excludedFromPrerequisites method."
|
|
35 |
|
|
36 |
^ #(
|
|
37 |
#'stx:libbasic' "ApplicationDefinition - superclass of stx_libjava_startup "
|
|
38 |
#'stx:libcomp'
|
|
39 |
#'stx:libjava' "Java - referenced by JavaStartup class>>main: "
|
|
40 |
)
|
|
41 |
!
|
|
42 |
|
|
43 |
subProjects
|
|
44 |
"list packages which are known as subprojects.
|
|
45 |
This method is generated automatically; however, when generating automatically,
|
|
46 |
packages are only added - never removed, unless listed in #excludedFromSubProjects."
|
|
47 |
|
|
48 |
^ #(
|
|
49 |
)
|
|
50 |
! !
|
|
51 |
|
|
52 |
!stx_libjava_startup class methodsFor:'description - contents'!
|
|
53 |
|
|
54 |
classNamesAndAttributes
|
|
55 |
"lists the classes which are to be included in the project.
|
|
56 |
Each entry in the list may be: a single class-name (symbol),
|
|
57 |
or an array-literal consisting of class name and attributes.
|
|
58 |
Attributes are: #autoload or #<os> where os is one of win32, unix,..."
|
|
59 |
|
|
60 |
^ #(
|
|
61 |
"<className> or (<className> attributes...) in load order"
|
|
62 |
JavaStartup
|
|
63 |
#'stx_libjava_startup'
|
|
64 |
)
|
|
65 |
!
|
|
66 |
|
|
67 |
extensionMethodNames
|
|
68 |
"lists the extension methods which are to be included in the project.
|
|
69 |
Entries are 2-element array literals, consisting of class-name and selector."
|
|
70 |
|
|
71 |
^ #(
|
|
72 |
)
|
|
73 |
! !
|
|
74 |
|
|
75 |
!stx_libjava_startup class methodsFor:'description - project information'!
|
|
76 |
|
|
77 |
applicationIconFileName
|
|
78 |
"Return the name (without suffix) of an icon-file (the app's icon); will be included in the rc-resource file"
|
|
79 |
|
|
80 |
^ nil
|
|
81 |
"/ ^ self applicationName
|
|
82 |
!
|
|
83 |
|
|
84 |
companyName
|
|
85 |
"Return a companyname which will appear in <lib>.rc"
|
|
86 |
|
|
87 |
^ 'SWING Research Group & eXept Software AG'
|
|
88 |
|
|
89 |
"Modified: / 07-04-2011 / 20:22:53 / Jan Vrany <jan.vrany@fit.cvut.cz>"
|
|
90 |
!
|
|
91 |
|
|
92 |
description
|
|
93 |
"Return a description string which will appear in vc.def / bc.def"
|
|
94 |
|
|
95 |
^ 'Smalltalk/X Java Launcher'
|
|
96 |
|
|
97 |
"Modified: / 07-04-2011 / 20:23:22 / Jan Vrany <jan.vrany@fit.cvut.cz>"
|
|
98 |
!
|
|
99 |
|
|
100 |
legalCopyright
|
|
101 |
"Return a copyright string which will appear in <lib>.rc"
|
|
102 |
|
|
103 |
^ 'Copyright 2010-2011 Jan Vrany, Jan Kurs, Marcel Hlopko\nCopyright 1988-2011Claus Gittinger \nCopyright 1998-2011 eXept Software AG'
|
|
104 |
|
|
105 |
"Modified: / 07-04-2011 / 20:24:35 / Jan Vrany <jan.vrany@fit.cvut.cz>"
|
|
106 |
!
|
|
107 |
|
|
108 |
productName
|
|
109 |
"Return a product name which will appear in <lib>.rc"
|
|
110 |
|
|
111 |
^ 'Smalltalk/X JVM'
|
|
112 |
|
|
113 |
"Modified: / 07-04-2011 / 20:24:41 / Jan Vrany <jan.vrany@fit.cvut.cz>"
|
|
114 |
! !
|
|
115 |
|
|
116 |
!stx_libjava_startup class methodsFor:'description - startup'!
|
|
117 |
|
|
118 |
startupClassName
|
|
119 |
"the name of the class which starts the show in its <startupSelector> method.
|
|
120 |
Usually, the name of a subclass of StandAloneStartup."
|
|
121 |
|
|
122 |
^ 'JavaStartup'
|
|
123 |
|
|
124 |
"Modified: / 07-04-2011 / 20:24:57 / Jan Vrany <jan.vrany@fit.cvut.cz>"
|
|
125 |
!
|
|
126 |
|
|
127 |
startupSelector
|
|
128 |
"the message that is sent to the startupClass to start the show"
|
|
129 |
|
|
130 |
^ #'start'
|
|
131 |
! !
|
|
132 |
|
|
133 |
!stx_libjava_startup class methodsFor:'description - svn'!
|
|
134 |
|
|
135 |
svnRevisionNr
|
|
136 |
"Return a SVN revision number of myself.
|
|
137 |
This number is updated after a commit"
|
|
138 |
|
|
139 |
^ "$SVN-Revision:"'nil'"$"
|
|
140 |
! !
|
|
141 |
|
|
142 |
!stx_libjava_startup class methodsFor:'documentation'!
|
|
143 |
|
|
144 |
version_SVN
|
|
145 |
^ '$Id$'
|
|
146 |
! !
|