Introduction |
|
ix | |
|
|
1 | (24) |
|
|
1 | (4) |
|
The First Application: Hello World |
|
|
5 | (5) |
|
|
5 | (2) |
|
|
7 | (1) |
|
|
7 | (2) |
|
|
9 | (1) |
|
The Most Important Preferences for Java Development |
|
|
10 | (8) |
|
|
11 | (1) |
|
|
12 | (2) |
|
|
14 | (1) |
|
|
15 | (1) |
|
|
16 | (2) |
|
|
18 | (4) |
|
|
19 | (2) |
|
|
21 | (1) |
|
|
22 | (1) |
|
|
22 | (2) |
|
|
24 | (1) |
|
Effective Programming with Eclipse |
|
|
25 | (20) |
|
|
25 | (11) |
|
|
25 | (1) |
|
|
26 | (1) |
|
|
27 | (1) |
|
Automatic Code Completion |
|
|
28 | (5) |
|
|
33 | (2) |
|
Convenience Functions of the Java Editor |
|
|
35 | (1) |
|
|
36 | (2) |
|
|
38 | (4) |
|
|
38 | (1) |
|
|
39 | (3) |
|
|
42 | (1) |
|
|
43 | (1) |
|
|
43 | (1) |
|
Replacing with an Older Version |
|
|
43 | (1) |
|
|
43 | (1) |
|
|
44 | (1) |
|
The Art of (Visual) Composition |
|
|
45 | (6) |
|
|
45 | (1) |
|
|
46 | (1) |
|
|
46 | (1) |
|
|
46 | (2) |
|
Beans and Bean Properties |
|
|
48 | (1) |
|
|
48 | (1) |
|
|
49 | (1) |
|
|
49 | (1) |
|
|
49 | (1) |
|
|
50 | (1) |
|
|
51 | (22) |
|
|
51 | (1) |
|
|
52 | (2) |
|
|
52 | (1) |
|
Where Resources Are Stored |
|
|
52 | (1) |
|
|
53 | (1) |
|
|
53 | (1) |
|
|
54 | (1) |
|
|
55 | (2) |
|
|
55 | (1) |
|
|
56 | (1) |
|
|
56 | (1) |
|
|
57 | (3) |
|
|
58 | (1) |
|
|
59 | (1) |
|
|
60 | (3) |
|
|
60 | (2) |
|
|
62 | (1) |
|
|
63 | (1) |
|
Arranging Editors and Views |
|
|
63 | (2) |
|
|
63 | (1) |
|
|
64 | (1) |
|
|
64 | (1) |
|
|
64 | (1) |
|
Opening and Closing Windows |
|
|
65 | (1) |
|
|
65 | (1) |
|
|
65 | (1) |
|
|
65 | (2) |
|
Defining New Perspectives |
|
|
65 | (1) |
|
|
66 | (1) |
|
|
67 | (2) |
|
|
69 | (2) |
|
The Java Browsing Perspective |
|
|
71 | (1) |
|
|
72 | (1) |
|
|
73 | (40) |
|
|
73 | (1) |
|
A Short Excursion into Speech Synthesis |
|
|
74 | (1) |
|
Extending the Free TTS System |
|
|
75 | (9) |
|
|
75 | (2) |
|
|
77 | (4) |
|
|
81 | (2) |
|
Connection with the Java Audio System |
|
|
83 | (1) |
|
|
84 | (26) |
|
|
85 | (2) |
|
|
87 | (1) |
|
|
87 | (4) |
|
|
91 | (15) |
|
|
106 | (3) |
|
Exporting the application |
|
|
109 | (1) |
|
|
110 | (1) |
|
|
110 | (3) |
|
|
113 | (16) |
|
|
113 | (7) |
|
|
113 | (1) |
|
|
114 | (1) |
|
Controlling Program Execution |
|
|
115 | (2) |
|
|
117 | (1) |
|
|
118 | (1) |
|
|
119 | (1) |
|
|
120 | (5) |
|
|
120 | (2) |
|
|
122 | (2) |
|
|
124 | (1) |
|
|
125 | (3) |
|
Try It Out: Javadoc Options |
|
|
126 | (1) |
|
Try It Out: Command-Line Options |
|
|
126 | (2) |
|
|
128 | (1) |
|
Advanced Topics of Project Development |
|
|
129 | (8) |
|
|
129 | (6) |
|
|
130 | (2) |
|
Projects in the Repository |
|
|
132 | (1) |
|
|
133 | (1) |
|
|
133 | (2) |
|
|
135 | (1) |
|
|
135 | (1) |
|
|
135 | (1) |
|
|
135 | (1) |
|
|
135 | (1) |
|
|
136 | (1) |
|
|
137 | (68) |
|
SWT Function Group Overview |
|
|
138 | (1) |
|
|
139 | (2) |
|
|
140 | (1) |
|
|
140 | (1) |
|
|
141 | (1) |
|
|
141 | (4) |
|
|
141 | (1) |
|
|
142 | (1) |
|
|
142 | (1) |
|
Overview of Listeners, Adapters, and Events |
|
|
143 | (2) |
|
|
145 | (32) |
|
|
146 | (1) |
|
|
146 | (1) |
|
|
146 | (1) |
|
Displays, Shells, and Monitors |
|
|
146 | (6) |
|
|
152 | (3) |
|
Composites, Groups, and Canvas |
|
|
155 | (1) |
|
|
156 | (2) |
|
|
158 | (1) |
|
|
159 | (1) |
|
|
159 | (1) |
|
|
159 | (2) |
|
Tables, Lists, and Combos |
|
|
161 | (5) |
|
|
166 | (1) |
|
|
167 | (1) |
|
|
168 | (1) |
|
|
169 | (1) |
|
Moveable Tool Groups (CoolBar) |
|
|
170 | (1) |
|
|
170 | (4) |
|
|
174 | (3) |
|
|
177 | (1) |
|
|
177 | (8) |
|
|
178 | (1) |
|
|
178 | (1) |
|
|
179 | (1) |
|
|
180 | (2) |
|
|
182 | (2) |
|
|
184 | (1) |
|
|
185 | (6) |
|
|
185 | (1) |
|
|
186 | (1) |
|
|
187 | (2) |
|
|
189 | (1) |
|
|
190 | (1) |
|
|
191 | (5) |
|
|
192 | (1) |
|
|
192 | (4) |
|
|
196 | (2) |
|
|
198 | (2) |
|
|
198 | (1) |
|
|
199 | (1) |
|
|
200 | (1) |
|
|
201 | (1) |
|
|
202 | (1) |
|
|
202 | (1) |
|
|
203 | (2) |
|
|
205 | (32) |
|
|
205 | (1) |
|
|
205 | (1) |
|
|
206 | (1) |
|
|
206 | (1) |
|
|
206 | (1) |
|
|
206 | (8) |
|
|
207 | (3) |
|
Implementing Your Own Dialog Classes |
|
|
210 | (3) |
|
Making Dialogs Persistent |
|
|
213 | (1) |
|
|
214 | (4) |
|
|
215 | (1) |
|
|
215 | (2) |
|
|
217 | (1) |
|
|
218 | (1) |
|
|
218 | (8) |
|
Text Processing Base Classes |
|
|
218 | (8) |
|
|
226 | (1) |
|
Comfortable Text Fields and Combos |
|
|
226 | (1) |
|
|
226 | (2) |
|
|
226 | (1) |
|
|
227 | (1) |
|
|
228 | (2) |
|
|
228 | (1) |
|
|
229 | (1) |
|
The WizardSelectionPage Class |
|
|
230 | (1) |
|
|
230 | (1) |
|
|
230 | (5) |
|
The PreferenceStore and PreferenceConverter Classes |
|
|
231 | (1) |
|
|
232 | (1) |
|
|
232 | (1) |
|
|
233 | (2) |
|
|
235 | (2) |
|
|
237 | (76) |
|
Design Goals and How to Achieve Them |
|
|
237 | (1) |
|
|
238 | (3) |
|
|
241 | (20) |
|
|
241 | (1) |
|
|
242 | (1) |
|
|
243 | (17) |
|
|
260 | (1) |
|
The Playlist Domain Model |
|
|
261 | (14) |
|
|
261 | (7) |
|
|
268 | (2) |
|
|
270 | (1) |
|
|
271 | (2) |
|
|
273 | (1) |
|
|
273 | (1) |
|
|
274 | (1) |
|
|
275 | (3) |
|
The DescriptionWindow Class |
|
|
276 | (2) |
|
|
278 | (17) |
|
|
278 | (3) |
|
|
281 | (8) |
|
|
289 | (1) |
|
|
290 | (2) |
|
|
292 | (1) |
|
|
293 | (2) |
|
The PlaylistLabelProvider Class |
|
|
295 | (4) |
|
|
296 | (1) |
|
|
297 | (2) |
|
|
299 | (1) |
|
|
300 | (2) |
|
The DescriptionCellEditor Class |
|
|
300 | (2) |
|
The DescriptionEditorDialog Class |
|
|
302 | (9) |
|
|
303 | (1) |
|
|
304 | (3) |
|
SourceViewer Configuration |
|
|
307 | (1) |
|
|
308 | (3) |
|
|
311 | (1) |
|
|
311 | (2) |
|
Developing Plug-Ins for the Eclipse Platform |
|
|
313 | (74) |
|
The Architecture of the Eclipse Platform |
|
|
314 | (4) |
|
|
314 | (1) |
|
|
314 | (1) |
|
|
315 | (1) |
|
Rich Client Platform vs. IDE |
|
|
315 | (1) |
|
|
315 | (1) |
|
|
316 | (1) |
|
|
316 | (1) |
|
|
316 | (1) |
|
|
317 | (1) |
|
|
317 | (1) |
|
The Core Classes of the Eclipse Platform |
|
|
318 | (2) |
|
|
318 | (1) |
|
|
318 | (1) |
|
|
319 | (1) |
|
|
319 | (1) |
|
Monitoring Long-Running Processes |
|
|
320 | (1) |
|
|
320 | (7) |
|
|
320 | (4) |
|
|
324 | (1) |
|
Reacting to Resource Changes |
|
|
325 | (1) |
|
Managing Long-Running Processes |
|
|
326 | (1) |
|
|
327 | (17) |
|
The Plug-in Development Perspective |
|
|
327 | (2) |
|
|
329 | (3) |
|
The Most Important SDK Extension Points |
|
|
332 | (9) |
|
|
341 | (3) |
|
Components of the Eclipse User Interface |
|
|
344 | (41) |
|
|
344 | (6) |
|
|
350 | (1) |
|
The Architecture of the Eclipse Workbench |
|
|
351 | (1) |
|
Event Processing in the Eclipse Workbench |
|
|
352 | (3) |
|
|
355 | (7) |
|
|
362 | (5) |
|
|
367 | (5) |
|
|
372 | (2) |
|
|
374 | (3) |
|
Preferences and Property Pages |
|
|
377 | (1) |
|
|
377 | (2) |
|
|
379 | (4) |
|
|
383 | (2) |
|
|
385 | (2) |
|
Developing Your Own Eclipse-Based Products |
|
|
387 | (20) |
|
|
388 | (2) |
|
|
388 | (1) |
|
|
389 | (1) |
|
|
390 | (1) |
|
|
391 | (2) |
|
Creating and Editing Features |
|
|
391 | (2) |
|
|
393 | (6) |
|
|
393 | (1) |
|
Deploying Complete Products |
|
|
394 | (1) |
|
|
394 | (2) |
|
|
396 | (2) |
|
|
398 | (1) |
|
Installing from an Update Site |
|
|
399 | (2) |
|
|
400 | (1) |
|
|
400 | (1) |
|
|
400 | (1) |
|
Managing the Configuration |
|
|
400 | (1) |
|
|
401 | (1) |
|
Internationalizing Products |
|
|
401 | (4) |
|
Text Constants in Programs |
|
|
402 | (1) |
|
Text Constants in Manifest Files |
|
|
403 | (1) |
|
Help Texts and Cheat Sheets |
|
|
404 | (1) |
|
Deploying National Language Resource Bundles |
|
|
405 | (1) |
|
|
405 | (1) |
|
|
405 | (2) |
|
Project Three: A Spell Checker as an Eclipse Plug-In |
|
|
407 | (94) |
|
The Spell Checker Core Classes |
|
|
408 | (2) |
|
|
408 | (1) |
|
|
409 | (1) |
|
|
410 | (2) |
|
The Plug-in Configuration |
|
|
412 | (7) |
|
|
413 | (4) |
|
The Schema documentTokenizer.exsd |
|
|
417 | (2) |
|
|
419 | (1) |
|
|
419 | (5) |
|
|
421 | (1) |
|
|
422 | (1) |
|
|
423 | (1) |
|
The Check Spelling Action |
|
|
424 | (15) |
|
The SpellCheckingTarget Class |
|
|
425 | (1) |
|
|
426 | (1) |
|
|
427 | (1) |
|
|
428 | (1) |
|
|
429 | (1) |
|
|
430 | (1) |
|
The CheckSpellingActionDelegate Class |
|
|
431 | (8) |
|
|
439 | (13) |
|
The SpellCorrectionView Class |
|
|
439 | (10) |
|
|
449 | (1) |
|
|
450 | (2) |
|
Coordinating Core Classes with GUI Classes |
|
|
452 | (11) |
|
|
453 | (1) |
|
|
454 | (3) |
|
|
457 | (1) |
|
|
458 | (1) |
|
|
459 | (3) |
|
|
462 | (1) |
|
|
462 | (1) |
|
|
463 | (1) |
|
Configuring the Spell Checker |
|
|
463 | (10) |
|
|
463 | (1) |
|
|
464 | (2) |
|
|
466 | (5) |
|
Reading from the PreferenceStore |
|
|
471 | (2) |
|
|
473 | (4) |
|
The Help Table of Contents |
|
|
473 | (1) |
|
|
473 | (1) |
|
|
474 | (2) |
|
|
476 | (1) |
|
A Plug-in for Java Properties |
|
|
477 | (7) |
|
|
477 | (1) |
|
|
478 | (1) |
|
|
478 | (1) |
|
|
479 | (1) |
|
|
480 | (1) |
|
|
481 | (1) |
|
|
482 | (1) |
|
The Java-Properties Tokenizer |
|
|
483 | (1) |
|
|
483 | (1) |
|
Internationalizing the Spell Checker |
|
|
484 | (6) |
|
Text Constants in Java Code |
|
|
484 | (3) |
|
Text Constants in Manifest Files |
|
|
487 | (1) |
|
Creating a Language Fragment |
|
|
487 | (3) |
|
Deploying the Spell Checker |
|
|
490 | (9) |
|
Defining the Spell Checker Feature |
|
|
490 | (2) |
|
|
492 | (3) |
|
Defining the Language Feature |
|
|
495 | (2) |
|
|
497 | (1) |
|
|
498 | (1) |
|
|
499 | (2) |
|
|
501 | (10) |
|
Definition and Motivation |
|
|
501 | (1) |
|
|
502 | (1) |
|
|
503 | (4) |
|
The IPlatformRunnable Interface |
|
|
503 | (1) |
|
The WorkbenchAdvisor Class |
|
|
503 | (4) |
|
Testing a Rich Client Application |
|
|
507 | (1) |
|
Deploying a Rich Client Application |
|
|
507 | (1) |
|
Advanced Product Customization |
|
|
508 | (1) |
|
The Global Welcome Screen |
|
|
508 | (1) |
|
|
509 | (2) |
|
Project 4: The Hex Game as a Rich Client Application |
|
|
511 | (26) |
|
|
511 | (1) |
|
|
512 | (1) |
|
|
512 | (5) |
|
Required Eclipse Plug-ins |
|
|
514 | (1) |
|
Declaring the Application |
|
|
514 | (1) |
|
|
515 | (1) |
|
|
515 | (1) |
|
|
515 | (1) |
|
Linking the Welcome Screen |
|
|
515 | (1) |
|
|
516 | (1) |
|
|
516 | (1) |
|
|
517 | (1) |
|
The RcpWorkbenchAdvisor Class |
|
|
518 | (1) |
|
|
519 | (1) |
|
The IGame and IStatusListener Interfaces |
|
|
520 | (1) |
|
The IStatusListener Interface |
|
|
520 | (1) |
|
|
520 | (1) |
|
|
521 | (6) |
|
|
527 | (4) |
|
|
531 | (3) |
|
|
534 | (1) |
|
|
534 | (1) |
|
|
535 | (2) |
|
|
537 | (8) |
|
|
537 | (4) |
|
|
538 | (1) |
|
|
538 | (1) |
|
|
538 | (2) |
|
|
540 | (1) |
|
|
541 | (1) |
|
|
541 | (1) |
|
|
542 | (3) |
|
Appendix A: Useful Plug-ins for Eclipse |
|
|
545 | (6) |
|
Appendix B: Migrating Projects to a New Eclipse Version |
|
|
551 | (4) |
|
|
551 | (1) |
|
|
552 | (1) |
|
|
552 | (3) |
|
Appendix C: Important Downloads |
|
|
555 | (2) |
|
|
555 | (1) |
|
|
555 | (1) |
|
Project Three: A Spell Checker as an Eclipse Plug-In |
|
|
555 | (1) |
|
|
556 | (1) |
|
|
557 | (2) |
Index |
|
559 | |