org.eclipse.gmt.modisco.infra.facet.editor.presentation
Class FacetModelWizard

java.lang.Object
  extended by Wizard
      extended by org.eclipse.gmt.modisco.infra.facet.editor.presentation.FacetModelWizard

public class FacetModelWizard
extends Wizard

This is a simple wizard for creating a new model file.


Nested Class Summary
 class FacetModelWizard.FacetModelWizardNewFileCreationPage
          This is the one page of the wizard.
 
Field Summary
static java.util.List<java.lang.String> FILE_EXTENSIONS
          The supported extensions for created files.
static java.lang.String FORMATTED_FILE_EXTENSIONS
          A formatted list of supported file extensions, suitable for display.
 
Constructor Summary
FacetModelWizard()
           
 
Method Summary
 void addPages()
          The framework calls this to create the contents of the wizard.
 IFile getModelFile()
          Get the file from the page.
 void init(IWorkbench workbench, IStructuredSelection selection)
          This just records the information.
 boolean performFinish()
          Do the work after everything is specified.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

FILE_EXTENSIONS

public static final java.util.List<java.lang.String> FILE_EXTENSIONS
The supported extensions for created files.


FORMATTED_FILE_EXTENSIONS

public static final java.lang.String FORMATTED_FILE_EXTENSIONS
A formatted list of supported file extensions, suitable for display.

Constructor Detail

FacetModelWizard

public FacetModelWizard()
Method Detail

init

public void init(IWorkbench workbench,
                 IStructuredSelection selection)
This just records the information.


performFinish

public boolean performFinish()
Do the work after everything is specified.


addPages

public void addPages()
The framework calls this to create the contents of the wizard.


getModelFile

public IFile getModelFile()
Get the file from the page.