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, setContainer
protected 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 IModelImporterWizard
public void setWorkingSets(IWorkingSet[] workingSets)
setWorkingSets
in interface IModelImporterWizard
public ModelImporter getModelImporter()
public java.util.List<java.lang.String> getFileExtensions()
getFileExtensions
in interface IModelImporterWizard
public void setOriginalGenModelFile(IFile originalGenModelFile)
setOriginalGenModelFile
in interface IModelImporterWizard
public IFile getOriginalGenModelFile()
getOriginalGenModelFile
in interface IModelImporterWizard
public void setModelFile(IFile modelFile)
setModelFile
in interface IModelImporterWizard
public IFile getModelFile()
getModelFile
in interface IModelImporterWizard
public void setGenModelFileName(java.lang.String fileName)
setGenModelFileName
in interface IModelImporterWizard
public java.lang.String getGenModelFileName()
getGenModelFileName
in interface IModelImporterWizard
public void setGenModelContainerPath(IPath genModelContainerPath)
setGenModelContainerPath
in interface IModelImporterWizard
public IPath getGenModelContainerPath()
getGenModelContainerPath
in interface IModelImporterWizard
public void setGenModelProjectLocation(IPath projectLocation)
setGenModelProjectLocation
in interface IModelImporterWizard
public IPath getGenModelProjectLocation()
getGenModelProjectLocation
in interface IModelImporterWizard
public void setGenModelProjectPath(IPath projectPath)
setGenModelProjectPath
in interface IModelImporterWizard
public IPath getGenModelProjectPath()
getGenModelProjectPath
in interface IModelImporterWizard
protected Diagnostic doPerformFinish(Monitor monitor) throws java.lang.Exception
ModelConverterWizard
Subclasses 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 ModelConverterWizard
Diagnostic
java.lang.Exception
public boolean performFinish()
performFinish
in class ModelConverterWizard