Summary: | Paste puts new shapes right on top of old shapes | ||||||
---|---|---|---|---|---|---|---|
Product: | [Modeling] GMF-Runtime | Reporter: | Cherie Revells <crevells> | ||||
Component: | General | Assignee: | Cherie Revells <crevells> | ||||
Status: | RESOLVED FIXED | QA Contact: | |||||
Severity: | major | ||||||
Priority: | P1 | Keywords: | test | ||||
Version: | 1.0 | ||||||
Target Milestone: | --- | ||||||
Hardware: | PC | ||||||
OS: | Windows 2000 | ||||||
Whiteboard: | |||||||
Attachments: |
|
Description
Cherie Revells
2005-09-27 14:04:04 EDT
Changing component to "Runtime Diagram" Pushing the priority up since this can be very confusing. It's difficult to know that the paste even occurred causing the user to do multiple pastes... Additional note: if the original shapes aren't in the viewport, then it should paste to the center of the viewport. Created attachment 30138 [details]
patch
Attached is the fix. Two files.
Purpose: Bugzilla#110848 Paste puts new shapes right on top of old shapes - Regression caused be refactoring changes. Simple fix to org.eclipse.gmf.runtime.diagram.ui.internal.commands.PasteCommand. I also now reveal the editpart in DiagramGlobalActionHandler. Activities: Bugzilla#110848 gmf_head cmahoney 051117 Paste puts new shapes right on top of old shapes Code Reviewed by: Steve How tested: Verified paste put new view slightly offset from copied view as it previously did and pasted shape gets revealed. JUnit Tests: diagram.ui -- 71/71 [GMF Restructure] Bug 319140 : product GMF and component Runtime Diagram was the original product and component for this bug |