com.pnp.xfeature.wizards
Class NewProjectFileWizardPage

java.lang.Object
  extended by WizardPage
      extended by com.pnp.xfeature.wizards.NewProjectFileWizardPage

public class NewProjectFileWizardPage
extends WizardPage

The "New" wizard page allows setting the container for the new file as well as the file name. The page will only accept file name without the extension OR with the extension that matches the expected one (xfp).


Constructor Summary
NewProjectFileWizardPage(ISelection selection)
          Constructor for SampleNewWizardPage.
 
Method Summary
 void createControl(Composite parent)
          Creates the content of the dialog - textboxes, buttons, labals, etc.
 java.lang.String getContainerName()
          Returns the name of the parent folder.
 java.lang.String getFileName()
          Returns the name of the file.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NewProjectFileWizardPage

public NewProjectFileWizardPage(ISelection selection)
Constructor for SampleNewWizardPage.

Parameters:
pageName -
Method Detail

createControl

public void createControl(Composite parent)
Creates the content of the dialog - textboxes, buttons, labals, etc.

See Also:
IDialogPage#createControl(Composite)

getContainerName

public java.lang.String getContainerName()
Returns the name of the parent folder.

Returns:
parent folder

getFileName

public java.lang.String getFileName()
Returns the name of the file.

Returns:
filename


Copyright © 2004 - 2008 ETH Zurich and P&P Software GmbH, All Rights Reserved.