Package com.iizigo.term.capture
Class NewCaptureWizard
java.lang.Object
org.eclipse.jface.wizard.Wizard
com.iizigo.term.capture.NewCaptureWizard
- All Implemented Interfaces:
org.eclipse.jface.window.IShellProvider,org.eclipse.jface.wizard.IWizard,org.eclipse.ui.INewWizard,org.eclipse.ui.IWorkbenchWizard
public class NewCaptureWizard extends org.eclipse.jface.wizard.Wizard implements org.eclipse.ui.INewWizard
New Capture Wizard
- Author:
- Christopher Mindus
Field Summary
Fields inherited from class org.eclipse.jface.wizard.Wizard
DEFAULT_IMAGEMethod Summary
Modifier and TypeMethodDescriptionvoidaddPages()Adds the required pages.static booleancreateCapture(org.eclipse.swt.widgets.Shell shell, byte[] data) Requests creation of the screen capture.static booleancreateCapture(org.eclipse.swt.widgets.Shell shell, HostSession hostSession) Requests creation of the screen capture.voidinit(org.eclipse.ui.IWorkbench workbench, org.eclipse.jface.viewers.IStructuredSelection selection) Initializes this creation wizard using the passed workbench and object selection.booleanFinishes the dialog.Methods inherited from class org.eclipse.jface.wizard.Wizard
addPage, canFinish, createPageControls, dispose, getContainer, getDefaultPageImage, getDialogSettings, getNextPage, getPage, getPageCount, getPages, getPreviousPage, getShell, getStartingPage, getTitleBarColor, getWindowTitle, isHelpAvailable, needsPreviousAndNextButtons, needsProgressMonitor, performCancel, setContainer, setDefaultPageImageDescriptor, setDialogSettings, setForcePreviousAndNextButtons, setHelpAvailable, setNeedsProgressMonitor, setTitleBarColor, setWindowTitleMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.eclipse.jface.wizard.IWizard
canFinish, createPageControls, dispose, getContainer, getDefaultPageImage, getDialogSettings, getNextPage, getPage, getPageCount, getPages, getPreviousPage, getStartingPage, getTitleBarColor, getWindowTitle, isHelpAvailable, needsPreviousAndNextButtons, needsProgressMonitor, performCancel, setContainer
Method Details
createCapture
Requests creation of the screen capture.- Parameters:
shell- The shell.hostSession- The host session to capture.- Returns:
- true for success, false for cancel.
createCapture
public static boolean createCapture(org.eclipse.swt.widgets.Shell shell, byte[] data) Requests creation of the screen capture.- Parameters:
shell- The shell.data- Data from remote EE screen capture on server.- Returns:
- true for success, false for cancel.
addPages
public void addPages()Adds the required pages.- Specified by:
addPagesin interfaceorg.eclipse.jface.wizard.IWizard- Overrides:
addPagesin classorg.eclipse.jface.wizard.Wizard
init
public void init(org.eclipse.ui.IWorkbench workbench, org.eclipse.jface.viewers.IStructuredSelection selection) Initializes this creation wizard using the passed workbench and object selection.- Specified by:
initin interfaceorg.eclipse.ui.IWorkbenchWizard
performFinish
public boolean performFinish()Finishes the dialog.- Specified by:
performFinishin interfaceorg.eclipse.jface.wizard.IWizard- Specified by:
performFinishin classorg.eclipse.jface.wizard.Wizard- Returns:
- true to indicate the finish request was accepted, and false to indicate that the finish request was refused.