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()
Generated
Model Properties:

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.
 org.eclipse.emf.common.util.EList<GenCustomGeneratorExtension> getExtensions()
          Returns the value of the 'Extensions' containment reference list.
 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()
Generated
Model Properties:
opposite="editorGen" containment="true"

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

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()
Generated
Model Properties:
opposite="editorGen" containment="true"

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

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()
Generated
Model Properties:
opposite="editorGen" containment="true" required="true"

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

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()
Generated
Model Properties:
opposite="editorGen" containment="true" required="true"

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

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()
Generated
Model Properties:
opposite="editorGen" containment="true" required="true"

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

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()
Generated
Model Properties:
opposite="editorGen" containment="true"

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

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()
Generated
Model Properties:
opposite="editorGen" containment="true" required="true"

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

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()
Generated
Model Properties:
opposite="editorGen" containment="true"

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

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()
Generated
Model Properties:
opposite="editorGen" containment="true"

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

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()
Generated
Model Properties:

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

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()
Generated
Model Properties:

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

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()
Generated
Model Properties:
id="true" required="true"

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

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()
Generated
Model Properties:

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

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()
Generated
Model Properties:

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

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()
Generated
Model Properties:

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

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()
Generated
Model Properties:
default="false"

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

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()
Generated
Model Properties:

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

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()
Generated
Model Properties:

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

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()
Generated
Model Properties:
opposite="editorGen" containment="true"

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

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()
Generated
Model Properties:
opposite="editorGen" containment="true"

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

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()
Generated
Model Properties:
opposite="editorGen" containment="true" annotation="http://www.eclipse.org/gmf/2005/constraints ocl='labelParsers.oclIsUndefined() implies (diagram.getAllNodes()->forAll(labels->size()=0) and diagram.links->forAll(labels->size()=0) and not diagram.childNodes->exists(oclIsKindOf(GenChildLabelNode)))' description='No label may be declared without a parser'"

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

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()
Generated
Model Properties:
containment="true"

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()
Generated
Model Properties:

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

getExtensions

org.eclipse.emf.common.util.EList<GenCustomGeneratorExtension> getExtensions()
Returns the value of the 'Extensions' containment reference list. The list contents are of type GenCustomGeneratorExtension. It is bidirectional and its opposite is 'Generator'. Custom extensions for this generator

Returns:
the value of the 'Extensions' containment reference list.
See Also:
GMFGenPackage.getGenEditorGenerator_Extensions(), GenCustomGeneratorExtension.getGenerator()
Generated
Model Properties:
opposite="generator" containment="true"

getAllDomainGenPackages

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

Generated
Model Properties:

hasAudits

boolean hasAudits()


Copyright © 2012. All Rights Reserved.