COSMOS ${releaseVersion} resource-modeling Project
Internal API Specification

org.eclipse.cosmos.rm.smlif.internal.importing.ui
Class ImportFromSMLIFWizard

java.lang.Object
  extended by org.eclipse.jface.wizard.Wizard
      extended by org.eclipse.cosmos.rm.smlif.internal.importing.ui.ImportFromSMLIFWizard
All Implemented Interfaces:
org.eclipse.jface.wizard.IWizard, org.eclipse.ui.IImportWizard, org.eclipse.ui.IWorkbenchWizard

public class ImportFromSMLIFWizard
extends org.eclipse.jface.wizard.Wizard
implements org.eclipse.ui.IImportWizard

Wizard for importing SML-IF files into the workspace, as individual files for the instance and definition SML documents therein. Also preserves metadata from the SML-IF file that isn't persisted in SML documents.


Field Summary
protected  java.lang.String initialDestinationDir
           
protected  ImportFromSMLIFWizardPage mainPage
           
protected  org.eclipse.jface.viewers.IStructuredSelection selection
           
 
Fields inherited from class org.eclipse.jface.wizard.Wizard
DEFAULT_IMAGE
 
Constructor Summary
ImportFromSMLIFWizard()
           
ImportFromSMLIFWizard(java.lang.String initialDestinationDir)
           
 
Method Summary
 void addPages()
           
 void init(org.eclipse.ui.IWorkbench workbench, org.eclipse.jface.viewers.IStructuredSelection selection)
           
 boolean performFinish()
           
 
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

mainPage

protected ImportFromSMLIFWizardPage mainPage

selection

protected org.eclipse.jface.viewers.IStructuredSelection selection

initialDestinationDir

protected java.lang.String initialDestinationDir
Constructor Detail

ImportFromSMLIFWizard

public ImportFromSMLIFWizard(java.lang.String initialDestinationDir)

ImportFromSMLIFWizard

public ImportFromSMLIFWizard()
Method Detail

performFinish

public boolean performFinish()
Specified by:
performFinish in interface org.eclipse.jface.wizard.IWizard
Specified by:
performFinish in class org.eclipse.jface.wizard.Wizard

addPages

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

init

public void init(org.eclipse.ui.IWorkbench workbench,
                 org.eclipse.jface.viewers.IStructuredSelection selection)
Specified by:
init in interface org.eclipse.ui.IWorkbenchWizard

COSMOS ${releaseVersion} resource-modeling Project
Internal API Specification