return;
Object clazz = createExecutable();
if (clazz != null && clazz instanceof IPrintDeck) {
IPrintDeck print = (IPrintDeck)clazz;
Deck deck = (Deck)editor.getEditorInput().getAdapter(Deck.class);
if( deck == null)
return;
try {
PageFrame page = print.getPrintable(deck);
PrintPreviewDialog dlg = new PrintPreviewDialog(editor.getSite().getShell(), page);
if( dlg.open() == Window.OK ) {
PrinterData printerData = dlg.getPrinterData();
PrintManager.print(printerData, page);