|
Generation Framework | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.emf.common.notify.impl.BasicNotifierImpl
org.eclipse.emf.ecore.impl.BasicEObjectImpl
org.eclipse.emf.ecore.impl.EObjectImpl
org.eclipse.gmf.codegen.gmfgen.impl.GenEditorGeneratorImpl
public class GenEditorGeneratorImpl
An implementation of the model object 'Gen Editor Generator'.
The following features are implemented:
AuditsMetricsDiagramPluginEditorNavigatorDiagram UpdaterProperty SheetApplicationDomain Gen ModelPackage Name PrefixModel IDSame File For Diagram And ModelDiagram File ExtensionDomain File ExtensionDynamic TemplatesTemplate DirectoryCopyright TextExpression Providers
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl |
|---|
BasicEObjectImpl.EPropertiesHolder, BasicEObjectImpl.EPropertiesHolderBaseImpl, BasicEObjectImpl.EPropertiesHolderImpl |
| Nested classes/interfaces inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl |
|---|
BasicNotifierImpl.EAdapterList<E extends java.lang.Object & Adapter> |
| Nested classes/interfaces inherited from interface org.eclipse.emf.ecore.InternalEObject |
|---|
InternalEObject.EStore |
| Field Summary | |
|---|---|
protected GenApplication |
application
The cached value of the ' Application' containment reference |
protected GenAuditRoot |
audits
The cached value of the ' Audits' containment reference |
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 GenDiagram |
diagram
The cached value of the ' Diagram' containment reference |
protected static java.lang.String |
DIAGRAM_FILE_EXTENSION_EDEFAULT
The default value of the ' Diagram File Extension' attribute |
protected java.lang.String |
diagramFileExtension
The cached value of the ' Diagram File Extension' attribute |
protected GenDiagramUpdater |
diagramUpdater
The cached value of the ' Diagram Updater' containment reference |
protected static java.lang.String |
DOMAIN_FILE_EXTENSION_EDEFAULT
The default value of the ' Domain File Extension' attribute |
protected java.lang.String |
domainFileExtension
The cached value of the ' Domain File Extension' attribute |
protected GenModel |
domainGenModel
The cached value of the ' Domain Gen Model' reference |
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 GenEditorView |
editor
The cached value of the ' Editor' containment reference |
protected GenExpressionProviderContainer |
expressionProviders
The cached value of the ' Expression Providers' containment reference |
protected GenMetricContainer |
metrics
The cached value of the ' Metrics' containment reference |
protected static java.lang.String |
MODEL_ID_EDEFAULT
The default value of the ' Model ID' attribute |
protected java.lang.String |
modelID
The cached value of the ' Model ID' attribute |
protected GenNavigator |
navigator
The cached value of the ' Navigator' containment reference |
protected static java.lang.String |
PACKAGE_NAME_PREFIX_EDEFAULT
The default value of the ' Package Name Prefix' attribute |
protected java.lang.String |
packageNamePrefix
The cached value of the ' Package Name Prefix' attribute |
protected GenPlugin |
plugin
The cached value of the ' Plugin' containment reference |
protected GenPropertySheet |
propertySheet
The cached value of the ' Property Sheet' containment reference |
protected static boolean |
SAME_FILE_FOR_DIAGRAM_AND_MODEL_EDEFAULT
The default value of the ' Same File For Diagram And Model' attribute |
protected boolean |
sameFileForDiagramAndModel
The cached value of the ' Same File For Diagram And Model' attribute |
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 |
| 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 class org.eclipse.emf.ecore.impl.BasicEObjectImpl |
|---|
EVIRTUAL_GET, EVIRTUAL_IS_SET, EVIRTUAL_NO_VALUE, EVIRTUAL_SET, EVIRTUAL_UNSET |
| Fields inherited from interface org.eclipse.emf.ecore.InternalEObject |
|---|
EOPPOSITE_FEATURE_BASE |
| Constructor Summary | |
|---|---|
protected |
GenEditorGeneratorImpl()
|
| 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.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.ecore.EObject |
|---|
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eIsProxy, eIsSet, eResource, eSet, eUnset |
| 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 |
|---|
protected GenAuditRoot audits
Audits' containment reference.
getAudits()protected GenMetricContainer metrics
Metrics' containment reference.
getMetrics()protected GenDiagram diagram
Diagram' containment reference.
getDiagram()protected GenPlugin plugin
Plugin' containment reference.
getPlugin()protected GenEditorView editor
Editor' containment reference.
getEditor()protected GenNavigator navigator
Navigator' containment reference.
getNavigator()protected GenDiagramUpdater diagramUpdater
Diagram Updater' containment reference.
getDiagramUpdater()protected GenPropertySheet propertySheet
Property Sheet' containment reference.
getPropertySheet()protected GenApplication application
Application' containment reference.
getApplication()protected GenModel domainGenModel
Domain Gen Model' reference.
getDomainGenModel()protected static final java.lang.String PACKAGE_NAME_PREFIX_EDEFAULT
Package Name Prefix' attribute.
getPackageNamePrefix()protected java.lang.String packageNamePrefix
Package Name Prefix' attribute.
getPackageNamePrefix()protected static final java.lang.String MODEL_ID_EDEFAULT
Model ID' attribute.
getModelID()protected java.lang.String modelID
Model ID' attribute.
getModelID()protected static final boolean SAME_FILE_FOR_DIAGRAM_AND_MODEL_EDEFAULT
Same File For Diagram And Model' attribute.
isSameFileForDiagramAndModel(),
Constant Field Valuesprotected boolean sameFileForDiagramAndModel
Same File For Diagram And Model' attribute.
isSameFileForDiagramAndModel()protected static final java.lang.String DIAGRAM_FILE_EXTENSION_EDEFAULT
Diagram File Extension' attribute.
getDiagramFileExtension()protected java.lang.String diagramFileExtension
Diagram File Extension' attribute.
getDiagramFileExtension()protected static final java.lang.String DOMAIN_FILE_EXTENSION_EDEFAULT
Domain File Extension' attribute.
getDomainFileExtension()protected java.lang.String domainFileExtension
Domain File Extension' attribute.
getDomainFileExtension()protected static final boolean DYNAMIC_TEMPLATES_EDEFAULT
Dynamic Templates' attribute.
isDynamicTemplates(),
Constant Field Valuesprotected boolean dynamicTemplates
Dynamic Templates' attribute.
isDynamicTemplates()protected static final java.lang.String TEMPLATE_DIRECTORY_EDEFAULT
Template Directory' attribute.
getTemplateDirectory()protected java.lang.String templateDirectory
Template Directory' attribute.
getTemplateDirectory()protected static final java.lang.String COPYRIGHT_TEXT_EDEFAULT
Copyright Text' attribute.
getCopyrightText()protected java.lang.String copyrightText
Copyright Text' attribute.
getCopyrightText()protected GenExpressionProviderContainer expressionProviders
Expression Providers' containment reference.
getExpressionProviders()| Constructor Detail |
|---|
protected GenEditorGeneratorImpl()
| Method Detail |
|---|
protected EClass eStaticClass()
eStaticClass in class EObjectImplpublic GenAuditRoot getAudits()
getAudits in interface GenEditorGeneratorGenEditorGenerator.setAudits(GenAuditRoot),
GMFGenPackage.getGenEditorGenerator_Audits(),
GenAuditRoot.getEditorGen()
public NotificationChain basicSetAudits(GenAuditRoot newAudits,
NotificationChain msgs)
public void setAudits(GenAuditRoot newAudits)
setAudits in interface GenEditorGeneratornewAudits - the new value of the 'Audits' containment reference.GenEditorGenerator.getAudits()public GenMetricContainer getMetrics()
getMetrics in interface GenEditorGeneratorGenEditorGenerator.setMetrics(GenMetricContainer),
GMFGenPackage.getGenEditorGenerator_Metrics(),
GenMetricContainer.getEditorGen()
public NotificationChain basicSetMetrics(GenMetricContainer newMetrics,
NotificationChain msgs)
public void setMetrics(GenMetricContainer newMetrics)
setMetrics in interface GenEditorGeneratornewMetrics - the new value of the 'Metrics' containment reference.GenEditorGenerator.getMetrics()public GenDiagram getDiagram()
getDiagram in interface GenEditorGeneratorGenEditorGenerator.setDiagram(GenDiagram),
GMFGenPackage.getGenEditorGenerator_Diagram(),
GenDiagram.getEditorGen()
public NotificationChain basicSetDiagram(GenDiagram newDiagram,
NotificationChain msgs)
public void setDiagram(GenDiagram newDiagram)
setDiagram in interface GenEditorGeneratornewDiagram - the new value of the 'Diagram' containment reference.GenEditorGenerator.getDiagram()public GenPlugin getPlugin()
getPlugin in interface GenEditorGeneratorGenEditorGenerator.setPlugin(GenPlugin),
GMFGenPackage.getGenEditorGenerator_Plugin(),
GenPlugin.getEditorGen()
public NotificationChain basicSetPlugin(GenPlugin newPlugin,
NotificationChain msgs)
public void setPlugin(GenPlugin newPlugin)
setPlugin in interface GenEditorGeneratornewPlugin - the new value of the 'Plugin' containment reference.GenEditorGenerator.getPlugin()public GenEditorView getEditor()
getEditor in interface GenEditorGeneratorGenEditorGenerator.setEditor(GenEditorView),
GMFGenPackage.getGenEditorGenerator_Editor(),
GenEditorView.getEditorGen()
public NotificationChain basicSetEditor(GenEditorView newEditor,
NotificationChain msgs)
public void setEditor(GenEditorView newEditor)
setEditor in interface GenEditorGeneratornewEditor - the new value of the 'Editor' containment reference.GenEditorGenerator.getEditor()public GenNavigator getNavigator()
getNavigator in interface GenEditorGeneratorGenEditorGenerator.setNavigator(GenNavigator),
GMFGenPackage.getGenEditorGenerator_Navigator(),
GenNavigator.getEditorGen()
public NotificationChain basicSetNavigator(GenNavigator newNavigator,
NotificationChain msgs)
public void setNavigator(GenNavigator newNavigator)
setNavigator in interface GenEditorGeneratornewNavigator - the new value of the 'Navigator' containment reference.GenEditorGenerator.getNavigator()public GenDiagramUpdater getDiagramUpdater()
getDiagramUpdater in interface GenEditorGeneratorGenEditorGenerator.setDiagramUpdater(GenDiagramUpdater),
GMFGenPackage.getGenEditorGenerator_DiagramUpdater(),
GenDiagramUpdater.getEditorGen()
public NotificationChain basicSetDiagramUpdater(GenDiagramUpdater newDiagramUpdater,
NotificationChain msgs)
public void setDiagramUpdater(GenDiagramUpdater newDiagramUpdater)
setDiagramUpdater in interface GenEditorGeneratornewDiagramUpdater - the new value of the 'Diagram Updater' containment reference.GenEditorGenerator.getDiagramUpdater()public GenPropertySheet getPropertySheet()
getPropertySheet in interface GenEditorGeneratorGenEditorGenerator.setPropertySheet(GenPropertySheet),
GMFGenPackage.getGenEditorGenerator_PropertySheet(),
GenPropertySheet.getEditorGen()
public NotificationChain basicSetPropertySheet(GenPropertySheet newPropertySheet,
NotificationChain msgs)
public void setPropertySheet(GenPropertySheet newPropertySheet)
setPropertySheet in interface GenEditorGeneratornewPropertySheet - the new value of the 'Property Sheet' containment reference.GenEditorGenerator.getPropertySheet()public GenApplication getApplication()
getApplication in interface GenEditorGeneratorGenEditorGenerator.setApplication(GenApplication),
GMFGenPackage.getGenEditorGenerator_Application(),
GenApplication.getEditorGen()
public NotificationChain basicSetApplication(GenApplication newApplication,
NotificationChain msgs)
public void setApplication(GenApplication newApplication)
setApplication in interface GenEditorGeneratornewApplication - the new value of the 'Application' containment reference.GenEditorGenerator.getApplication()public GenModel getDomainGenModel()
getDomainGenModel in interface GenEditorGeneratorGenEditorGenerator.setDomainGenModel(GenModel),
GMFGenPackage.getGenEditorGenerator_DomainGenModel()public GenModel basicGetDomainGenModel()
public void setDomainGenModel(GenModel newDomainGenModel)
setDomainGenModel in interface GenEditorGeneratornewDomainGenModel - the new value of the 'Domain Gen Model' reference.GenEditorGenerator.getDomainGenModel()public java.lang.String getPackageNamePrefixGen()
public java.lang.String getPackageNamePrefix()
GenEditorGenerator
getPackageNamePrefix in interface GenEditorGeneratorGenEditorGenerator.setPackageNamePrefix(String),
GMFGenPackage.getGenEditorGenerator_PackageNamePrefix()public void setPackageNamePrefix(java.lang.String newPackageNamePrefix)
setPackageNamePrefix in interface GenEditorGeneratornewPackageNamePrefix - the new value of the 'Package Name Prefix' attribute.GenEditorGenerator.getPackageNamePrefix()public java.lang.String getModelIDGen()
public java.lang.String getModelID()
GenEditorGeneratorIf the meaning of the 'Model ID' attribute isn't clear, there really should be more of a description here...
getModelID in interface GenEditorGeneratorGenEditorGenerator.setModelID(String),
GMFGenPackage.getGenEditorGenerator_ModelID()public void setModelID(java.lang.String newModelID)
setModelID in interface GenEditorGeneratornewModelID - the new value of the 'Model ID' attribute.GenEditorGenerator.getModelID()public boolean isSameFileForDiagramAndModel()
isSameFileForDiagramAndModel in interface GenEditorGeneratorGenEditorGenerator.setSameFileForDiagramAndModel(boolean),
GMFGenPackage.getGenEditorGenerator_SameFileForDiagramAndModel()public void setSameFileForDiagramAndModel(boolean newSameFileForDiagramAndModel)
setSameFileForDiagramAndModel in interface GenEditorGeneratornewSameFileForDiagramAndModel - the new value of the 'Same File For Diagram And Model' attribute.GenEditorGenerator.isSameFileForDiagramAndModel()public java.lang.String getDiagramFileExtensionGen()
public java.lang.String getDiagramFileExtension()
GenEditorGeneratorIf the meaning of the 'Diagram File Extension' attribute isn't clear, there really should be more of a description here...
Distinct even when sameFileForDiagramAndModel is true. On init diagram, we just copy domain model element to new file with that extension. I won't try to set this equal to domainFileExtension
getDiagramFileExtension in interface GenEditorGeneratorGenEditorGenerator.setDiagramFileExtension(String),
GMFGenPackage.getGenEditorGenerator_DiagramFileExtension()public void setDiagramFileExtension(java.lang.String newDiagramFileExtension)
setDiagramFileExtension in interface GenEditorGeneratornewDiagramFileExtension - the new value of the 'Diagram File Extension' attribute.GenEditorGenerator.getDiagramFileExtension()public java.lang.String getDomainFileExtensionGen()
public java.lang.String getDomainFileExtension()
GenEditorGenerator
getDomainFileExtension in interface GenEditorGeneratorGenEditorGenerator.setDomainFileExtension(String),
GMFGenPackage.getGenEditorGenerator_DomainFileExtension()public void setDomainFileExtension(java.lang.String newDomainFileExtension)
setDomainFileExtension in interface GenEditorGeneratornewDomainFileExtension - the new value of the 'Domain File Extension' attribute.GenEditorGenerator.getDomainFileExtension()public boolean isDynamicTemplates()
isDynamicTemplates in interface GenEditorGeneratorGenEditorGenerator.setDynamicTemplates(boolean),
GMFGenPackage.getGenEditorGenerator_DynamicTemplates()public void setDynamicTemplates(boolean newDynamicTemplates)
setDynamicTemplates in interface GenEditorGeneratornewDynamicTemplates - the new value of the 'Dynamic Templates' attribute.GenEditorGenerator.isDynamicTemplates()public java.lang.String getTemplateDirectory()
getTemplateDirectory in interface GenEditorGeneratorGenEditorGenerator.setTemplateDirectory(String),
GMFGenPackage.getGenEditorGenerator_TemplateDirectory()public void setTemplateDirectory(java.lang.String newTemplateDirectory)
setTemplateDirectory in interface GenEditorGeneratornewTemplateDirectory - the new value of the 'Template Directory' attribute.GenEditorGenerator.getTemplateDirectory()public java.lang.String getCopyrightText()
getCopyrightText in interface GenEditorGeneratorGenEditorGenerator.setCopyrightText(String),
GMFGenPackage.getGenEditorGenerator_CopyrightText()public void setCopyrightText(java.lang.String newCopyrightText)
setCopyrightText in interface GenEditorGeneratornewCopyrightText - the new value of the 'Copyright Text' attribute.GenEditorGenerator.getCopyrightText()public GenExpressionProviderContainer getExpressionProviders()
getExpressionProviders in interface GenEditorGeneratorGenEditorGenerator.setExpressionProviders(GenExpressionProviderContainer),
GMFGenPackage.getGenEditorGenerator_ExpressionProviders(),
GenExpressionProviderContainer.getEditorGen()
public NotificationChain basicSetExpressionProviders(GenExpressionProviderContainer newExpressionProviders,
NotificationChain msgs)
public void setExpressionProviders(GenExpressionProviderContainer newExpressionProviders)
setExpressionProviders in interface GenEditorGeneratornewExpressionProviders - the new value of the 'Expression Providers' containment reference.GenEditorGenerator.getExpressionProviders()public EList<GenPackage> getAllDomainGenPackages(boolean withUsed)
getAllDomainGenPackages in interface GenEditorGeneratorpublic boolean requiresParser(LabelTextAccessMethod method)
requiresParser in interface GenEditorGeneratorpublic boolean hasAudits()
hasAudits in interface GenEditorGenerator
public NotificationChain eInverseAdd(InternalEObject otherEnd,
int featureID,
NotificationChain msgs)
eInverseAdd in class BasicEObjectImpl
public NotificationChain eInverseRemove(InternalEObject otherEnd,
int featureID,
NotificationChain msgs)
eInverseRemove in class BasicEObjectImpl
public java.lang.Object eGet(int featureID,
boolean resolve,
boolean coreType)
eGet in interface InternalEObjecteGet in class BasicEObjectImpl
public void eSet(int featureID,
java.lang.Object newValue)
eSet in interface InternalEObjecteSet in class BasicEObjectImplpublic void eUnset(int featureID)
eUnset in interface InternalEObjecteUnset in class BasicEObjectImplpublic boolean eIsSet(int featureID)
eIsSet in interface InternalEObjecteIsSet in class BasicEObjectImplpublic java.lang.String toString()
toString in class BasicEObjectImpl
|
Generation Framework | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Guidelines for using Eclipse APIs.
Copyright (c) IBM Corp., Borland Software Corp., and others 2005,2006. All rights reserved.