Class SelectCaptureDialog

java.lang.Object
org.eclipse.swt.widgets.Dialog
com.iizigo.term.capture.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

    Modifier and Type
    Method
    Description
    static org.eclipse.core.resources.IFile
    getCaptureFileName(org.eclipse.swt.widgets.Shell shell, boolean isRecording)
    Gets the capture file name with a dialog.
    org.eclipse.core.resources.IFile
    Open the dialog.
    void
    selectionChanged(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 Details

    • 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