Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Epsilon » Emfatic Annotations
Emfatic Annotations [message #1018311] Wed, 13 March 2013 15:48 Go to next message
serhat gezgin is currently offline serhat gezginFriend
Messages: 243
Registered: January 2013
Location: Izmir
Senior Member
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" ?


Re: Emfatic Annotations [message #1018318 is a reply to message #1018311] Wed, 13 March 2013 15:57 Go to previous message
Antonio Garcia-Dominguez is currently offline Antonio Garcia-DominguezFriend
Messages: 472
Registered: January 2010
Senior Member
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: Sat May 26 19:56:44 GMT 2018

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

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

Back to the top