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.ColorInformation, GenBaseImpl.GenClassFilter, GenBaseImpl.GenConstraintFilter, GenBaseImpl.GenFeatureFilter, GenBaseImpl.GenOperationFilter, GenBaseImpl.GIFEmitter, GenBaseImpl.ImportManager, 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  java.lang.String actionBarContributorTemplateName
           
protected  JETEmitter adapterFactoryClassEmitter
           
protected  java.lang.String adapterFactoryClassTemplateName
           
protected  JETEmitter advisorEmitter
           
protected  java.lang.String advisorTemplateName
           
protected  JETEmitter buildPropertiesEmitter
           
protected  java.lang.String buildPropertiesTemplateName
           
protected  boolean canGenerate
           
protected  JETEmitter classEmitter
           
protected  java.lang.String classTemplateName
           
protected static java.lang.String COPYRIGHT_TEXT_EDEFAULT
          The default value of the 'Copyright Text' attribute
protected  java.lang.String copyrightText
          The cached value of the 'Copyright Text' attribute
protected  GenBaseImpl.GIFEmitter createChildGIFEmitter
           
protected  java.lang.String createChildGIFName
           
protected static boolean CREATION_COMMANDS_EDEFAULT
          The default value of the 'Creation Commands' attribute
protected  boolean creationCommands
          The cached value of the 'Creation Commands' 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 java.lang.String EDIT_DIRECTORY_EDEFAULT
          The default value of the 'Edit Directory' attribute
protected static java.lang.String EDIT_PLUGIN_CLASS_EDEFAULT
          The default value of the 'Edit Plugin Class' attribute
protected  JETEmitter editBuildPropertiesEmitter
           
protected  java.lang.String editBuildPropertiesTemplateName
           
protected  java.lang.String editDirectory
          The cached value of the 'Edit Directory' attribute
protected static java.lang.String EDITOR_DIRECTORY_EDEFAULT
          The default value of the 'Editor Directory' attribute
protected static java.lang.String EDITOR_PLUGIN_CLASS_EDEFAULT
          The default value of the 'Editor Plugin Class' attribute
protected  JETEmitter editorBuildPropertiesEmitter
           
protected  java.lang.String editorBuildPropertiesTemplateName
           
protected  java.lang.String editorDirectory
          The cached value of the 'Editor Directory' attribute
protected  JETEmitter editorEmitter
           
protected  java.lang.String editorPluginClass
          The cached value of the 'Editor Plugin Class' attribute
protected  JETEmitter editorPluginClassEmitter
           
protected  JETEmitter editorPluginPropertiesEmitter
           
protected  java.lang.String editorPluginPropertiesTemplateName
           
protected  java.lang.String editorPluginTemplateName
           
protected  JETEmitter editorPluginXMLEmitter
           
protected  java.lang.String editorPluginXMLTemplateName
           
protected  java.lang.String editorTemplateName
           
protected  java.lang.String editPluginClass
          The cached value of the 'Edit Plugin Class' attribute
protected  JETEmitter editPluginClassEmitter
           
protected  JETEmitter editPluginPropertiesEmitter
           
protected  java.lang.String editPluginPropertiesTemplateName
           
protected  java.lang.String editPluginTemplateName
           
protected  JETEmitter editPluginXMLEmitter
           
protected  java.lang.String editPluginXMLTemplateName
           
protected  JETEmitter enumClassEmitter
           
protected  java.lang.String enumClassTemplateName
           
protected  ExtendedMetaData extendedMetaData
           
protected  JETEmitter factoryClassEmitter
           
protected  java.lang.String factoryClassTemplateName
           
protected  JETEmitter factoryInterfaceEmitter
           
protected  java.lang.String factoryInterfaceTemplateName
           
protected static java.lang.String FEATURE_MAP_WRAPPER_CLASS_EDEFAULT
          The default value of the 'Feature Map Wrapper Class' attribute
protected static java.lang.String FEATURE_MAP_WRAPPER_INTERFACE_EDEFAULT
          The default value of the 'Feature Map Wrapper Interface' attribute
protected static java.lang.String FEATURE_MAP_WRAPPER_INTERNAL_INTERFACE_EDEFAULT
          The default value of the 'Feature Map Wrapper Internal Interface' attribute
protected  java.lang.String featureMapWrapperClass
          The cached value of the 'Feature Map Wrapper Class' attribute
protected  java.lang.String featureMapWrapperInterface
          The cached value of the 'Feature Map Wrapper Interface' attribute
protected  java.lang.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  int importInsertionPoint
           
protected  GenBaseImpl.ImportManager importManager
           
protected  java.lang.StringBuffer importStringBuffer
           
protected  JETEmitter interfaceEmitter
           
protected  java.lang.String interfaceTemplateName
           
protected  GenBaseImpl.GIFEmitter itemGIFEmitter
           
protected  java.lang.String itemGIFName
           
protected  JETEmitter itemProviderAdapterFactoryEmitter
           
protected  java.lang.String itemProviderAdapterFactoryTemplateName
           
protected  JETEmitter itemProviderEmitter
           
protected  java.lang.String itemProviderTemplateName
           
protected  JControlModel jControlModel
           
protected  java.lang.String jControlModelName
           
protected static java.lang.String MODEL_DIRECTORY_EDEFAULT
          The default value of the 'Model Directory' attribute
protected static java.lang.String MODEL_NAME_EDEFAULT
          The default value of the 'Model Name' attribute
protected static java.lang.String MODEL_PLUGIN_CLASS_EDEFAULT
          The default value of the 'Model Plugin Class' attribute
protected static java.lang.String MODEL_PLUGIN_ID_EDEFAULT
          The default value of the 'Model Plugin ID' attribute
protected  java.lang.String modelDirectory
          The cached value of the 'Model Directory' attribute
protected  GenBaseImpl.GIFEmitter modelGIFEmitter
           
protected  java.lang.String modelGIFName
           
protected  java.lang.String modelName
          The cached value of the 'Model Name' attribute
protected  java.lang.String modelPluginClass
          The cached value of the 'Model Plugin Class' attribute
protected  JETEmitter modelPluginClassEmitter
           
protected  java.lang.String modelPluginID
          The cached value of the 'Model Plugin ID' attribute
protected  java.lang.String modelPluginTemplateName
           
protected  EList modelPluginVariables
          The cached value of the 'Model Plugin Variables' attribute list
protected  JETEmitter modelWizardEmitter
           
protected  GenBaseImpl.GIFEmitter modelWizardGIFEmitter
           
protected  java.lang.String modelWizardGIFName
           
protected  java.lang.String modelWizardTemplateName
           
protected static java.lang.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  java.lang.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 java.lang.Class[] OBJECT_ARGUMENT
           
protected  JETEmitter packageClassEmitter
           
protected  java.lang.String packageClassTemplateName
           
protected  JETEmitter packageInterfaceEmitter
           
protected  java.lang.String packageInterfaceTemplateName
           
protected  JETEmitter pluginPropertiesEmitter
           
protected  java.lang.String pluginPropertiesTemplateName
           
protected  JETEmitter pluginXMLEmitter
           
protected  java.lang.String pluginXMLTemplateName
           
protected  java.lang.String redirection
          The cached value of the 'Redirection' attribute
protected static java.lang.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  java.lang.String resourceFactoryTemplateName
           
protected  java.lang.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 java.lang.String ROOT_EXTENDS_CLASS_EDEFAULT
          The default value of the 'Root Extends Class' attribute
protected static java.lang.String ROOT_EXTENDS_INTERFACE_EDEFAULT
          The default value of the 'Root Extends Interface' attribute
protected static java.lang.String ROOT_IMPLEMENTS_INTERFACE_EDEFAULT
          The default value of the 'Root Implements Interface' attribute
protected  java.lang.String rootExtendsClass
          The cached value of the 'Root Extends Class' attribute
protected  java.lang.String rootExtendsInterface
          The cached value of the 'Root Extends Interface' attribute
protected  java.lang.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  java.lang.String switchClassTemplateName
           
protected static java.lang.String TEMPLATE_DIRECTORY_EDEFAULT
          The default value of the 'Template Directory' attribute
protected  java.lang.String templateDirectory
          The cached value of the 'Template Directory' attribute
protected  java.lang.String[] templatePath
           
protected static java.lang.String TEST_DIRECTORY_EDEFAULT
          The default value of the 'Test Directory' attribute
protected  java.lang.String testDirectory
          The cached value of the 'Test Directory' attribute
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  java.lang.String validatorSwitchClassTemplateName
           
 
Fields inherited from class org.eclipse.emf.codegen.ecore.genmodel.impl.GenBaseImpl
ecoreGenPackage, javaLangTypes, javaReservedWords, 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
 void addImport(java.lang.String qualifiedName)
           
 void addPseudoImport(java.lang.String qualifiedName)
           
 boolean canGenerate()
           
 boolean canGenerateEdit()
           
 boolean canGenerateEditor()
           
 boolean canGenerateSchema()
           
protected  JETEmitter createJETEmitter(java.lang.String relativeTemplateURI)
           
 java.lang.Object eGet(EStructuralFeature eFeature, boolean resolve)
           
 NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, java.lang.Class baseClass, NotificationChain msgs)
           
 NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, java.lang.Class baseClass, NotificationChain msgs)
           
 boolean eIsSet(EStructuralFeature eFeature)
           
 void emitSortedImports()
           
 void eSet(EStructuralFeature eFeature, java.lang.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)
           
 JETEmitter getActionBarContributorEmitter()
           
 JETEmitter getAdapterFactoryClassEmitter()
           
 java.util.List getAllGenAndUsedGenPackagesWithClassifiers()
           
 java.util.List getAllGenPackagesWithClassifiers()
           
protected  void getAllGenPackagesWithClassifiersHelper(java.util.List result, java.util.List genPackages)
           
 java.util.List getAllGenUsedAndStaticGenPackagesWithClassifiers()
           
 java.util.List getAllUsedGenPackagesWithClassifiers()
           
 JETEmitter getBuildPropertiesEmitter()
           
 JETEmitter getClassEmitter()
           
 java.lang.String getCopyrightText()
           
 GenBaseImpl.GIFEmitter getCreateChildGIFEmitter()
           
 java.lang.String getDate()
           
 java.lang.String getDriverNumber()
           
 EModelElement getEcoreModelElement()
           
 JETEmitter getEditBuildPropertiesEmitter()
           
 java.lang.String getEditDirectory()
          Returns the value of the 'Edit Directory' attribute
 java.lang.String getEditDirectoryGen()
           
 java.lang.String getEditIconsDirectory()
           
 java.lang.String getEditorAdvisorClassName()
           
 JETEmitter getEditorAdvisorEmitter()
           
 JETEmitter getEditorBuildPropertiesEmitter()
           
 java.lang.String getEditorDirectory()
          Returns the value of the 'Editor Directory' attribute
 java.lang.String getEditorDirectoryGen()
           
 JETEmitter getEditorEmitter()
           
 java.lang.String getEditorIconsDirectory()
           
 java.lang.String getEditorPluginClass()
           
 JETEmitter getEditorPluginClassEmitter()
           
 java.lang.String getEditorPluginClassName()
           
protected  java.lang.String getEditorPluginClassToUse()
           
protected  java.lang.String getEditorPluginDirectory()
           
 java.lang.String getEditorPluginID()
           
 java.lang.String getEditorPluginPackageName()
           
 JETEmitter getEditorPluginPropertiesEmitter()
           
 JETEmitter getEditorPluginXMLEmitter()
           
 java.lang.String getEditorProjectDirectory()
           
 java.util.List getEditorRequiredPlugins()
           
 java.lang.String getEditPluginClass()
           
 JETEmitter getEditPluginClassEmitter()
           
 java.lang.String getEditPluginClassName()
           
protected  java.lang.String getEditPluginClassToUse()
           
protected  java.lang.String getEditPluginDirectory()
           
 java.lang.String getEditPluginID()
           
 java.lang.String getEditPluginPackageName()
           
 JETEmitter getEditPluginPropertiesEmitter()
           
 JETEmitter getEditPluginXMLEmitter()
           
 java.lang.String getEditProjectDirectory()
           
 java.util.List getEditRequiredPlugins()
           
 java.util.List getEditResourceDelegateImportedPluginClassNames()
           
 java.util.List getEffectiveModelPluginIDs()
           
 java.util.List getEffectiveModelPluginVariables()
           
 JETEmitter getEnumClassEmitter()
           
protected  ExtendedMetaData getExtendedMetaData()
           
 JETEmitter getFactoryClassEmitter()
           
 JETEmitter getFactoryInterfaceEmitter()
           
 java.lang.String getFeatureMapWrapperClass()
           
 java.lang.String getFeatureMapWrapperInterface()
           
 java.lang.String getFeatureMapWrapperInternalInterface()
           
 EList getForeignModel()
           
 EList getGenPackages()
           
 java.lang.String getImportedName(java.lang.String qualifiedName)
           
protected  GenBaseImpl.ImportManager getImportManager()
           
 java.lang.String getIndentation(java.lang.StringBuffer stringBuffer)
           
 JETEmitter getInterfaceEmitter()
           
 GenBaseImpl.GIFEmitter getItemGIFEmitter()
           
 JETEmitter getItemProviderAdapterFactoryEmitter()
           
 JETEmitter getItemProviderEmitter()
           
 JControlModel getJControlModel()
           
 java.util.List getMissingPackages()
           
protected  void getMissingPackagesHelper(java.util.List ePackages, java.util.List genPackages)
           
 java.lang.String getModelDirectory()
           
 GenBaseImpl.GIFEmitter getModelGIFEmitter()
           
 java.lang.String getModelName()
          Returns the value of the 'Model Name' attribute
 java.lang.String getModelNameGen()
           
 java.lang.String getModelPluginClass()
           
 JETEmitter getModelPluginClassEmitter()
           
 java.lang.String getModelPluginClassName()
           
protected  java.lang.String getModelPluginClassToUse()
           
 java.lang.String getModelPluginID()
           
 java.lang.String getModelPluginPackageName()
           
 EList getModelPluginVariables()
           
 java.lang.String getModelProjectDirectory()
           
 java.util.List getModelRequiredPlugins()
           
 JETEmitter getModelWizardEmitter()
           
 GenBaseImpl.GIFEmitter getModelWizardGIFEmitter()
           
 java.lang.String getName()
           
 java.lang.String getNonExternalizedStringTag()
           
 java.lang.String getNonNLS()
           
 java.lang.String getNonNLS(int i)
           
 java.lang.String getNonNLS(java.lang.String s)
           
 java.lang.String getNonNLS(java.lang.String s, int i)
           
 JETEmitter getPackageClassEmitter()
           
 JETEmitter getPackageInterfaceEmitter()
           
 JETEmitter getPluginPropertiesEmitter()
           
 JETEmitter getPluginXMLEmitter()
           
protected static java.lang.String getProjectPath(java.lang.String path)
           
 java.lang.String getQualifiedEditorAdvisorClassName()
           
 java.lang.String getQualifiedEditorPluginClassName()
           
 java.lang.String getQualifiedEditPluginClassName()
           
 java.lang.String getQualifiedModelPluginClassName()
           
 java.lang.String getRedirection()
           
 JETEmitter getResourceClassEmitter()
           
 JETEmitter getResourceFactoryClassEmitter()
           
 java.lang.String getRootExtendsClass()
           
 java.lang.String getRootExtendsInterface()
           
 java.lang.String getRootImplementsInterface()
           
 GenClass getRootImplementsInterfaceGenClass()
           
 EList getStaticGenPackages()
           
 EList getStaticPackages()
           
 JETEmitter getSwitchClassEmitter()
           
 java.lang.String getTemplateDirectory()
           
protected  java.lang.String[] getTemplatePath()
           
 java.lang.String getTestDirectory()
           
 EList getUsedGenPackages()
           
 JETEmitter getValidatorClassEmitter()
           
 java.lang.String getXMLEncodingChoices()
           
 boolean hasEditorSupport()
           
 boolean hasEditSupport()
           
 boolean hasModelPluginClass()
           
protected  boolean hasModelSupport()
           
 boolean hasPluginSupport()
           
 boolean hasXMLDependency()
           
 void initialize(java.util.Collection ePackages)
           
 boolean isCreationCommands()
           
 boolean isDynamicTemplates()
           
 boolean isForceOverwrite()
           
 boolean isGenerateSchema()
           
 boolean isNonNLSMarkers()
           
 boolean isReflectiveDelegation()
           
 boolean isRichClientPlatform()
           
 boolean isRuntimeCompatibility()
           
 boolean isRuntimeJar()
           
 boolean isSuppressEMFTypes()
           
 boolean isUpdateClasspath()
           
 void markImportLocation(java.lang.StringBuffer stringBuffer)
           
 void markImportLocation(java.lang.StringBuffer stringBuffer, GenPackage genPackage)
           
 boolean needsRuntimeCompatibility()
           
protected  void populateExtendedMetaData(java.util.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()
           
 void setCanGenerate(boolean canGenerate)
           
 void setCopyrightText(java.lang.String newCopyrightText)
           
 void setCreationCommands(boolean newCreationCommands)
           
 void setDynamicTemplates(boolean newDynamicTemplates)
           
 void setEditDirectory(java.lang.String newEditDirectory)
           
 void setEditorDirectory(java.lang.String newEditorDirectory)
           
 void setEditorPluginClass(java.lang.String newEditorPluginClass)
           
 void setEditPluginClass(java.lang.String newEditPluginClass)
           
 void setFeatureMapWrapperClass(java.lang.String newFeatureMapWrapperClass)
           
 void setFeatureMapWrapperInterface(java.lang.String newFeatureMapWrapperInterface)
           
 void setFeatureMapWrapperInternalInterface(java.lang.String newFeatureMapWrapperInternalInterface)
           
 void setForceOverwrite(boolean newForceOverwrite)
           
 void setGenerateSchema(boolean newGenerateSchema)
           
protected  void setImportManager(GenBaseImpl.ImportManager importManager)
           
 void setMethod(JETEmitter jetEmitter, java.lang.String className)
           
 void setModelDirectory(java.lang.String newModelDirectory)
           
 void setModelName(java.lang.String newModelName)
           
 void setModelPluginClass(java.lang.String newModelPluginClass)
           
 void setModelPluginID(java.lang.String newModelPluginID)
           
 void setNonExternalizedStringTag(java.lang.String newNonExternalizedStringTag)
          Sets the value of the 'Non Externalized String Tag' attribute
 void setNonExternalizedStringTagGen(java.lang.String newNonExternalizedStringTag)
           
 void setNonNLSMarkers(boolean newNonNLSMarkers)
          Sets the value of the 'Non NLS Markers' attribute
 void setNonNLSMarkersGen(boolean newNonNLSMarkers)
           
 void setRedirection(java.lang.String newRedirection)
           
 void setReflectiveDelegation(boolean newReflectiveDelegation)
           
 void setRichClientPlatform(boolean newRichClientPlatform)
           
 void setRootExtendsClass(java.lang.String newRootExtendsClass)
           
 void setRootExtendsInterface(java.lang.String newRootExtendsInterface)
           
 void setRootImplementsInterface(java.lang.String newRootImplementsInterface)
          Sets the value of the 'Root Implements Interface' attribute
 void setRootImplementsInterfaceGen(java.lang.String newRootImplementsInterface)
           
 void setRuntimeCompatibility(boolean newRuntimeCompatibility)
           
 void setRuntimeJar(boolean newRuntimeJar)
           
 void setSuppressEMFTypes(boolean newSuppressEMFTypes)
           
 void setTemplateDirectory(java.lang.String newTemplateDirectory)
           
 void setTestDirectory(java.lang.String newTestDirectory)
           
 void setUpdateClasspath(boolean newUpdateClasspath)
           
 java.lang.String toString()
           
 IStatus validate()
           
 
Methods inherited from class org.eclipse.emf.codegen.ecore.genmodel.impl.GenBaseImpl
appendModelSetting, appendModelSetting, capName, collectGenClasses, collectGenConstraints, collectGenFeatures, collectGenOperations, eObjectForURIFragmentSegment, ePackageGenModel, eURIFragmentSegment, filterGenClasses, findGenClass, findGenClassifier, findGenDataType, findGenEnum, findGenFeature, findGenPackage, findGenPackageHelper, findOrCreateContainer, format, generate, generate, generate, generate, getAllGenPackages, getDocumentation, getDocumentation, getGenModel, getImplClassName, getImportedType, getInstanceClass, getJavaLangTypes, getJavaReservedWords, getModelInfo, getPrimitiveDefault, getPrimitiveObjectType, getType, getTypeGenClasses, hasDocumentation, hasModelContribution, indent, isBlank, isJavaUtilMapEntry, isPrimitiveType, parseName, safeName, uncapName, 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, ePackageGenModel, 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 java.lang.String COPYRIGHT_TEXT_EDEFAULT
The default value of the 'Copyright Text' attribute.

See Also:
getCopyrightText()

copyrightText

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

See Also:
getCopyrightText()

MODEL_DIRECTORY_EDEFAULT

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

See Also:
getModelDirectory()

modelDirectory

protected java.lang.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()

EDIT_DIRECTORY_EDEFAULT

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

See Also:
getEditDirectory()

editDirectory

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

See Also:
getEditDirectory()

EDITOR_DIRECTORY_EDEFAULT

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

See Also:
getEditorDirectory()

editorDirectory

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

See Also:
getEditorDirectory()

MODEL_PLUGIN_ID_EDEFAULT

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

See Also:
getModelPluginID()

modelPluginID

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

See Also:
getModelPluginID()

TEMPLATE_DIRECTORY_EDEFAULT

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

See Also:
getTemplateDirectory()

templateDirectory

protected java.lang.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 java.lang.String REDIRECTION_EDEFAULT
The default value of the 'Redirection' attribute.

See Also:
getRedirection()

redirection

protected java.lang.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 java.lang.String NON_EXTERNALIZED_STRING_TAG_EDEFAULT
The default value of the 'Non Externalized String Tag' attribute.

See Also:
getNonExternalizedStringTag()

nonExternalizedStringTag

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

See Also:
getNonExternalizedStringTag()

TEST_DIRECTORY_EDEFAULT

protected static final java.lang.String TEST_DIRECTORY_EDEFAULT
The default value of the 'Test Directory' attribute.

See Also:
getTestDirectory()

testDirectory

protected java.lang.String testDirectory
The cached value of the 'Test Directory' attribute.

See Also:
getTestDirectory()

MODEL_NAME_EDEFAULT

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

See Also:
getModelName()

modelName

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

See Also:
getModelName()

MODEL_PLUGIN_CLASS_EDEFAULT

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

See Also:
getModelPluginClass()

modelPluginClass

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

See Also:
getModelPluginClass()

EDIT_PLUGIN_CLASS_EDEFAULT

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

See Also:
getEditPluginClass()

editPluginClass

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

See Also:
getEditPluginClass()

EDITOR_PLUGIN_CLASS_EDEFAULT

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

See Also:
getEditorPluginClass()

editorPluginClass

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

See Also:
getEditorPluginClass()

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 java.lang.String ROOT_EXTENDS_INTERFACE_EDEFAULT
The default value of the 'Root Extends Interface' attribute.

See Also:
getRootExtendsInterface(), Constant Field Values

rootExtendsInterface

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

See Also:
getRootExtendsInterface()

ROOT_EXTENDS_CLASS_EDEFAULT

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

See Also:
getRootExtendsClass(), Constant Field Values

rootExtendsClass

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

See Also:
getRootExtendsClass()

ROOT_IMPLEMENTS_INTERFACE_EDEFAULT

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

See Also:
getRootImplementsInterface()

rootImplementsInterface

protected java.lang.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 java.lang.String FEATURE_MAP_WRAPPER_INTERFACE_EDEFAULT
The default value of the 'Feature Map Wrapper Interface' attribute.

See Also:
getFeatureMapWrapperInterface()

featureMapWrapperInterface

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

See Also:
getFeatureMapWrapperInterface()

FEATURE_MAP_WRAPPER_INTERNAL_INTERFACE_EDEFAULT

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

See Also:
getFeatureMapWrapperInternalInterface()

featureMapWrapperInternalInterface

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

See Also:
getFeatureMapWrapperInternalInterface()

FEATURE_MAP_WRAPPER_CLASS_EDEFAULT

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

See Also:
getFeatureMapWrapperClass()

featureMapWrapperClass

protected java.lang.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()

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 GenBaseImpl.ImportManager importManager

importStringBuffer

protected java.lang.StringBuffer importStringBuffer

importInsertionPoint

protected int importInsertionPoint

canGenerate

protected boolean canGenerate

jControlModelName

protected java.lang.String jControlModelName

interfaceTemplateName

protected java.lang.String interfaceTemplateName

classTemplateName

protected java.lang.String classTemplateName

enumClassTemplateName

protected java.lang.String enumClassTemplateName

packageInterfaceTemplateName

protected java.lang.String packageInterfaceTemplateName

packageClassTemplateName

protected java.lang.String packageClassTemplateName

factoryInterfaceTemplateName

protected java.lang.String factoryInterfaceTemplateName

factoryClassTemplateName

protected java.lang.String factoryClassTemplateName

adapterFactoryClassTemplateName

protected java.lang.String adapterFactoryClassTemplateName

switchClassTemplateName

protected java.lang.String switchClassTemplateName

validatorSwitchClassTemplateName

protected java.lang.String validatorSwitchClassTemplateName

pluginXMLTemplateName

protected java.lang.String pluginXMLTemplateName

pluginPropertiesTemplateName

protected java.lang.String pluginPropertiesTemplateName

buildPropertiesTemplateName

protected java.lang.String buildPropertiesTemplateName

modelPluginTemplateName

protected java.lang.String modelPluginTemplateName

resourceTemplateName

protected java.lang.String resourceTemplateName

resourceFactoryTemplateName

protected java.lang.String resourceFactoryTemplateName

templatePath

protected java.lang.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

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 java.lang.Class[] OBJECT_ARGUMENT

extendedMetaData

protected ExtendedMetaData extendedMetaData

itemProviderTemplateName

protected java.lang.String itemProviderTemplateName

itemProviderAdapterFactoryTemplateName

protected java.lang.String itemProviderAdapterFactoryTemplateName

editPluginTemplateName

protected java.lang.String editPluginTemplateName

editPluginXMLTemplateName

protected java.lang.String editPluginXMLTemplateName

editPluginPropertiesTemplateName

protected java.lang.String editPluginPropertiesTemplateName

editBuildPropertiesTemplateName

protected java.lang.String editBuildPropertiesTemplateName

itemGIFName

protected java.lang.String itemGIFName

createChildGIFName

protected java.lang.String createChildGIFName

editorTemplateName

protected java.lang.String editorTemplateName

actionBarContributorTemplateName

protected java.lang.String actionBarContributorTemplateName

modelWizardTemplateName

protected java.lang.String modelWizardTemplateName

advisorTemplateName

protected java.lang.String advisorTemplateName

editorPluginTemplateName

protected java.lang.String editorPluginTemplateName

editorPluginXMLTemplateName

protected java.lang.String editorPluginXMLTemplateName

editorPluginPropertiesTemplateName

protected java.lang.String editorPluginPropertiesTemplateName

editorBuildPropertiesTemplateName

protected java.lang.String editorBuildPropertiesTemplateName

modelGIFName

protected java.lang.String modelGIFName

modelWizardGIFName

protected java.lang.String modelWizardGIFName

itemProviderEmitter

protected JETEmitter itemProviderEmitter

itemProviderAdapterFactoryEmitter

protected JETEmitter itemProviderAdapterFactoryEmitter

editPluginClassEmitter

protected JETEmitter editPluginClassEmitter

editPluginXMLEmitter

protected JETEmitter editPluginXMLEmitter

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

editorPluginXMLEmitter

protected JETEmitter editorPluginXMLEmitter

editorPluginPropertiesEmitter

protected JETEmitter editorPluginPropertiesEmitter

editorBuildPropertiesEmitter

protected JETEmitter editorBuildPropertiesEmitter

modelGIFEmitter

protected GenBaseImpl.GIFEmitter modelGIFEmitter

modelWizardGIFEmitter

protected GenBaseImpl.GIFEmitter modelWizardGIFEmitter

rootImplementsInterfaceGenClass

protected GenClass rootImplementsInterfaceGenClass
Constructor Detail

GenModelImpl

protected GenModelImpl()

Method Detail

eStaticClass

protected EClass eStaticClass()

Overrides:
eStaticClass in class GenBaseImpl

getCopyrightText

public java.lang.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(java.lang.String newCopyrightText)

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

getModelDirectory

public java.lang.String getModelDirectory()

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

setModelDirectory

public void setModelDirectory(java.lang.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()

markImportLocation

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

markImportLocation

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

emitSortedImports

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

getImportedName

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

addImport

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

addPseudoImport

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

getImportManager

protected GenBaseImpl.ImportManager getImportManager()
Overrides:
getImportManager in class GenBaseImpl

setImportManager

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

getDriverNumber

public java.lang.String getDriverNumber()
Specified by:
getDriverNumber in interface GenModel

getDate

public java.lang.String getDate()
Specified by:
getDate in interface GenModel

getNonNLS

public java.lang.String getNonNLS()
Specified by:
getNonNLS in interface GenModel

getNonNLS

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

getNonNLS

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

getNonNLS

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

initialize

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

getTemplatePath

protected java.lang.String[] getTemplatePath()

getJControlModel

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

setMethod

public void setMethod(JETEmitter jetEmitter,
                      java.lang.String className)

createJETEmitter

protected JETEmitter createJETEmitter(java.lang.String relativeTemplateURI)

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

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

protected ExtendedMetaData getExtendedMetaData()
Overrides:
getExtendedMetaData in class GenBaseImpl

populateExtendedMetaData

protected void populateExtendedMetaData(java.util.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

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

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

getEditorPluginPropertiesEmitter

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

getEditorBuildPropertiesEmitter

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

getEditDirectoryGen

public java.lang.String getEditDirectoryGen()


getEditDirectory

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

If the meaning of the 'Edit Directory' attribute isn't clear, there really should be more of a description here...

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

setEditDirectory

public void setEditDirectory(java.lang.String newEditDirectory)

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

getEditorDirectoryGen

public java.lang.String getEditorDirectoryGen()


getEditorDirectory

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

If the meaning of the 'Editor Directory' attribute isn't clear, there really should be more of a description here...

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

setEditorDirectory

public void setEditorDirectory(java.lang.String newEditorDirectory)

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

getModelPluginID

public java.lang.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(java.lang.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 java.lang.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(java.lang.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 java.lang.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(java.lang.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 java.lang.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(java.lang.String newNonExternalizedStringTag)


setNonExternalizedStringTag

public void setNonExternalizedStringTag(java.lang.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()

getTestDirectory

public java.lang.String getTestDirectory()

Specified by:
getTestDirectory in interface GenModel
Returns:
the value of the 'Test Directory' attribute.
See Also:
GenModel.setTestDirectory(String), GenModelPackage.getGenModel_TestDirectory()

setTestDirectory

public void setTestDirectory(java.lang.String newTestDirectory)

Specified by:
setTestDirectory in interface GenModel
Parameters:
newTestDirectory - the new value of the 'Test Directory' attribute.
See Also:
GenModel.getTestDirectory()

getName

public java.lang.String getName()
Specified by:
getName in class GenBaseImpl

getModelNameGen

public java.lang.String getModelNameGen()


getModelName

public java.lang.String getModelName()
Description copied from interface: GenModel
Returns the value of the 'Model Name' attribute.

If the meaning of the 'Model Name' attribute isn't clear, there really should be more of a description here...

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(java.lang.String newModelName)

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

getModelPluginClass

public java.lang.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()

setModelPluginClass

public void setModelPluginClass(java.lang.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 java.lang.String getEditPluginClass()

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

setEditPluginClass

public void setEditPluginClass(java.lang.String newEditPluginClass)

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

getEditorPluginClass

public java.lang.String getEditorPluginClass()

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

setEditorPluginClass

public void setEditorPluginClass(java.lang.String newEditorPluginClass)

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

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 java.lang.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(java.lang.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 java.lang.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(java.lang.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 java.lang.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(java.lang.String newRootImplementsInterface)


setRootImplementsInterface

public void setRootImplementsInterface(java.lang.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 java.util.List getEffectiveModelPluginVariables()
Specified by:
getEffectiveModelPluginVariables in interface GenModel

getEffectiveModelPluginIDs

public java.util.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 java.lang.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(java.lang.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 java.lang.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(java.lang.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 java.lang.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(java.lang.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()

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,
                                     java.lang.Class baseClass,
                                     NotificationChain msgs)

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

eInverseRemove

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

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

eGet

public java.lang.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,
                 java.lang.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 java.lang.String toString()

Overrides:
toString in class BasicEObjectImpl

getProjectPath

protected static java.lang.String getProjectPath(java.lang.String path)

getModelProjectDirectory

public java.lang.String getModelProjectDirectory()
Specified by:
getModelProjectDirectory in interface GenModel

getEditProjectDirectory

public java.lang.String getEditProjectDirectory()
Specified by:
getEditProjectDirectory in interface GenModel

getEditorProjectDirectory

public java.lang.String getEditorProjectDirectory()
Specified by:
getEditorProjectDirectory 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

getEditIconsDirectory

public java.lang.String getEditIconsDirectory()
Specified by:
getEditIconsDirectory in interface GenModel

getEditorIconsDirectory

public java.lang.String getEditorIconsDirectory()
Specified by:
getEditorIconsDirectory in interface GenModel

getEditPluginID

public java.lang.String getEditPluginID()
Specified by:
getEditPluginID in interface GenModel

getEditorPluginID

public java.lang.String getEditorPluginID()
Specified by:
getEditorPluginID in interface GenModel

hasModelPluginClass

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

getModelPluginClassToUse

protected java.lang.String getModelPluginClassToUse()

getEditPluginClassToUse

protected java.lang.String getEditPluginClassToUse()

getEditPluginDirectory

protected java.lang.String getEditPluginDirectory()

getEditorPluginClassToUse

protected java.lang.String getEditorPluginClassToUse()

getEditorPluginDirectory

protected java.lang.String getEditorPluginDirectory()

getModelPluginPackageName

public java.lang.String getModelPluginPackageName()
Specified by:
getModelPluginPackageName in interface GenModel

getModelPluginClassName

public java.lang.String getModelPluginClassName()
Specified by:
getModelPluginClassName in interface GenModel

getQualifiedModelPluginClassName

public java.lang.String getQualifiedModelPluginClassName()
Specified by:
getQualifiedModelPluginClassName in interface GenModel

getEditPluginPackageName

public java.lang.String getEditPluginPackageName()
Specified by:
getEditPluginPackageName in interface GenModel

getEditPluginClassName

public java.lang.String getEditPluginClassName()
Specified by:
getEditPluginClassName in interface GenModel

getQualifiedEditPluginClassName

public java.lang.String getQualifiedEditPluginClassName()
Specified by:
getQualifiedEditPluginClassName in interface GenModel

getEditorPluginPackageName

public java.lang.String getEditorPluginPackageName()
Specified by:
getEditorPluginPackageName in interface GenModel

getEditorPluginClassName

public java.lang.String getEditorPluginClassName()
Specified by:
getEditorPluginClassName in interface GenModel

getQualifiedEditorPluginClassName

public java.lang.String getQualifiedEditorPluginClassName()
Specified by:
getQualifiedEditorPluginClassName in interface GenModel

getQualifiedEditorAdvisorClassName

public java.lang.String getQualifiedEditorAdvisorClassName()
Specified by:
getQualifiedEditorAdvisorClassName in interface GenModel

getEditorAdvisorClassName

public java.lang.String getEditorAdvisorClassName()
Specified by:
getEditorAdvisorClassName in interface GenModel

getAllGenPackagesWithClassifiersHelper

protected void getAllGenPackagesWithClassifiersHelper(java.util.List result,
                                                      java.util.List genPackages)

getAllGenPackagesWithClassifiers

public java.util.List getAllGenPackagesWithClassifiers()
Specified by:
getAllGenPackagesWithClassifiers in interface GenModel

getAllUsedGenPackagesWithClassifiers

public java.util.List getAllUsedGenPackagesWithClassifiers()
Specified by:
getAllUsedGenPackagesWithClassifiers in interface GenModel

getAllGenAndUsedGenPackagesWithClassifiers

public java.util.List getAllGenAndUsedGenPackagesWithClassifiers()
Specified by:
getAllGenAndUsedGenPackagesWithClassifiers in interface GenModel

getAllGenUsedAndStaticGenPackagesWithClassifiers

public java.util.List getAllGenUsedAndStaticGenPackagesWithClassifiers()
Specified by:
getAllGenUsedAndStaticGenPackagesWithClassifiers in interface GenModel

getModelRequiredPlugins

public java.util.List getModelRequiredPlugins()
Specified by:
getModelRequiredPlugins in interface GenModel

getEditRequiredPlugins

public java.util.List getEditRequiredPlugins()
Specified by:
getEditRequiredPlugins in interface GenModel

getEditorRequiredPlugins

public java.util.List getEditorRequiredPlugins()
Specified by:
getEditorRequiredPlugins in interface GenModel

getEditResourceDelegateImportedPluginClassNames

public java.util.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

getMissingPackages

public java.util.List getMissingPackages()
Specified by:
getMissingPackages in interface GenModel

getMissingPackagesHelper

protected void getMissingPackagesHelper(java.util.List ePackages,
                                        java.util.List genPackages)

hasXMLDependency

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

getXMLEncodingChoices

public java.lang.String getXMLEncodingChoices()
Specified by:
getXMLEncodingChoices in interface GenModel

getIndentation

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

getEcoreModelElement

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

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