1.2 Framework basics

 < Day Day Up > 



1.2 Framework basics

This section provides some basic information about the Eclipse Modeling Framework to help you get it up and running.

1.2.1 Prerequisites

When we wrote this redbook, the current version of EMF was v1.1.0. A valid Eclipse product installation is a prerequisite to use EMF. As of EMF v1.0.2, Eclipse v2.1 is required. For the purpose of writing the redbook, Eclipse v2.1 and EMF v1.1.0 have been used.

1.2.2 Product installation

Eclipse product installation is straightforward. You extract the content of the downloaded archive, which is platform dependent, to a folder of your choice. Depending on the operating system, double-click the Eclipse icon, or run the corresponding shell command to complete the installation process and launch the Eclipse Platform.

EMF is packaged in three parts: the first one is the runtime, the second contains the documentation, and the third contains the source code.

EMF framework installation

Download the EMF Runtime archive (for example, emf_1.1.0_20030620_1105VL.zip) and extract the content to the Eclipse folder.

EMF documentation installation

Download the EMF Documentation archive (for example, emf.doc_1.1.0_20030620_1105VL.zip) and extract the content to the Eclipse folder.

Note 

If Eclipse was running, while doing EMF and document installation, Eclipse will need to be restarted for changes to take effect.

1.2.3 Getting help in Eclipse

EMF help can be found in the Eclipse help system.

The welcome page

  1. The welcome page is the main entry point to the EMF documentation. In Eclipse, click Help -> Welcome... to list available welcome pages as shown in Figure 1-1.

    click to expand
    Figure 1-1: Welcome page window

  2. Select the Eclipse Modeling Framework welcome page from the list and click OK. Figure 1-2 shows the EMF welcome page that will be displayed.

    click to expand
    Figure 1-2: EMF welcome page

Note 

The EMF documentation package must be installed before the links in EMF welcome pages are clickable.

The help perspective

EMF help is also accessible directly from Help -> Help contents. Figure 1-3 shows the help available in the EMF Programmers Guide, which includes an EMF overview, a user guide, and an EMF.Edit section.

click to expand
Figure 1-3: EMF help



 < Day Day Up > 



Eclipse Development using the Graphical Editing Framework and the Eclipse Modeling Framework
Eclipse Development Using the Graphical Editing Framework And the Eclipse Modeling Framework
ISBN: 0738453161
EAN: 2147483647
Year: 2004
Pages: 70
Authors: IBM Redbooks

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net