org.eclipse.xtend.ide.wizards
Class NewXtendClassWizard

java.lang.Object
  extended by org.eclipse.jface.wizard.Wizard
      extended by org.eclipse.jdt.internal.ui.wizards.NewElementWizard
          extended by org.eclipse.xtend.ide.wizards.NewXtendClassWizard
All Implemented Interfaces:
org.eclipse.jface.wizard.IWizard, org.eclipse.ui.INewWizard, org.eclipse.ui.IWorkbenchWizard

public class NewXtendClassWizard
extends org.eclipse.jdt.internal.ui.wizards.NewElementWizard

Author:
Robert von Massow - Initial contribution and API

Field Summary
static java.lang.String TITLE
           
 
Fields inherited from class org.eclipse.jface.wizard.Wizard
DEFAULT_IMAGE
 
Constructor Summary
NewXtendClassWizard(IImageHelper imgHelper, NewXtendClassWizardPage fPage)
           
 
Method Summary
 void addPages()
           
protected  void finishPage(org.eclipse.core.runtime.IProgressMonitor monitor)
           
 org.eclipse.jdt.core.IJavaElement getCreatedElement()
           
 boolean performFinish()
           
 
Methods inherited from class org.eclipse.jdt.internal.ui.wizards.NewElementWizard
canRunForked, getSchedulingRule, getSelection, getWorkbench, handleFinishException, init, openResource, selectAndReveal, warnAboutTypeCommentDeprecation
 
Methods inherited from class org.eclipse.jface.wizard.Wizard
addPage, canFinish, createPageControls, dispose, getContainer, getDefaultPageImage, getDialogSettings, getNextPage, getPage, getPageCount, getPages, getPreviousPage, getShell, getStartingPage, getTitleBarColor, getWindowTitle, isHelpAvailable, needsPreviousAndNextButtons, needsProgressMonitor, performCancel, setContainer, setDefaultPageImageDescriptor, setDialogSettings, setForcePreviousAndNextButtons, setHelpAvailable, setNeedsProgressMonitor, setTitleBarColor, setWindowTitle
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.eclipse.jface.wizard.IWizard
canFinish, createPageControls, dispose, getContainer, getDefaultPageImage, getDialogSettings, getNextPage, getPage, getPageCount, getPages, getPreviousPage, getStartingPage, getTitleBarColor, getWindowTitle, isHelpAvailable, needsPreviousAndNextButtons, needsProgressMonitor, performCancel, setContainer
 

Field Detail

TITLE

public static final java.lang.String TITLE
See Also:
Constant Field Values
Constructor Detail

NewXtendClassWizard

@Inject
public NewXtendClassWizard(IImageHelper imgHelper,
                                  NewXtendClassWizardPage fPage)
Method Detail

addPages

public void addPages()
Specified by:
addPages in interface org.eclipse.jface.wizard.IWizard
Overrides:
addPages in class org.eclipse.jface.wizard.Wizard

finishPage

protected void finishPage(org.eclipse.core.runtime.IProgressMonitor monitor)
                   throws java.lang.InterruptedException,
                          org.eclipse.core.runtime.CoreException
Specified by:
finishPage in class org.eclipse.jdt.internal.ui.wizards.NewElementWizard
Throws:
java.lang.InterruptedException
org.eclipse.core.runtime.CoreException

getCreatedElement

public org.eclipse.jdt.core.IJavaElement getCreatedElement()
Specified by:
getCreatedElement in class org.eclipse.jdt.internal.ui.wizards.NewElementWizard

performFinish

public boolean performFinish()
Specified by:
performFinish in interface org.eclipse.jface.wizard.IWizard
Overrides:
performFinish in class org.eclipse.jdt.internal.ui.wizards.NewElementWizard