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

java.lang.Object
  extended by org.eclipse.jface.dialogs.DialogPage
      extended by org.eclipse.jface.wizard.WizardPage
          extended by org.ow2.clif.scenario.isac.egui.wizards.httpCapture.MainHttpCaptureWizardPage
All Implemented Interfaces:
org.eclipse.jface.dialogs.IDialogPage, org.eclipse.jface.dialogs.IMessageProvider, org.eclipse.jface.wizard.IWizardPage

public class MainHttpCaptureWizardPage
extends org.eclipse.jface.wizard.WizardPage

This is the first page of Http Capture wizard. Its role is to set maxq configuration. Fields will be initialised with max.properties file located on project folder. If this file does not exist, it will be recovered from plugin location.

Author:
Florian Francheteau

Field Summary
 
Fields inherited from interface org.eclipse.jface.dialogs.IMessageProvider
ERROR, INFORMATION, NONE, WARNING
 
Constructor Summary
MainHttpCaptureWizardPage(org.eclipse.jface.viewers.ISelection selection)
          Constructor for MainHttpCaptureWizardPage
 
Method Summary
 void createControl(org.eclipse.swt.widgets.Composite parent)
          Creates all controls for MainHttpCaptureWizardPage
 void disableFields()
          Disable all fields
 java.lang.String getContainerName()
          Gets container name filled in text field
 java.lang.String getContainerPath()
          Gets container path
 java.lang.String getFileName()
          Gets result file name filled in text field
 java.lang.String getPortNumber()
          Gets local port number filled in text field
 java.io.File getPropertiesFile()
          Gets maxQ properties file
 java.lang.String getProxyHost()
          Gets remote host filled in text field
 java.lang.String getProxyPortNumber()
          Gets remote port number filled in text field
 java.lang.String getRandomDist()
          Gets random distribution filled in text field
 java.lang.String getRandomDistDelta()
          Gets random delta or unit number filled in text field
 java.lang.String getRandomDistDeviation()
          Gets random deviation number filled in text field
 java.lang.String getTimer()
          Gets timer selected in combo
 java.lang.Boolean getUseRemoteProxy()
          return true if remote proxy is used
 
Methods inherited from class org.eclipse.jface.wizard.WizardPage
canFlipToNextPage, getContainer, getDialogSettings, getImage, getName, getNextPage, getPreviousPage, getShell, getWizard, isCurrentPage, isPageComplete, setDescription, setErrorMessage, setImageDescriptor, setMessage, setPageComplete, setPreviousPage, setTitle, setWizard, toString
 
Methods inherited from class org.eclipse.jface.dialogs.DialogPage
convertHeightInCharsToPixels, convertHorizontalDLUsToPixels, convertVerticalDLUsToPixels, convertWidthInCharsToPixels, dispose, getControl, getDescription, getDialogFontName, getErrorMessage, getFont, getMessage, getMessageType, getTitle, getToolTipText, initializeDialogUnits, isControlCreated, performHelp, setButtonLayoutData, setControl, setMessage, setVisible
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.eclipse.jface.dialogs.IDialogPage
dispose, getControl, getDescription, getErrorMessage, getMessage, getTitle, performHelp, setVisible
 

Constructor Detail

MainHttpCaptureWizardPage

public MainHttpCaptureWizardPage(org.eclipse.jface.viewers.ISelection selection)
Constructor for MainHttpCaptureWizardPage

Parameters:
selection -
Method Detail

createControl

public void createControl(org.eclipse.swt.widgets.Composite parent)
Creates all controls for MainHttpCaptureWizardPage


disableFields

public void disableFields()
Disable all fields


getContainerName

public java.lang.String getContainerName()
Gets container name filled in text field

Returns:
String the container name

getFileName

public java.lang.String getFileName()
Gets result file name filled in text field

Returns:
String the file name

getPortNumber

public java.lang.String getPortNumber()
Gets local port number filled in text field

Returns:
String the port number

getProxyPortNumber

public java.lang.String getProxyPortNumber()
Gets remote port number filled in text field

Returns:
String the port number

getProxyHost

public java.lang.String getProxyHost()
Gets remote host filled in text field

Returns:
String the port number

getTimer

public java.lang.String getTimer()
Gets timer selected in combo

Returns:
String the timer

getPropertiesFile

public java.io.File getPropertiesFile()
Gets maxQ properties file

Returns:
File the properties File

getContainerPath

public java.lang.String getContainerPath()
Gets container path

Returns:
String the container path

getUseRemoteProxy

public java.lang.Boolean getUseRemoteProxy()
return true if remote proxy is used

Returns:
Boolean if remote proxy is used

getRandomDist

public java.lang.String getRandomDist()
Gets random distribution filled in text field

Returns:
String the random distribution

getRandomDistDelta

public java.lang.String getRandomDistDelta()
Gets random delta or unit number filled in text field

Returns:
String the random delta or unit number

getRandomDistDeviation

public java.lang.String getRandomDistDeviation()
Gets random deviation number filled in text field

Returns:
String the deviation number