search
0
cart
close
You have no products in your basket yet
left
Tech Categories
Best Sellers
New Releases
Books
Videos
Audiobooks
Articles
Newsletters
Free Learning
right
Eclipse Plug-in Development Beginner's Guide - Second Edition

Eclipse Plug-in Development Beginner's Guide: Extend and customize Eclipse, Second Edition

By Alex Blewitt
$43.99 $29.99
Book Aug 2016 458 pages 2nd Edition
eBook
$43.99 $29.99
Print
$54.99
Subscription
$15.99 Monthly
eBook
$43.99 $29.99
Print
$54.99
Subscription
$15.99 Monthly

What do you get with eBook?

Feature icon Instant access to your Digital eBook purchase
Feature icon Download this book in EPUB and PDF formats
Feature icon Access this title in our online reader with advanced features
Feature icon DRM FREE - Read whenever, wherever and however you want
Buy Now

Product Details


Publication date : Aug 4, 2016
Length 458 pages
Edition : 2nd Edition
Language : English
ISBN-13 : 9781783980697
Category :
Languages :
toc View table of contents toc Preview Book

Key benefits

  • [
  • ] Create useful plug-ins to make Eclipse work for you
  • [
  • ] Learn how to migrate Eclipse 3.x plug-ins to Eclipse 4.x
  • [
  • ] From automation to testing, find out how to get your IDE performing at an impressive standard

Description

Eclipse is used by everyone from indie devs to NASA engineers. Its popularity is underpinned by its impressive plug-in ecosystem, which allows it to be extended to meet the needs of whoever is using it. This book shows you how to take full advantage of the Eclipse IDE by building your own useful plug-ins from start to finish. Taking you through the complete process of plug-in development, from packaging to automated testing and deployment, this book is a direct route to quicker, cleaner Java development. It may be for beginners, but we're confident that you'll develop new skills quickly. Pretty soon you'll feel like an expert, in complete control of your IDE. Don't let Eclipse define you - extend it with the plug-ins you need today for smarter, happier, and more effective development.

What you will learn

[*] Create plug-ins for Eclipse 4.x [*] Test plug-ins automatically with JUnit [*] Display tree and table information in views [*] Upgrade Eclipse 3.x plug-ins to Eclipse 4.x [*] Find out how to build user interfaces from SWT and JFace [*] Run tasks in the background and update the user interface asynchronously [*] Automate builds of plug-ins and features [*] Automate user interface tests with SWTBot [/list]

What do you get with eBook?

Feature icon Instant access to your Digital eBook purchase
Feature icon Download this book in EPUB and PDF formats
Feature icon Access this title in our online reader with advanced features
Feature icon DRM FREE - Read whenever, wherever and however you want
Buy Now

Product Details


Publication date : Aug 4, 2016
Length 458 pages
Edition : 2nd Edition
Language : English
ISBN-13 : 9781783980697
Category :
Languages :

Table of Contents

24 Chapters
Eclipse Plug-in Development Beginner's Guide Second Edition Packt Packt
Eclipse Plug-in Development Beginner's Guide Second Edition
Credits Packt Packt
Credits
Foreword Packt Packt
Foreword
About the Author Packt Packt
About the Author
Acknowledgments Packt Packt
Acknowledgments
About the Reviewers Packt Packt
About the Reviewers
www.PacktPub.com Packt Packt
www.PacktPub.com
Preface Packt Packt
Preface
Creating Your First Plug-in Packt Packt
Creating Your First Plug-in
Getting started
Time for action – setting up the Eclipse environment
Time for action – creating a plug-in
Time for action – launching Eclipse from within Eclipse
Debugging a plug-in
Time for action – debugging a plug-in
Time for action – updating code in the debugger
Time for action – setting up step filtering
Time for action – breaking at method entry and exit
Time for action – setting a conditional breakpoint
Time for action – catching exceptions
Time for action – inspecting and watching variables
Summary
Creating Views with SWT Packt Packt
Creating Views with SWT
Creating views and widgets
Time for action – creating a view
Time for action – drawing a custom view
Time for action – drawing a seconds hand
Time for action – animating the second hand
Time for action – running on the UI thread
Time for action – creating a reusable widget
Time for action – using layouts
Managing resources
Time for action – getting colorful
Time for action – finding the leak
Time for action – plugging the leak
Interacting with the user
Time for action – getting in focus
Time for action – responding to input
Using other SWT widgets
Time for action – adding items to the tray
Time for action – responding to the user
Time for action – modal and other effects
Time for action – groups and tab folders
Summary
Creating JFace Viewers Packt Packt
Creating JFace Viewers
Why JFace?
Creating TreeViewers
Time for action – creating a tree viewer
Time for action – using Images in JFace
Time for action – styling label providers
Sorting and filtering
Time for action – sorting items in a viewer
Time for action – filtering items in a viewer
Interaction
Time for action – adding a double-click listener
Tabular data
Time for action – viewing time zones in tables
Selection
Time for action – propagating selection
Time for action – responding to selection changes
Summary
Interacting with the User Packt Packt
Interacting with the User
Creating menus, commands, and handlers
Time for action – installing the E4 tools
Time for action – creating commands and handlers
Time for action – binding commands to keys
Time for action – changing contexts
Time for action – enabling and disabling menus items
Time for action – contributing commands to pop-up menus
Jobs and progress
Time for action – running operations in the background
Time for action – reporting progress
Time for action – dealing with cancellation
Time for action – using subtasks and sub-progress monitors
Time for action – using null progress monitors and sub monitors
Time for action – setting job properties
Reporting errors
Time for action – showing errors
Summary
Working with Preferences Packt Packt
Working with Preferences
Eclipse Preferences
Time for action – persisting a value
Time for action – injecting preferences
Time for action – injecting individual preferences
Time for action – responding to preference changes
Preference pages
Time for action – creating a preference page
Time for action – creating warning and error messages
Time for action: choosing from a list
Time for action – aligning field editors with a grid
Time for action – placing the preferences page
Time for action: using other field editors
Time for action – searching for preferences
Summary
Working with Resources Packt Packt
Working with Resources
Using the workspace and resources
Time for action – creating an editor
Time for action – writing the markup parser
Time for action – building the builder
Time for action – iterating through resources
Time for action – creating resources
Time for action – implementing incremental builds
Time for action: handling deletion
Using natures
Time for action – creating a nature
Using markers
Time for action – error markers if file is empty
Time for action – registering a marker type
Summary
Creating Eclipse 4 Applications Packt Packt
Creating Eclipse 4 Applications
Time for action – installing E4 tooling
Time for action – creating an E4 application
Time for action – creating a part
Using services and contexts
Time for action – adding logging
Time for action – getting the window
Time for action – obtaining the selection
Time for action – dealing with events
Time for action – calculating values on demand
Time for action – interacting with the UI
Using commands, handlers, and menu items
Time for action – wiring a menu to a command with a handler
Time for action: passing command parameters
Time for action – creating a direct menu and keybindings
Time for action – creating a pop-up menu and a view menu
Creating custom injectable classes
Time for action – creating a simple service
Time for action – injecting subtypes
Summary
Migrating to Eclipse 4.x Packt Packt
Migrating to Eclipse 4.x
Why Eclipse 4.x?
Time for action – creating a migration component
Time for action – updating to e4view
Time for action – upgrading the actions
Time for action – creating toolbars
Time for action – adding the view menu
Time for action – adding the pop-up
Migrating to Eclipse 4.x patterns
Time for action – creating a model fragment
Time for action – migrating the commands and handlers
Time for action – creating the view menu
Time for action – defining the pop-up view in the fragment
Summary
Styling Eclipse 4 Applications Packt Packt
Styling Eclipse 4 Applications
Styling Eclipse with CSS
Time for action – styling the UI with CSS
Time for action – using custom CSS classes
Using the Eclipse spies
Time for action – using the CSS Spy
Time for action – integrating the spy into a product
Styling a custom widget
Time for action – adding the clock
Time for action – using a CSS property
Time for action – going to the dark side
Time for action – adding themes
Time for action – switching between themes
Summary
Creating Features, Update Sites, Applications, and Products Packt Packt
Creating Features, Update Sites, Applications, and Products
Grouping plug-ins with features
Time for action – creating a feature
Time for action – exporting a feature
Time for action – installing a feature
Time for action – categorizing the update site
Time for action – depending on other features
Time for action – branding features
Building applications and products
Time for action – creating a headless application
Time for action – creating a product
Target platforms
Time for action – creating a target definition
Time for action – switching to a specific version
Summary
Automated Testing of Plug-ins Packt Packt
Automated Testing of Plug-ins
Using JUnit for automated testing
Time for action – adding dependencies to the target platform
Time for action – writing a simple JUnit 4 test case
Time for action – writing a plug-in test
Using SWTBot for user interface testing
Time for action – writing an SWTBot test
Time for action – working with menus
Working with SWTBot
Time for action – hiding the welcome screen
Time for action – avoiding SWTBot runtime errors
Working with views
Time for action: showing views
Time for action – interrogating views
Interacting with the UI
Time for action – getting values from the UI
Time for action – waiting for a condition
Summary
Automated Builds with Tycho Packt Packt
Automated Builds with Tycho
Using Maven to build Eclipse plug-ins with Tycho
Time for action – installing Maven
Time for action – building with Tycho
Building features and update sites with Tycho
Time for action – creating a parent project
Time for action – building a feature
Time for action – building an update site
Time for action – building a product
Time for action – using the target platform
Testing and releasing
Time for action – running automated tests
Time for action – changing the version numbers
Signing update sites
Time for action – creating a self-signed certificate
Time for action – signing the plug-ins
Time for action – serving an update site
Summary
Contributing to Eclipse Packt Packt
Contributing to Eclipse
Open source contributions
Time for action – installing the sources
Time for action – debugging the platform
Time for action – modifying the platform
Time for action – checking out from EGit and Git
Time for action – configuring the SWT project
Contributing to Eclipse
Time for action – creating an account at Eclipse
Time for action – creating a bug
Time for action – setting up a Gerrit profile
Time for action – committing and pushing a patch
Summary
Using OSGi Services to Dynamically Wire Applications Packt Packt
Using OSGi Services to Dynamically Wire Applications
Services overview
Registering a service programmatically
Registering a service declaratively
Dynamic services
Dynamic service configuration
Summary
Pop Quiz Answers Packt Packt
Pop Quiz Answers
Chapter 1 – Creating Your First Plug-in
Chapter 2 – Creating Views with SWT
Chapter 3 – Creating JFace Viewers
Chapter 4 – Interacting with the User
Chapter 5 – Storing Preferences and Settings
Chapter 6 – Working with Resources
Chapter 7 – Creating Eclipse 4 Applications
Chapter 8 – Migrating to Eclipse 4.x
Chapter 9 – Styling Eclipse 4 Applications
Chapter 10 – Creating Features, Update Sites, Applications, and Products
Chapter 11 – Automated Testing of Plug-ins
Chapter 12 – Automated Builds with Tycho
Index Packt Packt
Index
Get free access to Packt library with over 7500+ books and video courses for 7 days!
Start Free Trial

FAQS

How do I buy and download an eBook? Packt Packt

Where there is an eBook version of a title available, you can buy it from the book details for that title. Add either the standalone eBook or the eBook and print book bundle to your shopping cart. Your eBook will show in your cart as a product on its own. After completing checkout and payment in the normal way, you will receive your receipt on the screen containing a link to a personalised PDF download file. This link will remain active for 30 days. You can download backup copies of the file by logging in to your account at any time.

If you already have Adobe reader installed, then clicking on the link will download and open the PDF file directly. If you don't, then save the PDF file on your machine and download the Reader to view it.

Please Note: Packt eBooks are non-returnable and non-refundable.

Packt eBook and Licensing When you buy an eBook from Packt Publishing, completing your purchase means you accept the terms of our licence agreement. Please read the full text of the agreement. In it we have tried to balance the need for the ebook to be usable for you the reader with our needs to protect the rights of us as Publishers and of our authors. In summary, the agreement says:

  • You may make copies of your eBook for your own use onto any machine
  • You may not pass copies of the eBook on to anyone else
How can I make a purchase on your website? Packt Packt

If you want to purchase a video course, eBook or Bundle (Print+eBook) please follow below steps:

  1. Register on our website using your email address and the password.
  2. Search for the title by name or ISBN using the search option.
  3. Select the title you want to purchase.
  4. Choose the format you wish to purchase the title in; if you order the Print Book, you get a free eBook copy of the same title. 
  5. Proceed with the checkout process (payment to be made using Credit Card, Debit Cart, or PayPal)
Where can I access support around an eBook? Packt Packt
  • If you experience a problem with using or installing Adobe Reader, the contact Adobe directly.
  • To view the errata for the book, see www.packtpub.com/support and view the pages for the title you have.
  • To view your account details or to download a new copy of the book go to www.packtpub.com/account
  • To contact us directly if a problem is not resolved, use www.packtpub.com/contact-us
What eBook formats do Packt support? Packt Packt

Our eBooks are currently available in a variety of formats such as PDF and ePubs. In the future, this may well change with trends and development in technology, but please note that our PDFs are not Adobe eBook Reader format, which has greater restrictions on security.

You will need to use Adobe Reader v9 or later in order to read Packt's PDF eBooks.

What are the benefits of eBooks? Packt Packt
  • You can get the information you need immediately
  • You can easily take them with you on a laptop
  • You can download them an unlimited number of times
  • You can print them out
  • They are copy-paste enabled
  • They are searchable
  • There is no password protection
  • They are lower price than print
  • They save resources and space
What is an eBook? Packt Packt

Packt eBooks are a complete electronic version of the print edition, available in PDF and ePub formats. Every piece of content down to the page numbering is the same. Because we save the costs of printing and shipping the book to you, we are able to offer eBooks at a lower cost than print editions.

When you have purchased an eBook, simply login to your account and click on the link in Your Download Area. We recommend you saving the file to your hard drive before opening it.

For optimal viewing of our eBooks, we recommend you download and install the free Adobe Reader version 9.