Search in sources :

Example 1 with DocumentWizard

use of de.catma.ui.module.project.documentwizard.DocumentWizard in project catma by forTEXT.

the class ProjectView method handleAddDocumentRequest.

private void handleAddDocumentRequest() {
    WizardContext wizardContext = new WizardContext();
    wizardContext.put(DocumentWizard.WizardContextKey.PROJECT, project);
    DocumentWizard documentWizard = new DocumentWizard(wizardContext, new SaveCancelListener<WizardContext>() {

        @Override
        public void savePressed(WizardContext result) {
            handleSaveDocumentWizardContext(result);
        }
    });
    documentWizard.show();
}
Also used : WizardContext(de.catma.ui.dialog.wizard.WizardContext) DocumentWizard(de.catma.ui.module.project.documentwizard.DocumentWizard)

Aggregations

WizardContext (de.catma.ui.dialog.wizard.WizardContext)1 DocumentWizard (de.catma.ui.module.project.documentwizard.DocumentWizard)1