Bug 110946

Summary: Move PasteTemplateAction from the logic example to GEF
Product: [Tools] GEF Reporter: Pratik Shah <ppshah>
Component: GEF-Legacy GEF (MVC)Assignee: Alexander Nyßen <nyssen>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: hudsonr, nyssen
Version: 3.1.1Keywords: api
Target Milestone: 3.8.0 (Juno)   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Pratik Shah CLA 2005-09-28 11:38:19 EDT
CopyTemplateAction is already in GEF, and since PasteTemplateAction doesn't 
have anything specific to the logic example it should moved to GEF as well.
Comment 1 Alexander Nyßen CLA 2011-09-30 16:00:17 EDT
Made PasteTemplateAction concrete by pulling up implementation of getPasteLocation, which was not specific to logic example. Moved it to org.eclipse.ui.actions, replacing the localized label message with that already defined in the GEF plug-in. Removed the now superfluous LogicPasteTemplateAction and related message entry in logic example, within LogicEditor instantiated the now concrete PasteTemplateAction instead. Increased version of org.eclipse.gef.examples-feature, org.eclipse.gef.examples.logic, and org.eclipse.gef.examples.ui.pde to 3.8.0. Updated dependency from org.eclipse.gef.examples.logic to org.eclipse.gef to specify 3.8.0 as minimum version. Updated org.eclipse.gef.examples.ui.pde with new logic example .zip file.

Committed all changes to cvs HEAD (3.8). Resolving as fixed.