org.eclipse.gmf.codegen.gmfgen
Interface GenEditorGenerator

All Superinterfaces:
org.eclipse.emf.ecore.EObject, org.eclipse.emf.common.notify.Notifier
All Known Implementing Classes:
GenEditorGeneratorImpl

public interface GenEditorGenerator
extends org.eclipse.emf.ecore.EObject

A representation of the model object 'Gen Editor Generator'.

The following features are supported:

See Also:
GMFGenPackage.getGenEditorGenerator()

Method Summary
 org.eclipse.emf.common.util.EList<org.eclipse.emf.codegen.ecore.genmodel.GenPackage> getAllDomainGenPackages(boolean withUsed)
          Returns all genpackages from domain genmodel
 GenApplication getApplication()
          Returns the value of the 'Application' containment reference.
 GenAuditRoot getAudits()
          Returns the value of the 'Audits' containment reference.
 org.eclipse.emf.common.util.EList<GenContextMenu> getContextMenus()
          Returns the value of the 'Context Menus' containment reference list.
 String getCopyrightText()
          Returns the value of the 'Copyright Text' attribute.
 GenDiagram getDiagram()
          Returns the value of the 'Diagram' containment reference.
 String getDiagramFileExtension()
          Returns the value of the 'Diagram File Extension' attribute.
 GenDiagramUpdater getDiagramUpdater()
          Returns the value of the 'Diagram Updater' containment reference.
 String getDomainFileExtension()
          Returns the value of the 'Domain File Extension' attribute.
 org.eclipse.emf.codegen.ecore.genmodel.GenModel getDomainGenModel()
          Returns the value of the 'Domain Gen Model' reference.
 GenEditorView getEditor()
          Returns the value of the 'Editor' containment reference.
 GenExpressionProviderContainer getExpressionProviders()
          Returns the value of the 'Expression Providers' containment reference.
 GenParsers getLabelParsers()
          Returns the value of the 'Label Parsers' containment reference.
 GenMetricContainer getMetrics()
          Returns the value of the 'Metrics' containment reference.
 DynamicModelAccess getModelAccess()
          Returns the value of the 'Model Access' containment reference.
 String getModelID()
          Returns the value of the 'Model ID' attribute.
 GenNavigator getNavigator()
          Returns the value of the 'Navigator' containment reference.
 String getPackageNamePrefix()
          Returns the value of the 'Package Name Prefix' attribute.
 GenPlugin getPlugin()
          Returns the value of the 'Plugin' containment reference.
 String getPluginDirectory()
          Returns the value of the 'Plugin Directory' attribute.
 GenPropertySheet getPropertySheet()
          Returns the value of the 'Property Sheet' containment reference.
 String getTemplateDirectory()
          Returns the value of the 'Template Directory' attribute.
 boolean hasAudits()
           
 boolean isDynamicTemplates()
          Returns the value of the 'Dynamic Templates' attribute.
 boolean isSameFileForDiagramAndModel()
          Returns the value of the 'Same File For Diagram And Model' attribute.
 void setApplication(GenApplication value)
          Sets the value of the 'Application' containment reference.
 void setAudits(GenAuditRoot value)
          Sets the value of the 'Audits' containment reference.
 void setCopyrightText(String value)
          Sets the value of the 'Copyright Text' attribute.
 void setDiagram(GenDiagram value)
          Sets the value of the 'Diagram' containment reference.
 void setDiagramFileExtension(String value)
          Sets the value of the 'Diagram File Extension' attribute.
 void setDiagramUpdater(GenDiagramUpdater value)
          Sets the value of the 'Diagram Updater' containment reference.
 void setDomainFileExtension(String value)
          Sets the value of the 'Domain File Extension' attribute.
 void setDomainGenModel(org.eclipse.emf.codegen.ecore.genmodel.GenModel value)
          Sets the value of the 'Domain Gen Model' reference.
 void setDynamicTemplates(boolean value)
          Sets the value of the 'Dynamic Templates' attribute.
 void setEditor(GenEditorView value)
          Sets the value of the 'Editor' containment reference.
 void setExpressionProviders(GenExpressionProviderContainer value)
          Sets the value of the 'Expression Providers' containment reference.
 void setLabelParsers(GenParsers value)
          Sets the value of the 'Label Parsers' containment reference.
 void setMetrics(GenMetricContainer value)
          Sets the value of the 'Metrics' containment reference.
 void setModelAccess(DynamicModelAccess value)
          Sets the value of the 'Model Access' containment reference.
 void setModelID(String value)
          Sets the value of the 'Model ID' attribute.
 void setNavigator(GenNavigator value)
          Sets the value of the 'Navigator' containment reference.
 void setPackageNamePrefix(String value)
          Sets the value of the 'Package Name Prefix' attribute.
 void setPlugin(GenPlugin value)
          Sets the value of the 'Plugin' containment reference.
 void setPluginDirectory(String value)
          Sets the value of the 'Plugin Directory' attribute.
 void setPropertySheet(GenPropertySheet value)
          Sets the value of the 'Property Sheet' containment reference.
 void setSameFileForDiagramAndModel(boolean value)
          Sets the value of the 'Same File For Diagram And Model' attribute.
 void setTemplateDirectory(String value)
          Sets the value of the 'Template Directory' attribute.
 
Methods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
 
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
 

Method Detail

getAudits

GenAuditRoot getAudits()
Returns the value of the 'Audits' containment reference. It is bidirectional and its opposite is 'Editor Gen'.

Returns:
the value of the 'Audits' containment reference.
See Also:
setAudits(GenAuditRoot), GMFGenPackage.getGenEditorGenerator_Audits(), GenAuditRoot.getEditorGen()

setAudits

void setAudits(GenAuditRoot value)
Sets the value of the 'Audits' containment reference.

Parameters:
value - the new value of the 'Audits' containment reference.
See Also:
getAudits()

getMetrics

GenMetricContainer getMetrics()
Returns the value of the 'Metrics' containment reference. It is bidirectional and its opposite is 'Editor Gen'.

If the meaning of the 'Metrics' containment reference isn't clear, there really should be more of a description here...

Returns:
the value of the 'Metrics' containment reference.
See Also:
setMetrics(GenMetricContainer), GMFGenPackage.getGenEditorGenerator_Metrics(), GenMetricContainer.getEditorGen()

setMetrics

void setMetrics(GenMetricContainer value)
Sets the value of the 'Metrics' containment reference.

Parameters:
value - the new value of the 'Metrics' containment reference.
See Also:
getMetrics()

getDiagram

GenDiagram getDiagram()
Returns the value of the 'Diagram' containment reference. It is bidirectional and its opposite is 'Editor Gen'.

If the meaning of the 'Diagram' containment reference isn't clear, there really should be more of a description here...

Returns:
the value of the 'Diagram' containment reference.
See Also:
setDiagram(GenDiagram), GMFGenPackage.getGenEditorGenerator_Diagram(), GenDiagram.getEditorGen()

setDiagram

void setDiagram(GenDiagram value)
Sets the value of the 'Diagram' containment reference.

Parameters:
value - the new value of the 'Diagram' containment reference.
See Also:
getDiagram()

getPlugin

GenPlugin getPlugin()
Returns the value of the 'Plugin' containment reference. It is bidirectional and its opposite is 'Editor Gen'.

If the meaning of the 'Plugin' containment reference isn't clear, there really should be more of a description here...

Returns:
the value of the 'Plugin' containment reference.
See Also:
setPlugin(GenPlugin), GMFGenPackage.getGenEditorGenerator_Plugin(), GenPlugin.getEditorGen()

setPlugin

void setPlugin(GenPlugin value)
Sets the value of the 'Plugin' containment reference.

Parameters:
value - the new value of the 'Plugin' containment reference.
See Also:
getPlugin()

getEditor

GenEditorView getEditor()
Returns the value of the 'Editor' containment reference. It is bidirectional and its opposite is 'Editor Gen'.

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

Returns:
the value of the 'Editor' containment reference.
See Also:
setEditor(GenEditorView), GMFGenPackage.getGenEditorGenerator_Editor(), GenEditorView.getEditorGen()

setEditor

void setEditor(GenEditorView value)
Sets the value of the 'Editor' containment reference.

Parameters:
value - the new value of the 'Editor' containment reference.
See Also:
getEditor()

getNavigator

GenNavigator getNavigator()
Returns the value of the 'Navigator' containment reference. It is bidirectional and its opposite is 'Editor Gen'.

If the meaning of the 'Navigator' containment reference isn't clear, there really should be more of a description here...

Returns:
the value of the 'Navigator' containment reference.
See Also:
setNavigator(GenNavigator), GMFGenPackage.getGenEditorGenerator_Navigator(), GenNavigator.getEditorGen()

setNavigator

void setNavigator(GenNavigator value)
Sets the value of the 'Navigator' containment reference.

Parameters:
value - the new value of the 'Navigator' containment reference.
See Also:
getNavigator()

getDiagramUpdater

GenDiagramUpdater getDiagramUpdater()
Returns the value of the 'Diagram Updater' containment reference. It is bidirectional and its opposite is 'Editor Gen'.

If the meaning of the 'Diagram Updater' containment reference isn't clear, there really should be more of a description here...

Returns:
the value of the 'Diagram Updater' containment reference.
See Also:
setDiagramUpdater(GenDiagramUpdater), GMFGenPackage.getGenEditorGenerator_DiagramUpdater(), GenDiagramUpdater.getEditorGen()

setDiagramUpdater

void setDiagramUpdater(GenDiagramUpdater value)
Sets the value of the 'Diagram Updater' containment reference.

Parameters:
value - the new value of the 'Diagram Updater' containment reference.
See Also:
getDiagramUpdater()

getPropertySheet

GenPropertySheet getPropertySheet()
Returns the value of the 'Property Sheet' containment reference. It is bidirectional and its opposite is 'Editor Gen'.

If the meaning of the 'Property Sheet' containment reference isn't clear, there really should be more of a description here...

Returns:
the value of the 'Property Sheet' containment reference.
See Also:
setPropertySheet(GenPropertySheet), GMFGenPackage.getGenEditorGenerator_PropertySheet(), GenPropertySheet.getEditorGen()

setPropertySheet

void setPropertySheet(GenPropertySheet value)
Sets the value of the 'Property Sheet' containment reference.

Parameters:
value - the new value of the 'Property Sheet' containment reference.
See Also:
getPropertySheet()

getApplication

GenApplication getApplication()
Returns the value of the 'Application' containment reference. It is bidirectional and its opposite is 'Editor Gen'. If application is defined within the model then generator should target RCP

Returns:
the value of the 'Application' containment reference.
See Also:
setApplication(GenApplication), GMFGenPackage.getGenEditorGenerator_Application(), GenApplication.getEditorGen()

setApplication

void setApplication(GenApplication value)
Sets the value of the 'Application' containment reference.

Parameters:
value - the new value of the 'Application' containment reference.
See Also:
getApplication()

getDomainGenModel

org.eclipse.emf.codegen.ecore.genmodel.GenModel getDomainGenModel()
Returns the value of the 'Domain Gen Model' reference. This is primary EMF genmodel for user's domain model

Returns:
the value of the 'Domain Gen Model' reference.
See Also:
setDomainGenModel(GenModel), GMFGenPackage.getGenEditorGenerator_DomainGenModel()

setDomainGenModel

void setDomainGenModel(org.eclipse.emf.codegen.ecore.genmodel.GenModel value)
Sets the value of the 'Domain Gen Model' reference.

Parameters:
value - the new value of the 'Domain Gen Model' reference.
See Also:
getDomainGenModel()

getPackageNamePrefix

String getPackageNamePrefix()
Returns the value of the 'Package Name Prefix' attribute. Derived from genModel.genPackage[0].getBasePackage() by default

Returns:
the value of the 'Package Name Prefix' attribute.
See Also:
setPackageNamePrefix(String), GMFGenPackage.getGenEditorGenerator_PackageNamePrefix()

setPackageNamePrefix

void setPackageNamePrefix(String value)
Sets the value of the 'Package Name Prefix' attribute.

Parameters:
value - the new value of the 'Package Name Prefix' attribute.
See Also:
getPackageNamePrefix()

getModelID

String getModelID()
Returns the value of the 'Model ID' attribute.

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

Returns:
the value of the 'Model ID' attribute.
See Also:
setModelID(String), GMFGenPackage.getGenEditorGenerator_ModelID()

setModelID

void setModelID(String value)
Sets the value of the 'Model ID' attribute.

Parameters:
value - the new value of the 'Model ID' attribute.
See Also:
getModelID()

isSameFileForDiagramAndModel

boolean isSameFileForDiagramAndModel()
Returns the value of the 'Same File For Diagram And Model' attribute. Specified whether editor should create separate file for domain elements if diagram file references no domain model

Returns:
the value of the 'Same File For Diagram And Model' attribute.
See Also:
setSameFileForDiagramAndModel(boolean), GMFGenPackage.getGenEditorGenerator_SameFileForDiagramAndModel()

setSameFileForDiagramAndModel

void setSameFileForDiagramAndModel(boolean value)
Sets the value of the 'Same File For Diagram And Model' attribute.

Parameters:
value - the new value of the 'Same File For Diagram And Model' attribute.
See Also:
isSameFileForDiagramAndModel()

getDiagramFileExtension

String getDiagramFileExtension()
Returns the value of the 'Diagram File Extension' attribute.

If 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

Returns:
the value of the 'Diagram File Extension' attribute.
See Also:
setDiagramFileExtension(String), GMFGenPackage.getGenEditorGenerator_DiagramFileExtension()

setDiagramFileExtension

void setDiagramFileExtension(String value)
Sets the value of the 'Diagram File Extension' attribute.

Parameters:
value - the new value of the 'Diagram File Extension' attribute.
See Also:
getDiagramFileExtension()

getDomainFileExtension

String getDomainFileExtension()
Returns the value of the 'Domain File Extension' attribute. By default, genModel.genPackage[0].getPrefix().toLowerCase(), as in emf/templates/editor/pluign.xmljet

Returns:
the value of the 'Domain File Extension' attribute.
See Also:
setDomainFileExtension(String), GMFGenPackage.getGenEditorGenerator_DomainFileExtension()

setDomainFileExtension

void setDomainFileExtension(String value)
Sets the value of the 'Domain File Extension' attribute.

Parameters:
value - the new value of the 'Domain File Extension' attribute.
See Also:
getDomainFileExtension()

isDynamicTemplates

boolean isDynamicTemplates()
Returns the value of the 'Dynamic Templates' attribute. The default value is "false".

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

Returns:
the value of the 'Dynamic Templates' attribute.
See Also:
setDynamicTemplates(boolean), GMFGenPackage.getGenEditorGenerator_DynamicTemplates()

setDynamicTemplates

void setDynamicTemplates(boolean value)
Sets the value of the 'Dynamic Templates' attribute.

Parameters:
value - the new value of the 'Dynamic Templates' attribute.
See Also:
isDynamicTemplates()

getTemplateDirectory

String getTemplateDirectory()
Returns the value of the 'Template Directory' attribute.

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

Returns:
the value of the 'Template Directory' attribute.
See Also:
setTemplateDirectory(String), GMFGenPackage.getGenEditorGenerator_TemplateDirectory()

setTemplateDirectory

void setTemplateDirectory(String value)
Sets the value of the 'Template Directory' attribute.

Parameters:
value - the new value of the 'Template Directory' attribute.
See Also:
getTemplateDirectory()

getCopyrightText

String getCopyrightText()
Returns the value of the 'Copyright Text' attribute.

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

Returns:
the value of the 'Copyright Text' attribute.
See Also:
setCopyrightText(String), GMFGenPackage.getGenEditorGenerator_CopyrightText()

setCopyrightText

void setCopyrightText(String value)
Sets the value of the 'Copyright Text' attribute.

Parameters:
value - the new value of the 'Copyright Text' attribute.
See Also:
getCopyrightText()

getExpressionProviders

GenExpressionProviderContainer getExpressionProviders()
Returns the value of the 'Expression Providers' containment reference. It is bidirectional and its opposite is 'Editor Gen'.

If the meaning of the 'Expression Providers' containment reference isn't clear, there really should be more of a description here...

Returns:
the value of the 'Expression Providers' containment reference.
See Also:
setExpressionProviders(GenExpressionProviderContainer), GMFGenPackage.getGenEditorGenerator_ExpressionProviders(), GenExpressionProviderContainer.getEditorGen()

setExpressionProviders

void setExpressionProviders(GenExpressionProviderContainer value)
Sets the value of the 'Expression Providers' containment reference.

Parameters:
value - the new value of the 'Expression Providers' containment reference.
See Also:
getExpressionProviders()

getModelAccess

DynamicModelAccess getModelAccess()
Returns the value of the 'Model Access' containment reference. It is bidirectional and its opposite is 'Editor Gen'. If present, specifies dynamic access to domain model(s), without using generated Java code

Returns:
the value of the 'Model Access' containment reference.
See Also:
setModelAccess(DynamicModelAccess), GMFGenPackage.getGenEditorGenerator_ModelAccess(), DynamicModelAccess.getEditorGen()

setModelAccess

void setModelAccess(DynamicModelAccess value)
Sets the value of the 'Model Access' containment reference.

Parameters:
value - the new value of the 'Model Access' containment reference.
See Also:
getModelAccess()

getLabelParsers

GenParsers getLabelParsers()
Returns the value of the 'Label Parsers' containment reference. It is bidirectional and its opposite is 'Editor Gen'.

If the meaning of the 'Label Parsers' containment reference isn't clear, there really should be more of a description here...

If present, describes access to and types of parser implementations

Returns:
the value of the 'Label Parsers' containment reference.
See Also:
setLabelParsers(GenParsers), GMFGenPackage.getGenEditorGenerator_LabelParsers(), GenParsers.getEditorGen()

setLabelParsers

void setLabelParsers(GenParsers value)
Sets the value of the 'Label Parsers' containment reference.

Parameters:
value - the new value of the 'Label Parsers' containment reference.
See Also:
getLabelParsers()

getContextMenus

org.eclipse.emf.common.util.EList<GenContextMenu> getContextMenus()
Returns the value of the 'Context Menus' containment reference list. The list contents are of type GenContextMenu.

If the meaning of the 'Context Menus' containment reference list isn't clear, there really should be more of a description here...

Returns:
the value of the 'Context Menus' containment reference list.
See Also:
GMFGenPackage.getGenEditorGenerator_ContextMenus()

getPluginDirectory

String getPluginDirectory()
Returns the value of the 'Plugin Directory' attribute. The target directory for generated editor code. Similar to EMF's GenModel#editorDirectory

Returns:
the value of the 'Plugin Directory' attribute.
See Also:
setPluginDirectory(String), GMFGenPackage.getGenEditorGenerator_PluginDirectory()

setPluginDirectory

void setPluginDirectory(String value)
Sets the value of the 'Plugin Directory' attribute.

Parameters:
value - the new value of the 'Plugin Directory' attribute.
See Also:
getPluginDirectory()

getAllDomainGenPackages

org.eclipse.emf.common.util.EList<org.eclipse.emf.codegen.ecore.genmodel.GenPackage> getAllDomainGenPackages(boolean withUsed)
Returns all genpackages from domain genmodel


hasAudits

boolean hasAudits()


Copyright © 2011. All Rights Reserved.