Package com._1c.g5.v8.dt.erd.ui.handlers
Class PrintDiagramHandler
java.lang.Object
org.eclipse.core.commands.common.EventManager
org.eclipse.core.commands.AbstractHandler
com._1c.g5.v8.dt.erd.ui.handlers.AbstractSaveHandler
com._1c.g5.v8.dt.erd.ui.handlers.PrintDiagramHandler
- All Implemented Interfaces:
org.eclipse.core.commands.IHandler
,org.eclipse.core.commands.IHandler2
Handler for "Print" action. Prints diagram if it is not empty.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionexecute
(org.eclipse.core.commands.ExecutionEvent event) void
print
(com._1c.g5.v8.dt.diagram.framework.ui.IDiagram diagram, Collection<org.eclipse.draw2d.IFigure> figures) Opens dialog for printing given figures.Methods inherited from class com._1c.g5.v8.dt.erd.ui.handlers.AbstractSaveHandler
getFiguresImageData
Methods inherited from class org.eclipse.core.commands.AbstractHandler
addHandlerListener, dispose, fireHandlerChanged, hasListeners, isEnabled, isHandled, removeHandlerListener, setBaseEnabled, setEnabled
Methods inherited from class org.eclipse.core.commands.common.EventManager
addListenerObject, clearListeners, getListeners, isListenerAttached, removeListenerObject
-
Constructor Details
-
PrintDiagramHandler
public PrintDiagramHandler()
-
-
Method Details
-
print
public void print(com._1c.g5.v8.dt.diagram.framework.ui.IDiagram diagram, Collection<org.eclipse.draw2d.IFigure> figures) Opens dialog for printing given figures.- Parameters:
diagram
- - figures diagram. Can't benull
.figures
- - figures to print. Can't benull
.
-
execute
public Object execute(org.eclipse.core.commands.ExecutionEvent event) throws org.eclipse.core.commands.ExecutionException - Throws:
org.eclipse.core.commands.ExecutionException
-