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 Details

    • ImagePrintGraphicalViewerOperation

      public ImagePrintGraphicalViewerOperation(GraphicalViewer viewer)
      Constructor for PrintGraphicalViewerOperation
      Parameters:
      viewer - The viewer containing what is to be printed NOTE: The GraphicalViewer to be printed must have a Layer with the PRINTABLE_LAYERS key.
  • Method Details

    • preparePrintSource

      protected void preparePrintSource(org.eclipse.draw2d.Graphics graphics)
      Overrides:
      preparePrintSource in class org.eclipse.draw2d.ImagePrintFigureOperation
      See Also:
      • ImagePrintFigureOperation.preparePrintSource(Graphics)
    • restorePrintSource

      protected void restorePrintSource(org.eclipse.draw2d.Graphics graphics)
      Overrides:
      restorePrintSource in class org.eclipse.draw2d.ImagePrintFigureOperation
      See Also:
      • ImagePrintFigureOperation.restorePrintSource(Graphics)