0
|
1 |
"{ Package: 'jv:statascripteditor' }"
|
|
2 |
|
|
3 |
"{ NameSpace: Smalltalk }"
|
|
4 |
|
|
5 |
ApplicationDefinition subclass:#jv_statascripteditor
|
|
6 |
instanceVariableNames:''
|
|
7 |
classVariableNames:''
|
|
8 |
poolDictionaries:''
|
|
9 |
category:'* Projects & Packages *'
|
|
10 |
!
|
|
11 |
|
|
12 |
|
|
13 |
!jv_statascripteditor 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 |
isGUIApplication
|
|
25 |
"return true, if this is a GUI application.
|
|
26 |
(these need more libraries and use a different startup procedure)"
|
|
27 |
|
|
28 |
^ true
|
|
29 |
!
|
|
30 |
|
|
31 |
mandatoryPreRequisites
|
|
32 |
"list packages which are mandatory as a prerequisite.
|
|
33 |
This are packages containing superclasses of my classes and classes which
|
|
34 |
are extended by myself.
|
|
35 |
They are mandatory, because we need these packages as a prerequisite for loading and compiling.
|
|
36 |
This method is generated automatically,
|
|
37 |
by searching along the inheritance chain of all of my classes."
|
|
38 |
|
|
39 |
^ #(
|
|
40 |
#'stx:libbasic' "ApplicationDefinition - superclass of jv_statascripteditor"
|
|
41 |
#'stx:libtool' "MultiViewToolApplication - superclass of StataScriptEditor"
|
|
42 |
#'stx:libview2' "ApplicationModel - superclass of StataScriptEditor"
|
|
43 |
)
|
|
44 |
!
|
|
45 |
|
|
46 |
referencedPreRequisites
|
|
47 |
"list packages which are a prerequisite, because they contain
|
|
48 |
classes which are referenced by my classes.
|
|
49 |
We do not need these packages as a prerequisite for compiling or loading,
|
|
50 |
however, a class from it may be referenced during execution and having it
|
|
51 |
unloaded then may lead to a runtime doesNotUnderstand error, unless the caller
|
|
52 |
includes explicit checks for the package being present.
|
|
53 |
This method is generated automatically,
|
|
54 |
by searching all classes (and their packages) which are referenced by my classes."
|
|
55 |
|
|
56 |
^ #(
|
|
57 |
#'stx:libbasic2' "UUID - referenced by StataScriptEditorMain class>>applicationUUID"
|
|
58 |
#'stx:libwidg' "HVScrollableView - referenced by StataScriptEditor>>createWorkspace"
|
|
59 |
)
|
|
60 |
!
|
|
61 |
|
|
62 |
subProjects
|
|
63 |
"list packages which are known as subprojects.
|
|
64 |
This method is generated automatically; however, when generating automatically,
|
|
65 |
packages are only added - never removed, unless listed in #excludedFromSubProjects."
|
|
66 |
|
|
67 |
^ #(
|
|
68 |
)
|
|
69 |
! !
|
|
70 |
|
|
71 |
!jv_statascripteditor class methodsFor:'description - contents'!
|
|
72 |
|
|
73 |
classNamesAndAttributes
|
|
74 |
"lists the classes which are to be included in the project.
|
|
75 |
Each entry in the list may be: a single class-name (symbol),
|
|
76 |
or an array-literal consisting of class name and attributes.
|
|
77 |
Attributes are: #autoload or #<os> where os is one of win32, unix,..."
|
|
78 |
|
|
79 |
^ #(
|
|
80 |
"<className> or (<className> attributes...) in load order"
|
|
81 |
StataScriptEditor
|
|
82 |
StataScriptEditorMain
|
|
83 |
StataScriptLogImporter
|
|
84 |
StataScriptLogParser
|
|
85 |
#'jv_statascripteditor'
|
|
86 |
)
|
|
87 |
!
|
|
88 |
|
|
89 |
extensionMethodNames
|
|
90 |
"list class/selector pairs of extensions.
|
|
91 |
A correponding method with real names must be present in my concrete subclasses"
|
|
92 |
|
|
93 |
^ #(
|
|
94 |
)
|
|
95 |
! !
|
|
96 |
|
|
97 |
!jv_statascripteditor class methodsFor:'description - project information'!
|
|
98 |
|
|
99 |
applicationIconFileName
|
|
100 |
"Return the name (without suffix) of an icon-file (the app's icon); will be included in the rc-resource file"
|
|
101 |
|
|
102 |
^ nil
|
|
103 |
" ^ self applicationName "
|
|
104 |
!
|
|
105 |
|
|
106 |
companyName
|
|
107 |
"Returns a company string which will appear in <lib>.rc.
|
|
108 |
Under win32, this is placed into the dlls file-info"
|
|
109 |
|
|
110 |
^ 'Jan Vrany'
|
|
111 |
|
|
112 |
"Modified: / 05-02-2015 / 06:31:42 / Jan Vrany <jan.vrany@fit.cvut.cz>"
|
|
113 |
!
|
|
114 |
|
|
115 |
description
|
|
116 |
"Returns a description string which will appear in nt.def / bc.def"
|
|
117 |
|
|
118 |
^ 'Simple Editor for STATA .do files'
|
|
119 |
|
|
120 |
"Modified: / 05-02-2015 / 06:31:56 / Jan Vrany <jan.vrany@fit.cvut.cz>"
|
|
121 |
!
|
|
122 |
|
|
123 |
legalCopyright
|
|
124 |
"Returns a copyright string which will appear in <lib>.rc.
|
|
125 |
Under win32, this is placed into the dlls file-info"
|
|
126 |
|
|
127 |
^ 'COPYRIGHT (C) 2015 Jan Vrany'
|
|
128 |
|
|
129 |
"Modified: / 05-02-2015 / 06:32:14 / Jan Vrany <jan.vrany@fit.cvut.cz>"
|
|
130 |
!
|
|
131 |
|
|
132 |
productInstallDirBaseName
|
|
133 |
"Returns a default installDir which will appear in <app>.nsi.
|
|
134 |
This is usually not the one you want to keep"
|
|
135 |
|
|
136 |
^ (self package asCollectionOfSubstringsSeparatedByAny:':/') last
|
|
137 |
!
|
|
138 |
|
|
139 |
productName
|
|
140 |
"Returns a product name which will appear in <lib>.rc.
|
|
141 |
Under win32, this is placed into the dlls file-info.
|
|
142 |
This method is usually redefined in a concrete application definition"
|
|
143 |
|
|
144 |
^ 'Stata Script Editor'
|
|
145 |
|
|
146 |
"Modified: / 05-02-2015 / 06:32:25 / Jan Vrany <jan.vrany@fit.cvut.cz>"
|
|
147 |
! !
|
|
148 |
|
|
149 |
!jv_statascripteditor class methodsFor:'description - startup'!
|
|
150 |
|
|
151 |
startupClassName
|
|
152 |
"the class that starts the show in its startupSelector method"
|
|
153 |
|
|
154 |
^ 'StataScriptEditorMain'
|
|
155 |
! !
|
|
156 |
|
|
157 |
!jv_statascripteditor class methodsFor:'documentation'!
|
|
158 |
|
|
159 |
version_HG
|
|
160 |
^ '$Changeset: <not expanded> $'
|
|
161 |
! !
|
|
162 |
|