Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

E4/UI/Running the contacts demo

< E4‎ | UI
Revision as of 14:22, 14 January 2010 by Remysuen.ca.ibm.com (Talk | contribs) (Known issues)

A screenshot of the e4 contacts demo as of 1.0M2.
The instructions provided on this page were last updated for the e4 1.0M2 milestone.

The e4 contacts demo showcases an e4-based RCP application that allows the user to view and edit vCards.

Prerequisites

Features

  • Displays the usage and definition of commands, handlers, and keybindings in e4
    • Ctrl+D switches to the "Dark Theme"
    • Ctrl+L switches to the "Bright Theme"
    • Ctrl+5, X will exit the application (demonstrates multistroke keybindings)
    • Ctrl+S to save the vCard that's currently opened
  • Shows how CSS can be used to skin an application (note that the CSS engine does not have any particular dependencies on e4 technologies and can be reused in an Eclipse 3.x-based application)
  • Editing a vCard will cause the part to display the '*' dirty affordance (demonstrates the life cycle of saveable parts)

Setup steps

  1. Download an e4 SDK here.
  2. Unzip/Untar the file as you would with a regular Eclipse SDK download.
  3. Start up Eclipse.
  4. e4 > General e4 Example Project
  5. Locate the e4-examples.psf file in the generated org.eclipse.e4.examples.psf project.
  6. Right-click > Import Project Set
  7. You may be prompted to provide information about the CVS repository. If such a dialog appears, simply click 'OK' to advance.
  8. For the user name, please use anonymous and leave the password field blank.
  9. The check out operation should complete successfully.
  10. Locate the contacts.product file in the generated org.eclipse.e4.demo.contacts project and open it.
  11. In the opened editor, navigate to the 'Testing' section in the 'General' tab.
  12. Click the 'Launch an Eclipse application' hyperlink. The demo should now come up.

Known issues

  1. The splash screen does not currently go away, see bug 277463.

Back to the top