org.ow2.clif.console.lib.egui.wizards
Class ParamWizard

java.lang.Object
  extended by org.eclipse.jface.wizard.Wizard
      extended by org.ow2.clif.console.lib.egui.wizards.ParamWizard
All Implemented Interfaces:
org.eclipse.jface.wizard.IWizard, org.eclipse.ui.INewWizard, org.eclipse.ui.IWorkbenchWizard

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

Author:
Joan Chaumont, Florian Francheteau

Field Summary
 
Fields inherited from class org.eclipse.jface.wizard.Wizard
DEFAULT_IMAGE
 
Constructor Summary
ParamWizard(java.util.Map<java.lang.Object,java.lang.Object> params, ClifAppFacade clifApp, java.lang.String bladeId)
          Construct parameters of Wizard Page.
ParamWizard(java.util.Map<java.lang.String,java.util.List<java.lang.String>> params, ClifAppFacade clifApp, java.util.List<java.lang.String> bladesIds, java.lang.String ids)
          Construct parameters of Wizard Page.
 
Method Summary
 void addPages()
           
 void init(org.eclipse.ui.IWorkbench workbench, org.eclipse.jface.viewers.IStructuredSelection selection)
           
 boolean performFinish()
           
 
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, 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, performCancel, setContainer
 

Constructor Detail

ParamWizard

public ParamWizard(java.util.Map<java.lang.Object,java.lang.Object> params,
                   ClifAppFacade clifApp,
                   java.lang.String bladeId)
Construct parameters of Wizard Page. This constructor is used when the parameters of a single blade have to be displayed

Parameters:
params - Parameters (identifiers and values) of the selected blade
clifApp - CLIF application facade
bladeId - Identifier of the selected blade

ParamWizard

public ParamWizard(java.util.Map<java.lang.String,java.util.List<java.lang.String>> params,
                   ClifAppFacade clifApp,
                   java.util.List<java.lang.String> bladesIds,
                   java.lang.String ids)
Construct parameters of Wizard Page. This constructor is used when the parameters of several blades have to be displayed

Parameters:
params - Common parameters (identifiers and different values) of selected blades
clifApp - CLIF application facade
bladesIds - List of Identifier of selected blades
ids - String composed of blades identifiers
Method Detail

addPages

public void addPages()
Specified by:
addPages in interface org.eclipse.jface.wizard.IWizard
Overrides:
addPages in class org.eclipse.jface.wizard.Wizard

performFinish

public boolean performFinish()
Specified by:
performFinish in interface org.eclipse.jface.wizard.IWizard
Specified by:
performFinish in class org.eclipse.jface.wizard.Wizard

init

public void init(org.eclipse.ui.IWorkbench workbench,
                 org.eclipse.jface.viewers.IStructuredSelection selection)
Specified by:
init in interface org.eclipse.ui.IWorkbenchWizard