Package com.iizigo.term.capture
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
All Methods Static Methods Instance Methods Concrete Methods 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()
Open the dialog.void
selectionChanged(org.eclipse.jface.viewers.SelectionChangedEvent event)
Selection changes.
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 interfaceorg.eclipse.jface.viewers.ISelectionChangedListener