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

Bug 317933

Summary: NodeAttachmentEditPart dosen't restore line type style
Product: [Modeling] GMF-Runtime Reporter: Andreas tum Suden <andreas.schuster>
Component: GeneralAssignee: Inbox <gmf.runtime.diagram-inbox>
Status: NEW --- QA Contact:
Severity: normal    
Priority: P3    
Version: 2.2.2   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description Andreas tum Suden CLA 2010-06-25 05:04:47 EDT
Build Identifier: I20090611-1540

The line style of the NodeAttachmentEditPart isn't restored after reopening a diagram.

NodeAttachementEditPart should contain a call to refreshVisuals:

protected void refreshVisuals() {
	super.refreshVisuals();
	setLineType(getLineType());
}

Reproducible: Always

Steps to Reproduce:
1. Create a note shape
2. Draw a connection from the note shape to another shape
3. Change the line style, e.g. dashed line
4. Save and close the diagram
5. Reopen the diagram
Comment 1 Eclipse Webmaster CLA 2010-07-19 12:30:27 EDT
[GMF Restructure] Bug 319140 : product GMF and component Runtime Diagram was the original product and component for this bug