org.eclipse.mtl.ide.ui.builders.runner
Class CreateRunnableMTLContent

java.lang.Object
  extended by org.eclipse.mtl.ide.ui.builders.runner.CreateRunnableMTLContent

public class CreateRunnableMTLContent
extends java.lang.Object

The class used to configure the 'CreateRunnableJavaWriter' JET generation.


Constructor Summary
CreateRunnableMTLContent(java.lang.String projectName, java.lang.String basePackage, java.lang.String classShortName, java.lang.String moduleFileShortName, java.util.List<java.lang.String> templateNames, java.util.List<java.lang.String> packages, java.util.List<java.lang.String> resolvedClasspath)
          Constructor.
 
Method Summary
 java.lang.String getBasePackage()
          Gets the base package of the class to create.
 java.lang.String getClassShortName()
          Gets the name of the class.
 java.lang.String getModuleFileShortName()
          Gets the name of the module file.
 java.util.List<java.lang.String> getPackages()
          Gets the meta-models packages to consider.
 java.lang.String getProjectName()
          Gets the name of the project.
 java.util.List<java.lang.String> getResolvedClasspath()
          Gets the resolved classpath for the project as a list of simple classpath entries.
 java.util.List<java.lang.String> getTemplateNames()
          Gets the name of the templates.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CreateRunnableMTLContent

public CreateRunnableMTLContent(java.lang.String projectName,
                                java.lang.String basePackage,
                                java.lang.String classShortName,
                                java.lang.String moduleFileShortName,
                                java.util.List<java.lang.String> templateNames,
                                java.util.List<java.lang.String> packages,
                                java.util.List<java.lang.String> resolvedClasspath)
Constructor.

Parameters:
projectName - the name of the project
basePackage - the base package of the class to create
classShortName - the name of the class
moduleFileShortName - the name of the module file
templateNames - the name of the templates
packages - the meta-models packages to consider
resolvedClasspath - resolved classpath for the project as a list of simple classpath entries
Method Detail

getProjectName

public java.lang.String getProjectName()
Gets the name of the project.

Returns:
the name of the project

getBasePackage

public java.lang.String getBasePackage()
Gets the base package of the class to create.

Returns:
the base package of the class to create

getClassShortName

public java.lang.String getClassShortName()
Gets the name of the class.

Returns:
the name of the class

getModuleFileShortName

public java.lang.String getModuleFileShortName()
Gets the name of the module file.

Returns:
the name of the module file

getTemplateNames

public java.util.List<java.lang.String> getTemplateNames()
Gets the name of the templates.

Returns:
the name of the templates

getPackages

public java.util.List<java.lang.String> getPackages()
Gets the meta-models packages to consider.

Returns:
the meta-models packages to consider

getResolvedClasspath

public java.util.List<java.lang.String> getResolvedClasspath()
Gets the resolved classpath for the project as a list of simple classpath entries.

Returns:
the resolved classpath for the project as a list of simple classpath entries

Copyright 2008 Obeo
All Rights Reserved.