Contributing to Eclipse: Principles, Patterns, and Plugins (Paperback)
暫譯: 貢獻於 Eclipse:原則、模式與插件(平裝本)
Erich Gamma, Kent Beck
- 出版商: Addison Wesley
- 出版日期: 2003-10-30
- 售價: $1,880
- 貴賓價: 9.5 折 $1,786
- 語言: 英文
- 頁數: 416
- 裝訂: Paperback
- ISBN: 0321205758
- ISBN-13: 9780321205759
-
相關分類:
Java 相關技術
已絕版
買這商品的人也買了...
-
$680$537 -
$650$514 -
$980$774 -
$2,270$2,157 -
$880$695 -
$590$466 -
$690$538 -
$780$616 -
$720$569 -
$149$149 -
$620$490 -
$580$458 -
$1,045Linux Kernel Development
-
$750$638 -
$490$382 -
$690$538 -
$1,805UML Distilled: A Brief Guide to the Standard Object Modeling Language, 3/e (Paperback)
-
$620$527 -
$560$476 -
$420$332 -
$450$356 -
$690$545 -
$720$569 -
$390$304 -
$490$387
商品描述
Contributing to Eclipse offers
- A quick step-by-step tutorial. Have your first plug-in running in less than an hour.
- An introduction to test-driven plug-in development. Confidently create higher quality plug-ins.
- The Rules of Eclipse. Seamlessly integrate your contributions with the rest of Eclipse.
- A design pattern tour of Eclipse. A cook's tour of Eclipse with patterns.
- A comprehensive tutorial. See all the techniques necessary to write production-quality contributions.
Erich Gamma and Kent Beck introduce you quickly, yet thoroughly, to Eclipse, the emerging environment for software development. Instead of simply walking you through the actions you should take, Contributing to Eclipse, with its many sidebars, essays, and forward pointers, guides you through Eclipse. You will not just do. You will also understand.
Whether you need to get up to speed immediately or want to better understand the design rationale behind Eclipse, Contributing to Eclipse is the Eclipse resource for you.
Table of Contents
Foreword.
Preface.
1. The Big Picture.
Book Goals.
Plug-In.
Eclipse in a Nutshell.I. CIRCLE ZERO: HELLO WORLD.
2. Setting Up Eclipse for Plug-In Development.
Setting Up a Workspace.
Browsing and Searching Source.3. Hello World.
Declaration/Implementation Split.
Hello Button.
Saying “Hello”.II. CIRCLE ONE: BASIC PLUG-IN.
4. Der Plan.
JUnit by Example.
JUnit Integration.5. Contributing a Menu Item to Run Tests.6. Implementing the Menu Item Behavior.7. Displaying the Results.8. Defining an Extension Point.9. Notifying Extensions.10. Publishing.
Package the Plug-In.
Bundling the Plug-In into a Feature.
Contributing.11. Closing Circle One.
Interlude.12. Test-Driven Plug-In Development.
PDE JUnit.
A Test Project Fixture.
Testing the Contributed JUnit Plug-In.
And Now….III. CIRCLE TWO: THE REST OF THE PLUG-IN.
13. Viewing Results.
Contributing a View.
Listening to Testing Progress.
Changing Colors.14. Menu Contributions
Creating Context Menus.
Contributing Menu Items.15. Failed Tests Are Compile Errors.16. Test Failures as Markers.
Test for a Marker.
Passing the Project.
Creating Markers.
Deleting Markers.
Marker Images.
Marker Resolution.17. Finding Tests.18. Builders and Natures.
Resource Listeners Versus Builders.
Using Natures to Configure Builders.19. Auto-Test Property.20. Exception Handling.
IStatus, CoreException.
Presenting Exceptions in an Error Dialog.
Logging Errors.21. Tracing—Instrumenting a Plug-In.22. Marker Resolution--Invoking a Long-Running Operation.
Testing Marker Resolution.
Build and Rerun.
Showing Progress.
Rerunning the Test.23. Test Report View—Using JFace.
TestResult.
The Test.
The View.
TestReportLabelProvider.
TestReportContentProvider.
Handling Events.24. A Simple Editor to Exclude Tests.
Contributing an Editor.
Contributing a Contributor.25. ResultView Revisited—Observing Changes.
Testing Color.
Observing Changes.
Reacting to Changes.26. Perspectives.
Views in Perspective.
Show View Menu.27. Help.
Top-Level Help.
Integrated Help.
Context-Sensitive Help.28. Internationalization and Accessibility.
Externalizing Strings from the Manifest Files.
Externalizing Strings from Code.
Accessibility.29. Publishing a Plug-In for Other Programmers.
Defining the API.
Exporting Classes.
Separating Published from Internal Packages.
Separating Core from UI.
Publishing an Extension Point—Extension Point Schemas.30. Closing Circle Two.
Contributing.
Redeploying the Plug-In.
Where to Go Next?IV. CIRCLE THREE: PATTERN STORIES.
31. Core Runtime—IAdaptable.
Extension Object/Extension Interface.
Surfacing Interfaces Using IAdaptable.
AdapterFactories—Adding Interfaces to Existing Types.32. Core Workspace—Resources.
Accessing File-System Resources—Proxy and Bridge.
The Workspace—Composite.
Traversing the Resource Tree—Visitor.
Tracking Resource Changes—Observer.
Batching Changes—Execute Around Method.33. Java Core.
From Resources to Java Elements—Adapter.
Java Elements—(Virtual) Proxy.
The Java Element Tree--Composite.
Type Hierarchies—Objectifying an Association.
Traversing the Java Model.
Tracking Java Element Changes—Observer.
Collecting Results—Builder.
Abstract Syntax Tree Analysis—Visitor.34. Standard Widget Toolkit—SWT.
Composing Widgets—Composite.
Defining the Layout—Strategy.
Responding to Events—Observer.35. JFace--User Interface Frameworks.
Viewers: Connecting a Widget to a Model—Pluggable Adapter.
Viewers: Customizing a Viewer without Subclassing—Strategy.
Actions—Command.36. UI Workbench.
Implementing the Lazy Loading Rule—Virtual Proxies.
Persisting UI State—Memento.
Workbench Services—IAdaptable .37. Closing Circle Three.
Final Forward Pointers.
An Invitation to Contribute.V. APPENDICES.
Appendix A. TestRunner Details.
TestRunner.
SocketTestRunner.Appendix B. The TestProject Fixture.Appendix C. AutoTestBuilder with Exclusion Support.References.Index.
商品描述(中文翻譯)
貢獻於 Eclipse 提供:
- 一個快速的逐步教學。讓您的第一個插件在不到一小時內運行。
- 測試驅動插件開發的介紹。自信地創建更高品質的插件。
- Eclipse 的規則。無縫地將您的貢獻與 Eclipse 的其餘部分整合。
- Eclipse 的設計模式之旅。Eclipse 的設計模式概覽。
- 一個全面的教學。了解撰寫生產級貢獻所需的所有技術。
Erich Gamma 和 Kent Beck 迅速而徹底地介紹您進入 Eclipse,這是新興的軟體開發環境。貢獻於 Eclipse 不僅僅是指導您應該採取的行動,還通過許多側邊欄、文章和前瞻性指引,帶您深入了解 Eclipse。您不僅會執行,還會理解。
無論您是需要立即上手,還是想更好地理解 Eclipse 背後的設計原則,貢獻於 Eclipse 都是您所需的 Eclipse 資源。
目錄
前言。
序言。
1. 大局觀。
書籍目標。
插件。
Eclipse 簡介。
I. 圈零:你好,世界。
2. 設置 Eclipse 以進行插件開發。
設置工作區。
瀏覽和搜索源碼。
3. 你好,世界。
聲明/實現分離。
你好按鈕。
說“你好”。
II. 圈一:基本插件。
4. 計劃。
JUnit 範例。
JUnit 整合。
5. 貢獻一個菜單項以運行測試。
6. 實現菜單項行為。
7. 顯示結果。
8. 定義擴展點。
9. 通知擴展。
10. 發佈。
封裝插件。
將插件打包成功能。
貢獻。
11. 關閉圈一。
插曲。
12. 測試驅動插件開發。
PDE JUnit。
測試專案設置。
測試貢獻的 JUnit 插件。
現在……。
III. 圈二:插件的其餘部分。
13. 查看結果。
貢獻一個視圖。
監聽測試進度。
改變顏色。
14. 菜單貢獻。
創建上下文菜單。
貢獻菜單項。
15. 測試失敗是編譯錯誤。
16. 測試失敗作為標記。
測試標記。
通過專案。
創建標記。
刪除標記。
標記圖像。
標記解析。
17. 查找測試。
18. 建構器和性質。
資源監聽器與建構器。
使用性質配置建構器。
19. 自動測試屬性。
20. 異常處理。
IStatus, CoreException。
在錯誤對話框中顯示異常。
記錄錯誤。
21. 追蹤—為插件加裝儀器。
22. 標記解析—調用長時間運行的操作。
測試標記解析。
建構並重新運行。
顯示進度。
重新運行測試。
23. 測試報告視圖—使用 JFace。
TestResult。
測試。
視圖。
TestReportLabelProvider。
TestReportContentProvider。
處理事件。
24. 一個簡單的編輯器以排除測試。
貢獻一個編輯器。
貢獻一個貢獻者。
25. ResultView 再訪—觀察變化。
測試顏色。
觀察變化。
對變化做出反應。
26. 觀點。
觀點中的視圖。
顯示視圖菜單。
27. 幫助。
頂層幫助。
整合幫助。
上下文敏感幫助。
28. 國際化和可及性。
從清單檔案中外部化字串。
從代碼中外部化字串。
可及性。
29. 為其他程序員發佈插件。
定義 API。
匯出類別。
將發佈的包與內部包分開。
將核心與 UI 分開。
發佈擴展點—擴展點架構。
30. 關閉圈二。
貢獻。
重新部署插件。
下一步去哪裡?
IV. 圈三:模式故事。
31. 核心運行時—IAdaptable。
擴展物件/擴展介面。
使用 IAdaptable 顯示介面。
AdapterFactories—為現有類型添加介面。
32. 核心工作區—資源。
訪問檔案系統資源—代理和橋接。
工作區—組合。
遍歷資源樹—訪客。
追蹤資源變更—觀察者。
批量變更—執行環繞方法。
33. Java 核心。
從資源到 Java 元素—適配器。
Java 元素—(虛擬)代理。
Java 元素樹—組合。
類型層次結構—物件化關聯。
遍歷 Java 模型。
追蹤 Java 元素變更—觀察者。
收集結果—建構器。
抽象語法樹分析—訪客。
34. 標準小部件工具包—SWT。
組合小部件—組合。
定義佈局—策略。
響應事件—觀察者。
35. JFace—用戶介面框架。
檢視器:將小部件連接到模型—可插拔適配器。
檢視器:在不子類化的情況下自定義檢視器—策略。
行動—命令。
36. UI 工作台。
實現延遲加載規則—虛擬代理。
持久化 UI 狀態—備忘錄。
工作台服務—IAdaptable。
37. 關閉圈三。
最終前瞻性指引。