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

java.lang.Object
  |
  +--org.eclipse.emf.common.notify.impl.NotifierImpl
        |
        +--org.eclipse.emf.ecore.impl.EObjectImpl
              |
              +--org.eclipse.emf.codegen.ecore.genmodel.impl.GenBaseImpl
                    |
                    +--org.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:


Inner classes inherited from class org.eclipse.emf.codegen.ecore.genmodel.impl.GenBaseImpl
GenBaseImpl.ColorInformation, GenBaseImpl.GenClassFilter, GenBaseImpl.GenFeatureFilter, GenBaseImpl.GenOperationFilter, GenBaseImpl.GIFEmitter, GenBaseImpl.ImportManager, GenBaseImpl.UniqueNameHelper
 
Inner classes inherited from class org.eclipse.emf.ecore.impl.EObjectImpl
EObjectImpl.EPropertiesHolder, EObjectImpl.EPropertiesHolderImpl
 
Field Summary
protected  JETEmitter actionBarContributorEmitter
           
protected  java.lang.String actionBarContributorTemplateName
           
protected  JETEmitter adapterFactoryClassEmitter
           
protected  java.lang.String adapterFactoryClassTemplateName
           
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  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  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  JETEmitter factoryClassEmitter
           
protected  java.lang.String factoryClassTemplateName
           
protected  JETEmitter factoryInterfaceEmitter
           
protected  java.lang.String factoryInterfaceTemplateName
           
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  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  JETEmitter resourceClassEmitter
           
protected  JETEmitter resourceFactoryClassEmitter
           
protected  java.lang.String resourceFactoryTemplateName
           
protected  java.lang.String resourceTemplateName
           
protected static boolean RUNTIME_JAR_EDEFAULT
          The default value of the 'Runtime Jar' attribute.
protected  boolean runtimeJar
          The cached value of the 'Runtime Jar' 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.
 
Fields inherited from class org.eclipse.emf.codegen.ecore.genmodel.impl.GenBaseImpl
ecoreGenPackage, javaLangTypes, javaReservedWords, theEcorePackage
 
Fields inherited from class org.eclipse.emf.ecore.impl.EObjectImpl
eContainer, eContainerFeatureID, ELAST_EOBJECT_FLAG, eProperties
 
Fields inherited from class org.eclipse.emf.common.notify.impl.NotifierImpl
eAdapters, EDELIVER, eFlags, ELAST_NOTIFIER_FLAG
 
Fields inherited from interface org.eclipse.emf.ecore.InternalEObject
EOPPOSITE_FEATURE_BASE
 
Constructor Summary
protected GenModelImpl()
          
 
Method Summary
 void addImport(java.lang.String qualifiedName)
           
 boolean canGenerate()
           
 boolean canGenerateEdit()
           
 boolean canGenerateEditor()
           
 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(org.eclipse.core.runtime.IProgressMonitor progressMonitor)
           
 void generateEdit(org.eclipse.core.runtime.IProgressMonitor progressMonitor)
           
 void generateEditor(org.eclipse.core.runtime.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 getAllUsedGenPackagesWithClassifiers()
           
 JETEmitter getClassEmitter()
           
 java.lang.String getCopyrightText()
          
 GenBaseImpl.GIFEmitter getCreateChildGIFEmitter()
           
 java.lang.String getDate()
           
 java.lang.String getDriverNumber()
           
 java.lang.String getEditDirectory()
          Returns the value of the 'Edit Directory' attribute.
 java.lang.String getEditDirectoryGen()
          
 java.lang.String getEditIconsDirectory()
           
 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()
           
 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()
           
 java.lang.String getEditPluginID()
           
 java.lang.String getEditPluginPackageName()
           
 JETEmitter getEditPluginPropertiesEmitter()
           
 JETEmitter getEditPluginXMLEmitter()
           
 java.lang.String getEditProjectDirectory()
           
 java.util.List getEditRequiredPlugins()
           
 java.util.List getEditResourceDelegateImportedPluginClassNames()
           
 JETEmitter getEnumClassEmitter()
           
 JETEmitter getFactoryClassEmitter()
           
 JETEmitter getFactoryInterfaceEmitter()
           
 EList getForeignModel()
          
 EList getGenPackages()
          
 java.lang.String getImportedName(java.lang.String qualifiedName)
           
protected  GenBaseImpl.ImportManager getImportManager()
           
 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()
           
 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 getQualifiedEditorPluginClassName()
           
 java.lang.String getQualifiedEditPluginClassName()
           
 java.lang.String getQualifiedModelPluginClassName()
           
 java.lang.String getRedirection()
          
 JETEmitter getResourceClassEmitter()
           
 JETEmitter getResourceFactoryClassEmitter()
           
 JETEmitter getSwitchClassEmitter()
           
 java.lang.String getTemplateDirectory()
          
protected  java.lang.String[] getTemplatePath()
           
 java.lang.String getTestDirectory()
          
 EList getUsedGenPackages()
          
 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 isRuntimeJar()
          
 boolean isUpdateClasspath()
          
 void markImportLocation(java.lang.StringBuffer stringBuffer)
           
 void markImportLocation(java.lang.StringBuffer stringBuffer, GenPackage genPackage)
           
 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 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 setRuntimeJar(boolean newRuntimeJar)
          
 void setTemplateDirectory(java.lang.String newTemplateDirectory)
          
 void setTestDirectory(java.lang.String newTestDirectory)
          
 void setUpdateClasspath(boolean newUpdateClasspath)
          
 java.lang.String toString()
          
 org.eclipse.core.runtime.IStatus validate()
           
 
Methods inherited from class org.eclipse.emf.codegen.ecore.genmodel.impl.GenBaseImpl
appendModelSetting, appendModelSetting, capName, collectGenClasses, collectGenFeatures, collectGenOperations, eObjectForURIFragmentSegment, ePackageGenModel, eURIFragmentSegment, filterGenClasses, findGenClass, findGenClassifier, findGenDataType, findGenEnum, findGenFeature, findGenPackage, findGenPackageHelper, findOrCreateContainer, format, generate, generate, generate, generate, getAllGenPackages, getGenModel, getImplClassName, getImportedType, getInstanceClass, getJavaLangTypes, getJavaReservedWords, getModelInfo, getPrimitiveDefault, getPrimitiveObjectType, getType, getTypeGenClasses, hasModelContribution, isJavaUtilMapEntry, isPrimitiveType, parseName, safeName, uncapName, uncapPrefixedName, unicodeEscapeEncode
 
Methods inherited from class org.eclipse.emf.ecore.impl.EObjectImpl
eAllContents, eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicSetContainer, eClass, eContainer, eContainerFeatureID, eContainmentFeature, eContains, eContents, eCrossReferences, eDerivedStructuralFeatureID, eDerivedStructuralFeatureID, eDirectResource, eDynamicBasicRemoveFromContainer, eDynamicFeatureID, eDynamicGet, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicIsSet, eDynamicSet, eDynamicUnset, eGet, eHasSettings, eInternalResource, eIsProxy, eProperties, eProxyURI, eResource, eSetClass, eSetProxyURI, eSetResource, eSetting, eSettingDelegate, eSettings, eStaticFeatureCount
 
Methods inherited from class org.eclipse.emf.common.notify.impl.NotifierImpl
eAdapters, eDeliver, eNotificationRequired, eNotify, eSetDeliver
 
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, getGenModel, safeName, uncapName, uncapPrefixedName
 
Methods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, 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()

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()

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()

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()

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()

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()

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()

nonNLSMarkers

protected boolean nonNLSMarkers
The cached value of the 'Non NLS Markers' attribute.
See Also:
isNonNLSMarkers()

genPackages

protected EList genPackages
The cached value of the 'Gen Packages' containment reference list.
See Also:
getGenPackages()

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

pluginXMLTemplateName

protected java.lang.String pluginXMLTemplateName

pluginPropertiesTemplateName

protected java.lang.String pluginPropertiesTemplateName

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

pluginXMLEmitter

protected JETEmitter pluginXMLEmitter

pluginPropertiesEmitter

protected JETEmitter pluginPropertiesEmitter

modelPluginClassEmitter

protected JETEmitter modelPluginClassEmitter

resourceClassEmitter

protected JETEmitter resourceClassEmitter

resourceFactoryClassEmitter

protected JETEmitter resourceFactoryClassEmitter

OBJECT_ARGUMENT

public static final java.lang.Class[] OBJECT_ARGUMENT

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

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

editorPluginTemplateName

protected java.lang.String editorPluginTemplateName

editorPluginXMLTemplateName

protected java.lang.String editorPluginXMLTemplateName

editorPluginPropertiesTemplateName

protected java.lang.String editorPluginPropertiesTemplateName

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

itemGIFEmitter

protected GenBaseImpl.GIFEmitter itemGIFEmitter

createChildGIFEmitter

protected GenBaseImpl.GIFEmitter createChildGIFEmitter

editorEmitter

protected JETEmitter editorEmitter

actionBarContributorEmitter

protected JETEmitter actionBarContributorEmitter

modelWizardEmitter

protected JETEmitter modelWizardEmitter

editorPluginClassEmitter

protected JETEmitter editorPluginClassEmitter

editorPluginXMLEmitter

protected JETEmitter editorPluginXMLEmitter

editorPluginPropertiesEmitter

protected JETEmitter editorPluginPropertiesEmitter

modelGIFEmitter

protected GenBaseImpl.GIFEmitter modelGIFEmitter

modelWizardGIFEmitter

protected GenBaseImpl.GIFEmitter modelWizardGIFEmitter
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
Following copied from interface: org.eclipse.emf.codegen.ecore.genmodel.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
Following copied from interface: org.eclipse.emf.codegen.ecore.genmodel.GenModel
Parameters:
value - the new value of the 'Copyright Text' attribute.
See Also:
GenModel.getCopyrightText()

getModelDirectory

public java.lang.String getModelDirectory()
Specified by:
getModelDirectory in interface GenModel
Following copied from interface: org.eclipse.emf.codegen.ecore.genmodel.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
Following copied from interface: org.eclipse.emf.codegen.ecore.genmodel.GenModel
Parameters:
value - the new value of the 'Model Directory' attribute.
See Also:
GenModel.getModelDirectory()

isCreationCommands

public boolean isCreationCommands()
Specified by:
isCreationCommands in interface GenModel
Following copied from interface: org.eclipse.emf.codegen.ecore.genmodel.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
Following copied from interface: org.eclipse.emf.codegen.ecore.genmodel.GenModel
Parameters:
value - 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

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)

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

getPluginXMLEmitter

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

getPluginPropertiesEmitter

public JETEmitter getPluginPropertiesEmitter()

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 org.eclipse.core.runtime.IStatus validate()
Specified by:
validate in interface GenModel

hasPluginSupport

public boolean hasPluginSupport()

generate

public void generate(org.eclipse.core.runtime.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(org.eclipse.core.runtime.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(org.eclipse.core.runtime.IProgressMonitor progressMonitor)
Specified by:
generateEditor in interface GenBase
Overrides:
generateEditor 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

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

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

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
Following copied from interface: org.eclipse.emf.codegen.ecore.genmodel.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
Following copied from interface: org.eclipse.emf.codegen.ecore.genmodel.GenModel
Parameters:
value - 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
Following copied from interface: org.eclipse.emf.codegen.ecore.genmodel.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
Following copied from interface: org.eclipse.emf.codegen.ecore.genmodel.GenModel
Parameters:
value - the new value of the 'Editor Directory' attribute.
See Also:
GenModel.getEditorDirectory()

getModelPluginID

public java.lang.String getModelPluginID()
Specified by:
getModelPluginID in interface GenModel
Following copied from interface: org.eclipse.emf.codegen.ecore.genmodel.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
Following copied from interface: org.eclipse.emf.codegen.ecore.genmodel.GenModel
Parameters:
value - 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
Following copied from interface: org.eclipse.emf.codegen.ecore.genmodel.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
Following copied from interface: org.eclipse.emf.codegen.ecore.genmodel.GenModel
Parameters:
value - the new value of the 'Template Directory' attribute.
See Also:
GenModel.getTemplateDirectory()

isRuntimeJar

public boolean isRuntimeJar()
Specified by:
isRuntimeJar in interface GenModel
Following copied from interface: org.eclipse.emf.codegen.ecore.genmodel.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
Following copied from interface: org.eclipse.emf.codegen.ecore.genmodel.GenModel
Parameters:
value - the new value of the 'Runtime Jar' attribute.
See Also:
GenModel.isRuntimeJar()

getForeignModel

public EList getForeignModel()
Specified by:
getForeignModel in interface GenModel
Following copied from interface: org.eclipse.emf.codegen.ecore.genmodel.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
Following copied from interface: org.eclipse.emf.codegen.ecore.genmodel.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
Following copied from interface: org.eclipse.emf.codegen.ecore.genmodel.GenModel
Parameters:
value - the new value of the 'Dynamic Templates' attribute.
See Also:
GenModel.isDynamicTemplates()

getRedirection

public java.lang.String getRedirection()
Specified by:
getRedirection in interface GenModel
Following copied from interface: org.eclipse.emf.codegen.ecore.genmodel.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
Following copied from interface: org.eclipse.emf.codegen.ecore.genmodel.GenModel
Parameters:
value - the new value of the 'Redirection' attribute.
See Also:
GenModel.getRedirection()

isForceOverwrite

public boolean isForceOverwrite()
Specified by:
isForceOverwrite in interface GenModel
Following copied from interface: org.eclipse.emf.codegen.ecore.genmodel.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
Following copied from interface: org.eclipse.emf.codegen.ecore.genmodel.GenModel
Parameters:
value - the new value of the 'Force Overwrite' attribute.
See Also:
GenModel.isForceOverwrite()

getNonExternalizedStringTag

public java.lang.String getNonExternalizedStringTag()
Specified by:
getNonExternalizedStringTag in interface GenModel
Following copied from interface: org.eclipse.emf.codegen.ecore.genmodel.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
Following copied from interface: org.eclipse.emf.codegen.ecore.genmodel.GenModel
Parameters:
value - 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
Following copied from interface: org.eclipse.emf.codegen.ecore.genmodel.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
Following copied from interface: org.eclipse.emf.codegen.ecore.genmodel.GenModel
Parameters:
value - the new value of the 'Test Directory' attribute.
See Also:
GenModel.getTestDirectory()

getName

public java.lang.String getName()
Overrides:
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
Following copied from interface: org.eclipse.emf.codegen.ecore.genmodel.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
Following copied from interface: org.eclipse.emf.codegen.ecore.genmodel.GenModel
Parameters:
value - the new value of the 'Model Name' attribute.
See Also:
GenModel.getModelName()

getModelPluginClass

public java.lang.String getModelPluginClass()
Specified by:
getModelPluginClass in interface GenModel
Following copied from interface: org.eclipse.emf.codegen.ecore.genmodel.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
Following copied from interface: org.eclipse.emf.codegen.ecore.genmodel.GenModel
Parameters:
value - 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
Following copied from interface: org.eclipse.emf.codegen.ecore.genmodel.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
Following copied from interface: org.eclipse.emf.codegen.ecore.genmodel.GenModel
Parameters:
value - 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
Following copied from interface: org.eclipse.emf.codegen.ecore.genmodel.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
Following copied from interface: org.eclipse.emf.codegen.ecore.genmodel.GenModel
Parameters:
value - the new value of the 'Editor Plugin Class' attribute.
See Also:
GenModel.getEditorPluginClass()

isUpdateClasspath

public boolean isUpdateClasspath()
Specified by:
isUpdateClasspath in interface GenModel
Following copied from interface: org.eclipse.emf.codegen.ecore.genmodel.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
Following copied from interface: org.eclipse.emf.codegen.ecore.genmodel.GenModel
Parameters:
value - the new value of the 'Update Classpath' attribute.
See Also:
GenModel.isUpdateClasspath()

isGenerateSchema

public boolean isGenerateSchema()
Specified by:
isGenerateSchema in interface GenModel
Following copied from interface: org.eclipse.emf.codegen.ecore.genmodel.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
Following copied from interface: org.eclipse.emf.codegen.ecore.genmodel.GenModel
Parameters:
value - the new value of the 'Generate Schema' attribute.
See Also:
GenModel.isGenerateSchema()

isNonNLSMarkers

public boolean isNonNLSMarkers()
Specified by:
isNonNLSMarkers in interface GenModel
Following copied from interface: org.eclipse.emf.codegen.ecore.genmodel.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
Following copied from interface: org.eclipse.emf.codegen.ecore.genmodel.GenModel
Parameters:
value - the new value of the 'Non NLS Markers' attribute.
See Also:
GenModel.isNonNLSMarkers()

getGenPackages

public EList getGenPackages()
Specified by:
getGenPackages in interface GenModel
Following copied from interface: org.eclipse.emf.codegen.ecore.genmodel.GenModel
Returns:
the value of the 'Gen Packages' containment reference list.
See Also:
GenModelPackage.getGenModel_GenPackages(), GenPackage.getGenModel()

getUsedGenPackages

public EList getUsedGenPackages()
Specified by:
getUsedGenPackages in interface GenModel
Following copied from interface: org.eclipse.emf.codegen.ecore.genmodel.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)
Overrides:
eInverseAdd in class EObjectImpl
Following copied from interface: org.eclipse.emf.ecore.InternalEObject
Returns:
accumulated notifications.

eInverseRemove

public NotificationChain eInverseRemove(InternalEObject otherEnd,
                                        int featureID,
                                        java.lang.Class baseClass,
                                        NotificationChain msgs)
Overrides:
eInverseRemove in class EObjectImpl
Following copied from interface: org.eclipse.emf.ecore.InternalEObject
Returns:
accumulated notifications.

eGet

public java.lang.Object eGet(EStructuralFeature eFeature,
                             boolean resolve)
Specified by:
eGet in interface EObject
Overrides:
eGet in class EObjectImpl
Following copied from interface: org.eclipse.emf.ecore.EObject
Parameters:
feature - the feature of the value to fetch.
resolve - whether to resolve.
Returns:
the value of the given feature of the object.
Throws:
java.lang.IllegalArgumentException - if the feature is not one the meta class's features.
See Also:
InternalEList.basicIterator(), InternalEList.basicList(), EcoreUtil.resolve(EObject, ResourceSet), EObject.eSet(EStructuralFeature, Object), EObject.eUnset(EStructuralFeature), EObject.eIsSet(EStructuralFeature), EObject.eGet(EStructuralFeature)

eIsSet

public boolean eIsSet(EStructuralFeature eFeature)
Specified by:
eIsSet in interface EObject
Overrides:
eIsSet in class EObjectImpl
Following copied from interface: org.eclipse.emf.ecore.EObject
Parameters:
feature - the feature in question.
Returns:
whether the feature of the object is set.
Throws:
java.lang.IllegalArgumentException - if the feature is not one the meta class's features.
See Also:
EObject.eSet(EStructuralFeature, Object), EObject.eUnset(EStructuralFeature), EObject.eGet(EStructuralFeature, boolean)

eSet

public void eSet(EStructuralFeature eFeature,
                 java.lang.Object newValue)
Specified by:
eSet in interface EObject
Overrides:
eSet in class EObjectImpl
Following copied from interface: org.eclipse.emf.ecore.EObject
Parameters:
feature - the feature of the value to set.
Throws:
java.lang.IllegalArgumentException - if the feature is not one the meta class's features, or it isn't changeable.
java.lang.ClassCastException - if there is a type conflict.
ArrayStoreException - if there is a type conflect.
See Also:
EObject.eUnset(EStructuralFeature), EObject.eIsSet(EStructuralFeature), EObject.eGet(EStructuralFeature, boolean)

eUnset

public void eUnset(EStructuralFeature eFeature)
Specified by:
eUnset in interface EObject
Overrides:
eUnset in class EObjectImpl
Following copied from interface: org.eclipse.emf.ecore.EObject
Parameters:
feature - the feature in question.
Throws:
java.lang.IllegalArgumentException - if the feature is not one the meta class's features, or it isn't changeable.
See Also:
EObject.eIsSet(EStructuralFeature), EObject.eSet(EStructuralFeature, Object), EObject.eGet(EStructuralFeature, boolean)

toString

public java.lang.String toString()
Overrides:
toString in class EObjectImpl

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()

getEditorPluginClassToUse

protected java.lang.String getEditorPluginClassToUse()

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

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

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

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