org.eclipse.emf.codegen.ecore
Class Rose2GenModel

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

public class Rose2GenModel
extends Generator

This implements the method run(java.lang.Object), which is called just like main during headless workbench invocation.


Inner classes inherited from class org.eclipse.emf.codegen.CodeGen
CodeGen.StreamProgressMonitor
 
Field Summary
static int BASE
           
static int ECORE
           
protected  java.util.List ePackageList
           
protected  java.util.List generatedEPackageList
           
static int IS_GENERATED
           
static boolean noQualify
           
static int NS_PREFIX
           
static int NS_URI
           
protected  java.util.Map packageInformationMap
           
static int PREFIX
           
protected  java.util.List referencedEPackageList
           
protected  RoseUtil roseUtil
           
static boolean unsettablePrimitive
           
 
Fields inherited from class org.eclipse.emf.codegen.ecore.Generator
basePackage, EMF_EDIT_PROJECT_STYLE, EMF_EDITOR_PROJECT_STYLE, EMF_MODEL_PROJECT_STYLE, EMF_XML_PROJECT_STYLE
 
Fields inherited from interface org.eclipse.core.boot.IPlatformRunnable
EXIT_OK, EXIT_RESTART
 
Constructor Summary
Rose2GenModel()
          This creates an instance.
 
Method Summary
protected  void printUsage()
           
 java.lang.Object run(java.lang.Object object)
          This is called with the command line arguments of a headless workbench invocation.
protected  void setGenPackageDetails(java.util.List genPackages)
           
protected  void traverseEPackages(java.util.List ePackages)
           
protected  void traverseUnitTree(UnitTreeNode unitTreeNode)
           
 
Methods inherited from class org.eclipse.emf.codegen.ecore.Generator
addClasspathEntries, addClasspathEntries, createEMFProject, findOrCreateContainerHelper, main, printGenerateUsage, printStatus, validName
 
Methods inherited from class org.eclipse.emf.codegen.CodeGen
findOrCreateContainer, findOrCreateContainer
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

IS_GENERATED

public static final int IS_GENERATED

NS_PREFIX

public static final int NS_PREFIX

NS_URI

public static final int NS_URI

BASE

public static final int BASE

PREFIX

public static final int PREFIX

ECORE

public static final int ECORE

roseUtil

protected RoseUtil roseUtil

packageInformationMap

protected java.util.Map packageInformationMap

ePackageList

protected java.util.List ePackageList

generatedEPackageList

protected java.util.List generatedEPackageList

referencedEPackageList

protected java.util.List referencedEPackageList

noQualify

public static boolean noQualify

unsettablePrimitive

public static boolean unsettablePrimitive
Constructor Detail

Rose2GenModel

public Rose2GenModel()
This creates an instance.
Method Detail

printUsage

protected void printUsage()

run

public java.lang.Object run(java.lang.Object object)
This is called with the command line arguments of a headless workbench invocation.
Overrides:
run in class Generator

traverseUnitTree

protected void traverseUnitTree(UnitTreeNode unitTreeNode)

traverseEPackages

protected void traverseEPackages(java.util.List ePackages)

setGenPackageDetails

protected void setGenPackageDetails(java.util.List genPackages)

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