Tutorial of E4 Application development

E4 Application development

E4 Application development
Running the Application with a Window
  • Shows how to set up Eclipse e4 with the required tools.
  • Explains how to create a new Eclipse 4 project?.
  • Describes how to change the application window settings?.
  • Guides on running the app and making changes to it.
Adding Parts to the Application
  • Add a PerspectiveStack and PartStack in application.e4xmi.
  • Create and link a view class with setup and cleanup methods.
  • Run the app to display the view.
Adding & Layouting Parts to the Application
  • Add multiple views with a split layout using PartSashContainer and link them to view classes.
Adding Actions to the Part
  • Add actions to the view menu.
Selection Propagation between Parts
  • Learn to share selection between views using the @Inject annotation and ESelectionService.
  • This allows one view's selection to be passed to another without manual listeners.
Event Notification between Parts
  • Broadcast changes with @Inject EventBroker.
  • Listen to events with an @Inject handler method.
  • Enable communication between parts.
Convert a Part into a Saveable Instance [Editor]
  • Use @Inject Mdirtable to track the dirty state in your part.
  • Use @Persist to define the save method and reset the dirty flag after saving.
  • Set dirty.setDirty(true) whenever changes occur to mark the part as modified.
Use default views like Project Explorer, Properties View, Console View
  • Create and Configure Application.
  • Reuse 3.x Views.
  • Run and Test Application.
CSS Rendering
  • Add Dependencies and Extensions.
  • Define Themes.
  • Switch Themes Dynamically.
Adding Actions to the MenuBar of Eclipse
  • Create Command.
  • Add Menu.
  • Add Handlers for Functionality.
Adding Actions to the ToolBar of Eclipse
  • Create Toolbar.
  • Add Action.
  • Run Application and See Results.
Creating and Opening a Wizard
  • Create Toolbar for Wizard.
  • Add Action to Trigger Wizard.
  • Run Application and Open the Wizard.
Using Preferences with Dependency Injection
  • Store Preferences.
  • Retrieve Preferences.
  • Preference Scopes.
Modularizing E4 Application Model using Fragments
  • Create a New Plugin to hold the fragment.
  • Extract Fragment.
  • Update Product File.