Package org.eclipse.jface.dialogs

Examples of org.eclipse.jface.dialogs.Dialog.open()


          final Image copy = new Image(display, width, height);
          gc.copyArea(copy, Math.min(downX, e.x), Math.min(downY, e.y));
          blackColor.dispose();
          whiteColor.dispose();
          final Dialog dialog = new ScreenCaptureConfirmationDialog(shell, targetID, nickName, copy, width, height, imageSender);
          dialog.open();

          shell.close();
          copy.dispose();
        }
      }
View Full Code Here


              (IWebflowState) element);
        }

        if (dialog != null) {
          dialog.setBlockOnOpen(true);
          result[0] = dialog.open();
        }
      }
    });
    return result[0];
  }
View Full Code Here

  private void editReviewId() {
    int selectedIndex = table.getSelectionIndex();
    if (selectedIndex >= 0) {
      ReviewId reviewId = (ReviewId) tableViewer.getElementAt(selectedIndex);
      Dialog dialog = new ReviewIdEditDialog(composite.getShell(), this.project, reviewId);
      dialog.open();
      this.tableViewer.setInput(PropertyResource.getInstance(this.project, true)
          .getReviewIdList());
    }
  }
View Full Code Here

    int selectedIndex = table.getSelectionIndex();
    if (selectedIndex >= 0) {
      ReviewId reviewId = (ReviewId) tableViewer.getElementAt(selectedIndex);
      IFile[] reviewIFiles = FileResource.getReviewIFiles(this.project, reviewId);
      Dialog dialog = new ReviewIdRemovalDialog(composite.getShell(), reviewIFiles);
      dialog.open();
      if (dialog.getReturnCode() == Dialog.OK) {
        // remove review files associated with the review id.
        FileResource.remove(reviewIFiles);
        try {
          PropertyResource propertyResource = PropertyResource
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.