208209210211212213214
public void createPartControl( Composite parent ) { super.createPartControl(parent); // enable printing IActionBars actionBars = getEditorSite().getActionBars(); actionBars.setGlobalActionHandler(ActionFactory.PRINT.getId(), new PrintAction()); }