| Summary: | Compilation error after diagram regeneration with 3.6RC, if diagram bode has no semantic children | ||
|---|---|---|---|
| Product: | [Modeling] GMF-Tooling | Reporter: | Elena Shaverdova <eshaverdova> |
| Component: | Samples-UML | Assignee: | Dummy mdt uml2 tools inbox <mdt-uml2tools-inbox> |
| Status: | NEW --- | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | ||
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows XP | ||
| Whiteboard: | |||
Batch Update: UML2Tools is sample component for GMF-Tooling after restructuring |
Build Identifier: I20100513-1500 In canonical edit policy of some elements, the following code is generated: protected void refreshSemantic() { ... List<UMLNodeDescriptor> childDescriptors = UMLDiagramUpdater.get<ElementName>_<ElementVisualID>SemanticChildren((View) getHost().getModel()); In UMLDiagramUpdater methods get<ElementName>_<ElementVisualID>SemanticChildren(View view) are generated only for elements able to have semantic children. It leads to compilation error in canonical edit policies. One of examples of such problem elements is FlowFinalNode_3068 in activity diagram Reproducible: Always