use of org.eclipse.ui.IExportWizard in project translationstudio8 by heartsome.
the class ExportHandler method execute.
public Object execute(ExecutionEvent event) throws ExecutionException {
IStructuredSelection currentSelection = getSelectionToUse(event);
IWorkbenchWindow window = HandlerUtil.getActiveWorkbenchWindowChecked(event);
IExportWizard wizard = getExportWizard(event);
wizard.init(window.getWorkbench(), currentSelection);
TSWizardDialog dialog = new TSWizardDialog(window.getShell(), wizard);
dialog.create();
dialog.open();
return null;
}
Aggregations