org.eclipse.emf.codegen.ecore
Class XSD2GenModel

java.lang.Object
  extended byorg.eclipse.emf.codegen.CodeGen
      extended byorg.eclipse.emf.codegen.ecore.Generator
          extended byorg.eclipse.emf.codegen.ecore.XSD2GenModel
All Implemented Interfaces:
IPlatformRunnable

public class XSD2GenModel
extends Generator

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


Nested Class Summary
 
Nested classes inherited from class org.eclipse.emf.codegen.CodeGen
CodeGen.StreamProgressMonitor
 
Field Summary
protected  List ePackageList
           
protected  List generatedEPackageList
           
protected  Map packageInformationMap
           
protected  List packages
           
protected  List referencedEPackageList
           
protected  Object xsdEcoreBuilder
           
 
Fields inherited from class org.eclipse.emf.codegen.ecore.Generator
basePackage, EMF_EDIT_PROJECT_STYLE, EMF_EDITOR_PROJECT_STYLE, EMF_EMPTY_PROJECT_STYLE, EMF_MODEL_PROJECT_STYLE, EMF_PLUGIN_PROJECT_STYLE, EMF_XML_PROJECT_STYLE
 
Fields inherited from interface org.eclipse.core.runtime.IPlatformRunnable
EXIT_OK, EXIT_RELAUNCH, EXIT_RESTART
 
Constructor Summary
XSD2GenModel()
          This creates an instance.
 
Method Summary
 void execute(IProgressMonitor progressMonitor, String[] arguments)
           
protected  void printUsage()
           
 Object run(Object object)
          This is called with the command line arguments of a headless workbench invocation.
protected  void setGenPackageDetails(List genPackages)
           
 
Methods inherited from class org.eclipse.emf.codegen.ecore.Generator
addClasspathEntries, addClasspathEntries, createEMFProject, createEMFProject, findOrCreateContainerHelper, main, printGenerateUsage, printStatus, setSDODefaults, 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

xsdEcoreBuilder

protected Object xsdEcoreBuilder

packageInformationMap

protected Map packageInformationMap

packages

protected List packages

ePackageList

protected List ePackageList

generatedEPackageList

protected List generatedEPackageList

referencedEPackageList

protected List referencedEPackageList
Constructor Detail

XSD2GenModel

public XSD2GenModel()
This creates an instance.

Method Detail

printUsage

protected void printUsage()

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
Overrides:
run in class Generator

execute

public void execute(IProgressMonitor progressMonitor,
                    String[] arguments)
             throws Exception
Throws:
Exception

setGenPackageDetails

protected void setGenPackageDetails(List genPackages)

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