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.
STEM Model Generator
Contents
About
Holder page for model generator
Installation
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.
- Follow the steps of the STEM/Eclipse Setup to prepare your development environment
- Add the STEM Model Generator Update Site into Eclipse
- Launch your Eclipse SDK
- Select the Help menu and choose Install New Software
- Image
- When the Available Software dialog opens, click Add
- In Add Repository dialog, enter the following values:
- Name: STEM Developer Tools
- Location: http://download.eclipse.org/stem/update-site/prerelease/
- Image
- Click OK
- Install the STEM Model Generator
- From the Available Software dialog, select STEM Developer Tools from the drop down
- Choose the STEM Model Generator Feature from the list of available software
- Note: You may have to uncheck Group items by category
- Image
- Click Next
- 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
- Image
- Click Next
- 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
- The installer will now download and install the software. This process may take 5-10 minutes.
- If prompted with a Security Warning that you're about to install unsigned content, click OK
- Image
- 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
- Image
- After Eclipse restarts, the STEM Model Generator is ready for use
Create a new STEM Computational Model Project
Launch the STEM Model Generator Wizard
- Open the Eclipse SDK
- Open the File menu, New, and choose Other
- You can also do Control-N (Command-N on Mac OS X)
- In the list of Wizards, expand the STEM category and select New STEM Model Project
- Click Next
- Choose Create and configure a new STEM Model Package
- Image
- Click Next
Configure the Model Package
The model package is the container for all models in a given package. A model package roughly equates to an Eclipse plug-in project.
Parameter Name Data Type Example Value Package Name String
(Java Identifier)CattleSalmonellosis Package Prefix String
(Java Package Identifier)com.example.diseasemodels
The Package Name and Package Prefix are combined to create the resulting Eclipse plug-in/project identifier. For example, a model package like the example above will generate an Eclipse plug-in/project with ID com.example.diseasemodels.cattlesalmonellosis.
Add/Edit a Computational Model
When you're ready to add or edit a computational model, from the Model Package page, click Add Model.
- If you want to edit an existing computational model, choose it from the Contained Models list and click Edit Model.
This will launch the Computational Model Wizard.