org.eclipse.emf.importer.ui.contribution.base
Class ModelImporterWizard
java.lang.Object
org.eclipse.jface.wizard.Wizard
org.eclipse.emf.importer.ui.contribution.base.ModelImporterWizard
- All Implemented Interfaces:
- IModelImporterWizard, INewWizard, IWizard, IWorkbenchWizard
- Direct Known Subclasses:
- EcoreImporterWizard, JavaImporterWizard, RoseImporterWizard
- public abstract class ModelImporterWizard
- extends Wizard
- implements IModelImporterWizard
- Since:
- 2.1.0
Methods inherited from class org.eclipse.jface.wizard.Wizard |
addPage, addPages, canFinish, createPageControls, getContainer, getDefaultPageImage, getDialogSettings, getNextPage, getPage, getPageCount, getPages, getPreviousPage, getShell, getStartingPage, getTitleBarColor, getWindowTitle, isHelpAvailable, needsPreviousAndNextButtons, needsProgressMonitor, 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 |
addPages, canFinish, createPageControls, getContainer, getDefaultPageImage, getDialogSettings, getNextPage, getPage, getPageCount, getPages, getPreviousPage, getStartingPage, getTitleBarColor, getWindowTitle, isHelpAvailable, needsPreviousAndNextButtons, needsProgressMonitor |
selection
protected IStructuredSelection selection
workbench
protected IWorkbench workbench
pageHelper
protected ModelImporterWizard.PageHelper pageHelper
modelImporter
protected ModelImporter modelImporter
originalGenModelFile
protected IFile originalGenModelFile
modelFile
protected IFile modelFile
fileName
protected String fileName
genModelContainerPath
protected IPath genModelContainerPath
projectLocation
protected IPath projectLocation
projectPath
protected IPath projectPath
ModelImporterWizard
public ModelImporterWizard()
dispose
public void dispose()
- Specified by:
dispose
in interface IWizard
createModelImporter
protected abstract ModelImporter createModelImporter()
getModelImporter
public ModelImporter getModelImporter()
init
public void init(IWorkbench workbench,
IStructuredSelection selection)
- Specified by:
init
in interface IWorkbenchWizard
getWorkbench
public IWorkbench getWorkbench()
getSelection
public IStructuredSelection getSelection()
getFileExtensions
public List getFileExtensions()
- Specified by:
getFileExtensions
in interface IModelImporterWizard
setContainer
public void setContainer(IWizardContainer wizardContainer)
- Specified by:
setContainer
in interface IWizard
setOriginalGenModelFile
public void setOriginalGenModelFile(IFile originalGenModelFile)
- Specified by:
setOriginalGenModelFile
in interface IModelImporterWizard
getOriginalGenModelFile
public IFile getOriginalGenModelFile()
- Specified by:
getOriginalGenModelFile
in interface IModelImporterWizard
setModelFile
public void setModelFile(IFile modelFile)
- Specified by:
setModelFile
in interface IModelImporterWizard
getModelFile
public IFile getModelFile()
- Specified by:
getModelFile
in interface IModelImporterWizard
setGenModelFileName
public void setGenModelFileName(String fileName)
- Specified by:
setGenModelFileName
in interface IModelImporterWizard
getGenModelFileName
public String getGenModelFileName()
- Specified by:
getGenModelFileName
in interface IModelImporterWizard
setGenModelContainerPath
public void setGenModelContainerPath(IPath genModelContainerPath)
- Specified by:
setGenModelContainerPath
in interface IModelImporterWizard
getGenModelContainerPath
public IPath getGenModelContainerPath()
- Specified by:
getGenModelContainerPath
in interface IModelImporterWizard
setGenModelProjectLocation
public void setGenModelProjectLocation(IPath projectLocation)
- Specified by:
setGenModelProjectLocation
in interface IModelImporterWizard
getGenModelProjectLocation
public IPath getGenModelProjectLocation()
- Specified by:
getGenModelProjectLocation
in interface IModelImporterWizard
setGenModelProjectPath
public void setGenModelProjectPath(IPath projectPath)
- Specified by:
setGenModelProjectPath
in interface IModelImporterWizard
getGenModelProjectPath
public IPath getGenModelProjectPath()
- Specified by:
getGenModelProjectPath
in interface IModelImporterWizard
performCancel
public boolean performCancel()
- Specified by:
performCancel
in interface IWizard
performFinish
public boolean performFinish()
- Specified by:
performFinish
in interface IWizard
getFile
protected IFile getFile(IPath path)
selectFile
protected void selectFile(IFile file)
openEditor
protected void openEditor(IFile file)
throws PartInitException
- Throws:
PartInitException