author | Claus Gittinger <cg@exept.de> |
Tue, 24 Feb 2015 16:46:36 +0100 | |
changeset 5282 | 382e6cfb447d |
parent 5275 | ce7b9390336c |
child 5312 | 3a5a65f4cb7b |
permissions | -rw-r--r-- |
3341 | 1 |
" |
2 |
COPYRIGHT (c) 2006 by eXept Software AG |
|
4109 | 3 |
All Rights Reserved |
3341 | 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 |
" |
|
3330 | 12 |
"{ Package: 'stx:libwidg' }" |
13 |
||
5243
cbd28c5f47ea
comment/format in: #documentation
Claus Gittinger <cg@exept.de>
parents:
5165
diff
changeset
|
14 |
"{ NameSpace: Smalltalk }" |
cbd28c5f47ea
comment/format in: #documentation
Claus Gittinger <cg@exept.de>
parents:
5165
diff
changeset
|
15 |
|
3330 | 16 |
LibraryDefinition subclass:#stx_libwidg |
17 |
instanceVariableNames:'' |
|
18 |
classVariableNames:'' |
|
19 |
poolDictionaries:'' |
|
3472 | 20 |
category:'* Projects & Packages *' |
3330 | 21 |
! |
22 |
||
3341 | 23 |
!stx_libwidg class methodsFor:'documentation'! |
24 |
||
25 |
copyright |
|
26 |
" |
|
27 |
COPYRIGHT (c) 2006 by eXept Software AG |
|
4109 | 28 |
All Rights Reserved |
3341 | 29 |
|
30 |
This software is furnished under a license and may be used |
|
31 |
only in accordance with the terms of that license and with the |
|
32 |
inclusion of the above copyright notice. This software may not |
|
33 |
be provided or otherwise made available to, or used by, any |
|
34 |
other person. No title to or ownership of the software is |
|
35 |
hereby transferred. |
|
36 |
" |
|
37 |
! |
|
38 |
||
39 |
documentation |
|
40 |
" |
|
5243
cbd28c5f47ea
comment/format in: #documentation
Claus Gittinger <cg@exept.de>
parents:
5165
diff
changeset
|
41 |
Package Documentation |
cbd28c5f47ea
comment/format in: #documentation
Claus Gittinger <cg@exept.de>
parents:
5165
diff
changeset
|
42 |
|
5275 | 43 |
This library contains elementary GUI components (widgets), such as Buttons, InputFields, |
5243
cbd28c5f47ea
comment/format in: #documentation
Claus Gittinger <cg@exept.de>
parents:
5165
diff
changeset
|
44 |
TextEditors, Scrollbars etc. |
5275 | 45 |
|
46 |
All of these widgets are written in 100% pure Smalltalk. They do not depend upon any particular |
|
47 |
underlying graphic system (by the operating system). |
|
48 |
Instead, they build upon the abstraction layer as provided by libview. |
|
3341 | 49 |
" |
50 |
! ! |
|
3330 | 51 |
|
52 |
!stx_libwidg class methodsFor:'description'! |
|
53 |
||
3488 | 54 |
excludedFromPreRequisites |
3330 | 55 |
^ #( |
4529
ec75c190f714
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
4520
diff
changeset
|
56 |
#'stx:libjavascript' "JavaScriptParser - referenced by Workspace>>browseImplementorsOfIt " |
ec75c190f714
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
4520
diff
changeset
|
57 |
#'stx:goodies/communication' "HTTPInterface - referenced by EditTextView>>editMenu " |
ec75c190f714
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
4520
diff
changeset
|
58 |
#'stx:goodies/soap' "SOAP::SoapImplError - referenced by EditTextView>>googleSpellingSuggestion " |
ec75c190f714
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
4520
diff
changeset
|
59 |
#'stx:goodies/soap/examples' "SOAP::BabelFishClient - referenced by EditTextView>>babelFishTranslate: " |
ec75c190f714
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
4520
diff
changeset
|
60 |
#'stx:libcomp' "Parser - referenced by EditTextView>>executeKeyboardMacro: " |
ec75c190f714
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
4520
diff
changeset
|
61 |
#'stx:libhtml' "HTMLDocumentView - referenced by DialogBox>>addHelpButtonFor: " |
ec75c190f714
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
4520
diff
changeset
|
62 |
#'stx:libtool' "SystemBrowser - referenced by Workspace>>browseImplementorsOfIt " |
ec75c190f714
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
4520
diff
changeset
|
63 |
#'stx:libwidg2' "FilenameEditField - referenced by DialogBox>>addFilenameInputFieldOn:in:tabable: " |
3330 | 64 |
) |
65 |
! |
|
66 |
||
4529
ec75c190f714
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
4520
diff
changeset
|
67 |
mandatoryPreRequisites |
ec75c190f714
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
4520
diff
changeset
|
68 |
"list all required mandatory packages. |
ec75c190f714
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
4520
diff
changeset
|
69 |
Packages are mandatory, if they contain superclasses of the package's classes |
ec75c190f714
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
4520
diff
changeset
|
70 |
or classes which are extended by this package. |
ec75c190f714
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
4520
diff
changeset
|
71 |
This list can be maintained manually or (better) generated and |
ec75c190f714
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
4520
diff
changeset
|
72 |
updated by scanning the superclass hierarchies |
4663 | 73 |
(the browser has a menu function for that)" |
4529
ec75c190f714
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
4520
diff
changeset
|
74 |
|
3330 | 75 |
^ #( |
4663 | 76 |
#'stx:libbasic' "Autoload - superclass of ListViewController " |
77 |
#'stx:libview' "Controller - superclass of ButtonController " |
|
78 |
#'stx:libview2' "Model - superclass of MultiSelectionInList " |
|
3330 | 79 |
) |
3488 | 80 |
! |
81 |
||
4529
ec75c190f714
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
4520
diff
changeset
|
82 |
referencedPreRequisites |
ec75c190f714
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
4520
diff
changeset
|
83 |
"list all packages containing classes referenced by the packages's members. |
ec75c190f714
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
4520
diff
changeset
|
84 |
This list can be maintained manually or (better) generated and |
ec75c190f714
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
4520
diff
changeset
|
85 |
updated by looking for global variable accesses |
ec75c190f714
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
4520
diff
changeset
|
86 |
(the browser has a menu function for that) |
ec75c190f714
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
4520
diff
changeset
|
87 |
However, often too much is found, and you may want to explicitely |
ec75c190f714
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
4520
diff
changeset
|
88 |
exclude individual packages in the #excludedFromPreRequisites method." |
ec75c190f714
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
4520
diff
changeset
|
89 |
|
3488 | 90 |
^ #( |
4663 | 91 |
#'stx:libbasic2' "ActorStream - referenced by TextCollector>>initialize " |
4529
ec75c190f714
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
4520
diff
changeset
|
92 |
#'stx:libbasic3' "MessageTally - referenced by Workspace>>spyOnIt " |
4663 | 93 |
#'stx:libui' "ActionButtonSpec - referenced by Button>>specClass " |
94 |
) |
|
95 |
! |
|
96 |
||
97 |
subProjects |
|
98 |
"list packages which are known as subprojects. |
|
99 |
The generated makefile will enter those and make there as well. |
|
100 |
However: they are not forced to be loaded when a package is loaded; |
|
101 |
for those, redefine requiredPrerequisites" |
|
102 |
||
103 |
^ #( |
|
3488 | 104 |
) |
3330 | 105 |
! ! |
106 |
||
3351 | 107 |
!stx_libwidg class methodsFor:'description - compilation'! |
108 |
||
3922 | 109 |
additionalBaseAddressDefinition_bc_dot_mak |
110 |
"this is an optional definition, which (if present) may speed up the dll-loading a little |
|
111 |
on win32 systems." |
|
112 |
||
3374 | 113 |
^ ' |
3435 | 114 |
# see stdHeader_bc for LIBWIDG_BASE |
3922 | 115 |
LIB_BASE=$(LIBWIDG_BASE) |
3374 | 116 |
' |
117 |
! |
|
118 |
||
3351 | 119 |
stcOptimizationOptions |
4084 | 120 |
^ '+optinline' |
5151 | 121 |
! |
122 |
||
123 |
stcWarningOptions |
|
124 |
^ '-warnNonStandard -warnUnused' |
|
3351 | 125 |
! ! |
126 |
||
3488 | 127 |
!stx_libwidg class methodsFor:'description - contents'! |
128 |
||
129 |
classNamesAndAttributes |
|
4270 | 130 |
"lists the classes which are to be included in the project. |
131 |
Each entry in the list may be: a single class-name (symbol), |
|
132 |
or an array-literal consisting of class name and attributes. |
|
133 |
Attributes are: #autoload or #<os> where os is one of win32, unix,..." |
|
134 |
||
3488 | 135 |
^ #( |
4270 | 136 |
"<className> or (<className> attributes...) in load order" |
5165 | 137 |
ButtonController |
138 |
DialogBox |
|
139 |
EditTextViewCompletionSupport |
|
140 |
EnterFieldGroup |
|
141 |
FramedBox |
|
142 |
GenericToolbarIconLibrary |
|
4800
72484439b233
Completion support refactored:
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
4663
diff
changeset
|
143 |
Label |
72484439b233
Completion support refactored:
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
4663
diff
changeset
|
144 |
ListView |
4837
ac279fb76bb0
Make ListViewController compiled instead of autoloaded
Stefan Vogel <sv@exept.de>
parents:
4800
diff
changeset
|
145 |
ListViewController |
5165 | 146 |
MenuEvent |
4270 | 147 |
ObjectView |
148 |
PanelView |
|
149 |
PopUpMenu |
|
150 |
PullDownMenu |
|
151 |
RadioButtonGroup |
|
152 |
ScrollBar |
|
153 |
ScrollableView |
|
5165 | 154 |
Scroller |
155 |
SelectionInList |
|
156 |
VariablePanel |
|
157 |
VariablePanelController |
|
158 |
#'stx_libwidg' |
|
159 |
Button |
|
160 |
CheckLabel |
|
161 |
EnterBox |
|
162 |
FontPanel |
|
4800
72484439b233
Completion support refactored:
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
4663
diff
changeset
|
163 |
HVScrollableView |
72484439b233
Completion support refactored:
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
4663
diff
changeset
|
164 |
HorizontalPanelView |
5165 | 165 |
HorizontalScrollBar |
166 |
HorizontalScroller |
|
167 |
InfoBox |
|
4800
72484439b233
Completion support refactored:
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
4663
diff
changeset
|
168 |
MiniScroller |
5165 | 169 |
MultiColumnPanelView |
4800
72484439b233
Completion support refactored:
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
4663
diff
changeset
|
170 |
MultiSelectionInList |
5165 | 171 |
OptionBox |
172 |
PopUpListController |
|
4270 | 173 |
SelectionInListView |
174 |
SequenceView |
|
5165 | 175 |
TextView |
176 |
ToggleController |
|
4270 | 177 |
VariableHorizontalPanel |
178 |
VariableHorizontalPanelController |
|
179 |
VariableVerticalPanel |
|
180 |
VariableVerticalPanelController |
|
181 |
VerticalPanelView |
|
5165 | 182 |
WorkspaceCompletionSupport |
183 |
XPToolbarIconLibrary |
|
184 |
ArrowButton |
|
185 |
EditTextView |
|
186 |
EnterBox2 |
|
187 |
FileSelectionList |
|
188 |
HorizontalMiniScroller |
|
189 |
ListSelectionBox |
|
190 |
MenuView |
|
191 |
PopUpList |
|
192 |
RadioButtonController |
|
193 |
Toggle |
|
194 |
VistaToolbarIconLibrary |
|
4270 | 195 |
WarningBox |
5272 | 196 |
AdwaitaToolbarIconLibrary |
5165 | 197 |
CheckToggle |
198 |
ClickMenuView |
|
199 |
EditField |
|
200 |
FileSelectionBox |
|
201 |
RadioButton |
|
202 |
TextCollector |
|
203 |
Windows8ToolbarIconLibrary |
|
204 |
YesNoBox |
|
205 |
FileSaveBox |
|
4270 | 206 |
Workspace |
4800
72484439b233
Completion support refactored:
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
4663
diff
changeset
|
207 |
CodeView |
5272 | 208 |
(MacOSXToolbarIconLibrary autoload) |
3488 | 209 |
) |
4529
ec75c190f714
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
4520
diff
changeset
|
210 |
! |
ec75c190f714
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
4520
diff
changeset
|
211 |
|
ec75c190f714
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
4520
diff
changeset
|
212 |
extensionMethodNames |
ec75c190f714
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
4520
diff
changeset
|
213 |
"lists the extension methods which are to be included in the project. |
ec75c190f714
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
4520
diff
changeset
|
214 |
Entries are 2-element array literals, consisting of class-name and selector." |
ec75c190f714
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
4520
diff
changeset
|
215 |
|
ec75c190f714
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
4520
diff
changeset
|
216 |
^ #( |
ec75c190f714
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
4520
diff
changeset
|
217 |
) |
3488 | 218 |
! ! |
219 |
||
3330 | 220 |
!stx_libwidg class methodsFor:'description - project information'! |
221 |
||
4529
ec75c190f714
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
4520
diff
changeset
|
222 |
applicationIconFileName |
ec75c190f714
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
4520
diff
changeset
|
223 |
"Return the name (without suffix) of an icon-file (the app's icon); will be included in the rc-resource file" |
ec75c190f714
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
4520
diff
changeset
|
224 |
|
ec75c190f714
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
4520
diff
changeset
|
225 |
^ nil |
ec75c190f714
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
4520
diff
changeset
|
226 |
"/ ^ self applicationName |
ec75c190f714
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
4520
diff
changeset
|
227 |
! |
ec75c190f714
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
4520
diff
changeset
|
228 |
|
3330 | 229 |
companyName |
230 |
"Return a companyname which will appear in <lib>.rc" |
|
231 |
||
232 |
^ 'eXept Software AG' |
|
233 |
! |
|
234 |
||
235 |
description |
|
236 |
"Return a description string which will appear in nt.def / bc.def" |
|
237 |
||
3342 | 238 |
^ 'Smalltalk/X Elementary Widgets' |
239 |
! |
|
240 |
||
3330 | 241 |
legalCopyright |
3939 | 242 |
"Return a copyright string which will appear in <lib>.rc" |
3330 | 243 |
|
4431 | 244 |
^ 'Copyright Claus Gittinger 1988-2012\nCopyright eXept Software AG 1998-2012' |
3513 | 245 |
|
4431 | 246 |
"Modified: / 18-07-2012 / 19:12:14 / cg" |
4529
ec75c190f714
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
4520
diff
changeset
|
247 |
! |
ec75c190f714
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
4520
diff
changeset
|
248 |
|
ec75c190f714
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
4520
diff
changeset
|
249 |
productName |
ec75c190f714
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
4520
diff
changeset
|
250 |
"Return a product name which will appear in <lib>.rc" |
ec75c190f714
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
4520
diff
changeset
|
251 |
|
ec75c190f714
Now preRequiites are separated in mandatoryPreRequisites and referencedPreRequisites
Stefan Vogel <sv@exept.de>
parents:
4520
diff
changeset
|
252 |
^ 'Smalltalk/X' |
3330 | 253 |
! ! |
254 |
||
255 |
!stx_libwidg class methodsFor:'documentation'! |
|
256 |
||
257 |
version |
|
5275 | 258 |
^ '$Header: /cvs/stx/stx/libwidg/stx_libwidg.st,v 1.41 2015-02-21 12:09:12 cg Exp $' |
4084 | 259 |
! |
260 |
||
261 |
version_CVS |
|
5275 | 262 |
^ '$Header: /cvs/stx/stx/libwidg/stx_libwidg.st,v 1.41 2015-02-21 12:09:12 cg Exp $' |
3330 | 263 |
! ! |
4520 | 264 |