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

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

Dr Alex Blewitt

Condividi libro
  1. 458 pagine
  2. English
  3. ePUB (disponibile sull'app)
  4. Disponibile su iOS e Android
eBook - ePub

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

Dr Alex Blewitt

Dettagli del libro
Anteprima del libro
Indice dei contenuti
Citazioni

Informazioni sul libro

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.

Domande frequenti

Come faccio ad annullare l'abbonamento?
È semplicissimo: basta accedere alla sezione Account nelle Impostazioni e cliccare su "Annulla abbonamento". Dopo la cancellazione, l'abbonamento rimarrà attivo per il periodo rimanente già pagato. Per maggiori informazioni, clicca qui
È possibile scaricare libri? Se sì, come?
Al momento è possibile scaricare tramite l'app tutti i nostri libri ePub mobile-friendly. Anche la maggior parte dei nostri PDF è scaricabile e stiamo lavorando per rendere disponibile quanto prima il download di tutti gli altri file. Per maggiori informazioni, clicca qui
Che differenza c'è tra i piani?
Entrambi i piani ti danno accesso illimitato alla libreria e a tutte le funzionalità di Perlego. Le uniche differenze sono il prezzo e il periodo di abbonamento: con il piano annuale risparmierai circa il 30% rispetto a 12 rate con quello mensile.
Cos'è Perlego?
Perlego è un servizio di abbonamento a testi accademici, che ti permette di accedere a un'intera libreria online a un prezzo inferiore rispetto a quello che pagheresti per acquistare un singolo libro al mese. Con oltre 1 milione di testi suddivisi in più di 1.000 categorie, troverai sicuramente ciò che fa per te! Per maggiori informazioni, clicca qui.
Perlego supporta la sintesi vocale?
Cerca l'icona Sintesi vocale nel prossimo libro che leggerai per verificare se è possibile riprodurre l'audio. Questo strumento permette di leggere il testo a voce alta, evidenziandolo man mano che la lettura procede. Puoi aumentare o diminuire la velocità della sintesi vocale, oppure sospendere la riproduzione. Per maggiori informazioni, clicca qui.
Eclipse Plug-in Development: Beginner's Guide - Second Edition è disponibile online in formato PDF/ePub?
Sì, puoi accedere a Eclipse Plug-in Development: Beginner's Guide - Second Edition di Dr Alex Blewitt in formato PDF e/o ePub, così come ad altri libri molto apprezzati nelle sezioni relative a Informatik e Programmierung. Scopri oltre 1 milione di libri disponibili nel nostro catalogo.

Informazioni

Anno
2016
ISBN
9781785285011
Edizione
2
Argomento
Informatik

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...

Indice dei contenuti