Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 315454 - Compilation error after diagram regeneration with 3.6RC, if diagram bode has no semantic children
Summary: Compilation error after diagram regeneration with 3.6RC, if diagram bode has ...
Status: NEW
Alias: None
Product: GMF-Tooling
Classification: Modeling
Component: Samples-UML (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Dummy mdt uml2 tools inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-06-02 14:43 EDT by Elena Shaverdova CLA
Modified: 2013-05-12 08:57 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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