public abstract class ModelImporterWizard extends ModelConverterWizard implements IModelImporterWizard
ModelConverterWizard.PageHelper| Modifier and Type | Field and Description |
|---|---|
protected java.lang.String |
fileName |
protected IPath |
genModelContainerPath |
protected IFile |
modelFile |
protected IFile |
originalGenModelFile |
protected IPath |
projectLocation |
protected IPath |
projectPath |
protected IWorkingSet[] |
workingSets |
diagnosticHandler, doPerformFinishDiagnostic, modelConverter, pageHelper, selection, workbench| Constructor and Description |
|---|
ModelImporterWizard() |
| Modifier and Type | Method and Description |
|---|---|
protected Diagnostic |
doPerformFinish(Monitor monitor)
Subclasses should overwrite this method, adding the code that performs the
actions required when this wizard is "finished".
|
java.util.List<java.lang.String> |
getFileExtensions() |
IPath |
getGenModelContainerPath() |
java.lang.String |
getGenModelFileName() |
IPath |
getGenModelProjectLocation() |
IPath |
getGenModelProjectPath() |
IFile |
getModelFile() |
ModelImporter |
getModelImporter() |
IFile |
getOriginalGenModelFile() |
IWorkingSet[] |
getWorkingSets() |
boolean |
performFinish() |
void |
setGenModelContainerPath(IPath genModelContainerPath) |
void |
setGenModelFileName(java.lang.String fileName) |
void |
setGenModelProjectLocation(IPath projectLocation) |
void |
setGenModelProjectPath(IPath projectPath) |
void |
setModelFile(IFile modelFile) |
void |
setOriginalGenModelFile(IFile originalGenModelFile) |
void |
setWorkingSets(IWorkingSet[] workingSets) |
createModelConverter, dispose, getFile, getModelConverter, getSelection, getWorkbench, handleConvertDiagnostic, init, openEditor, performCancel, selectFile, setContainerprotected IFile originalGenModelFile
protected IFile modelFile
protected java.lang.String fileName
protected IPath genModelContainerPath
protected IPath projectLocation
protected IPath projectPath
protected IWorkingSet[] workingSets
public IWorkingSet[] getWorkingSets()
getWorkingSets in interface IModelImporterWizardpublic void setWorkingSets(IWorkingSet[] workingSets)
setWorkingSets in interface IModelImporterWizardpublic ModelImporter getModelImporter()
public java.util.List<java.lang.String> getFileExtensions()
getFileExtensions in interface IModelImporterWizardpublic void setOriginalGenModelFile(IFile originalGenModelFile)
setOriginalGenModelFile in interface IModelImporterWizardpublic IFile getOriginalGenModelFile()
getOriginalGenModelFile in interface IModelImporterWizardpublic void setModelFile(IFile modelFile)
setModelFile in interface IModelImporterWizardpublic IFile getModelFile()
getModelFile in interface IModelImporterWizardpublic void setGenModelFileName(java.lang.String fileName)
setGenModelFileName in interface IModelImporterWizardpublic java.lang.String getGenModelFileName()
getGenModelFileName in interface IModelImporterWizardpublic void setGenModelContainerPath(IPath genModelContainerPath)
setGenModelContainerPath in interface IModelImporterWizardpublic IPath getGenModelContainerPath()
getGenModelContainerPath in interface IModelImporterWizardpublic void setGenModelProjectLocation(IPath projectLocation)
setGenModelProjectLocation in interface IModelImporterWizardpublic IPath getGenModelProjectLocation()
getGenModelProjectLocation in interface IModelImporterWizardpublic void setGenModelProjectPath(IPath projectPath)
setGenModelProjectPath in interface IModelImporterWizardpublic IPath getGenModelProjectPath()
getGenModelProjectPath in interface IModelImporterWizardprotected Diagnostic doPerformFinish(Monitor monitor) throws java.lang.Exception
ModelConverterWizardSubclasses should overwrite this method, adding the code that performs the actions required when this wizard is "finished".
The Diagnostic returned by this method should be used to provide
the user some information regarding a successful conversion. If the
conversion fails, an exception should be thrown.
doPerformFinish in class ModelConverterWizardDiagnosticjava.lang.Exceptionpublic boolean performFinish()
performFinish in class ModelConverterWizard