Eclipse Plug-in Development: Beginner's Guide - Second Edition
eBook - ePub

Eclipse Plug-in Development: Beginner's Guide - Second Edition

Dr Alex Blewitt

Share book
  1. 458 pages
  2. English
  3. ePUB (mobile friendly)
  4. Available on iOS & Android
eBook - ePub

Eclipse Plug-in Development: Beginner's Guide - Second Edition

Dr Alex Blewitt

Book details
Book preview
Table of contents
Citations

About This Book

Develop skills to build powerful plug-ins with Eclipse IDE through examplesAbout This Bookβ€’ 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 standardWho This Book Is ForThis book is for Java developers familiar with Eclipse who need more from the IDE. This book will sharpen your confidence and make you a more productive developer with a tool that supports rather than limits you.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 SWTBotIn DetailEclipse 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.Style and approachPacked with plenty of examples so you're never stuck, or never left simply reading instructions, this book encourages you to get started immediately. This book is for developers who want to develop, not just learn.

Frequently asked questions

How do I cancel my subscription?
Simply head over to the account section in settings and click on β€œCancel Subscription” - it’s as simple as that. After you cancel, your membership will stay active for the remainder of the time you’ve paid for. Learn more here.
Can/how do I download books?
At the moment all of our mobile-responsive ePub books are available to download via the app. Most of our PDFs are also available to download and we're working on making the final remaining ones downloadable now. Learn more here.
What is the difference between the pricing plans?
Both plans give you full access to the library and all of Perlego’s features. The only differences are the price and subscription period: With the annual plan you’ll save around 30% compared to 12 months on the monthly plan.
What is Perlego?
We are an online textbook subscription service, where you can get access to an entire online library for less than the price of a single book per month. With over 1 million books across 1000+ topics, we’ve got you covered! Learn more here.
Do you support text-to-speech?
Look out for the read-aloud symbol on your next book to see if you can listen to it. The read-aloud tool reads text aloud for you, highlighting the text as it is being read. You can pause it, speed it up and slow it down. Learn more here.
Is Eclipse Plug-in Development: Beginner's Guide - Second Edition an online PDF/ePUB?
Yes, you can access Eclipse Plug-in Development: Beginner's Guide - Second Edition by Dr Alex Blewitt in PDF and/or ePUB format, as well as other popular books in Informatik & Programmierung. We have over one million books available in our catalogue for you to explore.

Information

Year
2016
ISBN
9781785285011
Edition
2

Eclipse Plug-in Development Beginner's Guide Second Edition


Table of Contents

Eclipse Plug-in Development Beginner's Guide Second Edition
Credits
Foreword
About the Author
Acknowledgments
About the Reviewers
www.PacktPub.com
eBooks, discount offers, and more
Why subscribe?
Preface
What this book covers
What you need for this book
Who this book is for
Sections
Time for action – heading
What just happened?
Pop quiz – heading
Have a go hero – heading
Conventions
Reader feedback
Customer support
Downloading the example code
Downloading the color images of this book
Errata
Piracy
Questions
1. Creating Your First Plug-in
Getting started
Time for action – setting up the Eclipse environment
What just happened?
Creating your first plug-in
Time for action – creating a plug-in
What just happened?
Pop quiz – Eclipse workspaces and plug-ins
Running plug-ins
Time for action – launching Eclipse from within Eclipse
What just happened?
Pop quiz: launching Eclipse
Have a go hero – modifying the plug-in
Debugging a plug-in
Time for action – debugging a plug-in
What just happened?
Time for action – updating code in the debugger
What just happened?
Debugging with step filters
Time for action – setting up step filtering
What just happened?
Using different breakpoint types
Time for action – breaking at method entry and exit
What just happened?
Using conditional breakpoints
Time for action – setting a conditional breakpoint
What just happened?
Using exceptional breakpoints
Time for action – catching exceptions
What just happened?
Time for action – inspecting and watching variables
What just happened?
Pop quiz: debugging
Have a go hero – working with breakpoints
Summary
2. Creating Views with SWT
Creating views and widgets
Time for action – creating a view
What just happened?
Manifest.mf
plugin.xml
Time for action – drawing a custom view
What just happened?
Time for action – drawing a seconds hand
What just happened?
Time for action – animating the second hand
What just happened?
Time for action – running on the UI thread
What just happened?
Time for action – creating a reusable widget
What just happened?
Time for action – using layouts
What just happened?
Pop quiz: understanding views
Have a go hero – drawing hour and minute hands
Managing resources
Time for action – getting colorful
What just happened?
Time for action – finding the leak
What just happened?
Time for action – plugging the leak
What just happened?
Pop quiz – understanding resources
Have a go hero
Interacting with the user
Time for action – getting in focus
What just happened?
Time for action – responding to input
What just happened?
Pop quiz: understanding widgets
Have a go hero – updating the clock widget
Using other SWT widgets
Time for action – adding items to the tray
What just happened?
Time for action – responding to the user
What just happened?
Time for action – modal and other effects
What just happened?
Time for action – groups and tab folders
What just happened?
Pop quiz: using SWT
Have a go hero: enhancing the time zones
Summary
3. Creating JFace Viewers
Why JFace?
Creating TreeViewers
Time for action – creating a tree viewer
What just happened?
Time for action – using Images in JFace
What just happened?
Time for action – styling label providers
What just happened?
Pop quiz – understanding JFace
Have a go hero – adding images for regions
Sorting and filtering
Time for action – sorting items in a viewer
What just happened?
Time for action – filtering items in a viewer
What just happened?
Pop quiz – understanding sorting and filters
Have a go hero – expanding and filtering
Interaction
Time for action – adding a double-click listener
What just happened?
Pop quiz – understanding interaction
Tabular data
Time for action – viewing time zones in tables
What just happened?
Pop quiz: understanding tables
Selection
Time for action – propagating selection
What just happened?
Time for action – responding to selection changes
What just happened?
Have a go hero – adding selection support to the table view
Pop quiz – understanding selection
Summary
4. Interacting with the User
Creating menus, commands, and handlers
Time for action – installing the E4 tools
What just happened?
Time for action – creating commands and handlers
What just happened?
Time for action – binding commands to keys
What just happened?
Time for action – changing contexts
What just happened?
Time for action – enabling and disabling menus items
What just happened?
Time for action – contributing commands to pop-up menus
What just happened?
Have a go hero – using view menus and toolbars
Pop quiz – understanding menus
Jobs and progress
Time for action – running operations in the background
What just happened?
Have a go hero – using a UIJob
Time for action – reporting progress
What just happened?
Time for action – dealing with cancellation
What just happened?
Time for action – using subtasks and sub-progress monitors
What just happened?
Time for action – using null progress monitors and sub monitors
What just happened?
Time for action – setting job properties
What just happened?
Have a go hero – displaying in the taskbar
Pop quiz – understanding Jobs
Reporting errors
Time for action – showing errors
What just...

Table of contents