Copyrighted Material
Total Page:16
File Type:pdf, Size:1020Kb
23_020059_bindex.qxd 10/8/04 1:23 PM Page 559 Index importing types, 31 A inheriting constructors, 32 AbstractDecoratedTextEditor class, 359 Javadoc comments, 31 AbstractTextEditor class, 357–359 overriding methods, 32 accessibility options (SWT), 202–203 AWT components with SWT, 191 actions (JFace), 226–227, 367 embedded contents, 192 defining events, 192–196 attributes, 368–370 Azzurri Clay, 547 delegates, 371–372 enabling and disabling, 370–371 in the manifest, 368 B selection events, 370 Back function, 37, 53 global, 367 backing up workspaces, 2 implementing manually, 372 beans, 48 local, 367 generic, 48 active help systems, 382, 474–475 properties, 48–49 adapters, SWT events, 142 Beck, Kent, 540 Add Java Exception Breakpoint function, 117 bookmarks agile programming. See extreme programming bookmark manager, 366 annotations (JFace), 223–224 creating, 22 Ant, 388 breakpoints configuring, 388–389 managing, 117–118 editing scripts, 389–390 setting, 116 ANTLR, 547 Breakpoints View, 117–118 applications, exporting (Duke Speaks project), browser widget (SWT), 177 109–110 build.properties files (spell checker project), 493–495 architecture, Eclipse platform BundleActivators (OSGi), 314 core runtime, 315 BusyIndicator class (SWT), 175 extension points, 314 buttons help system, 316 Duke Speaks project GUI, 94–95 OSGi, 314 SWT, 156 overview, 314, 316–317 RCP vs. IDE, 315 C resource management, 315 Call Hierarchy View, 27–28 team support, 316–317 CDT, 547 user interfaces, 316 COPYRIGHTEDcell MATERIAL editors AspectJ, 547 Jukebox project, 285–286, 299–300 associations, 54–55 overview, 217–218 Attrezzo per Xindice, 545 central code management attributes, 342 comparison functions, 135 audio players (FreeTTS), 75 conflict resolution, 133–134 automated testing, 538 CVS (Concurrent Versions System), 129–130 automatic code completion Export function, 135 Code Assistant, 28–30, 77–78 repositories, 130–131 comment out code, 31 sharing projects, 132 delegate methods, 32 Team group preferences, 135 encapsulating fields, 32 version management, 133 generating constructors, 33 23_020059_bindex.qxd 10/8/04 1:23 PM Page 560 Change Method Signature function Change Method Signature function, 39 colors Cheat Sheets JFace, 206 internationalization, 404 SWT, 186–187 plug-ins, 383–384 column headers (Jukebox project), 285–286 CheckedTreeSelectionDialog class, 373 ColumnLayout layout manager, 346 classes, creating, 7–9, 76 ComboContentAssistSubjectAdapter class (JFace), 226 classfiles, compiler preferences, 15 combos (SWT), 165–166 clipboard (SWT), 198–199 command line options, 4–5 closing windows, 65 comment out code, 31 code, formatting, 15–16 Compare Editor, 133–134 Code Assistant Compare With function, 60 Duke Speaks project, 77–78 comparing resources, 43 overview, 28–30 compilation units code folding (Java Editor), 35–36 moving, 39 code generation templates. See templates renaming, 39 code organization compilers, preferences, 14–15 associations, 54–55 classfiles, 15 Find/Replace function, 62–63 JDK compliance, 15 importing files, 67–69 warnings and errors, 14–15 Java Browsing Perspective, 71 component events, processing, 353 navigation tools, 53 components Outline View, 57–58 VE (Visual Editor for Java), 47 context functions, 59–60 workbench, 351–352 representation, 58–59 composites (SWT), 155 packages, 55–57 Concurrent Versions System (CVS), 129–130 perspectives configuring configuring, 66–67 Ant, 388–389 defining, 65–66 debugger, 113–114 project properties, 69–71 perspectives, 66–67 resources, 52 plug-ins storing, 52–53 manifest, 329–332 synchronizing, 53 Plug-in Development perspective, 327–329 types, 52 Schema Editor, 341–343 Search function, 60–62 SDK extension points, 332–341 windows text processing (JFace), 223 closing, 65 conflicts, resolving, 133–134 docking, 63 constants, refactoring code, 42 FastView, 64 constructors maximizing, 65 generating, 33 minimizing, 65 inheriting, 32 opening, 65 ContainerGenerator class, 374 stacking, 64 containers, 322 workbench, 51–52 ContainerSelectionDialog class, 374 collaborative projects, 129–130 content assistants comparison functions, 135 Jukebox project, 304–307 conflict resolution, 133–134 overview, 224–225 CVS (Concurrent Versions System), 129–130 content pane (Duke Speaks project), 96 Export function, 135 ContentViewer class (JFace), 216 plug-ins, 316–317 context associations (help systems), 380–381 repositories, 130–131 context identifications (help systems), 381 sharing projects, 132 context-sensitive help, 26, 473–474 Team group preferences, 135 Control class (SWT), 146 version management, 133 ControlEditor class (SWT), 175 collapsible GUI elements, 346–348 Convert Anonymous Type to Nested Type function, 41 560 23_020059_bindex.qxd 10/8/04 1:23 PM Page 561 Disconnect function Index Convert Local Variable to Field function, 42 RCP (Rich Client Platform) applications, 507–508 Convert Nested Type to Top Level function, 41 spell checker project, 490 CoolBar class (SWT), 170 configuring Ant scripts, 492–495 Copy function, 60 feature, defining, 490–492 Correction Assistant installation, 498 Quick Assist, 34–35 language feature, defining, 495–497 QuickFix, 33–34 update site, defining, 497–498 Countour Generator (FreeTTS), 74 update sites, 398–399 Create a New Class Wizard, 7–8 adding, 400 cursors (SWT), 189–190 install handlers, 401 custom widgets (SWT), 174–176 installing features, 400 Cut function, 60 managing configuration, 400–401 CVS (Concurrent Versions System), 129–130 updating features, 400 zip files, 394 D description editor (Jukebox project), 300–301 data model separation (forms), 350 description editor dialog (Jukebox project), 302–303 data transfer code scanner, 303 JFace, drag and drop, 218 content assistant, 304–307 SWT SourceViewer, 307–311 clipboard, 198–199 description window (Jukebox projet), 275–278 drag and drop, 199 Deselect Working Set function, 53 debugger. See also troubleshooting development teams, 129–130 breakpoints comparison functions, 135 managing, 117–118 conflict resolution, 133–134 setting, 116 CVS (Concurrent Versions System), 129–130 configuring, 113–114 Export function, 135 controlling program execution, 115–116 plug-ins, 316–317 Debug Perspective, 114–115 repositories, 130–131 HotSwap, 117 sharing projects, 132 testing expressions, 117 Team group preferences, 135 variables, 116–117 version management, 133 debugging, 118-119. See also debugger dialogs Debug Perspective, 114–115 JFace, 206–207 Declarations function, 60 implementing, 210–213 declaring applications, 514 InputDialog class, 207–208 defining perspectives, 65–66 making persistent, 213–214 delegate methods, 32 MessageDialog class, 208–209 Delete function, 60 TitleAreaDialog class, 209–210 deployment Jukebox project customizing products, 394–396 description editor, 302–311 Eclipse runtime environment, 394 file-selection, 292–293 example files, 396–398 plug-ins, 372–373 features, 391 CheckedTreeSelectionDialog class, 373 creating, 391–392 ContainerGenerator class, 374 deploying, 393 ContainerSelectionDialog class, 374 fragments, 390 ElementListSelectionDialog class, 374 Hex Game project, 534 ElementTreeSelectionDialog class, 373 installation formats, 388, 394 ListSelectionDialog class, 374 internationalization, 401–402 NewFolderDialog class, 374 Cheat Sheets, 404 ResourceListSelectionDialog class, 374 help systems, 404 SaveAsDialog class, 374 national language resource bundles, 405 SWT, 152–153 text constants in manifest files, 403 message boxes, 154–155 text constants in programs, 402–403 predefined, 153–154 patches, 405 Disable function, 117 Disconnect function, 115 561 23_020059_bindex.qxd 10/8/04 1:23 PM Page 562 Display class (SWT) Display class (SWT), 147–148 Eclipse 3, migrating to, 552–553 docking windows, 63 Eclipse Modeling Framework. See EMF documentation, 125–127, 343 Eclipse UI, 344 drag and drop actions, 367 JFace, 218 defining in the manifest, 368–372 Jukebox project, 286–288 global, 367 SWT, 199 implementing manually, 372 Duke Speaks project local, 367 animation events, 75–77 dialogs, 372–373 animator, 77–80 CheckedTreeSelectionDialog class, 373 Animator.java class, 78–80 ContainerGenerator class, 374 Code Assistant, 77–78 ContainerSelectionDialog class, 374 creating classes, 77 ElementListSelectionDialog class, 374 embedding into FreeTTS, 81–83 ElementTreeSelectionDialog class, 373 connecting to the Java audio system, 83–84 ListSelectionDialog class, 374 exporting, 109–110 NewFolderDialog class, 374 FreeTTS speech synthesizer, 74–75 ResourceListSelectionDialog class, 374 Player class source code, 106–109 SaveAsDialog class, 374 setup, 73–74 forms, 344–346 third-party software, 555 collapsible elements, 346–348 user interface, 84 data model separation, 350 animated face, 84–86 layouts, 346 buttons, 94–95 Master-Details-Block, 350 content pane, 96 resource management, 349 control panel, 87 text markup, 348–349 domain model, 87–91 help system, 379 events, 94 active help, 382 integrating, 95 Cheat Sheets, 383–384 labels, 94 context associations, 380–381 layouts, 93 context identifications, 381 PlayerPanel class source code, 97–106 deploying, 381–382 presentation, 91–92 dynamic help, 382 sliders, 93 table of contents, 379–380 text, 94 perspectives, defining, 377–379 VE (Visual Editor for Java), 92 preferences, 377 dynamic help systems, 382 property pages, 377 wizards, 374 E IWorkbenchWizard interface, 376 easysql, 545 newWizard extension point, 375–376 Eclipse WizardNewFileCreationPage class, 376–377 core classes, 318–320 workbench, 350–351 installing, 1–5 components, 351–352 migrating to new