Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » [GMF Tooling] Documentation on gmfgen(How to find documentation on gmfgen)
[GMF Tooling] Documentation on gmfgen [message #759825] Wed, 30 November 2011 08:51 Go to next message
Arthur Daussy is currently offline Arthur DaussyFriend
Messages: 30
Registered: September 2011
Member
Hi everyone,

I have been a user of GMF Tooling for over the last 6 month but I would like to improve my skills on this domain. So I would like to know which references ( websites , books etc..) could I use to learn more about all the attributes of the GMF Gen model (There so many of them I am not really of what they do). I have been looking over several wikis and stuff but nothing seems to describes what I am looking for.

Any documentation of the subject would be appreciated.

Regards,

Arthur Daussy
Re: [GMF Tooling] Documentation on gmfgen [message #759853 is a reply to message #759825] Wed, 30 November 2011 10:25 Go to previous messageGo to next message
Mickael Istria is currently offline Mickael IstriaFriend
Messages: 865
Registered: July 2009
Location: Grenoble, France
Senior Member

The wiki is the primary and best maintained source of information:
http://wiki.eclipse.org/Graphical_Modeling_Framework
But not always the best structured and easy one.

This may help you:
http://wiki.eclipse.org/Graphical_Modeling_Framework/Models/GMFGen

Also I just want to remind you that the GMF documentation is owned by
the community. So if you want to fix or improve it; then please do it!

--
http://mickaelistria.wordpress.com
http://twitter.com/#!/mickaelistria
http://www.petalslink.com
Re: [GMF Tooling] Documentation on gmfgen [message #759856 is a reply to message #759853] Wed, 30 November 2011 10:39 Go to previous messageGo to next message
Arthur Daussy is currently offline Arthur DaussyFriend
Messages: 30
Registered: September 2011
Member
Thanks you answer. However I have already found all of those documentation.
Yes, I would like to participate to document it however to do so I have to be sure of what you are doing.
Is it ok for you if when I need information I use this topic to ask you.
If you agree with that I will be able to complete the doc about GMF in http://wiki.eclipse.org/Graphical_Modeling_Framework/Models/GMFGen.

Regards,

Arthur Daussy
Re: [GMF Tooling] Documentation on gmfgen [message #759862 is a reply to message #759856] Wed, 30 November 2011 11:16 Go to previous messageGo to next message
Mickael Istria is currently offline Mickael IstriaFriend
Messages: 865
Registered: July 2009
Location: Grenoble, France
Senior Member

On 30/11/2011 11:39, Arthur Daussy wrote:
> Thanks you answer. However I have already found all of those documentation.
> Yes, I would like to participate to document it however to do so I have
> to be sure of what you are doing.

Since GMF Tooling dev team has totally changed, most questions will be
more about "what previous committer did" rather than "what current
committer are doing", but we'll try to answer ;)

> Is it ok for you if when I need information I use this topic to ask you.

For sure, that's why this forum is for!

> If you agree with that I will be able to complete the doc about GMF in
> http://wiki.eclipse.org/Graphical_Modeling_Framework/Models/GMFGen.

We all trust one and other, if you feel that you are able to update the
wiki, don't ask any agreement: just do it.
Wiki has revision, so that even if you make some very bad things, it is
easy to rollback. (I use it often ;)

--
http://mickaelistria.wordpress.com
http://twitter.com/#!/mickaelistria
http://www.petalslink.com
Re: [GMF Tooling] Documentation on gmfgen [message #759914 is a reply to message #759862] Wed, 30 November 2011 14:53 Go to previous messageGo to next message
Arthur Daussy is currently offline Arthur DaussyFriend
Messages: 30
Registered: September 2011
Member
So my first question:

Is it a bug when you set the ModelElementSelector of a TypeModelFacet with an OCL Constraint an it generated the following code:

........
if(UMLPackage.eINSTANCE.getBehavior().isSuperTypeOf(domainElement.eClass()) && isBehavior_690(containerView, (Behavior)domainElement)) {
return EntryStateBehaviorEditPart.VISUAL_ID;
}
........
/**
* @generated
*/
private static boolean isBehavior_690(Behavior domainElement) {
Object result = UMLOCLFactory.getExpression(2, UMLPackage.eINSTANCE.getBehavior(), null).evaluate(domainElement);
return result instanceof Boolean && ((Boolean)result).booleanValue();
}
.........

So it do not compile?
Re: [GMF Tooling] Documentation on gmfgen [message #759932 is a reply to message #759914] Wed, 30 November 2011 15:32 Go to previous message
Mickael Istria is currently offline Mickael IstriaFriend
Messages: 865
Registered: July 2009
Location: Grenoble, France
Senior Member

If generated code does not compile, then I think it is a bug.
Please report it to the tracker with the gmf* files causing the issue.

--
http://mickaelistria.wordpress.com
http://twitter.com/#!/mickaelistria
http://www.petalslink.com
Previous Topic:How to store gmf diagrams in CDO server
Next Topic:Broken link on the homepage of GMP
Goto Forum:
  


Current Time: Thu Mar 28 14:18:43 GMT 2024

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

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

Back to the top