コード例 #1
0
 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);
 }
コード例 #2
0
 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);
 }
コード例 #3
0
 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);
 }