Package org.eclipse.gef.print
Class ImagePrintGraphicalViewerOperation
java.lang.Object
org.eclipse.draw2d.ImagePrintFigureOperation
org.eclipse.gef.print.ImagePrintGraphicalViewerOperation
public class ImagePrintGraphicalViewerOperation
extends org.eclipse.draw2d.ImagePrintFigureOperation
Implementation of GEF image drawing capabilities.
- Since:
- 3.26
-
Constructor Summary
ConstructorsConstructorDescriptionConstructor for PrintGraphicalViewerOperation -
Method Summary
Modifier and TypeMethodDescriptionprotected voidpreparePrintSource(org.eclipse.draw2d.Graphics graphics) protected voidrestorePrintSource(org.eclipse.draw2d.Graphics graphics) Methods inherited from class org.eclipse.draw2d.ImagePrintFigureOperation
getImageDataAtZoom, getImageSize, isDraw2DAutoScalingEnabled, run, setPrintSource
-
Constructor Details
-
ImagePrintGraphicalViewerOperation
Constructor for PrintGraphicalViewerOperation- Parameters:
viewer- The viewer containing what is to be printed NOTE: The GraphicalViewer to be printed must have aLayerwith thePRINTABLE_LAYERSkey.
-
-
Method Details
-
preparePrintSource
protected void preparePrintSource(org.eclipse.draw2d.Graphics graphics) - Overrides:
preparePrintSourcein classorg.eclipse.draw2d.ImagePrintFigureOperation- See Also:
-
restorePrintSource
protected void restorePrintSource(org.eclipse.draw2d.Graphics graphics) - Overrides:
restorePrintSourcein classorg.eclipse.draw2d.ImagePrintFigureOperation- See Also:
-