Search in sources :

Example 1 with GenerateDocAsHTMLWizard

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();
}
Also used : IWorkbench(org.eclipse.ui.IWorkbench) Shell(org.eclipse.swt.widgets.Shell) GenerateDocAsHTMLWizard(org.talend.designer.documentation.generation.wizards.GenerateDocAsHTMLWizard) WizardDialog(org.eclipse.jface.wizard.WizardDialog)

Aggregations

WizardDialog (org.eclipse.jface.wizard.WizardDialog)1 Shell (org.eclipse.swt.widgets.Shell)1 IWorkbench (org.eclipse.ui.IWorkbench)1 GenerateDocAsHTMLWizard (org.talend.designer.documentation.generation.wizards.GenerateDocAsHTMLWizard)1