|
GEF (MVC) 3.9.0.201308190730 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.draw2d.PrintOperation
org.eclipse.draw2d.PrintFigureOperation
org.eclipse.gef.print.PrintGraphicalViewerOperation
public class PrintGraphicalViewerOperation
Field Summary |
---|
Fields inherited from class org.eclipse.draw2d.PrintFigureOperation |
---|
FIT_HEIGHT, FIT_PAGE, FIT_WIDTH, TILE |
Constructor Summary | |
---|---|
PrintGraphicalViewerOperation(Printer p,
GraphicalViewer g)
Constructor for PrintGraphicalViewerOperation |
Method Summary | |
---|---|
GraphicalViewer |
getViewer()
Returns the viewer. |
protected void |
preparePrintSource()
|
protected void |
restorePrintSource()
|
void |
setViewer(GraphicalViewer viewer)
Sets the viewer. |
Methods inherited from class org.eclipse.draw2d.PrintFigureOperation |
---|
getPrintMode, getPrintSource, printPages, setPrintMode, setPrintSource, setupPrinterGraphicsFor |
Methods inherited from class org.eclipse.draw2d.PrintOperation |
---|
cleanup, getFreshPrinterGraphics, getPrinter, getPrintRegion, run, setPrinter, setPrintMargin, setupGraphicsForPage |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PrintGraphicalViewerOperation(Printer p, GraphicalViewer g)
p
- The Printer to print tog
- The viewer containing what is to be printed NOTE: The
GraphicalViewer to be printed must have a
Layer
with the
PRINTABLE_LAYERS
key.Method Detail |
---|
public GraphicalViewer getViewer()
protected void preparePrintSource()
preparePrintSource
in class PrintFigureOperation
PrintOperation.preparePrintSource()
protected void restorePrintSource()
restorePrintSource
in class PrintFigureOperation
PrintOperation.restorePrintSource()
public void setViewer(GraphicalViewer viewer)
viewer
- The viewer to set
|
GEF (MVC) 3.9.0.201308190730 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |