Bug 123778

Summary: File menu greyed out on shapes and diagram
Product: [Modeling] GMF-Runtime Reporter: Cherie Revells <crevells>
Component: GeneralAssignee: Cherie Revells <crevells>
Status: RESOLVED FIXED QA Contact:
Severity: major    
Priority: P1 Keywords: test
Version: 1.0   
Target Milestone: 1.0   
Hardware: PC   
OS: Windows 2000   
Whiteboard:

Description Cherie Revells CLA 2006-01-13 11:04:44 EST
1- Create a Logic diagram
2- Create 2 LED shapes and create a wire between terminals.
3-Select the 2 LEDs and the wire, right-click and select File->Save As Image File... from the  context menu.  
RESULT:  The file menu is greyed out!
Comment 1 Cherie Revells CLA 2006-01-20 17:06:25 EST
Bugzilla#123778 gmf_head cmahoney 060120 CopyToImageAction support in GMF

Copy to Image support is added by default in GMF.  Right-click a diagram or selection and select File > Save as Image File.  Added the following classes to GMF'sorg.eclipse.diagram.ui.render plugin:
CopyToImageDialog -- internal
CopyToImageAction -- public 

- I also added a new method to ISurfaceEditPart -- getPrimaryEditParts() so that it is possible to ask shape compartments and diagram editparts for their primary editparts generically.  Added a JUnit for this: LogicShapeTests.testGetPrimaryEditParts().
Comment 2 Richard Gronback CLA 2008-08-13 13:06:57 EDT
[target cleanup] 1.0 M5 was the original target milestone for this bug
Comment 3 Eclipse Webmaster CLA 2010-07-19 12:29:55 EDT
[GMF Restructure] Bug 319140 : product GMF and component
Runtime Diagram was the original product and component for this bug