public IDialog<ICommandWidget> openAddCaseQueryDialog( final Display display, final EditingDomain editingDomain) { final IDialog<ICommandWidget> dialog = new AddCaseQueryDialog((ETypedElementCase) HandlerUtils.getSelection(), editingDomain); openDialog(dialog, display); return new SynchronizedAbstractDialog<ICommandWidget>(dialog, display); }
public IDialog<ICommandWidget> openAddCustomizationPropertyDialog( final Display display, final EditingDomain editingDomain) { final IDialog<ICommandWidget> dialog = new AddCustomizationPropertyDialog( (EClassCustomization) HandlerUtils.getSelection(), editingDomain); openDialog(dialog, display); return new SynchronizedAbstractDialog<ICommandWidget>(dialog, display); }
public IDialog<ICommandWidget> openCreateFacetCustomizationDialog( final Display display, final EditingDomain editingDomain) { final IDialog<ICommandWidget> dialog = new CreateFacetCustomizationDialog( (Customization) HandlerUtils.getSelection(), editingDomain); openDialog(dialog, display); return new SynchronizedAbstractDialog<ICommandWidget>(dialog, display); }