|
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.properties.generator.PropertiesViewGenerator
public class PropertiesViewGenerator
This class is the Entry point of the generation for a Topcased tabbed properties view by a *.propertiesconfigurator file
Creation 01 aug. 2006
Field Summary | |
---|---|
static char |
SLASH
A simple IPath separator |
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 | |
---|---|
PropertiesViewGenerator(TabbedView tabbedView)
Class 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 properties configuration |
java.lang.String |
getAdvanced()
|
org.eclipse.core.resources.IProject |
getGeneratedProject()
|
static org.eclipse.core.runtime.IPath |
getPackageIPath(java.lang.String packageName)
Returns IPath of the given packageName. |
java.lang.String |
getSections()
|
java.lang.String |
getThePackage()
|
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 |
Field Detail |
---|
public static final char SLASH
Constructor Detail |
---|
public PropertiesViewGenerator(TabbedView tabbedView)
tabbedView
- the model inputMethod Detail |
---|
public java.lang.String getAdvanced()
public org.eclipse.core.resources.IProject getGeneratedProject()
public java.lang.String getSections()
public java.lang.String getThePackage()
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 failsprotected JETEmitter createJETEmitter(java.lang.String templateURI)
AbstractGenerator
createJETEmitter
in class AbstractGenerator
templateURI
- the template URI.
AbstractGenerator.createJETEmitter(java.lang.String)
public static org.eclipse.core.runtime.IPath getPackageIPath(java.lang.String packageName)
org.topcased.something.else
The return IPath will replace the '.' into IPaths Separators
packageName
- the package in java format
|
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.