Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 354211

Summary: [print] creation of user defined print format does not work
Product: [Modeling] Papyrus Reporter: Raphael Faudou <raphael.faudou>
Component: CoreAssignee: Project Inbox <mdt-papyrus-inbox>
Status: NEW --- QA Contact:
Severity: normal    
Priority: P3    
Version: 0.8.0   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Raphael Faudou CLA 2011-08-09 02:53:24 EDT
When editing width and height, this seems to work but when coming back to this
"userDefined" format after applying, values have been set to 0.
Comment 1 Patrick Tessier CLA 2013-04-30 04:37:10 EDT
moreover, the menu contextual print does not work on the diagram, the flowing error is obtained
java.lang.ClassCastException: org.eclipse.papyrus.editor.PapyrusMultiDiagramEditor cannot be cast to org.eclipse.gmf.runtime.diagram.ui.parts.IDiagramWorkbenchPart
	at org.eclipse.gmf.runtime.diagram.ui.providers.DiagramGlobalActionHandler.getMapMode(DiagramGlobalActionHandler.java:671)
	at org.eclipse.gmf.runtime.diagram.ui.printing.providers.DiagramWithPrintGlobalActionHandler.doPrint(DiagramWithPrintGlobalActionHandler.java:63)
	at org.eclipse.gmf.runtime.diagram.ui.printing.providers.DiagramWithPrintGlobalActionHandler.getCommand(DiagramWithPrintGlobalActionHandler.java:48)
	at org.eclipse.gmf.runtime.common.ui.action.global.GlobalAction.doRun(GlobalAction.java:109)
	at org.eclipse.gmf.runtime.common.ui.action.AbstractActionHandler.run(AbstractActionHandler.java:359)
	at org.eclipse.gmf.runtime.common.ui.action.ActionManager$1.run(ActionManager.java:225)