Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 315454

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-UMLAssignee: 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:

Description Elena Shaverdova CLA 2010-06-02 14:43:22 EDT
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
Comment 1 Michael Golubev CLA 2013-05-12 08:57:47 EDT
Batch Update: UML2Tools is sample component for GMF-Tooling after restructuring