Home Page Icon
Home Page
Table of Contents for
V. Appendices
Close
V. Appendices
by Kent Beck, Erich Gamma
Contributing to Eclipse: Principles, Patterns, and Plug-Ins
Copyright
Dedication
The Eclipse Series
Foreword
Preface
Conventions Used in This Book
Online Examples
Acknowledgments
1. The Big Picture
1.1. Book Goals
1.2. Plug-In
1.3. Eclipse in a Nutshell
I. Circle Zero: Hello World
2. Setting Up Eclipse for Plug-In Development
2.1. Setting Up a Workspace
2.2. Browsing and Searching Source
2.3. Forward Pointers
3. Hello World
3.1. Declaration/Implementation Split
3.2. Hello Button
3.3. Saying “Hello”
3.3.1. HelloAction.java
3.3.2. plugin.xml
3.4. Forward Pointers
II. Circle One: Basic Plug-In
4. Der Plan
4.1. JUnit by Example
4.2. JUnit Integration
5. Contributing a Menu Item to Run Tests
5.1. Forward Pointers
6. Implementing the Menu Item Behavior
6.1. Forward Pointers
7. Displaying the Results
7.1. Forward Pointers
8. Defining an Extension Point
8.1. Forward Pointers
9. Notifying Extensions
10. Publishing
10.1. Package the Plug-In
10.2. Bundling the Plug-In into a Feature
10.3. Contributing
10.4. Forward Pointers
11. Closing Circle One
12. Interlude: Test-Driven Plug-In Development
12.1. PDE JUnit
12.2. A Test Project Fixture
12.3. Testing the Contributed JUnit Plug-In
12.4. And Now…
III. Circle Two: The Rest of the Plug-In
13. Viewing Results
13.1. Contributing a View
13.2. Listening to Testing Progress
13.3. Changing Colors
14. Menu Contributions
14.1. Creating Context Menus
14.2. Contributing Menu Items
14.3. Forward Pointers
15. Failed Tests Are Compile Errors
16. Test Failures as Markers
16.1. Test for a Marker
16.2. Passing the Project
16.3. Creating Markers
16.4. Deleting Markers
16.5. Marker Images
16.6. Marker Resolution
17. Finding Tests
18. Builders and Natures
18.1. Resource Listeners Versus Builders
18.2. Using Natures to Configure Builders
18.3. Forward Pointers
19. Auto-Test Property
19.1. Forward Pointers
20. Exception Handling
20.1. IStatus, CoreException
20.2. Presenting Exceptions in an Error Dialog
20.3. Logging Errors
21. Tracing — Instrumenting a Plug-In
21.1. Forward Pointers
22. Marker Resolution — Invoking a Long-Running Operation
22.1. Testing Marker Resolution
22.2. Build and Rerun
22.3. Showing Progress
22.4. Rerunning the Test
22.5. Forward Pointers
23. Test Report View — Using JFace
23.1. TestResult
23.2. The Test
23.3. The View
23.4. TestReportLabelProvider
23.5. TestReportContentProvider
23.6. Handling Events
23.7. Forward Pointers
24. A Simple Editor to Exclude Tests
24.1. Contributing an Editor
24.2. Contributing a Contributor
24.3. Forward Pointers
25. ResultView Revisited — Observing Changes
25.1. Testing Color
25.2. Observing Changes
25.3. Reacting to Changes
25.4. Forward Pointers
26. Perspectives
26.1. Views in Perspective
26.2. Show View Menu
26.3. Forward Pointers
27. Help
27.1. Top-Level Help
27.2. Integrated Help
27.3. Context-Sensitive Help
27.4. Forward Pointers
28. Internationalization and Accessibility
28.1. Externalizing Strings from the Manifest Files
28.2. Externalizing Strings from Code
28.3. Accessibility
28.4. Forward Pointers
29. Publishing a Plug-In for Other Programmers
29.1. Defining the API
29.2. Exporting Classes
29.3. Separating Published from Internal Packages
29.4. Separating Core from UI
29.5. Publishing an Extension Point—Extension Point Schemas
29.6. Forward Pointers
30. Closing Circle Two
30.1. Contributing
30.2. Redeploying the Plug-In
30.3. Where to Go Next?
IV. Circle Three: Pattern Stories
31. Core Runtime — IAdaptable
31.1. Extension Object/Extension Interface
31.2. Surfacing Interfaces Using IAdaptable
31.3. AdapterFactories—Adding Interfaces to Existing Types
32. Core Workspace — Resources
32.1. Accessing File-System Resources—Proxy and Bridge
32.2. The Workspace—Composite
32.3. Traversing the Resource Tree—Visitor
32.4. Tracking Resource Changes—Observer
32.5. Batching Changes—Execute Around Method
33. Java Core
33.1. From Resources to Java Elements—Adapter
33.2. Java Elements—(Virtual) Proxy
33.3. The Java Element Tree—Composite
33.4. Type Hierarchies—Objectifying an Association
33.5. Traversing the Java Model
33.6. Tracking Java Element Changes—Observer
33.7. Collecting Results—Builder
33.8. Abstract Syntax Tree Analysis—Visitor
34. Standard Widget Toolkit — SWT
34.1. Composing Widgets—Composite
34.2. Defining the Layout—Strategy
34.3. Responding to Events—Observer
35. JFace — User Interface Frameworks
35.1. Viewers: Connecting a Widget to a Model—Pluggable Adapter
35.2. Viewers: Customizing a Viewer without Subclassing—Strategy
35.3. Actions—Command
36. UI Workbench
36.1. Implementing the Lazy Loading Rule—Virtual Proxies
36.2. Persisting UI State—Memento
36.2.1. Memento
36.2.2. Restoring Many Open Views and Editors
36.3. Workbench Services—IAdaptable
36.3.1. IWorkbenchAdapter
36.3.2. IResource Adapter
36.3.3. Object Contributions
36.3.4. Overview of Workbench-Provided Adapters
37. Closing Circle Three
37.1. Final Forward Pointers
37.1.1. Additional Eclipse Components Overview
37.1.2. Example Plug-Ins and Sample Code
37.1.3. Eclipse Articles
37.2. An Invitation to Contribute
V. Appendices
A. TestRunner Details
A.1. TestRunner
A.2. SocketTestRunner
B. The TestProject Fixture
C. AutoTestBuilder with Exclusion Support
References
Search in book...
Toggle Font Controls
Playlists
Add To
Create new playlist
Name your new playlist
Playlist description (optional)
Cancel
Create playlist
Sign In
Email address
Password
Forgot Password?
Create account
Login
or
Continue with Facebook
Continue with Google
Sign Up
Full Name
Email address
Confirm Email Address
Password
Login
Create account
or
Continue with Facebook
Continue with Google
Prev
Previous Chapter
37. Closing Circle Three
Next
Next Chapter
A. TestRunner Details
Part V. Appendices
Add Highlight
No Comment
..................Content has been hidden....................
You can't read the all page of ebook, please click
here
login for view all page.
Day Mode
Cloud Mode
Night Mode
Reset