|
Generators | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.topcased.generator.AbstractGenerator
org.topcased.outline.generator.OutlineGenerator
public class OutlineGenerator
The outline generator.
Creation : 3 nov. 2005
Field Summary |
---|
Fields inherited from class org.topcased.generator.AbstractGenerator |
---|
JAVA_BUILDER, JCONTROL_MODEL_NAME, MANIFEST_BUILDER, PDE_NATURE, PROPERTIES_ENCODING, SCHEMA_BUILDER, SOURCE_DIRECTORY |
Constructor Summary | |
---|---|
OutlineGenerator(OutlineConfiguration configuration)
Constructor. |
Method Summary | |
---|---|
protected JETEmitter |
createJETEmitter(java.lang.String templateURI)
Creates the JET Emitter to use for the generation. |
org.eclipse.core.resources.IProject |
generate(org.eclipse.core.runtime.IProgressMonitor monitor)
Launch the generation for the current outline configuration |
protected java.lang.String |
getTemplateURI(java.lang.String relativePath)
Returns a template URI for the given path relative to this generator bundle. |
Methods inherited from class org.topcased.generator.AbstractGenerator |
---|
addDefaultBuilders, addDefaultNatures, applyTemplate, createEMFProject, createPackage, getTemplateURI, organizeImports, validateEdit |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public OutlineGenerator(OutlineConfiguration configuration)
configuration
- the outline configuration to generate the outlineMethod Detail |
---|
protected JETEmitter createJETEmitter(java.lang.String templateURI)
AbstractGenerator
createJETEmitter
in class AbstractGenerator
templateURI
- the template URI.
AbstractGenerator.createJETEmitter(java.lang.String)
public org.eclipse.core.resources.IProject generate(org.eclipse.core.runtime.IProgressMonitor monitor) throws org.eclipse.core.runtime.CoreException
generate
in class AbstractGenerator
monitor
- the monitor for the work progression
org.eclipse.core.runtime.CoreException
- if the generation failsAbstractGenerator.generate(org.eclipse.core.runtime.IProgressMonitor)
protected java.lang.String getTemplateURI(java.lang.String relativePath)
relativePath
-
|
Generators | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright (c) 2005 TOPCASED Contributors 2005 - 2007. All rights reserved.