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/
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.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:If a dialog Extension pages hidden is displayed, click on the Yes button to ensure that the Extensions tab is shown:
Go to the Extensions tab and click on the Add... button. Type
views
in the filter and uncheck the Show...