org.eclipse.emf.codegen.ecore.genmodel.impl
Class GenModelImpl

java.lang.Object
  extended byorg.eclipse.emf.common.notify.impl.BasicNotifierImpl
      extended byorg.eclipse.emf.ecore.impl.BasicEObjectImpl
          extended byorg.eclipse.emf.ecore.impl.EObjectImpl
              extended byorg.eclipse.emf.codegen.ecore.genmodel.impl.GenBaseImpl
                  extended byorg.eclipse.emf.codegen.ecore.genmodel.impl.GenModelImpl
All Implemented Interfaces:
EObject, GenBase, GenModel, InternalEObject, Notifier

public class GenModelImpl
extends GenBaseImpl
implements GenModel

An implementation of the model object 'GenModel'.

The following features are implemented:


Nested Class Summary
 
Nested classes inherited from class org.eclipse.emf.codegen.ecore.genmodel.impl.GenBaseImpl
GenBaseImpl.AnnotationFilter, GenBaseImpl.AnnotationFilterImpl, GenBaseImpl.ColorInformation, GenBaseImpl.GenClassFilter, GenBaseImpl.GenConstraintFilter, GenBaseImpl.GenFeatureFilter, GenBaseImpl.GenOperationFilter, GenBaseImpl.GIFEmitter, GenBaseImpl.UniqueNameHelper
 
Nested classes inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
BasicEObjectImpl.EPropertiesHolder, BasicEObjectImpl.EPropertiesHolderImpl
 
Nested classes inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
BasicNotifierImpl.EAdapterList
 
Nested classes inherited from class org.eclipse.emf.ecore.InternalEObject
InternalEObject.EStore
 
Field Summary
protected  JETEmitter actionBarContributorEmitter
           
protected  String actionBarContributorTemplateName
           
protected  JETEmitter adapterFactoryClassEmitter
           
protected  String adapterFactoryClassTemplateName
           
protected  JETEmitter advisorEmitter
           
protected  String advisorTemplateName
           
protected static String BOOLEAN_FLAGS_FIELD_EDEFAULT
          The default value of the 'Boolean Flags Field' attribute
protected static int BOOLEAN_FLAGS_RESERVED_BITS_EDEFAULT
          The default value of the 'Boolean Flags Reserved Bits' attribute
protected  String booleanFlagsField
          The cached value of the 'Boolean Flags Field' attribute
protected  int booleanFlagsReservedBits
          The cached value of the 'Boolean Flags Reserved Bits' attribute
protected  JETEmitter buildPropertiesEmitter
           
protected  String buildPropertiesTemplateName
           
protected static boolean BUNDLE_MANIFEST_EDEFAULT
          The default value of the 'Bundle Manifest' attribute
protected  boolean bundleManifest
          The cached value of the 'Bundle Manifest' attribute
protected  boolean canGenerate
           
protected  JETEmitter classEmitter
           
protected  String classTemplateName
           
protected static boolean CODE_FORMATTING_EDEFAULT
          The default value of the 'Code Formatting' attribute
protected  Map codeFormatterOptions
           
protected  boolean codeFormatting
          The cached value of the 'Code Formatting' attribute
protected static String COPYRIGHT_TEXT_EDEFAULT
          The default value of the 'Copyright Text' attribute
protected  String copyrightText
          The cached value of the 'Copyright Text' attribute
protected  GenBaseImpl.GIFEmitter createChildGIFEmitter
           
protected  String createChildGIFName
           
protected static boolean CREATION_COMMANDS_EDEFAULT
          The default value of the 'Creation Commands' attribute
protected static boolean CREATION_ICONS_EDEFAULT
          The default value of the 'Creation Icons' attribute
protected  boolean creationCommands
          The cached value of the 'Creation Commands' attribute
protected  boolean creationIcons
          The cached value of the 'Creation Icons' attribute
protected static boolean DYNAMIC_TEMPLATES_EDEFAULT
          The default value of the 'Dynamic Templates' attribute
protected  boolean dynamicTemplates
          The cached value of the 'Dynamic Templates' attribute
protected static String EDIT_DIRECTORY_EDEFAULT
          The default value of the 'Edit Directory' attribute
protected static String EDIT_PLUGIN_CLASS_EDEFAULT
          The default value of the 'Edit Plugin Class' attribute
protected  JETEmitter editBuildPropertiesEmitter
           
protected  String editBuildPropertiesTemplateName
           
protected  String editDirectory
          The cached value of the 'Edit Directory' attribute
protected  boolean editDirectoryESet
          This is true if the Edit Directory attribute has been set
protected  JETEmitter editManifestMFEmitter
           
protected  String editManifestMFTemplateName
           
protected static String EDITOR_DIRECTORY_EDEFAULT
          The default value of the 'Editor Directory' attribute
protected static String EDITOR_PLUGIN_CLASS_EDEFAULT
          The default value of the 'Editor Plugin Class' attribute
protected  JETEmitter editorBuildPropertiesEmitter
           
protected  String editorBuildPropertiesTemplateName
           
protected  String editorDirectory
          The cached value of the 'Editor Directory' attribute
protected  boolean editorDirectoryESet
          This is true if the Editor Directory attribute has been set
protected  JETEmitter editorEmitter
           
protected  JETEmitter editorManifestMFEmitter
           
protected  String editorManifestMFTemplateName
           
protected  String editorPluginClass
          The cached value of the 'Editor Plugin Class' attribute
protected  JETEmitter editorPluginClassEmitter
           
protected  boolean editorPluginClassESet
          This is true if the Editor Plugin Class attribute has been set
protected  JETEmitter editorPluginPropertiesEmitter
           
protected  String editorPluginPropertiesTemplateName
           
protected  String editorPluginTemplateName
           
protected  JETEmitter editorPluginXMLEmitter
           
protected  String editorPluginXMLTemplateName
           
protected  String editorTemplateName
           
protected  String editPluginClass
          The cached value of the 'Edit Plugin Class' attribute
protected  JETEmitter editPluginClassEmitter
           
protected  boolean editPluginClassESet
          This is true if the Edit Plugin Class attribute has been set
protected  JETEmitter editPluginPropertiesEmitter
           
protected  String editPluginPropertiesTemplateName
           
protected  String editPluginTemplateName
           
protected  JETEmitter editPluginXMLEmitter
           
protected  String editPluginXMLTemplateName
           
protected  JETEmitter enumClassEmitter
           
protected  String enumClassTemplateName
           
protected  ExtendedMetaData extendedMetaData
           
protected  JETEmitter factoryClassEmitter
           
protected  String factoryClassTemplateName
           
protected  JETEmitter factoryInterfaceEmitter
           
protected  String factoryInterfaceTemplateName
           
protected static String FEATURE_MAP_WRAPPER_CLASS_EDEFAULT
          The default value of the 'Feature Map Wrapper Class' attribute
protected static String FEATURE_MAP_WRAPPER_INTERFACE_EDEFAULT
          The default value of the 'Feature Map Wrapper Interface' attribute
protected static String FEATURE_MAP_WRAPPER_INTERNAL_INTERFACE_EDEFAULT
          The default value of the 'Feature Map Wrapper Internal Interface' attribute
protected  String featureMapWrapperClass
          The cached value of the 'Feature Map Wrapper Class' attribute
protected  String featureMapWrapperInterface
          The cached value of the 'Feature Map Wrapper Interface' attribute
protected  String featureMapWrapperInternalInterface
          The cached value of the 'Feature Map Wrapper Internal Interface' attribute
protected static boolean FORCE_OVERWRITE_EDEFAULT
          The default value of the 'Force Overwrite' attribute
protected  boolean forceOverwrite
          The cached value of the 'Force Overwrite' attribute
protected  EList foreignModel
          The cached value of the 'Foreign Model' attribute list
protected static boolean GENERATE_SCHEMA_EDEFAULT
          The default value of the 'Generate Schema' attribute
protected  boolean generateSchema
          The cached value of the 'Generate Schema' attribute
protected  EList genPackages
          The cached value of the 'Gen Packages' containment reference list
protected static String IMPORTER_ID_EDEFAULT
          The default value of the 'Importer ID' attribute
protected  String importerID
          The cached value of the 'Importer ID' attribute
protected  int importInsertionPoint
           
protected  ImportManager importManager
           
protected  StringBuffer importStringBuffer
           
protected  JETEmitter interfaceEmitter
           
protected  String interfaceTemplateName
           
protected  GenBaseImpl.GIFEmitter itemGIFEmitter
           
protected  String itemGIFName
           
protected  JETEmitter itemProviderAdapterFactoryEmitter
           
protected  String itemProviderAdapterFactoryTemplateName
           
protected  JETEmitter itemProviderEmitter
           
protected  String itemProviderTemplateName
           
protected  JControlModel jControlModel
           
protected  String jControlModelName
           
protected  JETEmitter manifestMFEmitter
           
protected  String manifestMFTemplateName
           
protected static String MODEL_DIRECTORY_EDEFAULT
          The default value of the 'Model Directory' attribute
protected static String MODEL_NAME_EDEFAULT
          The default value of the 'Model Name' attribute
protected static String MODEL_PLUGIN_CLASS_EDEFAULT
          The default value of the 'Model Plugin Class' attribute
protected static String MODEL_PLUGIN_ID_EDEFAULT
          The default value of the 'Model Plugin ID' attribute
protected  String modelDirectory
          The cached value of the 'Model Directory' attribute
protected  GenBaseImpl.GIFEmitter modelGIFEmitter
           
protected  String modelGIFName
           
protected  String modelName
          The cached value of the 'Model Name' attribute
protected  String modelPluginClass
          The cached value of the 'Model Plugin Class' attribute
protected  JETEmitter modelPluginClassEmitter
           
protected  String modelPluginID
          The cached value of the 'Model Plugin ID' attribute
protected  String modelPluginTemplateName
           
protected  EList modelPluginVariables
          The cached value of the 'Model Plugin Variables' attribute list
protected  JETEmitter modelTestSuiteEmitter
           
protected  String modelTestSuiteTemplateName
           
protected  JETEmitter modelWizardEmitter
           
protected  GenBaseImpl.GIFEmitter modelWizardGIFEmitter
           
protected  String modelWizardGIFName
           
protected  String modelWizardTemplateName
           
protected static String NON_EXTERNALIZED_STRING_TAG_EDEFAULT
          The default value of the 'Non Externalized String Tag' attribute
protected static boolean NON_NLS_MARKERS_EDEFAULT
          The default value of the 'Non NLS Markers' attribute
protected  String nonExternalizedStringTag
          The cached value of the 'Non Externalized String Tag' attribute
protected  boolean nonNLSMarkers
          The cached value of the 'Non NLS Markers' attribute
static Class[] OBJECT_ARGUMENT
           
protected  JETEmitter packageClassEmitter
           
protected  String packageClassTemplateName
           
protected  JETEmitter packageExampleEmitter
           
protected  String packageExampleTemplateName
           
protected  JETEmitter packageInterfaceEmitter
           
protected  String packageInterfaceTemplateName
           
protected  JETEmitter packageTestSuiteEmitter
           
protected  String packageTestSuiteTemplateName
           
protected  JETEmitter pluginPropertiesEmitter
           
protected  String pluginPropertiesTemplateName
           
protected  JETEmitter pluginXMLEmitter
           
protected  String pluginXMLTemplateName
           
protected  String redirection
          The cached value of the 'Redirection' attribute
protected static String REDIRECTION_EDEFAULT
          The default value of the 'Redirection' attribute
protected static boolean REFLECTIVE_DELEGATION_EDEFAULT
          The default value of the 'Reflective Delegation' attribute
protected  boolean reflectiveDelegation
          The cached value of the 'Reflective Delegation' attribute
protected  JETEmitter resourceClassEmitter
           
protected  JETEmitter resourceFactoryClassEmitter
           
protected  String resourceFactoryTemplateName
           
protected  String resourceTemplateName
           
protected static boolean RICH_CLIENT_PLATFORM_EDEFAULT
          The default value of the 'Rich Client Platform' attribute
protected  boolean richClientPlatform
          The cached value of the 'Rich Client Platform' attribute
protected static String ROOT_EXTENDS_CLASS_EDEFAULT
          The default value of the 'Root Extends Class' attribute
protected static String ROOT_EXTENDS_INTERFACE_EDEFAULT
          The default value of the 'Root Extends Interface' attribute
protected static String ROOT_IMPLEMENTS_INTERFACE_EDEFAULT
          The default value of the 'Root Implements Interface' attribute
protected  String rootExtendsClass
          The cached value of the 'Root Extends Class' attribute
protected  String rootExtendsInterface
          The cached value of the 'Root Extends Interface' attribute
protected  String rootImplementsInterface
          The cached value of the 'Root Implements Interface' attribute
protected  GenClass rootImplementsInterfaceGenClass
           
protected static boolean RUNTIME_COMPATIBILITY_EDEFAULT
          The default value of the 'Runtime Compatibility' attribute
protected static boolean RUNTIME_JAR_EDEFAULT
          The default value of the 'Runtime Jar' attribute
protected  boolean runtimeCompatibility
          The cached value of the 'Runtime Compatibility' attribute
protected  boolean runtimeJar
          The cached value of the 'Runtime Jar' attribute
protected  EList staticGenPackages
           
protected  EList staticPackages
          The cached value of the 'Static Packages' attribute list
protected static boolean SUPPRESS_EMF_TYPES_EDEFAULT
          The default value of the 'Suppress EMF Types' attribute
protected  boolean suppressEMFTypes
          The cached value of the 'Suppress EMF Types' attribute
protected  JETEmitter switchClassEmitter
           
protected  String switchClassTemplateName
           
protected static String TEMPLATE_DIRECTORY_EDEFAULT
          The default value of the 'Template Directory' attribute
protected  String templateDirectory
          The cached value of the 'Template Directory' attribute
protected  String[] templatePath
           
protected static String TEST_SUITE_CLASS_EDEFAULT
          The default value of the 'Test Suite Class' attribute
protected  JETEmitter testCaseEmitter
           
protected  String testCaseTemplateName
           
protected static String TESTS_DIRECTORY_EDEFAULT
          The default value of the 'Tests Directory' attribute
protected  JETEmitter testsBuildPropertiesEmitter
           
protected  String testsBuildPropertiesTemplateName
           
protected  String testsDirectory
          The cached value of the 'Tests Directory' attribute
protected  boolean testsDirectoryESet
          This is true if the Tests Directory attribute has been set
protected  JETEmitter testsManifestMFEmitter
           
protected  String testsManifestMFTemplateName
           
protected  JETEmitter testsPluginPropertiesEmitter
           
protected  String testsPluginPropertiesTemplateName
           
protected  JETEmitter testsPluginXMLEmitter
           
protected  String testsPluginXMLTemplateName
           
protected  String testSuiteClass
          The cached value of the 'Test Suite Class' attribute
protected  boolean testSuiteClassESet
          This is true if the Test Suite Class attribute has been set
protected static boolean UPDATE_CLASSPATH_EDEFAULT
          The default value of the 'Update Classpath' attribute
protected  boolean updateClasspath
          The cached value of the 'Update Classpath' attribute
protected  EList usedGenPackages
          The cached value of the 'Used Gen Packages' reference list
protected  JETEmitter validatorSwitchClassEmitter
           
protected  String validatorSwitchClassTemplateName
           
 
Fields inherited from class org.eclipse.emf.codegen.ecore.genmodel.impl.GenBaseImpl
DEFAULT_ANNOTATION_FILTER, ecoreGenPackage, xmlNamespaceGenPackage, xmlTypeGenPackage
 
Fields inherited from class org.eclipse.emf.ecore.impl.EObjectImpl
eAdapters, eContainer, eContainerFeatureID, EDELIVER, EDYNAMIC_CLASS, eFlags, ELAST_EOBJECT_FLAG, ELAST_NOTIFIER_FLAG, eProperties, EPROXY
 
Fields inherited from interface org.eclipse.emf.ecore.InternalEObject
EOPPOSITE_FEATURE_BASE
 
Constructor Summary
protected GenModelImpl()
           
 
Method Summary
protected  void addClasspathEntries(JETEmitter jetEmitter)
           
 void addImport(String qualifiedName)
           
 void addPseudoImport(String qualifiedName)
           
protected  void addQualifiedEditorPackageNames(List packageNames, GenPackage genPackage)
           
protected  void addQualifiedEditPackageNames(List packageNames, GenPackage genPackage)
           
protected  void addQualifiedModelPackageNames(List packageNames, GenPackage genPackage)
           
protected  void addQualifiedTestsPackageNames(List packageNames, GenPackage genPackage)
           
 boolean canGenerate()
           
 boolean canGenerateEdit()
           
 boolean canGenerateEditor()
           
 boolean canGenerateSchema()
           
 boolean canGenerateTests()
           
 List computeMissingUsedGenPackages()
           
 org.eclipse.jdt.core.formatter.CodeFormatter createCodeFormatter()
          Creates and returns a new JDT code formatter.
 GenClass createGenClass()
           
 GenDataType createGenDataType()
           
 GenEnum createGenEnum()
           
 GenEnumLiteral createGenEnumLiteral()
           
 GenFeature createGenFeature()
           
 GenModel createGenModel()
           
 GenOperation createGenOperation()
           
 GenPackage createGenPackage()
           
 GenParameter createGenParameter()
           
protected  JETEmitter createJETEmitter(String relativeTemplateURI)
           
protected  String createPackageName(String text)
           
 Object eGet(EStructuralFeature eFeature, boolean resolve)
           
 NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, Class baseClass, NotificationChain msgs)
           
 NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, Class baseClass, NotificationChain msgs)
           
 boolean eIsSet(EStructuralFeature eFeature)
           
 void emitSortedImports()
           
 void eSet(EStructuralFeature eFeature, Object newValue)
           
protected  EClass eStaticClass()
           
 void eUnset(EStructuralFeature eFeature)
           
 void generate(IProgressMonitor progressMonitor)
           
 void generateEdit(IProgressMonitor progressMonitor)
           
 void generateEditor(IProgressMonitor progressMonitor)
           
 void generateSchema(IProgressMonitor progressMonitor)
           
 void generateTests(IProgressMonitor progressMonitor)
           
 JETEmitter getActionBarContributorEmitter()
           
 JETEmitter getAdapterFactoryClassEmitter()
           
 List getAllGenAndUsedGenPackagesWithClassifiers()
           
 List getAllGenFeatures()
           
 List getAllGenPackagesWithClassifiers()
           
protected  void getAllGenPackagesWithClassifiersHelper(List result, List genPackages)
           
 List getAllGenUsedAndStaticGenPackagesWithClassifiers()
           
 List getAllUsedGenPackagesWithClassifiers()
           
 String getBooleanFlagsField()
           
 int getBooleanFlagsReservedBits()
           
 JETEmitter getBuildPropertiesEmitter()
           
 JETEmitter getClassEmitter()
           
 String getCopyrightText()
           
 GenBaseImpl.GIFEmitter getCreateChildGIFEmitter()
           
 String getDate()
           
 String getDriverNumber()
           
 EModelElement getEcoreModelElement()
           
 JETEmitter getEditBuildPropertiesEmitter()
           
 String getEditDirectory()
          Returns the value of the 'Edit Directory' attribute
 String getEditDirectoryGen()
           
 String getEditIconsDirectory()
           
 JETEmitter getEditManifestMFEmitter()
           
 String getEditorAdvisorClassName()
           
 JETEmitter getEditorAdvisorEmitter()
           
 JETEmitter getEditorBuildPropertiesEmitter()
           
 String getEditorDirectory()
          Returns the value of the 'Editor Directory' attribute
 String getEditorDirectoryGen()
           
 JETEmitter getEditorEmitter()
           
 String getEditorIconsDirectory()
           
 JETEmitter getEditorManifestMFEmitter()
           
 String getEditorPluginClass()
          Returns the value of the 'Editor Plugin Class' attribute
 JETEmitter getEditorPluginClassEmitter()
           
 String getEditorPluginClassGen()
           
 String getEditorPluginClassName()
           
protected  String getEditorPluginClassToUse()
           
protected  String getEditorPluginDirectory()
           
 String getEditorPluginID()
           
 String getEditorPluginPackageName()
           
 JETEmitter getEditorPluginPropertiesEmitter()
           
 JETEmitter getEditorPluginXMLEmitter()
           
 String getEditorProjectDirectory()
           
 List getEditorQualifiedPackageNames()
           
 List getEditorRequiredPlugins()
           
 String getEditPluginClass()
          Returns the value of the 'Edit Plugin Class' attribute
 JETEmitter getEditPluginClassEmitter()
           
 String getEditPluginClassGen()
           
 String getEditPluginClassName()
           
protected  String getEditPluginClassToUse()
           
protected  String getEditPluginDirectory()
           
 String getEditPluginID()
           
 String getEditPluginPackageName()
           
 JETEmitter getEditPluginPropertiesEmitter()
           
 JETEmitter getEditPluginXMLEmitter()
           
 String getEditProjectDirectory()
           
 List getEditQualifiedPackageNames()
           
 List getEditRequiredPlugins()
           
 List getEditResourceDelegateImportedPluginClassNames()
           
 List getEffectiveModelPluginIDs()
           
 List getEffectiveModelPluginVariables()
           
 JETEmitter getEnumClassEmitter()
           
 ExtendedMetaData getExtendedMetaData()
           
 JETEmitter getFactoryClassEmitter()
           
 JETEmitter getFactoryInterfaceEmitter()
           
 String getFeatureMapWrapperClass()
           
 String getFeatureMapWrapperInterface()
           
 String getFeatureMapWrapperInternalInterface()
           
 List getFilteredAllGenFeatures()
           
 EList getForeignModel()
           
 EList getGenPackages()
           
 String getImportedName(String qualifiedName)
           
 String getImporterID()
           
protected  ImportManager getImportManager()
           
 String getIndentation(StringBuffer stringBuffer)
           
 JETEmitter getInterfaceEmitter()
           
 GenBaseImpl.GIFEmitter getItemGIFEmitter()
           
 JETEmitter getItemProviderAdapterFactoryEmitter()
           
 JETEmitter getItemProviderEmitter()
           
 JControlModel getJControlModel()
           
protected  GenPackage getMainGenPackage()
           
protected  String getMainPackage()
           
 JETEmitter getManifestMFEmitter()
           
 List getMissingPackages()
           
protected  void getMissingPackagesHelper(List ePackages, List genPackages)
           
 String getModelDirectory()
           
 String getModelDirectoryGen()
           
 GenBaseImpl.GIFEmitter getModelGIFEmitter()
           
 String getModelName()
           
 String getModelPluginClass()
           
 JETEmitter getModelPluginClassEmitter()
           
 String getModelPluginClassName()
           
protected  String getModelPluginClassToUse()
           
 String getModelPluginID()
           
 String getModelPluginPackageName()
           
 EList getModelPluginVariables()
           
protected  String getModelProject()
           
 String getModelProjectDirectory()
           
 List getModelQualifiedPackageNames()
           
 List getModelRequiredPlugins()
           
 JETEmitter getModelTestSuiteEmitter()
           
 JETEmitter getModelWizardEmitter()
           
 GenBaseImpl.GIFEmitter getModelWizardGIFEmitter()
           
 String getName()
           
 String getNonExternalizedStringTag()
           
 String getNonNLS()
           
 String getNonNLS(int i)
           
 String getNonNLS(String s)
           
 String getNonNLS(String s, int i)
           
 JETEmitter getPackageClassEmitter()
           
 JETEmitter getPackageExampleEmitter()
           
 JETEmitter getPackageInterfaceEmitter()
           
 JETEmitter getPackageTestSuiteEmitter()
           
protected  String getPluginClass(boolean isSet, String baseName, String packageSuffix, String classSuffix)
           
protected  String getPluginClassName(String baseName, String defaultSuffix)
           
protected  String getPluginDirectory(boolean isSet, String baseDirectory, String suffix)
           
protected  String getPluginPackageName(String baseName, String pluginID)
           
 JETEmitter getPluginPropertiesEmitter()
           
 JETEmitter getPluginXMLEmitter()
           
protected static String getProjectPath(String path)
           
 Set getPropertyCategories()
           
 String getPropertyCategoryKey(String category)
           
 String getQualifiedEditorAdvisorClassName()
           
 String getQualifiedEditorPluginClassName()
           
 String getQualifiedEditPluginClassName()
           
 String getQualifiedModelPluginClassName()
           
 String getQualifiedTestSuiteClassName()
           
 String getRedirection()
           
 String getRelativeGenModelLocation()
           
 JETEmitter getResourceClassEmitter()
           
 JETEmitter getResourceFactoryClassEmitter()
           
 String getRootExtendsClass()
           
 String getRootExtendsInterface()
           
 String getRootImplementsInterface()
           
 GenClass getRootImplementsInterfaceGenClass()
           
protected  String getSourceFragmentPath()
           
 EList getStaticGenPackages()
           
 EList getStaticPackages()
           
 JETEmitter getSwitchClassEmitter()
           
 String getTemplateDirectory()
           
protected  String[] getTemplatePath()
           
 JETEmitter getTestCaseEmitter()
           
 JETEmitter getTestsBuildPropertiesEmitter()
           
 String getTestsDirectory()
          Returns the value of the 'Tests Directory' attribute
 String getTestsDirectoryGen()
           
 JETEmitter getTestsManifestMFEmitter()
           
 String getTestsPluginID()
           
 JETEmitter getTestsPluginPropertiesEmitter()
           
 JETEmitter getTestsPluginXMLEmitter()
           
 String getTestsProjectDirectory()
           
 List getTestsQualifiedPackageNames()
           
 List getTestsRequiredPlugins()
           
 String getTestSuiteClass()
          Returns the value of the 'Test Suite Class' attribute
 String getTestSuiteClassGen()
           
 String getTestSuiteClassName()
           
 String getTestSuitePackageName()
           
 EList getUsedGenPackages()
           
 JETEmitter getValidatorClassEmitter()
           
 String getXMLEncodingChoices()
           
 boolean hasEditorSupport()
           
 boolean hasEditSupport()
           
 boolean hasLocalGenModel()
           
 boolean hasModelPluginClass()
           
protected  boolean hasModelSupport()
           
 boolean hasPluginSupport()
           
 boolean hasTestSupport()
           
 boolean hasXMLDependency()
           
 void initialize(Collection ePackages)
           
 boolean isBooleanFlagsEnabled()
           
 boolean isBundleManifest()
           
 boolean isCodeFormatting()
           
 boolean isCreationCommands()
           
 boolean isCreationIcons()
           
 boolean isDynamicTemplates()
           
 boolean isForceOverwrite()
           
 boolean isGenerateSchema()
           
 boolean isNonNLSMarkers()
           
 boolean isReflectiveDelegation()
           
 boolean isRichClientPlatform()
           
 boolean isRuntimeCompatibility()
           
 boolean isRuntimeJar()
           
 boolean isSetEditDirectory()
           
 boolean isSetEditorDirectory()
           
 boolean isSetEditorPluginClass()
           
 boolean isSetEditPluginClass()
           
 boolean isSetTestsDirectory()
           
 boolean isSetTestSuiteClass()
           
 boolean isSuppressEMFTypes()
           
 boolean isUpdateClasspath()
           
 void markImportLocation(StringBuffer stringBuffer)
           
 void markImportLocation(StringBuffer stringBuffer, GenPackage genPackage)
           
 boolean needsRuntimeCompatibility()
           
protected  void populateExtendedMetaData(List genPackages)
           
 boolean reconcile()
           
 boolean reconcile(GenModel oldGenModelVersion)
          Restore all the corresponding settings of the old version into this version.
protected  void reconcileSettings(GenModel oldGenModelVersion)
           
 boolean sameEditEditorProject()
           
 boolean sameModelEditorProject()
           
 boolean sameModelEditProject()
           
 boolean sameModelTestsProject()
           
 void setBooleanFlagsField(String newBooleanFlagsField)
           
 void setBooleanFlagsReservedBits(int newBooleanFlagsReservedBits)
           
 void setBundleManifest(boolean newBundleManifest)
           
 void setCanGenerate(boolean canGenerate)
           
 void setCodeFormatterOptions(Map options)
          Set the code formatter options to be used to create a new code formatter.
 void setCodeFormatting(boolean newCodeFormatting)
           
 void setCopyrightText(String newCopyrightText)
           
 void setCreationCommands(boolean newCreationCommands)
           
 void setCreationIcons(boolean newCreationIcons)
           
 void setDynamicTemplates(boolean newDynamicTemplates)
           
 void setEditDirectory(String newEditDirectory)
           
 void setEditorDirectory(String newEditorDirectory)
           
 void setEditorPluginClass(String newEditorPluginClass)
           
 void setEditPluginClass(String newEditPluginClass)
           
 void setFeatureMapWrapperClass(String newFeatureMapWrapperClass)
           
 void setFeatureMapWrapperInterface(String newFeatureMapWrapperInterface)
           
 void setFeatureMapWrapperInternalInterface(String newFeatureMapWrapperInternalInterface)
           
 void setForceOverwrite(boolean newForceOverwrite)
           
 void setGenerateSchema(boolean newGenerateSchema)
           
 void setImporterID(String newImporterID)
           
protected  void setImportManager(ImportManager importManager)
           
 void setMethod(JETEmitter jetEmitter, String className)
           
 void setModelDirectory(String newModelDirectory)
           
 void setModelName(String newModelName)
           
 void setModelPluginClass(String newModelPluginClass)
           
 void setModelPluginID(String newModelPluginID)
           
 void setNonExternalizedStringTag(String newNonExternalizedStringTag)
          Sets the value of the 'Non Externalized String Tag' attribute
 void setNonExternalizedStringTagGen(String newNonExternalizedStringTag)
           
 void setNonNLSMarkers(boolean newNonNLSMarkers)
          Sets the value of the 'Non NLS Markers' attribute
 void setNonNLSMarkersGen(boolean newNonNLSMarkers)
           
 void setRedirection(String newRedirection)
           
 void setReflectiveDelegation(boolean newReflectiveDelegation)
           
 void setRichClientPlatform(boolean newRichClientPlatform)
           
 void setRootExtendsClass(String newRootExtendsClass)
           
 void setRootExtendsInterface(String newRootExtendsInterface)
           
 void setRootImplementsInterface(String newRootImplementsInterface)
          Sets the value of the 'Root Implements Interface' attribute
 void setRootImplementsInterfaceGen(String newRootImplementsInterface)
           
 void setRuntimeCompatibility(boolean newRuntimeCompatibility)
           
 void setRuntimeJar(boolean newRuntimeJar)
           
 void setSuppressEMFTypes(boolean newSuppressEMFTypes)
           
 void setTemplateDirectory(String newTemplateDirectory)
           
 void setTestsDirectory(String newTestsDirectory)
           
 void setTestSuiteClass(String newTestSuiteClass)
           
 void setUpdateClasspath(boolean newUpdateClasspath)
           
 String toString()
           
 void unsetEditDirectory()
           
 void unsetEditorDirectory()
           
 void unsetEditorPluginClass()
           
 void unsetEditPluginClass()
           
 void unsetTestsDirectory()
           
 void unsetTestSuiteClass()
           
 IStatus validate()
           
 
Methods inherited from class org.eclipse.emf.codegen.ecore.genmodel.impl.GenBaseImpl
addNonDuplicates, appendAnnotationInfo, appendAnnotationInfo, appendAnnotationInfo, appendLineBreak, appendModelSetting, appendModelSetting, capName, collectGenClasses, collectGenConstraints, collectGenFeatures, collectGenOperations, eObjectForURIFragmentSegment, escapeString, eURIFragmentSegment, filterGenClasses, findGenClass, findGenClassifier, findGenDataType, findGenEnum, findGenFeature, findGenOperation, findGenPackage, findGenPackageHelper, findOrCreateContainer, format, formatCode, generate, generate, generate, generate, getAllGenPackages, getAnnotationInfo, getAnnotationInfo, getDocumentation, getDocumentation, getEffectiveEObjectType, getEffectiveFeatureMapWrapperInterface, getEffectiveListType, getEffectiveMapType, getGenModel, getImplClassName, getImportedEffectiveFeatureMapWrapperClass, getImportedEffectiveFeatureMapWrapperInternalInterface, getImportedType, getInstanceClass, getJavaLangTypes, getJavaReservedWords, getModelInfo, getPrimitiveDefault, getPrimitiveObjectType, getType, getTypeGenClasses, hasDocumentation, hasModelContribution, indent, isBlank, isEffectiveSuppressEMFTypes, isJavaUtilMapEntry, isPrimitiveType, parseName, safeName, uncapName, uncapPrefixedName, uncapPrefixedName, unicodeEscapeEncode
 
Methods inherited from class org.eclipse.emf.ecore.impl.EObjectImpl
eAdapters, eBasicAdapters, eBasicProperties, eBasicSetContainer, eClass, eContainerFeatureID, eDeliver, eInternalContainer, eIsProxy, eProperties, eSetClass, eSetDeliver, eSetProxyURI
 
Methods inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
eAllContents, eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicSetContainer, eContainer, eContainingFeature, eContainmentFeature, eContains, eContents, eCrossReferences, eDerivedStructuralFeatureID, eDerivedStructuralFeatureID, eDirectResource, eDynamicBasicRemoveFromContainer, eDynamicClass, eDynamicFeature, eDynamicFeatureID, eDynamicGet, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicIsSet, eDynamicSet, eDynamicUnset, eGet, eHasSettings, eInternalResource, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eProxyURI, eResolveProxy, eResource, eSetResource, eSetStore, eSetting, eSettingDelegate, eSettings, eStaticFeatureCount, eStore
 
Methods inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
eNotificationRequired, eNotify
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.eclipse.emf.codegen.ecore.genmodel.GenModel
findGenPackage
 
Methods inherited from interface org.eclipse.emf.codegen.ecore.genmodel.GenBase
capName, format, getDocumentation, getGenModel, hasDocumentation, safeName, uncapName, uncapPrefixedName
 
Methods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eIsProxy, eResource
 
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
 
Methods inherited from interface org.eclipse.emf.ecore.InternalEObject
eNotificationRequired
 

Field Detail

COPYRIGHT_TEXT_EDEFAULT

protected static final String COPYRIGHT_TEXT_EDEFAULT
The default value of the 'Copyright Text' attribute.

See Also:
getCopyrightText()

copyrightText

protected String copyrightText
The cached value of the 'Copyright Text' attribute.

See Also:
getCopyrightText()

MODEL_DIRECTORY_EDEFAULT

protected static final String MODEL_DIRECTORY_EDEFAULT
The default value of the 'Model Directory' attribute.

See Also:
getModelDirectory()

modelDirectory

protected String modelDirectory
The cached value of the 'Model Directory' attribute.

See Also:
getModelDirectory()

CREATION_COMMANDS_EDEFAULT

protected static final boolean CREATION_COMMANDS_EDEFAULT
The default value of the 'Creation Commands' attribute.

See Also:
isCreationCommands(), Constant Field Values

creationCommands

protected boolean creationCommands
The cached value of the 'Creation Commands' attribute.

See Also:
isCreationCommands()

CREATION_ICONS_EDEFAULT

protected static final boolean CREATION_ICONS_EDEFAULT
The default value of the 'Creation Icons' attribute.

See Also:
isCreationIcons(), Constant Field Values

creationIcons

protected boolean creationIcons
The cached value of the 'Creation Icons' attribute.

See Also:
isCreationIcons()

EDIT_DIRECTORY_EDEFAULT

protected static final String EDIT_DIRECTORY_EDEFAULT
The default value of the 'Edit Directory' attribute.

See Also:
getEditDirectory()

editDirectory

protected String editDirectory
The cached value of the 'Edit Directory' attribute.

See Also:
getEditDirectory()

editDirectoryESet

protected boolean editDirectoryESet
This is true if the Edit Directory attribute has been set.


EDITOR_DIRECTORY_EDEFAULT

protected static final String EDITOR_DIRECTORY_EDEFAULT
The default value of the 'Editor Directory' attribute.

See Also:
getEditorDirectory()

editorDirectory

protected String editorDirectory
The cached value of the 'Editor Directory' attribute.

See Also:
getEditorDirectory()

editorDirectoryESet

protected boolean editorDirectoryESet
This is true if the Editor Directory attribute has been set.


MODEL_PLUGIN_ID_EDEFAULT

protected static final String MODEL_PLUGIN_ID_EDEFAULT
The default value of the 'Model Plugin ID' attribute.

See Also:
getModelPluginID()

modelPluginID

protected String modelPluginID
The cached value of the 'Model Plugin ID' attribute.

See Also:
getModelPluginID()

TEMPLATE_DIRECTORY_EDEFAULT

protected static final String TEMPLATE_DIRECTORY_EDEFAULT
The default value of the 'Template Directory' attribute.

See Also:
getTemplateDirectory()

templateDirectory

protected String templateDirectory
The cached value of the 'Template Directory' attribute.

See Also:
getTemplateDirectory()

RUNTIME_JAR_EDEFAULT

protected static final boolean RUNTIME_JAR_EDEFAULT
The default value of the 'Runtime Jar' attribute.

See Also:
isRuntimeJar(), Constant Field Values

runtimeJar

protected boolean runtimeJar
The cached value of the 'Runtime Jar' attribute.

See Also:
isRuntimeJar()

foreignModel

protected EList foreignModel
The cached value of the 'Foreign Model' attribute list.

See Also:
getForeignModel()

DYNAMIC_TEMPLATES_EDEFAULT

protected static final boolean DYNAMIC_TEMPLATES_EDEFAULT
The default value of the 'Dynamic Templates' attribute.

See Also:
isDynamicTemplates(), Constant Field Values

dynamicTemplates

protected boolean dynamicTemplates
The cached value of the 'Dynamic Templates' attribute.

See Also:
isDynamicTemplates()

REDIRECTION_EDEFAULT

protected static final String REDIRECTION_EDEFAULT
The default value of the 'Redirection' attribute.

See Also:
getRedirection()

redirection

protected String redirection
The cached value of the 'Redirection' attribute.

See Also:
getRedirection()

FORCE_OVERWRITE_EDEFAULT

protected static final boolean FORCE_OVERWRITE_EDEFAULT
The default value of the 'Force Overwrite' attribute.

See Also:
isForceOverwrite(), Constant Field Values

forceOverwrite

protected boolean forceOverwrite
The cached value of the 'Force Overwrite' attribute.

See Also:
isForceOverwrite()

NON_EXTERNALIZED_STRING_TAG_EDEFAULT

protected static final String NON_EXTERNALIZED_STRING_TAG_EDEFAULT
The default value of the 'Non Externalized String Tag' attribute.

See Also:
getNonExternalizedStringTag()

nonExternalizedStringTag

protected String nonExternalizedStringTag
The cached value of the 'Non Externalized String Tag' attribute.

See Also:
getNonExternalizedStringTag()

MODEL_NAME_EDEFAULT

protected static final String MODEL_NAME_EDEFAULT
The default value of the 'Model Name' attribute.

See Also:
getModelName()

modelName

protected String modelName
The cached value of the 'Model Name' attribute.

See Also:
getModelName()

MODEL_PLUGIN_CLASS_EDEFAULT

protected static final String MODEL_PLUGIN_CLASS_EDEFAULT
The default value of the 'Model Plugin Class' attribute.

See Also:
getModelPluginClass()

modelPluginClass

protected String modelPluginClass
The cached value of the 'Model Plugin Class' attribute.

See Also:
getModelPluginClass()

EDIT_PLUGIN_CLASS_EDEFAULT

protected static final String EDIT_PLUGIN_CLASS_EDEFAULT
The default value of the 'Edit Plugin Class' attribute.

See Also:
getEditPluginClass()

editPluginClass

protected String editPluginClass
The cached value of the 'Edit Plugin Class' attribute.

See Also:
getEditPluginClass()

editPluginClassESet

protected boolean editPluginClassESet
This is true if the Edit Plugin Class attribute has been set.


EDITOR_PLUGIN_CLASS_EDEFAULT

protected static final String EDITOR_PLUGIN_CLASS_EDEFAULT
The default value of the 'Editor Plugin Class' attribute.

See Also:
getEditorPluginClass()

editorPluginClass

protected String editorPluginClass
The cached value of the 'Editor Plugin Class' attribute.

See Also:
getEditorPluginClass()

editorPluginClassESet

protected boolean editorPluginClassESet
This is true if the Editor Plugin Class attribute has been set.


UPDATE_CLASSPATH_EDEFAULT

protected static final boolean UPDATE_CLASSPATH_EDEFAULT
The default value of the 'Update Classpath' attribute.

See Also:
isUpdateClasspath(), Constant Field Values

updateClasspath

protected boolean updateClasspath
The cached value of the 'Update Classpath' attribute.

See Also:
isUpdateClasspath()

GENERATE_SCHEMA_EDEFAULT

protected static final boolean GENERATE_SCHEMA_EDEFAULT
The default value of the 'Generate Schema' attribute.

See Also:
isGenerateSchema(), Constant Field Values

generateSchema

protected boolean generateSchema
The cached value of the 'Generate Schema' attribute.

See Also:
isGenerateSchema()

NON_NLS_MARKERS_EDEFAULT

protected static final boolean NON_NLS_MARKERS_EDEFAULT
The default value of the 'Non NLS Markers' attribute.

See Also:
isNonNLSMarkers(), Constant Field Values

nonNLSMarkers

protected boolean nonNLSMarkers
The cached value of the 'Non NLS Markers' attribute.

See Also:
isNonNLSMarkers()

staticPackages

protected EList staticPackages
The cached value of the 'Static Packages' attribute list.

See Also:
getStaticPackages()

modelPluginVariables

protected EList modelPluginVariables
The cached value of the 'Model Plugin Variables' attribute list.

See Also:
getModelPluginVariables()

ROOT_EXTENDS_INTERFACE_EDEFAULT

protected static final String ROOT_EXTENDS_INTERFACE_EDEFAULT
The default value of the 'Root Extends Interface' attribute.

See Also:
getRootExtendsInterface(), Constant Field Values

rootExtendsInterface

protected String rootExtendsInterface
The cached value of the 'Root Extends Interface' attribute.

See Also:
getRootExtendsInterface()

ROOT_EXTENDS_CLASS_EDEFAULT

protected static final String ROOT_EXTENDS_CLASS_EDEFAULT
The default value of the 'Root Extends Class' attribute.

See Also:
getRootExtendsClass(), Constant Field Values

rootExtendsClass

protected String rootExtendsClass
The cached value of the 'Root Extends Class' attribute.

See Also:
getRootExtendsClass()

ROOT_IMPLEMENTS_INTERFACE_EDEFAULT

protected static final String ROOT_IMPLEMENTS_INTERFACE_EDEFAULT
The default value of the 'Root Implements Interface' attribute.

See Also:
getRootImplementsInterface()

rootImplementsInterface

protected String rootImplementsInterface
The cached value of the 'Root Implements Interface' attribute.

See Also:
getRootImplementsInterface()

SUPPRESS_EMF_TYPES_EDEFAULT

protected static final boolean SUPPRESS_EMF_TYPES_EDEFAULT
The default value of the 'Suppress EMF Types' attribute.

See Also:
isSuppressEMFTypes(), Constant Field Values

suppressEMFTypes

protected boolean suppressEMFTypes
The cached value of the 'Suppress EMF Types' attribute.

See Also:
isSuppressEMFTypes()

FEATURE_MAP_WRAPPER_INTERFACE_EDEFAULT

protected static final String FEATURE_MAP_WRAPPER_INTERFACE_EDEFAULT
The default value of the 'Feature Map Wrapper Interface' attribute.

See Also:
getFeatureMapWrapperInterface()

featureMapWrapperInterface

protected String featureMapWrapperInterface
The cached value of the 'Feature Map Wrapper Interface' attribute.

See Also:
getFeatureMapWrapperInterface()

FEATURE_MAP_WRAPPER_INTERNAL_INTERFACE_EDEFAULT

protected static final String FEATURE_MAP_WRAPPER_INTERNAL_INTERFACE_EDEFAULT
The default value of the 'Feature Map Wrapper Internal Interface' attribute.

See Also:
getFeatureMapWrapperInternalInterface()

featureMapWrapperInternalInterface

protected String featureMapWrapperInternalInterface
The cached value of the 'Feature Map Wrapper Internal Interface' attribute.

See Also:
getFeatureMapWrapperInternalInterface()

FEATURE_MAP_WRAPPER_CLASS_EDEFAULT

protected static final String FEATURE_MAP_WRAPPER_CLASS_EDEFAULT
The default value of the 'Feature Map Wrapper Class' attribute.

See Also:
getFeatureMapWrapperClass()

featureMapWrapperClass

protected String featureMapWrapperClass
The cached value of the 'Feature Map Wrapper Class' attribute.

See Also:
getFeatureMapWrapperClass()

RUNTIME_COMPATIBILITY_EDEFAULT

protected static final boolean RUNTIME_COMPATIBILITY_EDEFAULT
The default value of the 'Runtime Compatibility' attribute.

See Also:
isRuntimeCompatibility(), Constant Field Values

runtimeCompatibility

protected boolean runtimeCompatibility
The cached value of the 'Runtime Compatibility' attribute.

See Also:
isRuntimeCompatibility()

RICH_CLIENT_PLATFORM_EDEFAULT

protected static final boolean RICH_CLIENT_PLATFORM_EDEFAULT
The default value of the 'Rich Client Platform' attribute.

See Also:
isRichClientPlatform(), Constant Field Values

richClientPlatform

protected boolean richClientPlatform
The cached value of the 'Rich Client Platform' attribute.

See Also:
isRichClientPlatform()

REFLECTIVE_DELEGATION_EDEFAULT

protected static final boolean REFLECTIVE_DELEGATION_EDEFAULT
The default value of the 'Reflective Delegation' attribute.

See Also:
isReflectiveDelegation(), Constant Field Values

reflectiveDelegation

protected boolean reflectiveDelegation
The cached value of the 'Reflective Delegation' attribute.

See Also:
isReflectiveDelegation()

CODE_FORMATTING_EDEFAULT

protected static final boolean CODE_FORMATTING_EDEFAULT
The default value of the 'Code Formatting' attribute.

See Also:
isCodeFormatting(), Constant Field Values

codeFormatting

protected boolean codeFormatting
The cached value of the 'Code Formatting' attribute.

See Also:
isCodeFormatting()

TESTS_DIRECTORY_EDEFAULT

protected static final String TESTS_DIRECTORY_EDEFAULT
The default value of the 'Tests Directory' attribute.

See Also:
getTestsDirectory()

testsDirectory

protected String testsDirectory
The cached value of the 'Tests Directory' attribute.

See Also:
getTestsDirectory()

testsDirectoryESet

protected boolean testsDirectoryESet
This is true if the Tests Directory attribute has been set.


TEST_SUITE_CLASS_EDEFAULT

protected static final String TEST_SUITE_CLASS_EDEFAULT
The default value of the 'Test Suite Class' attribute.

See Also:
getTestSuiteClass()

testSuiteClass

protected String testSuiteClass
The cached value of the 'Test Suite Class' attribute.

See Also:
getTestSuiteClass()

testSuiteClassESet

protected boolean testSuiteClassESet
This is true if the Test Suite Class attribute has been set.


BOOLEAN_FLAGS_FIELD_EDEFAULT

protected static final String BOOLEAN_FLAGS_FIELD_EDEFAULT
The default value of the 'Boolean Flags Field' attribute.

See Also:
getBooleanFlagsField()

booleanFlagsField

protected String booleanFlagsField
The cached value of the 'Boolean Flags Field' attribute.

See Also:
getBooleanFlagsField()

BOOLEAN_FLAGS_RESERVED_BITS_EDEFAULT

protected static final int BOOLEAN_FLAGS_RESERVED_BITS_EDEFAULT
The default value of the 'Boolean Flags Reserved Bits' attribute.

See Also:
getBooleanFlagsReservedBits(), Constant Field Values

booleanFlagsReservedBits

protected int booleanFlagsReservedBits
The cached value of the 'Boolean Flags Reserved Bits' attribute.

See Also:
getBooleanFlagsReservedBits()

IMPORTER_ID_EDEFAULT

protected static final String IMPORTER_ID_EDEFAULT
The default value of the 'Importer ID' attribute.

See Also:
getImporterID()

importerID

protected String importerID
The cached value of the 'Importer ID' attribute.

See Also:
getImporterID()

BUNDLE_MANIFEST_EDEFAULT

protected static final boolean BUNDLE_MANIFEST_EDEFAULT
The default value of the 'Bundle Manifest' attribute.

See Also:
isBundleManifest(), Constant Field Values

bundleManifest

protected boolean bundleManifest
The cached value of the 'Bundle Manifest' attribute.

See Also:
isBundleManifest()

genPackages

protected EList genPackages
The cached value of the 'Gen Packages' containment reference list.

See Also:
getGenPackages()

staticGenPackages

protected EList staticGenPackages

usedGenPackages

protected EList usedGenPackages
The cached value of the 'Used Gen Packages' reference list.

See Also:
getUsedGenPackages()

importManager

protected ImportManager importManager

importStringBuffer

protected StringBuffer importStringBuffer

importInsertionPoint

protected int importInsertionPoint

canGenerate

protected boolean canGenerate

jControlModelName

protected String jControlModelName

interfaceTemplateName

protected String interfaceTemplateName

classTemplateName

protected String classTemplateName

enumClassTemplateName

protected String enumClassTemplateName

packageInterfaceTemplateName

protected String packageInterfaceTemplateName

packageClassTemplateName

protected String packageClassTemplateName

factoryInterfaceTemplateName

protected String factoryInterfaceTemplateName

factoryClassTemplateName

protected String factoryClassTemplateName

adapterFactoryClassTemplateName

protected String adapterFactoryClassTemplateName

switchClassTemplateName

protected String switchClassTemplateName

validatorSwitchClassTemplateName

protected String validatorSwitchClassTemplateName

pluginXMLTemplateName

protected String pluginXMLTemplateName

manifestMFTemplateName

protected String manifestMFTemplateName

pluginPropertiesTemplateName

protected String pluginPropertiesTemplateName

buildPropertiesTemplateName

protected String buildPropertiesTemplateName

modelPluginTemplateName

protected String modelPluginTemplateName

resourceTemplateName

protected String resourceTemplateName

resourceFactoryTemplateName

protected String resourceFactoryTemplateName

templatePath

protected String[] templatePath

jControlModel

protected JControlModel jControlModel

interfaceEmitter

protected JETEmitter interfaceEmitter

classEmitter

protected JETEmitter classEmitter

enumClassEmitter

protected JETEmitter enumClassEmitter

packageInterfaceEmitter

protected JETEmitter packageInterfaceEmitter

packageClassEmitter

protected JETEmitter packageClassEmitter

factoryInterfaceEmitter

protected JETEmitter factoryInterfaceEmitter

factoryClassEmitter

protected JETEmitter factoryClassEmitter

adapterFactoryClassEmitter

protected JETEmitter adapterFactoryClassEmitter

switchClassEmitter

protected JETEmitter switchClassEmitter

validatorSwitchClassEmitter

protected JETEmitter validatorSwitchClassEmitter

pluginXMLEmitter

protected JETEmitter pluginXMLEmitter

manifestMFEmitter

protected JETEmitter manifestMFEmitter

pluginPropertiesEmitter

protected JETEmitter pluginPropertiesEmitter

buildPropertiesEmitter

protected JETEmitter buildPropertiesEmitter

modelPluginClassEmitter

protected JETEmitter modelPluginClassEmitter

resourceClassEmitter

protected JETEmitter resourceClassEmitter

resourceFactoryClassEmitter

protected JETEmitter resourceFactoryClassEmitter

OBJECT_ARGUMENT

public static final Class[] OBJECT_ARGUMENT

extendedMetaData

protected ExtendedMetaData extendedMetaData

itemProviderTemplateName

protected String itemProviderTemplateName

itemProviderAdapterFactoryTemplateName

protected String itemProviderAdapterFactoryTemplateName

editPluginTemplateName

protected String editPluginTemplateName

editPluginXMLTemplateName

protected String editPluginXMLTemplateName

editManifestMFTemplateName

protected String editManifestMFTemplateName

editPluginPropertiesTemplateName

protected String editPluginPropertiesTemplateName

editBuildPropertiesTemplateName

protected String editBuildPropertiesTemplateName

itemGIFName

protected String itemGIFName

createChildGIFName

protected String createChildGIFName

editorTemplateName

protected String editorTemplateName

actionBarContributorTemplateName

protected String actionBarContributorTemplateName

modelWizardTemplateName

protected String modelWizardTemplateName

advisorTemplateName

protected String advisorTemplateName

editorPluginTemplateName

protected String editorPluginTemplateName

editorPluginXMLTemplateName

protected String editorPluginXMLTemplateName

editorManifestMFTemplateName

protected String editorManifestMFTemplateName

editorPluginPropertiesTemplateName

protected String editorPluginPropertiesTemplateName

editorBuildPropertiesTemplateName

protected String editorBuildPropertiesTemplateName

modelGIFName

protected String modelGIFName

modelWizardGIFName

protected String modelWizardGIFName

itemProviderEmitter

protected JETEmitter itemProviderEmitter

itemProviderAdapterFactoryEmitter

protected JETEmitter itemProviderAdapterFactoryEmitter

editPluginClassEmitter

protected JETEmitter editPluginClassEmitter

editPluginXMLEmitter

protected JETEmitter editPluginXMLEmitter

editManifestMFEmitter

protected JETEmitter editManifestMFEmitter

editPluginPropertiesEmitter

protected JETEmitter editPluginPropertiesEmitter

editBuildPropertiesEmitter

protected JETEmitter editBuildPropertiesEmitter

itemGIFEmitter

protected GenBaseImpl.GIFEmitter itemGIFEmitter

createChildGIFEmitter

protected GenBaseImpl.GIFEmitter createChildGIFEmitter

editorEmitter

protected JETEmitter editorEmitter

actionBarContributorEmitter

protected JETEmitter actionBarContributorEmitter

modelWizardEmitter

protected JETEmitter modelWizardEmitter

advisorEmitter

protected JETEmitter advisorEmitter

editorPluginClassEmitter

protected JETEmitter editorPluginClassEmitter

editorManifestMFEmitter

protected JETEmitter editorManifestMFEmitter

editorPluginXMLEmitter

protected JETEmitter editorPluginXMLEmitter

editorPluginPropertiesEmitter

protected JETEmitter editorPluginPropertiesEmitter

editorBuildPropertiesEmitter

protected JETEmitter editorBuildPropertiesEmitter

modelGIFEmitter

protected GenBaseImpl.GIFEmitter modelGIFEmitter

modelWizardGIFEmitter

protected GenBaseImpl.GIFEmitter modelWizardGIFEmitter

testCaseTemplateName

protected String testCaseTemplateName

modelTestSuiteTemplateName

protected String modelTestSuiteTemplateName

packageTestSuiteTemplateName

protected String packageTestSuiteTemplateName

packageExampleTemplateName

protected String packageExampleTemplateName

testsPluginXMLTemplateName

protected String testsPluginXMLTemplateName

testsManifestMFTemplateName

protected String testsManifestMFTemplateName

testsPluginPropertiesTemplateName

protected String testsPluginPropertiesTemplateName

testsBuildPropertiesTemplateName

protected String testsBuildPropertiesTemplateName

testCaseEmitter

protected JETEmitter testCaseEmitter

modelTestSuiteEmitter

protected JETEmitter modelTestSuiteEmitter

packageTestSuiteEmitter

protected JETEmitter packageTestSuiteEmitter

packageExampleEmitter

protected JETEmitter packageExampleEmitter

testsPluginXMLEmitter

protected JETEmitter testsPluginXMLEmitter

testsManifestMFEmitter

protected JETEmitter testsManifestMFEmitter

testsPluginPropertiesEmitter

protected JETEmitter testsPluginPropertiesEmitter

testsBuildPropertiesEmitter

protected JETEmitter testsBuildPropertiesEmitter

rootImplementsInterfaceGenClass

protected GenClass rootImplementsInterfaceGenClass

codeFormatterOptions

protected Map codeFormatterOptions
Constructor Detail

GenModelImpl

protected GenModelImpl()

Method Detail

eStaticClass

protected EClass eStaticClass()

Overrides:
eStaticClass in class GenBaseImpl

getCopyrightText

public String getCopyrightText()

Specified by:
getCopyrightText in interface GenModel
Returns:
the value of the 'Copyright Text' attribute.
See Also:
GenModel.setCopyrightText(String), GenModelPackage.getGenModel_CopyrightText()

setCopyrightText

public void setCopyrightText(String newCopyrightText)

Specified by:
setCopyrightText in interface GenModel
Parameters:
newCopyrightText - the new value of the 'Copyright Text' attribute.
See Also:
GenModel.getCopyrightText()

getSourceFragmentPath

protected String getSourceFragmentPath()

getModelDirectory

public String getModelDirectory()

Specified by:
getModelDirectory in interface GenModel
Returns:
the value of the 'Model Directory' attribute.
See Also:
GenModel.setModelDirectory(String), GenModelPackage.getGenModel_ModelDirectory()

getModelDirectoryGen

public String getModelDirectoryGen()


setModelDirectory

public void setModelDirectory(String newModelDirectory)

Specified by:
setModelDirectory in interface GenModel
Parameters:
newModelDirectory - the new value of the 'Model Directory' attribute.
See Also:
GenModel.getModelDirectory()

isCreationCommands

public boolean isCreationCommands()

Specified by:
isCreationCommands in interface GenModel
Returns:
the value of the 'Creation Commands' attribute.
See Also:
GenModel.setCreationCommands(boolean), GenModelPackage.getGenModel_CreationCommands()

setCreationCommands

public void setCreationCommands(boolean newCreationCommands)

Specified by:
setCreationCommands in interface GenModel
Parameters:
newCreationCommands - the new value of the 'Creation Commands' attribute.
See Also:
GenModel.isCreationCommands()

isCreationIcons

public boolean isCreationIcons()

Specified by:
isCreationIcons in interface GenModel
Returns:
the value of the 'Creation Icons' attribute.
See Also:
GenModel.setCreationIcons(boolean), GenModelPackage.getGenModel_CreationIcons()

setCreationIcons

public void setCreationIcons(boolean newCreationIcons)

Specified by:
setCreationIcons in interface GenModel
Parameters:
newCreationIcons - the new value of the 'Creation Icons' attribute.
See Also:
GenModel.isCreationIcons()

markImportLocation

public void markImportLocation(StringBuffer stringBuffer,
                               GenPackage genPackage)
Specified by:
markImportLocation in interface GenModel

markImportLocation

public void markImportLocation(StringBuffer stringBuffer)
Specified by:
markImportLocation in interface GenModel

emitSortedImports

public void emitSortedImports()
Specified by:
emitSortedImports in interface GenModel

getImportedName

public String getImportedName(String qualifiedName)
Specified by:
getImportedName in interface GenModel

addImport

public void addImport(String qualifiedName)
Specified by:
addImport in interface GenModel

addPseudoImport

public void addPseudoImport(String qualifiedName)
Specified by:
addPseudoImport in interface GenModel

getImportManager

protected ImportManager getImportManager()
Overrides:
getImportManager in class GenBaseImpl

setImportManager

protected void setImportManager(ImportManager importManager)
Overrides:
setImportManager in class GenBaseImpl

getDriverNumber

public String getDriverNumber()
Specified by:
getDriverNumber in interface GenModel

getDate

public String getDate()
Specified by:
getDate in interface GenModel

getNonNLS

public String getNonNLS()
Specified by:
getNonNLS in interface GenModel

getNonNLS

public String getNonNLS(int i)
Specified by:
getNonNLS in interface GenModel

getNonNLS

public String getNonNLS(String s)
Specified by:
getNonNLS in interface GenModel

getNonNLS

public String getNonNLS(String s,
                        int i)
Specified by:
getNonNLS in interface GenModel

initialize

public void initialize(Collection ePackages)
Specified by:
initialize in interface GenModel

getTemplatePath

protected String[] getTemplatePath()

getJControlModel

public JControlModel getJControlModel()
Specified by:
getJControlModel in interface GenModel

setMethod

public void setMethod(JETEmitter jetEmitter,
                      String className)

createJETEmitter

protected JETEmitter createJETEmitter(String relativeTemplateURI)

addClasspathEntries

protected void addClasspathEntries(JETEmitter jetEmitter)
                            throws JETException
Throws:
JETException

getInterfaceEmitter

public JETEmitter getInterfaceEmitter()
Specified by:
getInterfaceEmitter in interface GenModel

getClassEmitter

public JETEmitter getClassEmitter()
Specified by:
getClassEmitter in interface GenModel

getEnumClassEmitter

public JETEmitter getEnumClassEmitter()
Specified by:
getEnumClassEmitter in interface GenModel

getFactoryInterfaceEmitter

public JETEmitter getFactoryInterfaceEmitter()
Specified by:
getFactoryInterfaceEmitter in interface GenModel

getFactoryClassEmitter

public JETEmitter getFactoryClassEmitter()
Specified by:
getFactoryClassEmitter in interface GenModel

getPackageInterfaceEmitter

public JETEmitter getPackageInterfaceEmitter()
Specified by:
getPackageInterfaceEmitter in interface GenModel

getPackageClassEmitter

public JETEmitter getPackageClassEmitter()
Specified by:
getPackageClassEmitter in interface GenModel

getAdapterFactoryClassEmitter

public JETEmitter getAdapterFactoryClassEmitter()
Specified by:
getAdapterFactoryClassEmitter in interface GenModel

getSwitchClassEmitter

public JETEmitter getSwitchClassEmitter()
Specified by:
getSwitchClassEmitter in interface GenModel

getValidatorClassEmitter

public JETEmitter getValidatorClassEmitter()
Specified by:
getValidatorClassEmitter in interface GenModel

getPluginXMLEmitter

public JETEmitter getPluginXMLEmitter()
Specified by:
getPluginXMLEmitter in interface GenModel

getManifestMFEmitter

public JETEmitter getManifestMFEmitter()
Specified by:
getManifestMFEmitter in interface GenModel

getPluginPropertiesEmitter

public JETEmitter getPluginPropertiesEmitter()

getBuildPropertiesEmitter

public JETEmitter getBuildPropertiesEmitter()
Specified by:
getBuildPropertiesEmitter in interface GenModel

getModelPluginClassEmitter

public JETEmitter getModelPluginClassEmitter()
Specified by:
getModelPluginClassEmitter in interface GenModel

getResourceClassEmitter

public JETEmitter getResourceClassEmitter()
Specified by:
getResourceClassEmitter in interface GenModel

getResourceFactoryClassEmitter

public JETEmitter getResourceFactoryClassEmitter()
Specified by:
getResourceFactoryClassEmitter in interface GenModel

hasModelSupport

protected boolean hasModelSupport()

canGenerate

public boolean canGenerate()
Specified by:
canGenerate in interface GenBase
Overrides:
canGenerate in class GenBaseImpl

setCanGenerate

public void setCanGenerate(boolean canGenerate)
Specified by:
setCanGenerate in interface GenModel

validate

public IStatus validate()
Specified by:
validate in interface GenModel

getExtendedMetaData

public ExtendedMetaData getExtendedMetaData()
Specified by:
getExtendedMetaData in interface GenModel
Overrides:
getExtendedMetaData in class GenBaseImpl

populateExtendedMetaData

protected void populateExtendedMetaData(List genPackages)

hasPluginSupport

public boolean hasPluginSupport()
Specified by:
hasPluginSupport in interface GenModel

generate

public void generate(IProgressMonitor progressMonitor)
Specified by:
generate in interface GenBase
Overrides:
generate in class GenBaseImpl

hasEditSupport

public boolean hasEditSupport()
Specified by:
hasEditSupport in interface GenModel

canGenerateEdit

public boolean canGenerateEdit()
Specified by:
canGenerateEdit in interface GenBase
Overrides:
canGenerateEdit in class GenBaseImpl

generateEdit

public void generateEdit(IProgressMonitor progressMonitor)
Specified by:
generateEdit in interface GenBase
Overrides:
generateEdit in class GenBaseImpl

hasEditorSupport

public boolean hasEditorSupport()
Specified by:
hasEditorSupport in interface GenModel

canGenerateEditor

public boolean canGenerateEditor()
Specified by:
canGenerateEditor in interface GenBase
Overrides:
canGenerateEditor in class GenBaseImpl

generateEditor

public void generateEditor(IProgressMonitor progressMonitor)
Specified by:
generateEditor in interface GenBase
Overrides:
generateEditor in class GenBaseImpl

canGenerateSchema

public boolean canGenerateSchema()
Specified by:
canGenerateSchema in interface GenBase
Overrides:
canGenerateSchema in class GenBaseImpl

generateSchema

public void generateSchema(IProgressMonitor progressMonitor)
Specified by:
generateSchema in interface GenBase
Overrides:
generateSchema in class GenBaseImpl

hasTestSupport

public boolean hasTestSupport()
Specified by:
hasTestSupport in interface GenModel

canGenerateTests

public boolean canGenerateTests()
Specified by:
canGenerateTests in interface GenBase
Overrides:
canGenerateTests in class GenBaseImpl

generateTests

public void generateTests(IProgressMonitor progressMonitor)
Specified by:
generateTests in interface GenBase
Overrides:
generateTests in class GenBaseImpl

getItemProviderEmitter

public JETEmitter getItemProviderEmitter()
Specified by:
getItemProviderEmitter in interface GenModel

getItemProviderAdapterFactoryEmitter

public JETEmitter getItemProviderAdapterFactoryEmitter()
Specified by:
getItemProviderAdapterFactoryEmitter in interface GenModel

getEditPluginClassEmitter

public JETEmitter getEditPluginClassEmitter()
Specified by:
getEditPluginClassEmitter in interface GenModel

getEditPluginXMLEmitter

public JETEmitter getEditPluginXMLEmitter()
Specified by:
getEditPluginXMLEmitter in interface GenModel

getEditManifestMFEmitter

public JETEmitter getEditManifestMFEmitter()
Specified by:
getEditManifestMFEmitter in interface GenModel

getEditPluginPropertiesEmitter

public JETEmitter getEditPluginPropertiesEmitter()
Specified by:
getEditPluginPropertiesEmitter in interface GenModel

getEditBuildPropertiesEmitter

public JETEmitter getEditBuildPropertiesEmitter()
Specified by:
getEditBuildPropertiesEmitter in interface GenModel

getItemGIFEmitter

public GenBaseImpl.GIFEmitter getItemGIFEmitter()

getCreateChildGIFEmitter

public GenBaseImpl.GIFEmitter getCreateChildGIFEmitter()

getModelGIFEmitter

public GenBaseImpl.GIFEmitter getModelGIFEmitter()

getModelWizardGIFEmitter

public GenBaseImpl.GIFEmitter getModelWizardGIFEmitter()

getEditorEmitter

public JETEmitter getEditorEmitter()
Specified by:
getEditorEmitter in interface GenModel

getActionBarContributorEmitter

public JETEmitter getActionBarContributorEmitter()
Specified by:
getActionBarContributorEmitter in interface GenModel

getModelWizardEmitter

public JETEmitter getModelWizardEmitter()
Specified by:
getModelWizardEmitter in interface GenModel

getEditorAdvisorEmitter

public JETEmitter getEditorAdvisorEmitter()
Specified by:
getEditorAdvisorEmitter in interface GenModel

getEditorPluginClassEmitter

public JETEmitter getEditorPluginClassEmitter()
Specified by:
getEditorPluginClassEmitter in interface GenModel

getEditorPluginXMLEmitter

public JETEmitter getEditorPluginXMLEmitter()
Specified by:
getEditorPluginXMLEmitter in interface GenModel

getEditorManifestMFEmitter

public JETEmitter getEditorManifestMFEmitter()
Specified by:
getEditorManifestMFEmitter in interface GenModel

getEditorPluginPropertiesEmitter

public JETEmitter getEditorPluginPropertiesEmitter()
Specified by:
getEditorPluginPropertiesEmitter in interface GenModel

getEditorBuildPropertiesEmitter

public JETEmitter getEditorBuildPropertiesEmitter()
Specified by:
getEditorBuildPropertiesEmitter in interface GenModel

getTestCaseEmitter

public JETEmitter getTestCaseEmitter()
Specified by:
getTestCaseEmitter in interface GenModel

getModelTestSuiteEmitter

public JETEmitter getModelTestSuiteEmitter()
Specified by:
getModelTestSuiteEmitter in interface GenModel

getPackageTestSuiteEmitter

public JETEmitter getPackageTestSuiteEmitter()
Specified by:
getPackageTestSuiteEmitter in interface GenModel

getPackageExampleEmitter

public JETEmitter getPackageExampleEmitter()
Specified by:
getPackageExampleEmitter in interface GenModel

getTestsPluginXMLEmitter

public JETEmitter getTestsPluginXMLEmitter()
Specified by:
getTestsPluginXMLEmitter in interface GenModel

getTestsManifestMFEmitter

public JETEmitter getTestsManifestMFEmitter()
Specified by:
getTestsManifestMFEmitter in interface GenModel

getTestsPluginPropertiesEmitter

public JETEmitter getTestsPluginPropertiesEmitter()
Specified by:
getTestsPluginPropertiesEmitter in interface GenModel

getTestsBuildPropertiesEmitter

public JETEmitter getTestsBuildPropertiesEmitter()
Specified by:
getTestsBuildPropertiesEmitter in interface GenModel

getPluginDirectory

protected String getPluginDirectory(boolean isSet,
                                    String baseDirectory,
                                    String suffix)

getEditDirectory

public String getEditDirectory()
Description copied from interface: GenModel
Returns the value of the 'Edit Directory' attribute.

When unset, this attribute takes a default value based on #getModelDirectory.

Specified by:
getEditDirectory in interface GenModel
Returns:
the value of the 'Edit Directory' attribute.
See Also:
GenModel.isSetEditDirectory(), GenModel.unsetEditDirectory(), GenModel.setEditDirectory(String), GenModelPackage.getGenModel_EditDirectory()

getEditDirectoryGen

public String getEditDirectoryGen()


setEditDirectory

public void setEditDirectory(String newEditDirectory)

Specified by:
setEditDirectory in interface GenModel
Parameters:
newEditDirectory - the new value of the 'Edit Directory' attribute.
See Also:
GenModel.isSetEditDirectory(), GenModel.unsetEditDirectory(), GenModel.getEditDirectory()

unsetEditDirectory

public void unsetEditDirectory()

Specified by:
unsetEditDirectory in interface GenModel
See Also:
GenModel.isSetEditDirectory(), GenModel.getEditDirectory(), GenModel.setEditDirectory(String)

isSetEditDirectory

public boolean isSetEditDirectory()

Specified by:
isSetEditDirectory in interface GenModel
Returns:
whether the value of the 'Edit Directory' attribute is set.
See Also:
GenModel.unsetEditDirectory(), GenModel.getEditDirectory(), GenModel.setEditDirectory(String)

getEditorDirectory

public String getEditorDirectory()
Description copied from interface: GenModel
Returns the value of the 'Editor Directory' attribute.

When unset, this attribute takes a default value based on #getModelDirectory.

Specified by:
getEditorDirectory in interface GenModel
Returns:
the value of the 'Editor Directory' attribute.
See Also:
GenModel.isSetEditorDirectory(), GenModel.unsetEditorDirectory(), GenModel.setEditorDirectory(String), GenModelPackage.getGenModel_EditorDirectory()

getEditorDirectoryGen

public String getEditorDirectoryGen()


setEditorDirectory

public void setEditorDirectory(String newEditorDirectory)

Specified by:
setEditorDirectory in interface GenModel
Parameters:
newEditorDirectory - the new value of the 'Editor Directory' attribute.
See Also:
GenModel.isSetEditorDirectory(), GenModel.unsetEditorDirectory(), GenModel.getEditorDirectory()

unsetEditorDirectory

public void unsetEditorDirectory()

Specified by:
unsetEditorDirectory in interface GenModel
See Also:
GenModel.isSetEditorDirectory(), GenModel.getEditorDirectory(), GenModel.setEditorDirectory(String)

isSetEditorDirectory

public boolean isSetEditorDirectory()

Specified by:
isSetEditorDirectory in interface GenModel
Returns:
whether the value of the 'Editor Directory' attribute is set.
See Also:
GenModel.unsetEditorDirectory(), GenModel.getEditorDirectory(), GenModel.setEditorDirectory(String)

getModelPluginID

public String getModelPluginID()

Specified by:
getModelPluginID in interface GenModel
Returns:
the value of the 'Model Plugin ID' attribute.
See Also:
GenModel.setModelPluginID(String), GenModelPackage.getGenModel_ModelPluginID()

setModelPluginID

public void setModelPluginID(String newModelPluginID)

Specified by:
setModelPluginID in interface GenModel
Parameters:
newModelPluginID - the new value of the 'Model Plugin ID' attribute.
See Also:
GenModel.getModelPluginID()

getTemplateDirectory

public String getTemplateDirectory()

Specified by:
getTemplateDirectory in interface GenModel
Returns:
the value of the 'Template Directory' attribute.
See Also:
GenModel.setTemplateDirectory(String), GenModelPackage.getGenModel_TemplateDirectory()

setTemplateDirectory

public void setTemplateDirectory(String newTemplateDirectory)

Specified by:
setTemplateDirectory in interface GenModel
Parameters:
newTemplateDirectory - the new value of the 'Template Directory' attribute.
See Also:
GenModel.getTemplateDirectory()

isRuntimeJar

public boolean isRuntimeJar()

Specified by:
isRuntimeJar in interface GenModel
Returns:
the value of the 'Runtime Jar' attribute.
See Also:
GenModel.setRuntimeJar(boolean), GenModelPackage.getGenModel_RuntimeJar()

setRuntimeJar

public void setRuntimeJar(boolean newRuntimeJar)

Specified by:
setRuntimeJar in interface GenModel
Parameters:
newRuntimeJar - the new value of the 'Runtime Jar' attribute.
See Also:
GenModel.isRuntimeJar()

getForeignModel

public EList getForeignModel()

Specified by:
getForeignModel in interface GenModel
Returns:
the value of the 'Foreign Model' attribute list.
See Also:
GenModelPackage.getGenModel_ForeignModel()

isDynamicTemplates

public boolean isDynamicTemplates()

Specified by:
isDynamicTemplates in interface GenModel
Returns:
the value of the 'Dynamic Templates' attribute.
See Also:
GenModel.setDynamicTemplates(boolean), GenModelPackage.getGenModel_DynamicTemplates()

setDynamicTemplates

public void setDynamicTemplates(boolean newDynamicTemplates)

Specified by:
setDynamicTemplates in interface GenModel
Parameters:
newDynamicTemplates - the new value of the 'Dynamic Templates' attribute.
See Also:
GenModel.isDynamicTemplates()

getRedirection

public String getRedirection()

Specified by:
getRedirection in interface GenModel
Returns:
the value of the 'Redirection' attribute.
See Also:
GenModel.setRedirection(String), GenModelPackage.getGenModel_Redirection()

setRedirection

public void setRedirection(String newRedirection)

Specified by:
setRedirection in interface GenModel
Parameters:
newRedirection - the new value of the 'Redirection' attribute.
See Also:
GenModel.getRedirection()

isForceOverwrite

public boolean isForceOverwrite()

Specified by:
isForceOverwrite in interface GenModel
Returns:
the value of the 'Force Overwrite' attribute.
See Also:
GenModel.setForceOverwrite(boolean), GenModelPackage.getGenModel_ForceOverwrite()

setForceOverwrite

public void setForceOverwrite(boolean newForceOverwrite)

Specified by:
setForceOverwrite in interface GenModel
Parameters:
newForceOverwrite - the new value of the 'Force Overwrite' attribute.
See Also:
GenModel.isForceOverwrite()

getNonExternalizedStringTag

public String getNonExternalizedStringTag()

Specified by:
getNonExternalizedStringTag in interface GenModel
Returns:
the value of the 'Non Externalized String Tag' attribute.
See Also:
GenModel.setNonExternalizedStringTag(String), GenModelPackage.getGenModel_NonExternalizedStringTag()

setNonExternalizedStringTagGen

public void setNonExternalizedStringTagGen(String newNonExternalizedStringTag)


setNonExternalizedStringTag

public void setNonExternalizedStringTag(String newNonExternalizedStringTag)
Description copied from interface: GenModel
Sets the value of the 'Non Externalized String Tag' attribute.

This attribute has been replaced by nonNLSMarkers. To automate the transition, this sets the attribute null, and calls setNonNLSMarkers(value != null).

Specified by:
setNonExternalizedStringTag in interface GenModel
Parameters:
newNonExternalizedStringTag - the new value of the 'Non Externalized String Tag' attribute.
See Also:
GenModel.getNonExternalizedStringTag()

getName

public String getName()
Specified by:
getName in class GenBaseImpl

getModelName

public String getModelName()

Specified by:
getModelName in interface GenModel
Returns:
the value of the 'Model Name' attribute.
See Also:
GenModel.setModelName(String), GenModelPackage.getGenModel_ModelName()

setModelName

public void setModelName(String newModelName)

Specified by:
setModelName in interface GenModel
Parameters:
newModelName - the new value of the 'Model Name' attribute.
See Also:
GenModel.getModelName()

getModelPluginClass

public String getModelPluginClass()

Specified by:
getModelPluginClass in interface GenModel
Returns:
the value of the 'Model Plugin Class' attribute.
See Also:
GenModel.setModelPluginClass(String), GenModelPackage.getGenModel_ModelPluginClass()

getPluginClass

protected String getPluginClass(boolean isSet,
                                String baseName,
                                String packageSuffix,
                                String classSuffix)

setModelPluginClass

public void setModelPluginClass(String newModelPluginClass)

Specified by:
setModelPluginClass in interface GenModel
Parameters:
newModelPluginClass - the new value of the 'Model Plugin Class' attribute.
See Also:
GenModel.getModelPluginClass()

getEditPluginClass

public String getEditPluginClass()
Description copied from interface: GenModel
Returns the value of the 'Edit Plugin Class' attribute.

When unset, this attribute takes a default value based on #getModelName, and the first of the #getGenPackages.

Specified by:
getEditPluginClass in interface GenModel
Returns:
the value of the 'Edit Plugin Class' attribute.
See Also:
GenModel.isSetEditPluginClass(), GenModel.unsetEditPluginClass(), GenModel.setEditPluginClass(String), GenModelPackage.getGenModel_EditPluginClass()

getEditPluginClassGen

public String getEditPluginClassGen()


getModelProject

protected String getModelProject()

getMainPackage

protected String getMainPackage()

getMainGenPackage

protected GenPackage getMainGenPackage()

setEditPluginClass

public void setEditPluginClass(String newEditPluginClass)

Specified by:
setEditPluginClass in interface GenModel
Parameters:
newEditPluginClass - the new value of the 'Edit Plugin Class' attribute.
See Also:
GenModel.isSetEditPluginClass(), GenModel.unsetEditPluginClass(), GenModel.getEditPluginClass()

unsetEditPluginClass

public void unsetEditPluginClass()

Specified by:
unsetEditPluginClass in interface GenModel
See Also:
GenModel.isSetEditPluginClass(), GenModel.getEditPluginClass(), GenModel.setEditPluginClass(String)

isSetEditPluginClass

public boolean isSetEditPluginClass()

Specified by:
isSetEditPluginClass in interface GenModel
Returns:
whether the value of the 'Edit Plugin Class' attribute is set.
See Also:
GenModel.unsetEditPluginClass(), GenModel.getEditPluginClass(), GenModel.setEditPluginClass(String)

getEditorPluginClass

public String getEditorPluginClass()
Description copied from interface: GenModel
Returns the value of the 'Editor Plugin Class' attribute.

When unset, this attribute takes a default value based on #getModelName, and the first of the #getGenPackages.

Specified by:
getEditorPluginClass in interface GenModel
Returns:
the value of the 'Editor Plugin Class' attribute.
See Also:
GenModel.isSetEditorPluginClass(), GenModel.unsetEditorPluginClass(), GenModel.setEditorPluginClass(String), GenModelPackage.getGenModel_EditorPluginClass()

getEditorPluginClassGen

public String getEditorPluginClassGen()


setEditorPluginClass

public void setEditorPluginClass(String newEditorPluginClass)

Specified by:
setEditorPluginClass in interface GenModel
Parameters:
newEditorPluginClass - the new value of the 'Editor Plugin Class' attribute.
See Also:
GenModel.isSetEditorPluginClass(), GenModel.unsetEditorPluginClass(), GenModel.getEditorPluginClass()

unsetEditorPluginClass

public void unsetEditorPluginClass()

Specified by:
unsetEditorPluginClass in interface GenModel
See Also:
GenModel.isSetEditorPluginClass(), GenModel.getEditorPluginClass(), GenModel.setEditorPluginClass(String)

isSetEditorPluginClass

public boolean isSetEditorPluginClass()

Specified by:
isSetEditorPluginClass in interface GenModel
Returns:
whether the value of the 'Editor Plugin Class' attribute is set.
See Also:
GenModel.unsetEditorPluginClass(), GenModel.getEditorPluginClass(), GenModel.setEditorPluginClass(String)

isUpdateClasspath

public boolean isUpdateClasspath()

Specified by:
isUpdateClasspath in interface GenModel
Returns:
the value of the 'Update Classpath' attribute.
See Also:
GenModel.setUpdateClasspath(boolean), GenModelPackage.getGenModel_UpdateClasspath()

setUpdateClasspath

public void setUpdateClasspath(boolean newUpdateClasspath)

Specified by:
setUpdateClasspath in interface GenModel
Parameters:
newUpdateClasspath - the new value of the 'Update Classpath' attribute.
See Also:
GenModel.isUpdateClasspath()

isGenerateSchema

public boolean isGenerateSchema()

Specified by:
isGenerateSchema in interface GenModel
Returns:
the value of the 'Generate Schema' attribute.
See Also:
GenModel.setGenerateSchema(boolean), GenModelPackage.getGenModel_GenerateSchema()

setGenerateSchema

public void setGenerateSchema(boolean newGenerateSchema)

Specified by:
setGenerateSchema in interface GenModel
Parameters:
newGenerateSchema - the new value of the 'Generate Schema' attribute.
See Also:
GenModel.isGenerateSchema()

isNonNLSMarkers

public boolean isNonNLSMarkers()

Specified by:
isNonNLSMarkers in interface GenModel
Returns:
the value of the 'Non NLS Markers' attribute.
See Also:
GenModel.setNonNLSMarkers(boolean), GenModelPackage.getGenModel_NonNLSMarkers()

setNonNLSMarkersGen

public void setNonNLSMarkersGen(boolean newNonNLSMarkers)


setNonNLSMarkers

public void setNonNLSMarkers(boolean newNonNLSMarkers)
Description copied from interface: GenModel
Sets the value of the 'Non NLS Markers' attribute.

As a side effect, this method sets nonExternalizedStringTag to null.

Specified by:
setNonNLSMarkers in interface GenModel
Parameters:
newNonNLSMarkers - the new value of the 'Non NLS Markers' attribute.
See Also:
GenModel.isNonNLSMarkers()

getStaticPackages

public EList getStaticPackages()

Specified by:
getStaticPackages in interface GenModel
Returns:
the value of the 'Static Packages' attribute list.
See Also:
GenModelPackage.getGenModel_StaticPackages()

getModelPluginVariables

public EList getModelPluginVariables()

Specified by:
getModelPluginVariables in interface GenModel
Returns:
the value of the 'Model Plugin Variables' attribute list.
See Also:
GenModelPackage.getGenModel_ModelPluginVariables()

getRootExtendsInterface

public String getRootExtendsInterface()

Specified by:
getRootExtendsInterface in interface GenModel
Returns:
the value of the 'Root Extends Interface' attribute.
See Also:
GenModel.setRootExtendsInterface(String), GenModelPackage.getGenModel_RootExtendsInterface()

setRootExtendsInterface

public void setRootExtendsInterface(String newRootExtendsInterface)

Specified by:
setRootExtendsInterface in interface GenModel
Parameters:
newRootExtendsInterface - the new value of the 'Root Extends Interface' attribute.
See Also:
GenModel.getRootExtendsInterface()

getRootExtendsClass

public String getRootExtendsClass()

Specified by:
getRootExtendsClass in interface GenModel
Returns:
the value of the 'Root Extends Class' attribute.
See Also:
GenModel.setRootExtendsClass(String), GenModelPackage.getGenModel_RootExtendsClass()

setRootExtendsClass

public void setRootExtendsClass(String newRootExtendsClass)

Specified by:
setRootExtendsClass in interface GenModel
Parameters:
newRootExtendsClass - the new value of the 'Root Extends Class' attribute.
See Also:
GenModel.getRootExtendsClass()

getRootImplementsInterface

public String getRootImplementsInterface()

Specified by:
getRootImplementsInterface in interface GenModel
Returns:
the value of the 'Root Implements Interface' attribute.
See Also:
GenModel.setRootImplementsInterface(String), GenModelPackage.getGenModel_RootImplementsInterface()

getRootImplementsInterfaceGenClass

public GenClass getRootImplementsInterfaceGenClass()
Specified by:
getRootImplementsInterfaceGenClass in interface GenModel

setRootImplementsInterfaceGen

public void setRootImplementsInterfaceGen(String newRootImplementsInterface)


setRootImplementsInterface

public void setRootImplementsInterface(String newRootImplementsInterface)
Description copied from interface: GenModel
Sets the value of the 'Root Implements Interface' attribute.

Specified by:
setRootImplementsInterface in interface GenModel
Parameters:
newRootImplementsInterface - the new value of the 'Root Implements Interface' attribute.
See Also:
GenModel.getRootImplementsInterface()

getEffectiveModelPluginVariables

public List getEffectiveModelPluginVariables()
Specified by:
getEffectiveModelPluginVariables in interface GenModel

getEffectiveModelPluginIDs

public List getEffectiveModelPluginIDs()

isSuppressEMFTypes

public boolean isSuppressEMFTypes()

Specified by:
isSuppressEMFTypes in interface GenModel
Returns:
the value of the 'Suppress EMF Types' attribute.
See Also:
GenModel.setSuppressEMFTypes(boolean), GenModelPackage.getGenModel_SuppressEMFTypes()

setSuppressEMFTypes

public void setSuppressEMFTypes(boolean newSuppressEMFTypes)

Specified by:
setSuppressEMFTypes in interface GenModel
Parameters:
newSuppressEMFTypes - the new value of the 'Suppress EMF Types' attribute.
See Also:
GenModel.isSuppressEMFTypes()

getFeatureMapWrapperInterface

public String getFeatureMapWrapperInterface()

Specified by:
getFeatureMapWrapperInterface in interface GenModel
Returns:
the value of the 'Feature Map Wrapper Interface' attribute.
See Also:
GenModel.setFeatureMapWrapperInterface(String), GenModelPackage.getGenModel_FeatureMapWrapperInterface()

setFeatureMapWrapperInterface

public void setFeatureMapWrapperInterface(String newFeatureMapWrapperInterface)

Specified by:
setFeatureMapWrapperInterface in interface GenModel
Parameters:
newFeatureMapWrapperInterface - the new value of the 'Feature Map Wrapper Interface' attribute.
See Also:
GenModel.getFeatureMapWrapperInterface()

getFeatureMapWrapperInternalInterface

public String getFeatureMapWrapperInternalInterface()

Specified by:
getFeatureMapWrapperInternalInterface in interface GenModel
Returns:
the value of the 'Feature Map Wrapper Internal Interface' attribute.
See Also:
GenModel.setFeatureMapWrapperInternalInterface(String), GenModelPackage.getGenModel_FeatureMapWrapperInternalInterface()

setFeatureMapWrapperInternalInterface

public void setFeatureMapWrapperInternalInterface(String newFeatureMapWrapperInternalInterface)

Specified by:
setFeatureMapWrapperInternalInterface in interface GenModel
Parameters:
newFeatureMapWrapperInternalInterface - the new value of the 'Feature Map Wrapper Internal Interface' attribute.
See Also:
GenModel.getFeatureMapWrapperInternalInterface()

getFeatureMapWrapperClass

public String getFeatureMapWrapperClass()

Specified by:
getFeatureMapWrapperClass in interface GenModel
Returns:
the value of the 'Feature Map Wrapper Class' attribute.
See Also:
GenModel.setFeatureMapWrapperClass(String), GenModelPackage.getGenModel_FeatureMapWrapperClass()

setFeatureMapWrapperClass

public void setFeatureMapWrapperClass(String newFeatureMapWrapperClass)

Specified by:
setFeatureMapWrapperClass in interface GenModel
Parameters:
newFeatureMapWrapperClass - the new value of the 'Feature Map Wrapper Class' attribute.
See Also:
GenModel.getFeatureMapWrapperClass()

isRuntimeCompatibility

public boolean isRuntimeCompatibility()

Specified by:
isRuntimeCompatibility in interface GenModel
Returns:
the value of the 'Runtime Compatibility' attribute.
See Also:
GenModel.setRuntimeCompatibility(boolean), GenModelPackage.getGenModel_RuntimeCompatibility()

needsRuntimeCompatibility

public boolean needsRuntimeCompatibility()
Specified by:
needsRuntimeCompatibility in interface GenModel

setRuntimeCompatibility

public void setRuntimeCompatibility(boolean newRuntimeCompatibility)

Specified by:
setRuntimeCompatibility in interface GenModel
Parameters:
newRuntimeCompatibility - the new value of the 'Runtime Compatibility' attribute.
See Also:
GenModel.isRuntimeCompatibility()

isRichClientPlatform

public boolean isRichClientPlatform()

Specified by:
isRichClientPlatform in interface GenModel
Returns:
the value of the 'Rich Client Platform' attribute.
See Also:
GenModel.setRichClientPlatform(boolean), GenModelPackage.getGenModel_RichClientPlatform()

setRichClientPlatform

public void setRichClientPlatform(boolean newRichClientPlatform)

Specified by:
setRichClientPlatform in interface GenModel
Parameters:
newRichClientPlatform - the new value of the 'Rich Client Platform' attribute.
See Also:
GenModel.isRichClientPlatform()

isReflectiveDelegation

public boolean isReflectiveDelegation()

Specified by:
isReflectiveDelegation in interface GenModel
Returns:
the value of the 'Reflective Delegation' attribute.
See Also:
GenModel.setReflectiveDelegation(boolean), GenModelPackage.getGenModel_ReflectiveDelegation()

setReflectiveDelegation

public void setReflectiveDelegation(boolean newReflectiveDelegation)

Specified by:
setReflectiveDelegation in interface GenModel
Parameters:
newReflectiveDelegation - the new value of the 'Reflective Delegation' attribute.
See Also:
GenModel.isReflectiveDelegation()

isCodeFormatting

public boolean isCodeFormatting()

Specified by:
isCodeFormatting in interface GenModel
Returns:
the value of the 'Code Formatting' attribute.
See Also:
GenModel.setCodeFormatting(boolean), GenModelPackage.getGenModel_CodeFormatting()

setCodeFormatting

public void setCodeFormatting(boolean newCodeFormatting)

Specified by:
setCodeFormatting in interface GenModel
Parameters:
newCodeFormatting - the new value of the 'Code Formatting' attribute.
See Also:
GenModel.isCodeFormatting()

getTestsDirectory

public String getTestsDirectory()
Description copied from interface: GenModel
Returns the value of the 'Tests Directory' attribute.

By default, this attribute is set to null. When unset, it takes a default value based on #getModelDirectory.

Specified by:
getTestsDirectory in interface GenModel
Returns:
the value of the 'Tests Directory' attribute.
See Also:
GenModel.isSetTestsDirectory(), GenModel.unsetTestsDirectory(), GenModel.setTestsDirectory(String), GenModelPackage.getGenModel_TestsDirectory()

getTestsDirectoryGen

public String getTestsDirectoryGen()


setTestsDirectory

public void setTestsDirectory(String newTestsDirectory)

Specified by:
setTestsDirectory in interface GenModel
Parameters:
newTestsDirectory - the new value of the 'Tests Directory' attribute.
See Also:
GenModel.isSetTestsDirectory(), GenModel.unsetTestsDirectory(), GenModel.getTestsDirectory()

unsetTestsDirectory

public void unsetTestsDirectory()

Specified by:
unsetTestsDirectory in interface GenModel
See Also:
GenModel.isSetTestsDirectory(), GenModel.getTestsDirectory(), GenModel.setTestsDirectory(String)

isSetTestsDirectory

public boolean isSetTestsDirectory()

Specified by:
isSetTestsDirectory in interface GenModel
Returns:
whether the value of the 'Tests Directory' attribute is set.
See Also:
GenModel.unsetTestsDirectory(), GenModel.getTestsDirectory(), GenModel.setTestsDirectory(String)

getTestSuiteClass

public String getTestSuiteClass()
Description copied from interface: GenModel
Returns the value of the 'Test Suite Class' attribute.

When unset, this attribute takes a default value based on #getModelName, and the first of the #getGenPackages.

Specified by:
getTestSuiteClass in interface GenModel
Returns:
the value of the 'Test Suite Class' attribute.
See Also:
GenModel.isSetTestSuiteClass(), GenModel.unsetTestSuiteClass(), GenModel.setTestSuiteClass(String), GenModelPackage.getGenModel_TestSuiteClass()

getTestSuiteClassGen

public String getTestSuiteClassGen()


setTestSuiteClass

public void setTestSuiteClass(String newTestSuiteClass)

Specified by:
setTestSuiteClass in interface GenModel
Parameters:
newTestSuiteClass - the new value of the 'Test Suite Class' attribute.
See Also:
GenModel.isSetTestSuiteClass(), GenModel.unsetTestSuiteClass(), GenModel.getTestSuiteClass()

unsetTestSuiteClass

public void unsetTestSuiteClass()

Specified by:
unsetTestSuiteClass in interface GenModel
See Also:
GenModel.isSetTestSuiteClass(), GenModel.getTestSuiteClass(), GenModel.setTestSuiteClass(String)

isSetTestSuiteClass

public boolean isSetTestSuiteClass()

Specified by:
isSetTestSuiteClass in interface GenModel
Returns:
whether the value of the 'Test Suite Class' attribute is set.
See Also:
GenModel.unsetTestSuiteClass(), GenModel.getTestSuiteClass(), GenModel.setTestSuiteClass(String)

getBooleanFlagsField

public String getBooleanFlagsField()

Specified by:
getBooleanFlagsField in interface GenModel
Returns:
the value of the 'Boolean Flags Field' attribute.
See Also:
GenModel.setBooleanFlagsField(String), GenModelPackage.getGenModel_BooleanFlagsField()

setBooleanFlagsField

public void setBooleanFlagsField(String newBooleanFlagsField)

Specified by:
setBooleanFlagsField in interface GenModel
Parameters:
newBooleanFlagsField - the new value of the 'Boolean Flags Field' attribute.
See Also:
GenModel.getBooleanFlagsField()

getBooleanFlagsReservedBits

public int getBooleanFlagsReservedBits()

Specified by:
getBooleanFlagsReservedBits in interface GenModel
Returns:
the value of the 'Boolean Flags Reserved Bits' attribute.
See Also:
GenModel.setBooleanFlagsReservedBits(int), GenModelPackage.getGenModel_BooleanFlagsReservedBits()

setBooleanFlagsReservedBits

public void setBooleanFlagsReservedBits(int newBooleanFlagsReservedBits)

Specified by:
setBooleanFlagsReservedBits in interface GenModel
Parameters:
newBooleanFlagsReservedBits - the new value of the 'Boolean Flags Reserved Bits' attribute.
See Also:
GenModel.getBooleanFlagsReservedBits()

getImporterID

public String getImporterID()

Specified by:
getImporterID in interface GenModel
Returns:
the value of the 'Importer ID' attribute.
See Also:
GenModel.setImporterID(String), GenModelPackage.getGenModel_ImporterID()

setImporterID

public void setImporterID(String newImporterID)

Specified by:
setImporterID in interface GenModel
Parameters:
newImporterID - the new value of the 'Importer ID' attribute.
See Also:
GenModel.getImporterID()

isBundleManifest

public boolean isBundleManifest()

Specified by:
isBundleManifest in interface GenModel
Returns:
the value of the 'Bundle Manifest' attribute.
See Also:
GenModel.setBundleManifest(boolean), GenModelPackage.getGenModel_BundleManifest()

setBundleManifest

public void setBundleManifest(boolean newBundleManifest)

Specified by:
setBundleManifest in interface GenModel
Parameters:
newBundleManifest - the new value of the 'Bundle Manifest' attribute.
See Also:
GenModel.isBundleManifest()

getGenPackages

public EList getGenPackages()

Specified by:
getGenPackages in interface GenModel
Returns:
the value of the 'Gen Packages' containment reference list.
See Also:
GenModelPackage.getGenModel_GenPackages(), GenPackage.getGenModel()

getStaticGenPackages

public EList getStaticGenPackages()
Specified by:
getStaticGenPackages in interface GenModel

getUsedGenPackages

public EList getUsedGenPackages()

Specified by:
getUsedGenPackages in interface GenModel
Returns:
the value of the 'Used Gen Packages' reference list.
See Also:
GenModelPackage.getGenModel_UsedGenPackages()

eInverseAdd

public NotificationChain eInverseAdd(InternalEObject otherEnd,
                                     int featureID,
                                     Class baseClass,
                                     NotificationChain msgs)

Specified by:
eInverseAdd in interface InternalEObject
Overrides:
eInverseAdd in class BasicEObjectImpl

eInverseRemove

public NotificationChain eInverseRemove(InternalEObject otherEnd,
                                        int featureID,
                                        Class baseClass,
                                        NotificationChain msgs)

Specified by:
eInverseRemove in interface InternalEObject
Overrides:
eInverseRemove in class BasicEObjectImpl

eGet

public Object eGet(EStructuralFeature eFeature,
                   boolean resolve)

Specified by:
eGet in interface EObject
Overrides:
eGet in class BasicEObjectImpl

eIsSet

public boolean eIsSet(EStructuralFeature eFeature)

Specified by:
eIsSet in interface EObject
Overrides:
eIsSet in class BasicEObjectImpl

eSet

public void eSet(EStructuralFeature eFeature,
                 Object newValue)

Specified by:
eSet in interface EObject
Overrides:
eSet in class BasicEObjectImpl

eUnset

public void eUnset(EStructuralFeature eFeature)

Specified by:
eUnset in interface EObject
Overrides:
eUnset in class BasicEObjectImpl

toString

public String toString()

Overrides:
toString in class BasicEObjectImpl

getProjectPath

protected static String getProjectPath(String path)

getModelProjectDirectory

public String getModelProjectDirectory()
Specified by:
getModelProjectDirectory in interface GenModel

getEditProjectDirectory

public String getEditProjectDirectory()
Specified by:
getEditProjectDirectory in interface GenModel

getEditorProjectDirectory

public String getEditorProjectDirectory()
Specified by:
getEditorProjectDirectory in interface GenModel

getTestsProjectDirectory

public String getTestsProjectDirectory()
Specified by:
getTestsProjectDirectory in interface GenModel

sameModelEditProject

public boolean sameModelEditProject()
Specified by:
sameModelEditProject in interface GenModel

sameEditEditorProject

public boolean sameEditEditorProject()
Specified by:
sameEditEditorProject in interface GenModel

sameModelEditorProject

public boolean sameModelEditorProject()
Specified by:
sameModelEditorProject in interface GenModel

sameModelTestsProject

public boolean sameModelTestsProject()
Specified by:
sameModelTestsProject in interface GenModel

getEditIconsDirectory

public String getEditIconsDirectory()
Specified by:
getEditIconsDirectory in interface GenModel

getEditorIconsDirectory

public String getEditorIconsDirectory()
Specified by:
getEditorIconsDirectory in interface GenModel

getEditPluginID

public String getEditPluginID()
Specified by:
getEditPluginID in interface GenModel

getEditorPluginID

public String getEditorPluginID()
Specified by:
getEditorPluginID in interface GenModel

getTestsPluginID

public String getTestsPluginID()
Specified by:
getTestsPluginID in interface GenModel

hasModelPluginClass

public boolean hasModelPluginClass()
Specified by:
hasModelPluginClass in interface GenModel

getModelPluginClassToUse

protected String getModelPluginClassToUse()

getEditPluginClassToUse

protected String getEditPluginClassToUse()

getEditPluginDirectory

protected String getEditPluginDirectory()

getEditorPluginClassToUse

protected String getEditorPluginClassToUse()

getEditorPluginDirectory

protected String getEditorPluginDirectory()

getPluginClassName

protected String getPluginClassName(String baseName,
                                    String defaultSuffix)

getPluginPackageName

protected String getPluginPackageName(String baseName,
                                      String pluginID)

createPackageName

protected String createPackageName(String text)

getModelPluginPackageName

public String getModelPluginPackageName()
Specified by:
getModelPluginPackageName in interface GenModel

getModelPluginClassName

public String getModelPluginClassName()
Specified by:
getModelPluginClassName in interface GenModel

getQualifiedModelPluginClassName

public String getQualifiedModelPluginClassName()
Specified by:
getQualifiedModelPluginClassName in interface GenModel

getEditPluginPackageName

public String getEditPluginPackageName()
Specified by:
getEditPluginPackageName in interface GenModel

getEditPluginClassName

public String getEditPluginClassName()
Specified by:
getEditPluginClassName in interface GenModel

getQualifiedEditPluginClassName

public String getQualifiedEditPluginClassName()
Specified by:
getQualifiedEditPluginClassName in interface GenModel

getEditorPluginPackageName

public String getEditorPluginPackageName()
Specified by:
getEditorPluginPackageName in interface GenModel

getEditorPluginClassName

public String getEditorPluginClassName()
Specified by:
getEditorPluginClassName in interface GenModel

getQualifiedEditorPluginClassName

public String getQualifiedEditorPluginClassName()
Specified by:
getQualifiedEditorPluginClassName in interface GenModel

getQualifiedEditorAdvisorClassName

public String getQualifiedEditorAdvisorClassName()
Specified by:
getQualifiedEditorAdvisorClassName in interface GenModel

getEditorAdvisorClassName

public String getEditorAdvisorClassName()
Specified by:
getEditorAdvisorClassName in interface GenModel

getTestSuitePackageName

public String getTestSuitePackageName()
Specified by:
getTestSuitePackageName in interface GenModel

getTestSuiteClassName

public String getTestSuiteClassName()
Specified by:
getTestSuiteClassName in interface GenModel

getQualifiedTestSuiteClassName

public String getQualifiedTestSuiteClassName()
Specified by:
getQualifiedTestSuiteClassName in interface GenModel

getAllGenPackagesWithClassifiersHelper

protected void getAllGenPackagesWithClassifiersHelper(List result,
                                                      List genPackages)

getAllGenPackagesWithClassifiers

public List getAllGenPackagesWithClassifiers()
Specified by:
getAllGenPackagesWithClassifiers in interface GenModel

getAllUsedGenPackagesWithClassifiers

public List getAllUsedGenPackagesWithClassifiers()
Specified by:
getAllUsedGenPackagesWithClassifiers in interface GenModel

getAllGenAndUsedGenPackagesWithClassifiers

public List getAllGenAndUsedGenPackagesWithClassifiers()
Specified by:
getAllGenAndUsedGenPackagesWithClassifiers in interface GenModel

getAllGenUsedAndStaticGenPackagesWithClassifiers

public List getAllGenUsedAndStaticGenPackagesWithClassifiers()
Specified by:
getAllGenUsedAndStaticGenPackagesWithClassifiers in interface GenModel

getModelQualifiedPackageNames

public List getModelQualifiedPackageNames()
Specified by:
getModelQualifiedPackageNames in interface GenModel

addQualifiedModelPackageNames

protected void addQualifiedModelPackageNames(List packageNames,
                                             GenPackage genPackage)

getModelRequiredPlugins

public List getModelRequiredPlugins()
Specified by:
getModelRequiredPlugins in interface GenModel

getEditQualifiedPackageNames

public List getEditQualifiedPackageNames()
Specified by:
getEditQualifiedPackageNames in interface GenModel

addQualifiedEditPackageNames

protected void addQualifiedEditPackageNames(List packageNames,
                                            GenPackage genPackage)

getEditRequiredPlugins

public List getEditRequiredPlugins()
Specified by:
getEditRequiredPlugins in interface GenModel

getEditorQualifiedPackageNames

public List getEditorQualifiedPackageNames()
Specified by:
getEditorQualifiedPackageNames in interface GenModel

addQualifiedEditorPackageNames

protected void addQualifiedEditorPackageNames(List packageNames,
                                              GenPackage genPackage)

getEditorRequiredPlugins

public List getEditorRequiredPlugins()
Specified by:
getEditorRequiredPlugins in interface GenModel

getTestsQualifiedPackageNames

public List getTestsQualifiedPackageNames()
Specified by:
getTestsQualifiedPackageNames in interface GenModel

addQualifiedTestsPackageNames

protected void addQualifiedTestsPackageNames(List packageNames,
                                             GenPackage genPackage)

getTestsRequiredPlugins

public List getTestsRequiredPlugins()
Specified by:
getTestsRequiredPlugins in interface GenModel

getEditResourceDelegateImportedPluginClassNames

public List getEditResourceDelegateImportedPluginClassNames()
Specified by:
getEditResourceDelegateImportedPluginClassNames in interface GenModel

reconcile

public boolean reconcile(GenModel oldGenModelVersion)
Description copied from interface: GenModel
Restore all the corresponding settings of the old version into this version.

Specified by:
reconcile in interface GenModel

reconcileSettings

protected void reconcileSettings(GenModel oldGenModelVersion)

reconcile

public boolean reconcile()
Specified by:
reconcile in interface GenBase

computeMissingUsedGenPackages

public List computeMissingUsedGenPackages()
Specified by:
computeMissingUsedGenPackages in interface GenModel

getMissingPackages

public List getMissingPackages()
Specified by:
getMissingPackages in interface GenModel

getMissingPackagesHelper

protected void getMissingPackagesHelper(List ePackages,
                                        List genPackages)

hasXMLDependency

public boolean hasXMLDependency()
Specified by:
hasXMLDependency in interface GenModel

getXMLEncodingChoices

public String getXMLEncodingChoices()
Specified by:
getXMLEncodingChoices in interface GenModel

getIndentation

public String getIndentation(StringBuffer stringBuffer)
Specified by:
getIndentation in interface GenModel

getEcoreModelElement

public EModelElement getEcoreModelElement()
Specified by:
getEcoreModelElement in class GenBaseImpl

getAllGenFeatures

public List getAllGenFeatures()
Specified by:
getAllGenFeatures in interface GenModel

getFilteredAllGenFeatures

public List getFilteredAllGenFeatures()
Specified by:
getFilteredAllGenFeatures in interface GenModel

setCodeFormatterOptions

public void setCodeFormatterOptions(Map options)
Description copied from interface: GenModel
Set the code formatter options to be used to create a new code formatter.

Specified by:
setCodeFormatterOptions in interface GenModel

createCodeFormatter

public org.eclipse.jdt.core.formatter.CodeFormatter createCodeFormatter()
Description copied from interface: GenModel
Creates and returns a new JDT code formatter.

Specified by:
createCodeFormatter in interface GenModel

isBooleanFlagsEnabled

public boolean isBooleanFlagsEnabled()
Specified by:
isBooleanFlagsEnabled in interface GenModel

createGenModel

public GenModel createGenModel()
Specified by:
createGenModel in interface GenModel

createGenPackage

public GenPackage createGenPackage()
Specified by:
createGenPackage in interface GenModel

createGenClass

public GenClass createGenClass()
Specified by:
createGenClass in interface GenModel

createGenFeature

public GenFeature createGenFeature()
Specified by:
createGenFeature in interface GenModel

createGenEnum

public GenEnum createGenEnum()
Specified by:
createGenEnum in interface GenModel

createGenEnumLiteral

public GenEnumLiteral createGenEnumLiteral()
Specified by:
createGenEnumLiteral in interface GenModel

createGenDataType

public GenDataType createGenDataType()
Specified by:
createGenDataType in interface GenModel

createGenOperation

public GenOperation createGenOperation()
Specified by:
createGenOperation in interface GenModel

createGenParameter

public GenParameter createGenParameter()
Specified by:
createGenParameter in interface GenModel

getPropertyCategories

public Set getPropertyCategories()
Specified by:
getPropertyCategories in interface GenModel

hasLocalGenModel

public boolean hasLocalGenModel()
Specified by:
hasLocalGenModel in interface GenModel

getRelativeGenModelLocation

public String getRelativeGenModelLocation()
Specified by:
getRelativeGenModelLocation in interface GenModel

getPropertyCategoryKey

public String getPropertyCategoryKey(String category)
Specified by:
getPropertyCategoryKey in interface GenModel

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