org.eclipse.emf.codegen
Class CodeGen

java.lang.Object
  |
  +--org.eclipse.emf.codegen.CodeGen
All Implemented Interfaces:
org.eclipse.core.boot.IPlatformRunnable
Direct Known Subclasses:
Generator

public class CodeGen
extends java.lang.Object
implements org.eclipse.core.boot.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.


Inner Class Summary
static class CodeGen.StreamProgressMonitor
          This is a progress monitor that prints the progress information to a stream.
 
Fields inherited from interface org.eclipse.core.boot.IPlatformRunnable
EXIT_OK, EXIT_RESTART
 
Constructor Summary
CodeGen()
          This creates an instance.
 
Method Summary
static org.eclipse.core.resources.IContainer findOrCreateContainer(org.eclipse.core.runtime.IPath path, boolean forceRefresh, org.eclipse.core.runtime.IPath localLocation, org.eclipse.core.runtime.IProgressMonitor progressMonitor)
           
static org.eclipse.core.resources.IContainer findOrCreateContainer(org.eclipse.core.runtime.IPath path, boolean forceRefresh, org.eclipse.core.resources.IProjectDescription projectDescription, org.eclipse.core.runtime.IProgressMonitor progressMonitor)
           
 java.lang.Object run(java.lang.Object object)
          This is called with the command line arguments of a headless workbench invocation.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CodeGen

public CodeGen()
This creates an instance.
Method Detail

findOrCreateContainer

public static org.eclipse.core.resources.IContainer findOrCreateContainer(org.eclipse.core.runtime.IPath path,
                                                                          boolean forceRefresh,
                                                                          org.eclipse.core.runtime.IPath localLocation,
                                                                          org.eclipse.core.runtime.IProgressMonitor progressMonitor)
                                                                   throws org.eclipse.core.runtime.CoreException

findOrCreateContainer

public static org.eclipse.core.resources.IContainer findOrCreateContainer(org.eclipse.core.runtime.IPath path,
                                                                          boolean forceRefresh,
                                                                          org.eclipse.core.resources.IProjectDescription projectDescription,
                                                                          org.eclipse.core.runtime.IProgressMonitor progressMonitor)
                                                                   throws org.eclipse.core.runtime.CoreException

run

public java.lang.Object run(java.lang.Object object)
This is called with the command line arguments of a headless workbench invocation.
Specified by:
run in interface org.eclipse.core.boot.IPlatformRunnable

Copyright 2001-2002 IBM Corporation and others.
All Rights Reserved.