Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Graphical Modeling Framework/Models/GenModel

< Graphical Modeling Framework
Revision as of 13:58, 29 June 2006 by Alexander.shatalin.borland.com (Talk | contribs) (All GenEditorGenerator properties listed)

This page contains a list of GMF GenModel parameters designed to be changed by user. Generated code could be fine-tuned by adjusting corresponding values. If any of these parameters was modified by user and stored in GMF GenModel, new value should be preserved on next transformation from GMF MapModel to GMF GenModel.

GenEditorGenerator

Copyright Text - multi-line text property. Specified text will be included as a top-level comment into the generated .java and plugin.xml files. Be careful – due to the current java merge settings top-level comments will not be changed for existing files - only newly generated .java files will be adornment with this comment. To change copyright text in existing .java files we suggest to remove all the sources and re-generating code from GMF GenModel.

Diagram File Extension - string property holding extension for diagram file.

Domain File Extension - string property holding extension for domain model file.

Dynamic Templates - boolean property switching on user-defined templates processing on generating code from this model (see Template Directory property).

Model ID – string property identifying generated diagram. Value of this property will be derived form EMF meta-model name by default. This value should be unique among all the generated diagramming plug-ins existing in any Eclipse installation. To create several GMF GenModels (diagrams) for the same meta-model this string should be changed to make it unique for each GMF GenModel instance.

Package Name Prefix

Same File For Diagram And Model

Template Diractory

GenDiagram

GenPlugin

GenEditorView

Back to the top