Eclipse 4 Plug-in Development by Example: Beginner's Guide
暫譯: Eclipse 4 外掛開發實例:初學者指南
Dr Alex Blewitt
- 出版商: Packt Publishing
- 出版日期: 2013-06-24
- 售價: $1,870
- 貴賓價: 9.5 折 $1,777
- 語言: 英文
- 頁數: 348
- 裝訂: Paperback
- ISBN: 1782160329
- ISBN-13: 9781782160328
-
相關分類:
Java 相關技術
海外代購書籍(需單獨結帳)
買這商品的人也買了...
-
$580$522 -
$820$697 -
$780$663 -
$520$442 -
$480$408 -
$680$578 -
$1,710The C Programming Language, 2/e (IE-Paprback)
-
$680$578 -
$1,130$961 -
$880$686 -
$400$380 -
$680$578 -
$580$493 -
$450$383 -
$2,205Linux System Programming: Talking Directly to the Kernel and C Library, 2/e (Paperback)
-
$480$408 -
$1,235C : How to Program, 7/e (IE-Paperback)
-
$540$459 -
$349$297 -
$480$408 -
$380$342 -
$420$378 -
$580$458 -
$690$538 -
$450$383
相關主題
商品描述
How to develop, build, test, package, and release Eclipse plug-ins with features for Eclipse 3.x and Eclipse 4.x
Overview
- Create plug-ins to extend the Eclipse runtime covering Eclipse 3.x and the changes required for Eclipse 4.x
- Plug-ins from design to distribution — wide coverage of the entire process
- No prior OSGi or Eclipse plug-in development experience necessary
In Detail
As a highly extensible platform, Eclipse is used by everyone from independent software developers to NASA. Key to this is Eclipse’s plug-in ecosystem, which allows applications to be developed in a modular architecture and extended through its use of plug-ins and features.
"Eclipse Plugin Development by Example: Beginner's Guide" takes the reader through the full journey of plug-in development, starting with an introduction to Eclipse plug-ins, continued through packaging and culminating in automated testing and deployment. The example code provides simple snippets which can be developed and extended to get you going quickly.
This book covers basics of plug-in development, creating user interfaces with both SWT and JFace, and interacting with the user and execution of long-running tasks in the background.
Example-based tasks such as creating and working with preferences and advanced tasks such as well as working with Eclipse’s files and resources. A specific chapter on the differences between Eclipse 3.x and Eclipse 4.x presents a detailed view of the changes needed by applications and plug-ins upgrading to the new model. Finally, the book concludes on how to package plug-ins into update sites, and build and test them automatically.
What you will learn from this book
- How to create plug-ins for Eclipse 3.x and 4.x and automatically test plug-ins with JUnit
- How to display tree and table information in views
- What are the specific differences between the Eclipse 3.x model and the Eclipse 4.x model
- How and when to build user interfaces from SWT and JFace
- How to run tasks in the background and update the user interface asynchronously
- How to build plug-ins, features and update sites with Maven Tycho and automate user interface tests with SWTBot
- How to store and obtain preferences, and how to integrate with the Preferences panel
- How to work with the Eclipse resources model for creating and updating files and reporting errors to the user
Approach
A Beginner's Guide following the "by Example" approach. There will be 5-8 major examples that will be used in the book to develop advanced plugins with the Eclipse IDE.
Who this book is written for
This book is for Java developers who are familiar with Eclipse as a Java IDE and are interested in learning how to develop plug-ins for Eclipse. No prior knowledge of Eclipse plug-in development or OSGi is necessary, although you are expected to know how to create, run, and debug Java programs in Eclipse.
商品描述(中文翻譯)
如何開發、建置、測試、打包和發佈具有 Eclipse 3.x 和 Eclipse 4.x 功能的 Eclipse 插件
概述
- 創建插件以擴展 Eclipse 執行環境,涵蓋 Eclipse 3.x 及其對 Eclipse 4.x 所需的變更
- 從設計到分發的插件 — 廣泛涵蓋整個過程
- 不需要先前的 OSGi 或 Eclipse 插件開發經驗
詳細內容
作為一個高度可擴展的平台,Eclipse 被從獨立軟體開發者到 NASA 的各種使用者所使用。這一切的關鍵在於 Eclipse 的插件生態系統,該系統允許以模組化架構開發應用程式,並通過使用插件和功能進行擴展。
《Eclipse 插件開發實例:初學者指南》帶領讀者完整體驗插件開發的過程,從介紹 Eclipse 插件開始,經過打包,最終達到自動化測試和部署。示例代碼提供簡單的片段,可以進行開發和擴展,讓您快速上手。
本書涵蓋插件開發的基本知識,使用 SWT 和 JFace 創建用戶界面,與用戶互動以及在背景中執行長時間運行的任務。
基於示例的任務,例如創建和處理偏好設置,以及進階任務,如處理 Eclipse 的檔案和資源。專門的一章介紹了 Eclipse 3.x 和 Eclipse 4.x 之間的差異,詳細說明了應用程式和插件升級到新模型所需的變更。最後,本書總結了如何將插件打包到更新站點,並自動建置和測試它們。
您將從本書中學到的內容
- 如何為 Eclipse 3.x 和 4.x 創建插件,並使用 JUnit 自動測試插件
- 如何在視圖中顯示樹狀和表格信息
- Eclipse 3.x 模型和 Eclipse 4.x 模型之間的具體差異
- 如何以及何時從 SWT 和 JFace 建立用戶界面
- 如何在背景中執行任務並異步更新用戶界面
- 如何使用 Maven Tycho 建立插件、功能和更新站點,並使用 SWTBot 自動化用戶界面測試
- 如何存儲和獲取偏好設置,以及如何與偏好設置面板集成
- 如何使用 Eclipse 資源模型創建和更新檔案,並向用戶報告錯誤
方法
一本遵循「實例」方法的初學者指南。本書將使用 5-8 個主要示例來開發使用 Eclipse IDE 的進階插件。
本書的讀者對象
本書適合熟悉 Eclipse 作為 Java IDE 的 Java 開發者,並有興趣學習如何為 Eclipse 開發插件。不需要先前的 Eclipse 插件開發或 OSGi 知識,但您應該知道如何在 Eclipse 中創建、運行和調試 Java 程式。