public class Generator extends CodeGen
run(java.lang.Object),
which is called just like main during headless workbench invocation.| Modifier and Type | Class and Description |
|---|---|
static class |
Generator.PlatformRunnable |
CodeGen.StreamProgressMonitor| Modifier and Type | Field and Description |
|---|---|
protected java.lang.String |
basePackage |
static int |
EMF_EDIT_PROJECT_STYLE |
static int |
EMF_EDITOR_PROJECT_STYLE |
static int |
EMF_EMPTY_PROJECT_STYLE |
static int |
EMF_GWT_PROJECT_STYLE |
static int |
EMF_MODEL_PROJECT_STYLE |
static int |
EMF_PLUGIN_PROJECT_STYLE |
static int |
EMF_TESTS_PROJECT_STYLE |
static int |
EMF_XML_PROJECT_STYLE |
| Constructor and Description |
|---|
Generator() |
| Modifier and Type | Method and Description |
|---|---|
static IProject |
createEMFProject(IPath javaSource,
IPath projectLocationPath,
java.util.List<IProject> referencedProjects,
IProgressMonitor progressMonitor,
int style) |
static IProject |
createEMFProject(IPath javaSource,
IPath projectLocationPath,
java.util.List<IProject> referencedProjects,
IProgressMonitor progressMonitor,
int style,
java.util.List<?> pluginVariables) |
static IProject |
createEMFProject(IPath javaSource,
IPath projectLocationPath,
java.util.List<IProject> referencedProjects,
Monitor progressMonitor,
int style) |
static IProject |
createEMFProject(IPath javaSource,
IPath projectLocationPath,
java.util.List<IProject> referencedProjects,
Monitor progressMonitor,
int style,
java.util.List<?> pluginVariables) |
static IProject |
createEMFProject(IPath javaSource,
URI projectLocationURI,
java.util.List<IProject> referencedProjects,
Monitor progressMonitor,
int style,
java.util.List<?> pluginVariables) |
protected java.lang.String |
findOrCreateContainerHelper(java.lang.String rootLocation,
java.lang.String encodedPath,
Monitor progressMonitor) |
static void |
main(java.lang.String[] args)
Deprecated.
It is not possible to generate code without using Eclipse. If
you are invoking this method, you should instantiate a Generator and call
run(Object). This method will be removed in a future release. |
void |
printGenerateUsage() |
void |
printStatus(java.lang.String prefix,
IStatus status) |
java.lang.Object |
run(java.lang.Object object)
This is called with the command line arguments of a headless workbench invocation.
|
static void |
setSDODefaults(GenModel genModel) |
addClasspathEntries, addClasspathEntries, findOrCreateContainer, findOrCreateContainer, getClasspathPathsprotected java.lang.String basePackage
public static int EMF_MODEL_PROJECT_STYLE
public static int EMF_EDIT_PROJECT_STYLE
public static int EMF_EDITOR_PROJECT_STYLE
public static int EMF_XML_PROJECT_STYLE
public static int EMF_PLUGIN_PROJECT_STYLE
public static int EMF_EMPTY_PROJECT_STYLE
public static int EMF_TESTS_PROJECT_STYLE
public static int EMF_GWT_PROJECT_STYLE
@Deprecated public static void main(java.lang.String[] args)
run(Object). This method will be removed in a future release.public void printGenerateUsage()
public java.lang.Object run(java.lang.Object object)
protected java.lang.String findOrCreateContainerHelper(java.lang.String rootLocation,
java.lang.String encodedPath,
Monitor progressMonitor)
throws CoreException
CoreExceptionpublic static IProject createEMFProject(IPath javaSource,
IPath projectLocationPath,
java.util.List<IProject> referencedProjects,
IProgressMonitor progressMonitor,
int style)
public static IProject createEMFProject(IPath javaSource,
IPath projectLocationPath,
java.util.List<IProject> referencedProjects,
IProgressMonitor progressMonitor,
int style,
java.util.List<?> pluginVariables)
public static IProject createEMFProject(IPath javaSource,
IPath projectLocationPath,
java.util.List<IProject> referencedProjects,
Monitor progressMonitor,
int style)
public static IProject createEMFProject(IPath javaSource,
IPath projectLocationPath,
java.util.List<IProject> referencedProjects,
Monitor progressMonitor,
int style,
java.util.List<?> pluginVariables)
public static IProject createEMFProject(IPath javaSource,
URI projectLocationURI,
java.util.List<IProject> referencedProjects,
Monitor progressMonitor,
int style,
java.util.List<?> pluginVariables)
public void printStatus(java.lang.String prefix,
IStatus status)
public static void setSDODefaults(GenModel genModel)