pl.edu.agh.cast.data.ui.template
Class NewTemplateWizard

java.lang.Object
  extended by org.eclipse.jface.wizard.Wizard
      extended by pl.edu.agh.cast.data.ui.template.NewTemplateWizard
All Implemented Interfaces:
org.eclipse.jface.wizard.IWizard

public class NewTemplateWizard
extends org.eclipse.jface.wizard.Wizard
implements org.eclipse.jface.wizard.IWizard

The wizard which leads the users through a new template creation process.

Author:
AGH CAST Team

Field Summary
 
Fields inherited from class org.eclipse.jface.wizard.Wizard
DEFAULT_IMAGE
 
Constructor Summary
NewTemplateWizard()
          The default constructor.
 
Method Summary
 void addPages()
          
 NewTemplateWizardPage getPage1()
           
 MappingWizardPage getPage2()
           
 ParametersWizardPage getPage3()
           
 String getPrototypeFilePath()
           
static void openNewTemplateDialog()
          Creates and opens a new template dialog.
static void openNewTemplateDialog(String path, ImportPageComposite parentComp)
          Creates and opens a new template wizard.
 boolean performCancel()
          
 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, 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

NewTemplateWizard

public NewTemplateWizard()
The default constructor.

Method Detail

openNewTemplateDialog

public static void openNewTemplateDialog(String path,
                                         ImportPageComposite parentComp)
Creates and opens a new template wizard.

Parameters:
path - the path to the file containing the data.
parentComp - the parent composite

openNewTemplateDialog

public static void openNewTemplateDialog()
Creates and opens a new template dialog.


performFinish

public boolean performFinish()

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

performCancel

public boolean performCancel()

Specified by:
performCancel in interface org.eclipse.jface.wizard.IWizard
Overrides:
performCancel in class org.eclipse.jface.wizard.Wizard
See Also:
Wizard.performCancel()

addPages

public void addPages()

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

getPage1

public NewTemplateWizardPage getPage1()

getPage2

public MappingWizardPage getPage2()

getPage3

public ParametersWizardPage getPage3()

getPrototypeFilePath

public String getPrototypeFilePath()


Copyright © 2007-2009 IISG AGH-UST Krakow, Poland. All Rights Reserved.