de.tu_berlin.cs.tfs.muvitorkit.ui.wizards.template
Class MuvitorFileCreationWizard

java.lang.Object
  extended by org.eclipse.jface.wizard.Wizard
      extended by de.tu_berlin.cs.tfs.muvitorkit.ui.wizards.template.MuvitorFileCreationWizard
All Implemented Interfaces:
IWizard, INewWizard, IWorkbenchWizard

public class MuvitorFileCreationWizard
extends Wizard
implements INewWizard

This is a wizard to create a file resource for a Muvitor implementation. By default, it is registered in the plugin.xml as creation wizard for the editor.

The wizard uses a MuvitorFileCreationPage which creates one file with the file extension that has been specified in plugin.xml.

Rating red

Field Summary
 
Fields inherited from class org.eclipse.jface.wizard.Wizard
DEFAULT_IMAGE
 
Constructor Summary
MuvitorFileCreationWizard()
           
 
Method Summary
 void addPages()
          Adding the RONFileCreationPage to the wizard.
 void init(IWorkbench aWorkbench, IStructuredSelection sel)
          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 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
 

Constructor Detail

MuvitorFileCreationWizard

public MuvitorFileCreationWizard()
Method Detail

addPages

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

Specified by:
addPages in interface IWizard
Overrides:
addPages in class Wizard

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.

Specified by:
performFinish in interface IWizard
Specified by:
performFinish in class Wizard

init

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

Specified by:
init in interface IWorkbenchWizard