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
Modifier and TypeMethodDescriptionstatic 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.Methods inherited from class org.eclipse.swt.widgets.Dialog
checkSubclass, getParent, getStyle, getText, setText
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 interfaceorg.eclipse.jface.viewers.ISelectionChangedListener