org.eclipse.mtl.ide.ui.wizards.newproject
Class CreateModuleUIData

java.lang.Object
  extended by org.eclipse.mtl.ide.ui.wizards.newproject.CreateModuleUIData

public class CreateModuleUIData
extends java.lang.Object

The class used to configure all the JET generations of the 'MTLNewProjectUIWizard' wizard. The purpose of the wizard is to create a new UI launcher (i.e an eclipse plug-in) for one or several MTL modules.


Constructor Summary
CreateModuleUIData(MTLNewProjectUIWizard wizard)
          Constructor.
 
Method Summary
 java.lang.String getModelNameFilter()
          Gets the model name filter.
 java.util.List<java.lang.String> getModuleJavaClasses()
          Gets Java classes corresponding to the MTL templates.
 java.lang.String getModuleName()
          Gets the module name.
 java.util.List<java.lang.String> getModuleTemplates()
          MTL templates (EMTL files).
 java.util.List<java.lang.String> getModuleTemplatesPlugins()
          MTL templates plug-ins.
 java.util.List<java.lang.String> getPluginDependencies()
          Gets required plug-ins IDs.
 java.lang.String getProjectName()
          Gets the new UI project name.
 java.lang.String getTargetFolderAccess()
          Gets the 'Java' code that defines the way to access the target folder from the model file.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CreateModuleUIData

public CreateModuleUIData(MTLNewProjectUIWizard wizard)
Constructor.

Parameters:
wizard - is the wizard
Method Detail

getProjectName

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

Returns:
the new UI project name

getModuleName

public java.lang.String getModuleName()
Gets the module name.

Returns:
the module name

getPluginDependencies

public java.util.List<java.lang.String> getPluginDependencies()
Gets required plug-ins IDs.

Returns:
required plug-ins IDs

getModuleTemplates

public java.util.List<java.lang.String> getModuleTemplates()
MTL templates (EMTL files).

Returns:
the templates

getModuleTemplatesPlugins

public java.util.List<java.lang.String> getModuleTemplatesPlugins()
MTL templates plug-ins.

assert getModuleTemplatesPlugins().size() == getModuleTemplates().size()

Returns:
the templates plug-ins

getModuleJavaClasses

public java.util.List<java.lang.String> getModuleJavaClasses()
Gets Java classes corresponding to the MTL templates.

assert getModuleJavaClasses().size() == getModuleTemplates().size()

Returns:
Java classes names

getModelNameFilter

public java.lang.String getModelNameFilter()
Gets the model name filter. The code generation (popup action...) is only available for the file which name validates the filter.

Returns:
the model name filter

getTargetFolderAccess

public java.lang.String getTargetFolderAccess()
Gets the 'Java' code that defines the way to access the target folder from the model file.

IContainer target = model.getProject();

Returns:
the 'Java' code to access the target folder

Copyright 2008 Obeo
All Rights Reserved.