Eclipse: Building Commercial-Quality Plug-ins, 2/e (Paperback)
暫譯: Eclipse:打造商業品質的插件,第二版(平裝本)
Eric Clayberg, Dan Rubel
- 出版商: Addison Wesley
- 出版日期: 2006-04-01
- 售價: $2,390
- 貴賓價: 9.5 折 $2,271
- 語言: 英文
- 頁數: 864
- 裝訂: Paperback
- ISBN: 032142672X
- ISBN-13: 9780321426727
-
相關分類:
Java 相關技術
已過版
買這商品的人也買了...
-
$780CMMI: Guidelines for Process Integration and Product Improvement (Harcover)
-
$2,210$2,100 -
$480$379 -
$950$751 -
$350$277 -
$880$695 -
$880$695 -
$650$514 -
$390$308 -
$780$741 -
$450$383 -
$780$663 -
$680$537 -
$650$507 -
$680$537 -
$550$435 -
$980$774 -
$580$458 -
$880$695 -
$450$356 -
$780$616 -
$720$569 -
$650$514 -
$990$891 -
$600$480
商品描述
Description
"I'm often asked, 'What are the best books about Eclipse?' Number one on my list, every time, is Eclipse: Building Commercial-Quality Plug-ins. I find it to be the clearest and most relevant book about Eclipse for the real-world software developer. Other Eclipse books focus on the internal Eclipse architecture or on repeating the Eclipse documentation, whereas this book is laser focused on the issues and concepts that matter when you're trying to build a product."
-- Bjorn Freeman-Benson
Director, Open Source Process, Eclipse Foundation"As the title suggests, this massive tome is intended as a guide to best practices for writing Eclipse plug-ins. I think in that respect it succeeds handily. Before you even think about distributing a plug-in you've written, read this book."
-- Ernest Friedman-Hill
Sheriff, JavaRanch.com"Eclipse: Building Commercial-Quality Plug-ins was an invaluable training aid for all of our team members. In fact, training our team without the use of this book as a base would have been virtually impossible. It is now required reading for all our developers and helped us deliver a brand-new, very complex product on time and on budget thanks to the great job this book does of explaining the process of building plug-ins for Eclipse."
-- Bruce Gruenbaum"This is easily one of the most useful books I own. If you are new to developing Eclipse plug-ins, it is a 'must-have' that will save you lots of time and effort. You will find lots of good advice in here, especially things that will help add a whole layer of professionalism and completeness to any plug-in. The book is very focused, well-structured, thorough, clearly written, and doesn't contain a single page of 'waffly page filler.' The diagrams explaining the relationships between the different components and manifest sections are excellent and aid in understanding how everything fits together. This book goes well beyond Actions, Views, and Editors, and I think everyone will benefit from the authors' experience. I certainly have."
-- Tony Saveski"The authors of this seminal book have decades of proven experience with the most productive and robust software engineering technologies ever developed. Their experiences have now been well applied to the use of Eclipse for more effective Java development. A must-have for any serious software engineering professional!"
-- Ed Klimas"Just wanted to also let you know this is an excellent book! Thanks for putting forth the effort to create a book that is easy to read and technical at the same time!"
-- Brooke Hedrick"The key to developing great plug-ins for Eclipse is understanding where and how to extend the IDE, and that's what this book gives you. It is a must for serious plug-in developers, especially those building commercial applications. I wouldn't be without it."
-- Brian Wilkerson"If you're looking for just one Eclipse plug-in development book that will be your guide, this is the one. While there are other books available on Eclipse, few dive as deep as Eclipse: Building Commercial-Quality Plug-ins."
-- Simon ArcherEclipse has established itself as a dominant force in the application-development space. Key to the success of Eclipse is the ability of developers to extend its functionality using plug-ins.
This new edition of Eclipse: Building Commercial-Quality Plug-ins is the definitive, start-to-finish guide to building commercial-quality Eclipse plug-ins, with an emphasis on adding the sophistication and polish that paying customers demand. The book provides both a quick introduction to using Eclipse for new users and a reference for experienced Eclipse users wishing to expand their knowledge and improve the quality of their Eclipse-based products.
Revised to take advantage of pure Eclipse 3.1 and 3.2 APIs, this widely praised bestseller presents detailed, practical coverage of every aspect of plug-in development and specific solutions for the challenges developers are most likely to encounter. All code examples, relevant API listings, diagrams, and screen captures have been updated.
Some Eclipse concepts--such as actions, views, and editors--have not changed radically, but now have additional functionality and capabilities. Other areas, such as the Eclipse plug-in infrastructure, have changed drastically due to the Eclipse shift towards an OSGi-based infrastructure. This edition is fully updated to address these new advances for Eclipse developers.
- Includes a quick introduction to Eclipse for experienced Java programmers
- Serves as a systematic reference for experienced Eclipse users
- Introduces all the tools you need to build Eclipse and Rational plug-ins
- Explains the Eclipse architecture and the structure of plug-ins and extension points
- Offers practical guidance on building Eclipse user interfaces with SWT and JFace
- Shows how to use change tracking, perspectives, builders, markers, natures, and more
- Covers internationalization, help systems, features, and branding
This book is designed for anyone who wants a deep understanding of Eclipse, and every experienced developer interested in extending Eclipse or the Rational Software Development Platform.
Table of Contents
Foreword by Skip McGaughey xxxi
Foreword by Simon Archer xxxiii
Preface xxxvChapter 1: Using Eclipse Tools 11.1 Getting Started 1
Chapter 2: A Simple Plug-in Example 65
1.2 The Eclipse Workbench 3
1.3 Setting Up Your Environment 14
1.4 Creating a Project 19
1.5 Navigating 26
1.6 Searching 28
1.7 Writing Code 34
1.8 Team Development Using CVS 48
1.9 Running Applications 54
1.10 Introduction to Debugging 58
1.11 Introduction to Testing 61
1.12 Summary 632.1 The Favorites Plug-in 65
Chapter 3: Eclipse Infrastructure 101
2.2 Creating a Plug-in Project 66
2.3 Reviewing the Generated Code 71
2.4 Building a Product 81
2.5 Installing and Running the Product 86
2.6 Debugging the Product 88
2.7 PDE Views 90
2.8 Writing Plug-in Tests 92
2.9 Summary 983.1 Structural Overview 101
Chapter 4: The Standard Widget Toolkit 127
3.2 Plug-in Directory or JAR file 104
3.3 Plug-in Manifest 107
3.4 Plug-in Class 114
3.5 Plug-in Model 119
3.6 Logging 122
3.7 Eclipse Plug-ins 124
3.8 Summary 1254.1 SWT History and Goals 127
Chapter 5: JFace Viewers 185
4.2 SWT Widgets 130
4.3 Layout Management 170
4.4 Resource Management 180
4.5 Summary 1815.1 List-Oriented Viewers 185
Chapter 6: Actions 207
5.2 Text Viewers 203
5.3 Summary 2066.1 IAction versus IActionDelegate 207
Chapter 7: Views 259
6.2 Workbench Window Actions 209
6.3 Object Actions 224
6.4 View Actions 237
6.5 Editor Actions 244
6.6 Key Bindings 251
6.7 RFRS Considerations 256
6.8 Summary 2577.1 View Declaration 261
Chapter 8: Editors 325
7.2 View Part 263
7.3 View Actions 283
7.4 Linking the View 305
7.5 Saving View State 308
7.6 Testing 314
7.7 Image Caching 315
7.8 Auto-sizing Table Columns 316
7.9 RFRS Considerations 319
7.10 Summary 3238.1 Editor Declaration 326
Chapter 9: Resource Change Tracking 375
8.2 Editor Part 330
8.3 Editing 344
8.4 Editor Lifecycle 350
8.5 Editor Actions 354
8.6 Linking the Editor 369
8.7 RFRS Considerations 369
8.8 Summary 3749.1 IResourceChangeListener 375
Chapter 10: Perspectives 389
9.2 Processing Change Events 379
9.3 Batching Change Events 382
9.4 Progress Monitor 383
9.5 Delayed Changed Events 387
9.6 Summary 38810.1 Creating a Perspective 389
Chapter 11: Dialogs and Wizards 40511.1 Dialogs 405
10.2 Enhancing an Existing Perspective 396
10.3 RFRS Considerations 403
10.4 Summary 404
11.2 Wizards 430
11.3 RFRS Considerations 449
11.4 Summary 450Chapter 12: Preference Pages 45112.1 Creating a Preference Page 451
Chapter 13: Properties 477
12.2 Preference Page APIs 453
12.3 Preference APIs 467
12.4 RFRS Considerations 474
12.5 Summary 47513.1 Creating Properties 477
Chapter 14: Builders, Markers, and Natures 497
13.2 Displaying Properties in the Properties Dialog 481
13.3 Displaying Properties in the Properties View 489
13.4 Property Pages Reused as Preference Pages 493
13.5 RFRS Considerations 495
13.6 Summary 49514.1 Builders 499
Chapter 15: Implementing Help 539
14.2 Markers 512
14.3 Natures 525
14.4 RFRS Considerations 535
14.5 Summary 53715.1 Using Help 539
Chapter 16: Internationalization 575
15.2 Implementing Help 542
15.3 Context-Sensitive Help (F1) 552
15.4 Accessing Help Programmatically 560
15.5 Cheat Sheets 563
15.6 RFRS Considerations 570
15.7 Summary 57416.1 Externalizing the Plug-in Manifest 576
Chapter 17: Creating New Extension Points 595
16.2 Externalizing Plug-in Strings 578
16.3 Using Fragments 587
16.4 Summary 59417.1 The Extension Point Mechanism 595
Chapter 18: Features, Branding, and Updates 619
17.2 Defining an Extension Point 597
17.3 Code Behind an Extension Point 607
17.4 Extension Point Documentation 614
17.5 Using the Extension Point 615
17.6 RFRS Considerations 617
17.7 Summary 61818.1 Feature Projects 620
Chapter 19: Building a Product 651
18.2 Branding 631
18.3 Update Sites 637
18.4 RFRS Considerations 647
18.5 Summary 64819.1 A Brief Introduction to Ant 651
Chapter 20: Advanced Topics 709
19.2 Building the Favorites Product 671
19.3 Summary 70720.1 Advanced Search--Reference Projects 710
Appendix A: Eclipse Plug-ins and Resources 751
20.2 Accessing Internal Code 711
20.3 Adapters 714
20.4 Opening a Browser or Creating an Email 718
20.5 Types Specified in an Extension Point 723
20.6 Modifying Eclipse to Find Part Identifiers 727
20.7 Label Decorators 732
20.8 Background Tasks--Jobs API 739
20.9 Plug-in ClassLoaders 742
20.10 Early Startup 747
20.11 Rich Client Platform 748
20.12 Conclusion 749A.1 Plug-ins 751
Appendix B: Ready for Rational Software 765Index 767
A.2 Resources 760
商品描述(中文翻譯)
**描述**
「我經常被問到,‘有關 Eclipse 的最佳書籍是什麼?’每次我的第一名都是《Eclipse: Building Commercial-Quality Plug-ins》。我發現這是針對現實世界軟體開發者最清晰且最相關的 Eclipse 書籍。其他 Eclipse 書籍專注於內部的 Eclipse 架構或重複 Eclipse 文檔,而這本書則專注於在構建產品時真正重要的問題和概念。」
-- Bjorn Freeman-Benson
Eclipse 基金會開源流程主任
「正如書名所示,這本龐大的書籍旨在作為撰寫 Eclipse 插件的最佳實踐指南。我認為在這方面它非常成功。在你考慮分發你所撰寫的插件之前,請先閱讀這本書。」
-- Ernest Friedman-Hill
JavaRanch.com 警長
「《Eclipse: Building Commercial-Quality Plug-ins》對我們所有團隊成員來說都是一個無價的培訓輔助工具。事實上,沒有這本書作為基礎來培訓我們的團隊幾乎是不可能的。現在它已成為我們所有開發人員的必讀書籍,幫助我們按時按預算交付一個全新且非常複雜的產品,這都要歸功於這本書在解釋為 Eclipse 構建插件的過程中所做的出色工作。」
-- Bruce Gruenbaum
「這無疑是我擁有的最有用的書籍之一。如果你是開發 Eclipse 插件的新手,這是一本‘必備’的書,將為你節省大量時間和精力。你會在這裡找到很多好的建議,特別是那些能為任何插件增添專業性和完整性的建議。這本書非常專注,結構良好,內容詳盡,寫得清晰,沒有一頁是‘空洞的填充內容’。解釋不同組件和清單部分之間關係的圖表非常出色,有助於理解所有內容如何結合在一起。這本書超越了 Actions、Views 和 Editors,我認為每個人都會從作者的經驗中受益。我肯定受益匪淺。」
-- Tony Saveski
「這本開創性書籍的作者擁有數十年的經驗,精通最具生產力和穩健的軟體工程技術。他們的經驗現在已很好地應用於使用 Eclipse 進行更有效的 Java 開發。對於任何認真的軟體工程專業人士來說,這是一本必備書籍!」
-- Ed Klimas
「我也想讓你知道這是一本優秀的書!感謝你們付出努力創作出這本易讀且同時具技術性的書!」
-- Brooke Hedrick
「開發優秀的 Eclipse 插件的關鍵在於理解如何擴展 IDE,而這本書正是提供了這些知識。對於認真的插件開發者,特別是那些構建商業應用程序的開發者來說,這是一本必備書籍。我不會沒有它。」
-- Brian Wilkerson
「如果你只想找一本 Eclipse 插件開發書籍作為指導,這就是那本。雖然還有其他關於 Eclipse 的書籍,但很少有書籍能像《Eclipse: Building Commercial-Quality Plug-ins》那樣深入。」
-- Simon Archer
Eclipse 已經在應用開發領域確立了主導地位。Eclipse 成功的關鍵在於開發者能夠使用插件擴展其功能。
這本新版的《Eclipse: Building Commercial-Quality Plug-ins》是從頭到尾構建商業品質 Eclipse 插件的權威指南,強調添加付費客戶所需的複雜性和精緻度。本書為新用戶提供了快速的 Eclipse 使用介紹,並為希望擴展知識和提高 Eclipse 基於產品質量的經驗用戶提供了參考。
本書經過修訂,以利用純 Eclipse 3.1 和 3.2 API,這本廣受好評的暢銷書詳細實用地涵蓋了插件開發的每個方面,並針對開發者最有可能遇到的挑戰提供具體解決方案。所有代碼示例、相關 API 列表、圖表和螢幕截圖均已更新。
一些 Eclipse 概念,例如 actions、views 和 editors,並未發生根本性變化,但現在具有額外的功能和能力。其他領域,例如 Eclipse 插件基礎架構,由於 Eclipse 向 OSGi 基礎架構的轉變而發生了劇變。本版已全面更新,以應對這些新進展,供 Eclipse 開發者使用。
- 包含針對經驗豐富的 Java 程式設計師的快速 Eclipse 介紹
- 作為經驗豐富的 Eclipse 用戶的系統參考
- 介紹構建 Eclipse 和 Rational 插件所需的所有工具
- 解釋 Eclipse 架構及插件和擴展點的結構
- 提供有關使用 SWT 和 JFace 構建 Eclipse 使用者介面的實用指導
- 展示如何使用變更追蹤、視角、構建器、標記、性質等
- 涵蓋國際化、幫助系統、功能和品牌
本書旨在為任何希望深入了解 Eclipse 的人,以及每位有興趣擴展 Eclipse 或 Rational 軟體開發平台的經驗豐富的開發者而設計。