| Summary: | Generate for parents of selected model element | ||
|---|---|---|---|
| Product: | [Modeling] EMF | Reporter: | Dave Steinberg <davidms> |
| Component: | Tools | Assignee: | Dave Steinberg <davidms> |
| Status: | VERIFIED FIXED | QA Contact: | |
| Severity: | enhancement | ||
| Priority: | P1 | ||
| Version: | 2.2 | ||
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
| Bug Depends on: | |||
| Bug Blocks: | 104727 | ||
|
Description
Dave Steinberg
This is fixed in CVS. Two methods have been added to the GeneratorAdapter interface: getCanGenerateParent() and getGenerateParent(). Default implementations in AbstractGeneratorAdapter simply return null. GenPackageGeneratorAdapter, GenClassGeneratorAdapter, and GenEnumGeneratorAdapter override the latter method to return the object's parent. Generator uses these methods in building the collection of objects to query for canGenerate() and to invoke for generate(). Fixed in 2.2.0RC5 Move to verified as per bug 206558. |