Class SelectCaptureDialog

  • All Implemented Interfaces:
    org.eclipse.jface.viewers.ISelectionChangedListener

    public class SelectCaptureDialog
    extends org.eclipse.swt.widgets.Dialog
    implements org.eclipse.jface.viewers.ISelectionChangedListener
    Dialog used for moving properties within all open projects.
    Author:
    Christopher Mindus
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and TypeMethodDescription
      static org.eclipse.core.resources.IFilegetCaptureFileName​(org.eclipse.swt.widgets.Shell shell, boolean isRecording)
      Gets the capture file name with a dialog.
      org.eclipse.core.resources.IFileopen()
      Open the dialog.
      voidselectionChanged​(org.eclipse.jface.viewers.SelectionChangedEvent event)
      Selection changes.
      • Methods inherited from class org.eclipse.swt.widgets.Dialog

        checkSubclass, getParent, getStyle, getText, setText
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • getCaptureFileName

        public static org.eclipse.core.resources.IFile getCaptureFileName​(org.eclipse.swt.widgets.Shell shell,
                                                                          boolean isRecording)
        Gets the capture file name with a dialog.
        Parameters:
        shell - The shell.
        isRecording - If it's a recording to open (true), false for screen capture.
        Returns:
        The file, null for cancel.
      • open

        public org.eclipse.core.resources.IFile open()
        Open the dialog.
        Returns:
        The file, null for cancel.
      • selectionChanged

        public void selectionChanged​(org.eclipse.jface.viewers.SelectionChangedEvent event)
        Selection changes.
        Specified by:
        selectionChanged in interface org.eclipse.jface.viewers.ISelectionChangedListener