org.eclipse.emf.importer
Class ModelImporterApplication
java.lang.Object
org.eclipse.emf.importer.ModelImporterApplication
- All Implemented Interfaces:
- IPlatformRunnable
- Direct Known Subclasses:
- RoseImporterApplication
- public abstract class ModelImporterApplication
- extends Object
- implements IPlatformRunnable
- Since:
- 2.1.0
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
modelImporter
protected ModelImporter modelImporter
reload
protected boolean reload
modelProjectLocationPath
protected IPath modelProjectLocationPath
modelFragmentPath
protected IPath modelFragmentPath
editProjectLocationPath
protected IPath editProjectLocationPath
editFragmentPath
protected IPath editFragmentPath
editorProjectLocationPath
protected IPath editorProjectLocationPath
editorFragmentPath
protected IPath editorFragmentPath
testsProjectLocationPath
protected IPath testsProjectLocationPath
testsFragmentPath
protected IPath testsFragmentPath
templatePath
protected String templatePath
copyright
protected String copyright
sdo
protected boolean sdo
modelPluginID
protected String modelPluginID
referencedEPackages
protected List referencedEPackages
referencedGenModelPathToEPackageNSURIs
protected Map referencedGenModelPathToEPackageNSURIs
quiet
protected boolean quiet
NL
protected static final String NL
ModelImporterApplication
public ModelImporterApplication()
getModelImporter
public ModelImporter getModelImporter()
createModelImporter
protected abstract ModelImporter createModelImporter()
run
public Object run(Object args)
throws Exception
- Specified by:
run
in interface IPlatformRunnable
- Throws:
Exception
run
public void run(IProgressMonitor progressMonitor,
String[] arguments)
throws Exception
- Throws:
Exception
getProgressMonitor
protected IProgressMonitor getProgressMonitor()
printUsage
public void printUsage()
getUsage
protected abstract StringBuffer getUsage()
appendLine
protected StringBuffer appendLine(StringBuffer buffer,
String line)
execute
public void execute(IProgressMonitor progressMonitor)
throws Exception
- Throws:
Exception
processArguments
protected void processArguments(String[] arguments,
int index)
processArgument
protected int processArgument(String[] arguments,
int index)
handleUnrecognizedArgument
protected void handleUnrecognizedArgument(String argument)
adjustAttributes
protected void adjustAttributes(IProgressMonitor progressMonitor)
adjustModelImporter
protected void adjustModelImporter(IProgressMonitor progressMonitor)
handleGenModelPath
protected void handleGenModelPath(IPath genModelFullPath)
computeEPackages
protected final void computeEPackages(IProgressMonitor progressMonitor)
throws Exception
- Throws:
Exception
adjustEPackages
protected void adjustEPackages(IProgressMonitor progressMonitor)
handleQualifiedEPackageName
protected void handleQualifiedEPackageName(EPackage ePackage)
handleEPackage
protected void handleEPackage(EPackage ePackage,
boolean generate)
adjustGenModel
protected void adjustGenModel(IProgressMonitor progressMonitor)
setSDODefaults
protected void setSDODefaults(GenModel genModel)
doExecute
protected void doExecute(IProgressMonitor progressMonitor)
throws Exception
- Throws:
Exception
handleReferencedEPackages
protected void handleReferencedEPackages()
- Handles the referencedEPackages contributed by the -refPackage argument option.