Having created a sample application, the next step is to create a view, known as a part in E4. Parts are the generic name for views, editors, and other grouping components in an E4 application. Unlike views in Eclipse 3, the view class doesn't have to have any references to the Eclipse APIs. This makes it particularly easy to build and test in isolation.
plugin.xmlfile of the
com.packtpub.e4.applicationproject, and go to the Dependencies tab. Add a dependency to the
org.eclipse.ui.dibundle, if it's not already added.
create()method, annotated with
@PostConstructthat instantiates ...