org.ow2.clif.scenario.isac.egui.wizards.httpCapture
Class HttpCaptureWizard

java.lang.Object
  extended by org.eclipse.jface.wizard.Wizard
      extended by org.ow2.clif.scenario.isac.egui.wizards.httpCapture.HttpCaptureWizard
All Implemented Interfaces:
org.eclipse.jface.wizard.IWizard, org.eclipse.ui.INewWizard, org.eclipse.ui.IWorkbenchWizard

public class HttpCaptureWizard
extends org.eclipse.jface.wizard.Wizard
implements org.eclipse.ui.INewWizard

This is a new Http Capture wizard. Its role is to use MaxQ software for recording an http scenario. This wizard will creates (or updates) a maxq.properties file and a scenario file (under ISAC format).

Author:
Florian Francheteau

Field Summary
 
Fields inherited from class org.eclipse.jface.wizard.Wizard
DEFAULT_IMAGE
 
Constructor Summary
HttpCaptureWizard()
          Constructor for HttpCaptureWizard.
 
Method Summary
 void addPages()
          Adding pages to the wizard.
 void init(org.eclipse.ui.IWorkbench workbench, org.eclipse.jface.viewers.IStructuredSelection selection)
          We will accept the selection in the workbench to see if we can initialize from it.
 boolean performCancel()
          Closing proxy connections and cleaning configuration when user click on "Cancel" button
 boolean performFinish()
          Closing proxy connections and cleaning configuration when user click on "Finish" button
 
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, setContainer, setDefaultPageImageDescriptor, setDialogSettings, setForcePreviousAndNextButtons, setHelpAvailable, setNeedsProgressMonitor, setTitleBarColor, setWindowTitle
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods 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, setContainer
 

Constructor Detail

HttpCaptureWizard

public HttpCaptureWizard()
Constructor for HttpCaptureWizard.

Method Detail

addPages

public void addPages()
Adding pages to the wizard.

Specified by:
addPages in interface org.eclipse.jface.wizard.IWizard
Overrides:
addPages in class org.eclipse.jface.wizard.Wizard

init

public void init(org.eclipse.ui.IWorkbench workbench,
                 org.eclipse.jface.viewers.IStructuredSelection selection)
We will accept the selection in the workbench to see if we can initialize from it.

Specified by:
init in interface org.eclipse.ui.IWorkbenchWizard
See Also:
IWorkbenchWizard.init(IWorkbench, IStructuredSelection)

performFinish

public boolean performFinish()
Closing proxy connections and cleaning configuration when user click on "Finish" button

Specified by:
performFinish in interface org.eclipse.jface.wizard.IWizard
Specified by:
performFinish in class org.eclipse.jface.wizard.Wizard

performCancel

public boolean performCancel()
Closing proxy connections and cleaning configuration when user click on "Cancel" button

Specified by:
performCancel in interface org.eclipse.jface.wizard.IWizard
Overrides:
performCancel in class org.eclipse.jface.wizard.Wizard