Administration Tools

org.topcased.service.templatetoproject.wizard
Class TemplateToProjectPage

java.lang.Object
  extended by org.eclipse.jface.dialogs.DialogPage
      extended by org.eclipse.jface.wizard.WizardPage
          extended by org.topcased.service.templatetoproject.wizard.TemplateToProjectPage
All Implemented Interfaces:
org.eclipse.jface.dialogs.IDialogPage, org.eclipse.jface.dialogs.IMessageProvider, org.eclipse.jface.wizard.IWizardPage

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

TemplateToProjectPage is a WizardPage. Display the wizard to create a project from a template of project in hte current WorkSpace.


Field Summary
 
Fields inherited from interface org.eclipse.jface.dialogs.IMessageProvider
ERROR, INFORMATION, NONE, WARNING
 
Constructor Summary
protected TemplateToProjectPage(org.eclipse.ui.IWorkbench w, org.eclipse.jface.viewers.IStructuredSelection s, TemplateToProjectWizard templateToProject)
          Constructor
protected TemplateToProjectPage(java.lang.String pageName, TemplateToProjectWizard templateToProject)
          Constructor
 
Method Summary
 boolean canFlipToNextPage()
           
 void createControl(org.eclipse.swt.widgets.Composite parent)
          Creates Control
 boolean finish()
          Installs project : install the template in the ProjectPath (workspace)
 void handleFinish()
          Handles Finish action
 
Methods inherited from class org.eclipse.jface.wizard.WizardPage
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

TemplateToProjectPage

protected TemplateToProjectPage(java.lang.String pageName,
                                TemplateToProjectWizard templateToProject)
Constructor

Parameters:
pageName - The name givent to the current page
templateToProject - : wizard

TemplateToProjectPage

protected TemplateToProjectPage(org.eclipse.ui.IWorkbench w,
                                org.eclipse.jface.viewers.IStructuredSelection s,
                                TemplateToProjectWizard templateToProject)
Constructor

Parameters:
w -
s -
templateToProject - : wizard
Method Detail

createControl

public void createControl(org.eclipse.swt.widgets.Composite parent)
Creates Control

See Also:
IDialogPage.createControl(org.eclipse.swt.widgets.Composite)

finish

public boolean finish()
Installs project : install the template in the ProjectPath (workspace)

Returns:
finish value

handleFinish

public void handleFinish()
Handles Finish action


canFlipToNextPage

public boolean canFlipToNextPage()
Specified by:
canFlipToNextPage in interface org.eclipse.jface.wizard.IWizardPage
Overrides:
canFlipToNextPage in class org.eclipse.jface.wizard.WizardPage

Administration Tools

Copyright (c) 2005 TOPCASED Contributors 2005 - 2007. All rights reserved.