com.pvx.ooadide.wizards
Class ProvideXNewWizard

java.lang.Object
  extended by org.eclipse.jface.wizard.Wizard
      extended by com.pvx.ooadide.wizards.ProvideXNewWizard
All Implemented Interfaces:
org.eclipse.jface.wizard.IWizard, org.eclipse.ui.INewWizard, org.eclipse.ui.IWorkbenchWizard

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


Field Summary
static java.lang.String ID
           
 
Fields inherited from class org.eclipse.jface.wizard.Wizard
DEFAULT_IMAGE
 
Constructor Summary
ProvideXNewWizard()
          Constructor for ProvideXNewWizard.
 
Method Summary
 void addPages()
          Adding the page to the wizard.
 void addTestPage(ProvideXNewWizardPageI testpage)
           
static org.eclipse.core.runtime.Path createIniFileName(java.lang.String projLocation, java.lang.String projName)
           
 ProvideXNewWizardPageI getPvxWizPage()
           
 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.
static boolean isWizardRunning()
           
static void linkToExternalFolder(java.lang.String externalOutputDir, org.eclipse.core.resources.IFolder folderHandle, org.eclipse.core.resources.IProject project, org.eclipse.core.runtime.IProgressMonitor monitor)
           
 boolean performFinish()
          This method is called when 'Finish' button is pressed in the wizard.
 
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
equals, 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
 

Field Detail

ID

public static final java.lang.String ID
See Also:
Constant Field Values
Constructor Detail

ProvideXNewWizard

public ProvideXNewWizard()
Constructor for ProvideXNewWizard.

Method Detail

getPvxWizPage

public ProvideXNewWizardPageI getPvxWizPage()

addPages

public void addPages()
Adding the page to the wizard.

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

addTestPage

public void addTestPage(ProvideXNewWizardPageI testpage)

performFinish

public boolean performFinish()
This method is called when 'Finish' button is pressed in the wizard. We will create an operation and run it using wizard as execution context.

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)
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)

createIniFileName

public static org.eclipse.core.runtime.Path createIniFileName(java.lang.String projLocation,
                                                              java.lang.String projName)

isWizardRunning

public static boolean isWizardRunning()

linkToExternalFolder

public static void linkToExternalFolder(java.lang.String externalOutputDir,
                                        org.eclipse.core.resources.IFolder folderHandle,
                                        org.eclipse.core.resources.IProject project,
                                        org.eclipse.core.runtime.IProgressMonitor monitor)