Skip to main content



      Home
Home » Modeling » Epsilon » Emfatic Annotations
Emfatic Annotations [message #1018311] Wed, 13 March 2013 11:48 Go to next message
Eclipse UserFriend
Hi all,

i want to ask u about gmf.diagram annotations. on Epsilon GMF tutorial says.


Denotes the root object of the metamodel. Only one (non-abstract) EClass must be annotated as gmf.diagram. Accepts the following details
diagram.extension (optional) : the file extension for the diagram file
model.extension (optional) : the file extension for the domain model
onefile (optional) : a value of true specifies that the domain model and the diagram should be stored in the same file
rcp (optional) : a value of true specifies that the editor is intended to be part of a RCP product (printing is disabled)
units (optional) : the units for the diagram (e.g. Pixels)

but on example they uses;

@gmf.diagram(foo="bar") but this isnt on explanations.

so i want to ask what is the mean of foo="bar" ?

regards,


Re: Emfatic Annotations [message #1018318 is a reply to message #1018311] Wed, 13 March 2013 11:57 Go to previous message
Eclipse UserFriend
Hi Serhat,

It's a bit of a historic artifact Smile. Earlier versions of EMFatic did not accept having annotations with no attributes with them, so we used 'foo="bar"' as a placeholder so it would parse correctly.

This issue was fixed since then, but we left the documentation as it was for people that were using older releases of EMFatic. It's not necessary any more.
Previous Topic:Ecore model creation with EOL
Next Topic:EWL UserPrompt
Goto Forum:
  


Current Time: Wed Jul 23 06:41:27 EDT 2025

Powered by FUDForum. Page generated in 0.05153 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top