use of org.talend.designer.documentation.generation.wizards.GenerateDocAsHTMLWizard in project tdi-studio-se by Talend.
the class GenerateDocAsHTMLAction method doRun.
/*
* (non-Javadoc)
*
* @see org.eclipse.jface.action.Action#run()
*/
@Override
protected void doRun() {
GenerateDocAsHTMLWizard processWizard = new GenerateDocAsHTMLWizard();
IWorkbench workbench = getWorkbench();
processWizard.setWindowTitle(GENERATE_DOC_AS_HTML);
processWizard.init(workbench, (IStructuredSelection) this.getSelection());
Shell activeShell = Display.getCurrent().getActiveShell();
WizardDialog dialog = new WizardDialog(activeShell, processWizard);
dialog.open();
}
Aggregations