org.formaria.editor.eclipse.project.pages.newpage
Class NewAriaPageWizard

java.lang.Object
  extended by Wizard
      extended by org.formaria.editor.eclipse.project.pages.newpage.NewAriaPageWizard

public class NewAriaPageWizard
extends Wizard

This is a sample new wizard. Its role is to create a new file resource in the provided container. If the container resource (a folder or a project) is selected in the workspace when the wizard is opened, it will accept it as the target container. The wizard creates one file with the extension "aria". If a sample multi-page editor (also available as a template) is registered for the same extension, it will be able to open it.


Constructor Summary
NewAriaPageWizard()
          Constructor for NewAriaProjectWizard.
 
Method Summary
 void addPages()
          Adding the page to the wizard.
 boolean canFinish()
           
 void init(IWorkbench workbench, IStructuredSelection selection)
          We will accept the selection in the workbench to see if we can initialize from it.
 boolean performFinish()
          This method is called when 'Finish' button is pressed in the wizard.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NewAriaPageWizard

public NewAriaPageWizard()
                  throws CoreException
Constructor for NewAriaProjectWizard.

Throws:
CoreException
Method Detail

addPages

public void addPages()
Adding the page to the wizard.


canFinish

public boolean canFinish()

performFinish

public boolean performFinish()
This method is called when 'Finish' button is pressed in the wizard. We will create an operation and run it using wizard as execution context.


init

public void init(IWorkbench workbench,
                 IStructuredSelection selection)
We will accept the selection in the workbench to see if we can initialize from it.

See Also:
IWorkbenchWizard#init(IWorkbench, IStructuredSelection)