Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 317933 - NodeAttachmentEditPart dosen't restore line type style
Summary: NodeAttachmentEditPart dosen't restore line type style
Status: NEW
Alias: None
Product: GMF-Runtime
Classification: Modeling
Component: General (show other bugs)
Version: 2.2.2   Edit
Hardware: PC Windows 7
: P3 normal
Target Milestone: ---   Edit
Assignee: Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-06-25 05:04 EDT by Andreas tum Suden CLA
Modified: 2010-06-25 05:15 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 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