Skip to main content

Notice: This Wiki is now read only and edits are no longer possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

STEM Model Generator/Install

Important note:  The STEM Model Generator is currently intended for use in the Eclipse SDK only.  It is not intended for installation or use within the STEM application.

Before you begin, follow the steps of the STEM/Eclipse Setup to prepare your Eclipse development environment

Add the STEM Developer Tools Update Site into Eclipse

  1. Launch your Eclipse SDK
  2. Select the Help menu and choose Install New Software
    STEM-ModelGen-InstallNewSoftwareMenu.png
  3. When the Available Software dialog opens, click Add
  4. In Add Repository dialog, enter the following values:
    Name: STEM Developer Tools
    Location: http://download.eclipse.org/stem/update-site/devtools/
    STEM-ModelGen-AddRepositoryDialog.png
  5. Click OK

Install the STEM Model Generator

  1. From the Available Software dialog, select STEM Developer Tools from the drop down
  2. Choose the STEM Model Generator Feature from the list of available software
    Note: You may have to uncheck Group items by category
    STEM-ModelGen-SelectFeatureDialog.png
  3. Click Next
  4. On the Install Details page, verify STEM Model Generator Feature is listed
    Note: If you did not install the Eclipse Modeling Framework (EMF) previously, it will be installed automatically
    STEM-ModelGen-InstallDetailsDialog.png
  5. Click Next
  6. On the Review Licenses page, review the licenses of the required software
    • If you accept all the license terms, select I accept the terms of the license agreements and click Finish
    • If you do NOT accept the terms, click Cancel
  7. The installer will now download and install the software. This process may take 5-10 minutes.
  8. If prompted with a Security Warning that you're about to install unsigned content, click OK
    STEM-ModelGen-SecurityWarning.png
  9. When the install finishes, you will be prompted to restart Eclipse
    • If all your changes are saved, click Restart Now
    • Otherwise, click Not Now, save any changes, and restart Eclipse
  10. After Eclipse restarts, the STEM Model Generator is ready for use

Once you're finished, return to the tutorial and follow the steps to Generate a STEM Computational Model project

Updating the STEM Model Generator

Updating an existing installation of the STEM Model Generator is easy using the Eclipse Update mechanism.

  1. Launch your Eclipse SDK
  2. Open the Help menu, select About Eclipse SDK
    On Mac OS X, this is under the Eclipse menu
  3. In the About Eclipse SDK window, click Installation Details
  4. In the Eclipse SDK Installation Details window, select STEM Model Generator Feature
    STEM-ModelGen-InstalledFeatures.png
  5. Click Update...
  6. Wait while the Eclipse Updater checks for updates
    • If no updates are found, click OK
      STEM-ModelGen-NoUpdatesAvailable.png
    • If updates are found, the Available Updates window will appear
      STEM-ModelGen-UpdateDetails.png
  7. On the Update Details page, click Next
  8. On the Review Licenses page, review the licenses of the required software
    • If you accept all the license terms, select I accept the terms of the license agreements and click Finish
    • If you do NOT accept the terms, click Cancel
  9. The installer will now download and install the updates. This process may take 2-5 minutes.
  10. If prompted with a Security Warning that you're about to install unsigned content, click OK
    STEM-ModelGen-SecurityWarning.png
  11. When the update finishes, you will be prompted to restart Eclipse
    • If all your changes are saved, click Restart Now
    • Otherwise, click Not Now, save any changes, and restart Eclipse
  12. After Eclipse restarts, the STEM Model Generator is updated and ready for use

Uninstall the STEM Model Generator

If you want to completely remove the feature from Eclipse, follow these steps:

  1. Launch your Eclipse SDK
  2. Open the Help menu, select About Eclipse SDK
    On Mac OS X, this is under the Eclipse menu
  3. On the About Eclipse SDK page, click Installation Details
  4. On the Eclipse SDK Installation Details page, select STEM Model Generator Feature
    STEM-ModelGen-InstalledFeatures.png
  5. Click Uninstall...
  6. Wait while Eclipse calculates the uninstall plan
  7. When the Uninstall window appears, verify the correct features to uninstall are listed
    STEM-ModelGen-Uninstall.png
  8. Click Finish
  9. Wait while the installer removes the features
  10. When the uninstall finishes, you will be prompted to restart Eclipse
    • If all your changes are saved, click Restart Now
    • Otherwise, click Not Now, save any changes, and restart Eclipse
  11. After Eclipse restarts, the STEM Model Generator is updated and ready for use

Back to the top