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

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

Dr Alex Blewitt

Partager le livre
  1. 458 pages
  2. English
  3. ePUB (adapté aux mobiles)
  4. Disponible sur iOS et Android
eBook - ePub

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

Dr Alex Blewitt

DĂ©tails du livre
Aperçu du livre
Table des matiĂšres
Citations

À propos de ce livre

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.

Foire aux questions

Comment puis-je résilier mon abonnement ?
Il vous suffit de vous rendre dans la section compte dans paramĂštres et de cliquer sur « RĂ©silier l’abonnement ». C’est aussi simple que cela ! Une fois que vous aurez rĂ©siliĂ© votre abonnement, il restera actif pour le reste de la pĂ©riode pour laquelle vous avez payĂ©. DĂ©couvrez-en plus ici.
Puis-je / comment puis-je télécharger des livres ?
Pour le moment, tous nos livres en format ePub adaptĂ©s aux mobiles peuvent ĂȘtre tĂ©lĂ©chargĂ©s via l’application. La plupart de nos PDF sont Ă©galement disponibles en tĂ©lĂ©chargement et les autres seront tĂ©lĂ©chargeables trĂšs prochainement. DĂ©couvrez-en plus ici.
Quelle est la différence entre les formules tarifaires ?
Les deux abonnements vous donnent un accĂšs complet Ă  la bibliothĂšque et Ă  toutes les fonctionnalitĂ©s de Perlego. Les seules diffĂ©rences sont les tarifs ainsi que la pĂ©riode d’abonnement : avec l’abonnement annuel, vous Ă©conomiserez environ 30 % par rapport Ă  12 mois d’abonnement mensuel.
Qu’est-ce que Perlego ?
Nous sommes un service d’abonnement Ă  des ouvrages universitaires en ligne, oĂč vous pouvez accĂ©der Ă  toute une bibliothĂšque pour un prix infĂ©rieur Ă  celui d’un seul livre par mois. Avec plus d’un million de livres sur plus de 1 000 sujets, nous avons ce qu’il vous faut ! DĂ©couvrez-en plus ici.
Prenez-vous en charge la synthÚse vocale ?
Recherchez le symbole Écouter sur votre prochain livre pour voir si vous pouvez l’écouter. L’outil Écouter lit le texte Ă  haute voix pour vous, en surlignant le passage qui est en cours de lecture. Vous pouvez le mettre sur pause, l’accĂ©lĂ©rer ou le ralentir. DĂ©couvrez-en plus ici.
Est-ce que Eclipse Plug-in Development: Beginner's Guide - Second Edition est un PDF/ePUB en ligne ?
Oui, vous pouvez accĂ©der Ă  Eclipse Plug-in Development: Beginner's Guide - Second Edition par Dr Alex Blewitt en format PDF et/ou ePUB ainsi qu’à d’autres livres populaires dans Informatik et Programmierung. Nous disposons de plus d’un million d’ouvrages Ă  dĂ©couvrir dans notre catalogue.

Informations

Année
2016
ISBN
9781785285011
Édition
2
Sous-sujet
Programmierung

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 des matiĂšres