org.eclipse.emf.codegen
Class CodeGen
java.lang.Object
org.eclipse.emf.codegen.CodeGen
- All Implemented Interfaces:
- IPlatformRunnable
- Direct Known Subclasses:
- Generator
- public class CodeGen
- extends Object
- implements IPlatformRunnable
This class implements some reusable static utility methods.
It also implements the method run(java.lang.Object)
,
which is called just like main during headless workbench invocation.
Constructor Summary |
CodeGen()
This creates an instance. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CodeGen
public CodeGen()
- This creates an instance.
findOrCreateContainer
public static IContainer findOrCreateContainer(IPath path,
boolean forceRefresh,
IPath localLocation,
IProgressMonitor progressMonitor)
throws CoreException
- Throws:
CoreException
findOrCreateContainer
public static IContainer findOrCreateContainer(IPath path,
boolean forceRefresh,
IProjectDescription projectDescription,
IProgressMonitor progressMonitor)
throws CoreException
- Throws:
CoreException
run
public Object run(Object object)
- This is called with the command line arguments of a headless workbench invocation.
- Specified by:
run
in interface IPlatformRunnable