de.cau.cs.kieler.klots.wizards
Class NewSJFileWizardPage

java.lang.Object
  extended by org.eclipse.jface.dialogs.DialogPage
      extended by org.eclipse.jface.wizard.WizardPage
          extended by de.cau.cs.kieler.klots.wizards.NewSJFileWizardPage
All Implemented Interfaces:
IDialogPage, IMessageProvider, IWizardPage

public class NewSJFileWizardPage
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 (java).

Rating red

Field Summary
 
Fields inherited from interface org.eclipse.jface.dialogs.IMessageProvider
ERROR, INFORMATION, NONE, WARNING
 
Constructor Summary
NewSJFileWizardPage(ISelection selection)
          Constructor for SampleNewWizardPage.
 
Method Summary
 void createControl(Composite parent)
          
 String getContainerName()
           
 String getFileName()
           
 void setContainerName(String name)
           
 
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

NewSJFileWizardPage

public NewSJFileWizardPage(ISelection selection)
Constructor for SampleNewWizardPage.

Parameters:
selection -
Method Detail

createControl

public void createControl(Composite parent)


getContainerName

public String getContainerName()
Returns:
String

setContainerName

public void setContainerName(String name)
Parameters:
name -

getFileName

public String getFileName()
Returns:
String