Search in sources :

Example 6 with ExtendedWizardDialog

use of com.archimatetool.editor.ui.components.ExtendedWizardDialog in project archi by archimatetool.

the class JasperReportsHandler method execute.

@Override
public Object execute(ExecutionEvent event) throws ExecutionException {
    IArchimateModel model = getActiveArchimateModel();
    if (model != null) {
        WizardDialog dialog = new ExtendedWizardDialog(workbenchWindow.getShell(), new ExportJasperReportsWizard(model), // $NON-NLS-1$
        "ExportJasperReportsWizard");
        dialog.open();
    }
    return null;
}
Also used : ExtendedWizardDialog(com.archimatetool.editor.ui.components.ExtendedWizardDialog) IArchimateModel(com.archimatetool.model.IArchimateModel) WizardDialog(org.eclipse.jface.wizard.WizardDialog) ExtendedWizardDialog(com.archimatetool.editor.ui.components.ExtendedWizardDialog)

Aggregations

ExtendedWizardDialog (com.archimatetool.editor.ui.components.ExtendedWizardDialog)6 WizardDialog (org.eclipse.jface.wizard.WizardDialog)6 Button (org.eclipse.swt.widgets.Button)3 Composite (org.eclipse.swt.widgets.Composite)3 ExportAsImageWizard (com.archimatetool.editor.diagram.wizard.ExportAsImageWizard)2 IArchimateModel (com.archimatetool.model.IArchimateModel)2 INameable (com.archimatetool.model.INameable)2 NewArchimateModelFromTemplateWizard (com.archimatetool.templates.impl.wizard.NewArchimateModelFromTemplateWizard)1 SaveArchimateModelAsTemplateWizard (com.archimatetool.templates.impl.wizard.SaveArchimateModelAsTemplateWizard)1 IFigure (org.eclipse.draw2d.IFigure)1 LayerManager (org.eclipse.gef.editparts.LayerManager)1