[...]... Creating Update Sites xx 31 9 31 9 32 0 32 0 32 0 32 4 32 5 32 6 32 7 32 7 32 9 33 2 34 1 34 4 34 4 35 0 35 1 35 2 35 5 36 2 36 7 37 2 37 4 37 7 37 7 37 9 38 3 38 5 38 7 38 8 38 8 38 9 39 0 39 1 39 1 39 3 39 3 39 4 39 4 39 6 39 8 Contents Installing from an Update Site 39 9 Adding an Update Site Installing Features Updating Features Managing the Configuration Install Handlers 400 400 400 400 4 01 Internationalizing Products 4 01 Text Constants in... Platform The Platform Class The Plugin Class 2 73 2 73 274 275 276 278 278 2 81 289 290 292 2 93 295 296 297 299 30 0 30 0 30 2 30 3 30 4 30 7 30 8 31 1 31 1 31 3 31 4 31 4 31 4 31 5 31 5 31 5 31 6 31 6 31 6 31 7 31 7 31 8 31 8 31 8 xix Contents The Preferences Class Path Specifications Monitoring Long-Running Processes The Eclipse Workspace Resources Markers Reacting to Resource Changes Managing Long-Running Processes Configuring... Deployment Summary 5 01 5 01 502 5 03 5 03 5 03 507 507 508 508 509 511 511 512 512 514 514 515 515 515 515 516 516 517 518 519 520 520 520 5 21 527 5 31 534 534 535 xxiii Contents Chapter 16 : Conclusions and Outlook Programming Style Executable Prototypes Automated Tests Refinements Embrace Change Save Energy Java 1. 5 Summary 537 537 538 538 538 540 5 41 5 41 542 Appendix A: Useful Plug-ins for Eclipse 545 Appendix... Perspective Controlling Program Execution Managing Breakpoints The Java Console Remote Debugging JUnit Setting Up JUnit Creating a Test Suite Running a Test Suite 65 65 65 65 65 66 67 69 71 72 73 73 74 75 75 77 81 83 84 85 87 87 91 106 10 9 11 0 11 0 1 13 1 13 1 13 11 4 11 5 11 7 11 8 11 9 12 0 12 0 12 2 12 4 xv Contents Documentation Try It Out: Javadoc Options Try It Out: Command-Line Options Summary Chapter 7: Advanced... StackLayout class Graphics The Graphics Context Colors Fonts Images The Cursor 15 9 16 1 16 6 16 7 16 8 16 9 17 0 17 0 17 4 17 7 17 7 17 8 17 8 17 9 18 0 18 2 18 4 18 5 18 5 18 6 18 7 18 9 19 0 Widgets That Swing 19 1 Embedded Contents Events 19 2 19 2 Output to a Printer Data Transfer 19 6 19 8 The Clipboard Drag and Drop 19 8 19 9 Resource Management Windows32 Support (OLE) SWT on the Pocket PC Accessibility Summary Chapter 9: JFace... Scrollable and ScrollBar xvi 13 6 13 7 13 8 13 9 14 0 14 0 14 1 14 1 14 1 14 2 14 2 1 43 14 5 14 6 14 6 14 6 14 6 15 2 15 5 15 6 15 8 15 9 15 9 Contents Text Fields and Labels Tables, Lists, and Combos Trees Sashes Tabbed Folders Toolbars Moveable Tool Groups (CoolBar) Menus Custom Widgets The Browser Widget Layouts Visual Overview The FillLayout Class The RowLayout Class The GridLayout Class The FormLayout Class The StackLayout... of Project Development Developing in a Team Setting Up a Repository Projects in the Repository Version Management Working in a Team Other Functions 12 5 12 6 12 6 12 8 12 9 12 9 13 0 13 2 13 3 13 3 13 5 External Tools 13 5 Refresh Environment Associations 13 5 13 5 13 5 Summary Chapter 8: The SWT Library SWT Function Group Overview SWT—Pros and Cons Advantages of SWT Disadvantages of SWT The SWT Package Events Listeners... 402 4 03 404 405 405 405 407 408 408 409 410 412 4 13 417 419 419 4 21 422 4 23 424 425 426 427 428 429 430 4 31 439 439 449 450 452 4 53 454 xxi Contents Running the Engine Managing Engines Creating Engines Processing Bad Words Operations Analyzing Documents Configuring the Spell Checker Preferences Domain Model The GUI Reading from the PreferenceStore The Help System 457 458 459 462 462 4 63 4 63 4 63 464... Introduction ix Chapter 1: Introduction to Eclipse 1 Installing Eclipse The First Application: Hello World 1 5 Perspectives Projects Create a New Class Launch The Most Important Preferences for Java Development Workbench Preferences Installed JREs Compiler Preferences Formatting Code Templates 5 7 7 9 10 11 12 14 15 16 Tasks and Problems 18 Problems, Problems General Tasks Bookmarks 19 21 22 The Scrapbook... Goals and How to Achieve Them Installing the Project The Player Module Layout Threads The Player .java Class BasicPlayerListener The Playlist Domain Model The Interface Implementing IPlayList Accessing Features Managing Entries xviii 230 2 31 232 232 233 235 237 237 238 2 41 2 41 242 2 43 260 2 61 2 61 268 270 2 71 Contents Content Provider Playlist Switch Selections The Description Window The DescriptionWindow . Repository 13 2 Version Management 13 3 Working in a Team 13 3 Other Functions 13 5 External Tools 13 5 Refresh 13 5 Environment 13 5 Associations 13 5 Summary 13 6 Chapter 8: The SWT Library 13 7 SWT Function. application 10 9 Bibliography 11 0 Summary 11 0 Chapter 6: Project Development 1 13 Debugging 1 13 The Debug Configuration 1 13 The Debug Perspective 11 4 Controlling Program Execution 11 5 Managing. y0 w1 h0" alt="" Professional Eclipse 3 for Java ™ Developers Berthold Daum 01_ 020059_ffirs.qxd 10 /8/04 10 :55 AM Page iii 01_ 020059_ffirs.qxd 10 /8/04 10 :55 AM Page vi Professional Eclipse 3 for