Book Image

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

By : Alex Blewitt
Book Image

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

By: Alex Blewitt

Overview of this book

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.
Table of Contents (24 chapters)
Eclipse Plug-in Development Beginner's Guide Second Edition
Credits
Foreword
About the Author
Acknowledgments
About the Reviewers
www.PacktPub.com
Preface
Index

Time for action – creating a migration component


In order to demonstrate how to migrate a plug-in to Eclipse 4.x technology, a simple example needs to be created. For this purpose, the Eclipse plug-in example library will be used, although the exact sample used by this book can also be checked out from the book's GitHub repository at https://github.com/alblue/com.packtpub.e4/

  1. Create a new plug-in project by navigating to the File | New | Project… menu and choosing the Plug-in Project option. Use com.packtpub.e4.migration as the name of the project, click on Next, and then accept the defaults by clicking on Finish.

  2. Open the META-INF/MANIFEST.MF file and go to the Overview tab. Click on the Extensions link on the right-hand side, under the Extension/Extension Point Content group:

  3. If a dialog Extension pages hidden is displayed, click on the Yes button to ensure that the Extensions tab is shown:

  4. Go to the Extensions tab and click on the Add... button. Type views in the filter and uncheck the Show...