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.
Difference between revisions of "STEM Model Generator/EAnnotations"
(→GenModel Settings) |
(→GenModel Settings) |
||
Line 4: | Line 4: | ||
== GenModel Settings == | == GenModel Settings == | ||
− | |||
To take advantage of the STEM Model Generator's custom templates, you must enable Dynamic Templates in your project's GenModel. | To take advantage of the STEM Model Generator's custom templates, you must enable Dynamic Templates in your project's GenModel. | ||
− | Apply the following settings exactly as specified | + | # Open your project's .genmodel in the EMF Generator editor |
− | + | # Select the top level item (the GenModel) | |
− | :{| cellspacing="0" cellpadding="2" border="1" | + | # Right click and select '''Show Properties View''' |
+ | # Apply the following settings exactly as specified | ||
+ | #:{| cellspacing="0" cellpadding="2" border="1" | ||
|- | |- | ||
| '''Property''' | | '''Property''' | ||
Line 20: | Line 21: | ||
| 2.7 | | 2.7 | ||
|- | |- | ||
− | | | + | | Suppress Notification |
| true | | true | ||
|- | |- | ||
Line 41: | Line 42: | ||
| true | | true | ||
|} | |} | ||
+ | # Save the GenModel file |
Revision as of 18:30, 5 September 2012
STEM Model Generator EAnnotation info coming soon.
Ecore Settings
GenModel Settings
To take advantage of the STEM Model Generator's custom templates, you must enable Dynamic Templates in your project's GenModel.
- Open your project's .genmodel in the EMF Generator editor
- Select the top level item (the GenModel)
- Right click and select Show Properties View
- Apply the following settings exactly as specified
- {| cellspacing="0" cellpadding="2" border="1"
|- | Property | Value |- | Compliance Level | 6.0 |- | Runtime Version | 2.7 |- | Suppress Notification | true |- | Public Constructors | true |- | Dynamic Templates | true |- | Force Overwrite | true |- | Templates Directory | platform:/plugin/org.eclipse.stem.model.codegen/templates |- | Template Plug-in Variables | STEM_CODEGEN=org.eclipse.stem.model.codegen |- | Update Classpath | true |}
- Save the GenModel file