Search in sources :

Example 1 with IWorkbenchWizard

use of org.eclipse.ui.IWorkbenchWizard in project linuxtools by eclipse.

the class ExportHandler method execute.

@Override
public Object execute(ExecutionEvent event) {
    Display.getDefault().syncExec(() -> {
        Shell parent = PlatformUI.getWorkbench().getActiveWorkbenchWindow().getShell();
        IWorkbenchWizard wizard = new ValgrindExportWizard();
        wizard.init(PlatformUI.getWorkbench(), null);
        WizardDialog dialog = new WizardDialog(parent, wizard);
        dialog.open();
    });
    return null;
}
Also used : Shell(org.eclipse.swt.widgets.Shell) IWorkbenchWizard(org.eclipse.ui.IWorkbenchWizard) WizardDialog(org.eclipse.jface.wizard.WizardDialog)

Aggregations

WizardDialog (org.eclipse.jface.wizard.WizardDialog)1 Shell (org.eclipse.swt.widgets.Shell)1 IWorkbenchWizard (org.eclipse.ui.IWorkbenchWizard)1