Bug 110946 - Move PasteTemplateAction from the logic example to GEF
Summary: Move PasteTemplateAction from the logic example to GEF
Status: RESOLVED FIXED
Alias: None
Product: GEF
Classification: Tools
Component: GEF-Legacy GEF (MVC) (show other bugs)
Version: 3.1.1   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.8.0 (Juno)   Edit
Assignee: Alexander Nyßen CLA
QA Contact:
URL:
Whiteboard:
Keywords: api
Depends on:
Blocks:
 
Reported: 2005-09-28 11:38 EDT by Pratik Shah CLA
Modified: 2011-09-30 16:00 EDT (History)
2 users (show)

See Also:


Attachments

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