roneditor.dialogs
Class RONFileCreationPage

java.lang.Object
  extended by org.eclipse.jface.dialogs.DialogPage
      extended by org.eclipse.jface.wizard.WizardPage
          extended by org.eclipse.ui.dialogs.WizardNewFileCreationPage
              extended by roneditor.dialogs.RONFileCreationPage
All Implemented Interfaces:
org.eclipse.jface.dialogs.IDialogPage, org.eclipse.jface.dialogs.IMessageProvider, org.eclipse.jface.wizard.IWizardPage, org.eclipse.swt.widgets.Listener

public class RONFileCreationPage
extends org.eclipse.ui.dialogs.WizardNewFileCreationPage

The "New" wizard page is used in the RONFileCreationWizard and 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 ".ron".

Author:
Tony Modica

Field Summary
private static int eCount
           
private  org.eclipse.ui.IWorkbench workbench
           
 
Fields inherited from interface org.eclipse.jface.dialogs.IMessageProvider
ERROR, INFORMATION, NONE, WARNING
 
Constructor Summary
RONFileCreationPage(org.eclipse.ui.IWorkbench workbench, org.eclipse.jface.viewers.IStructuredSelection selection)
           
 
Method Summary
 void createControl(org.eclipse.swt.widgets.Composite parent)
           
 boolean finish()
           
 
Methods inherited from class org.eclipse.ui.dialogs.WizardNewFileCreationPage
createAdvancedControls, createFile, createFileHandle, createLinkTarget, createNewFile, createRule, getContainerFullPath, getFileName, getInitialContents, getNewFileLabel, handleAdvancedButtonSelect, handleEvent, initialPopulateContainerNameField, setContainerFullPath, setFileName, setVisible, validateLinkedResource, validatePage
 
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
 
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
 

Field Detail

workbench

private final org.eclipse.ui.IWorkbench workbench

eCount

private static int eCount
Constructor Detail

RONFileCreationPage

public RONFileCreationPage(org.eclipse.ui.IWorkbench workbench,
                           org.eclipse.jface.viewers.IStructuredSelection selection)
Method Detail

createControl

public void createControl(org.eclipse.swt.widgets.Composite parent)
Specified by:
createControl in interface org.eclipse.jface.dialogs.IDialogPage
Overrides:
createControl in class org.eclipse.ui.dialogs.WizardNewFileCreationPage

finish

public boolean finish()