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: 240
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" ?

regards,


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: 309
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: Thu Nov 27 05:40:18 GMT 2014

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

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