Administration Tools

org.topcased.service.projecttotemplate.wizard
Class ProjectToTemplatePage

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

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

Display the wizard to create a template (xml file) from a project selected in the current WorkSpace.


Field Summary
 
Fields inherited from interface org.eclipse.jface.dialogs.IMessageProvider
ERROR, INFORMATION, NONE, WARNING
 
Constructor Summary
ProjectToTemplatePage(org.eclipse.core.runtime.IPath projectPath, ProjectToTemplateWizard projectToTemplate)
          Constructor
 
Method Summary
 void createControl(org.eclipse.swt.widgets.Composite parent)
           
 boolean finish()
          Install project : install the template in the ProjectPath (workspace)
 void handleFinish()
          Handle Finish
 
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

ProjectToTemplatePage

public ProjectToTemplatePage(org.eclipse.core.runtime.IPath projectPath,
                             ProjectToTemplateWizard projectToTemplate)
Constructor

Parameters:
projectPath - : project path which will be transformed in a temaplate (xml file)
projectToTemplate - : wizard
Method Detail

createControl

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

finish

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

Returns:
finish page value

handleFinish

public void handleFinish()
Handle Finish


Administration Tools

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