Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 354211 - [print] creation of user defined print format does not work
Summary: [print] creation of user defined print format does not work
Status: NEW
Alias: None
Product: Papyrus
Classification: Modeling
Component: Core (show other bugs)
Version: 0.8.0   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-09 02:53 EDT by Raphael Faudou CLA
Modified: 2017-09-08 09:45 EDT (History)
0 users

See Also:


Attachments

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