Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » Integrate own Gef in GMF
Integrate own Gef in GMF [message #504692] Tue, 22 December 2009 03:48 Go to next message
Thomas is currently offline ThomasFriend
Messages: 79
Registered: October 2009
Member
Hi,

I extended the gef framework for my own behaviors and now i have the problem to integrate it in gmf. How can i set the required references of gmf to my gef? Is it possible to do this so easy as i thougth?

I downloaded the sources of gef and generate a my.gef plugin. It seems to be working.
I downloaded the gmf sources too, because i need to update the dependancies. Instead of org.eclipse.gef i am using my.gef.

Is there something where i can get the sources for the GMF Project. I downloaded it from the CVS but i can´t compile it. I want to switch the org.eclipse.gef dependancies with my.my.gef.

Now a important question. What are the steps to generate the gmf plugins. I only need to update my.gef on org.eclipse.gmf.ui.diagrams (+.properties), org.eclipse.[something].gef. Do i need to generate the whole GMF Source Project as a new Plugin or just the 3 Projects?



Thanks
Thomas

[Updated on: Wed, 23 December 2009 08:43]

Report message to a moderator

Re: Integrate own Gef in GMF [message #505658 is a reply to message #504692] Mon, 04 January 2010 09:12 Go to previous messageGo to next message
Thomas is currently offline ThomasFriend
Messages: 79
Registered: October 2009
Member
Is Feature Patch a solution for this? Fragments do not work for this, but Fragments are not "definded" to replace Plugins.

The only "do not make a heavy change of gmf and gef solution" is a feature patch.

But is this true, its just a self study????

Thanks
Re: Integrate own Gef in GMF [message #505684 is a reply to message #505658] Mon, 04 January 2010 14:00 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 31840
Registered: July 2009
Senior Member
Thomas,

Your problem description is very vague, including the one you cross
posted to the newcomers newsgroup. Fragments are not intended for
injecting your extensions into a base framework. If you extend GEF then
you'll need to extend the GMF classes where your want your classes to be
used instead of the basic GEF ones.


Thomas wrote:
> Is Feature Patch a solution for this? Fragments do not work for this,
> but Fragments are not "definded" to replace Plugins.
>
> The only "do not make a heavy change of gmf and gef solution" is a
> feature patch.
>
> But is this true, its just a self study????
>
> Thanks


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: Integrate own Gef in GMF [message #505744 is a reply to message #505684] Mon, 04 January 2010 18:22 Go to previous messageGo to next message
Thomas is currently offline ThomasFriend
Messages: 79
Registered: October 2009
Member
I know, but have you ever seen the overhead changing every gmf class which depends on gef? It should be exist a better solution. I tried it but, puh....after 1 minute i stopped because of nonsense!
Yes this is because of i don´t have the time right now.
Re: Integrate own Gef in GMF [message #505755 is a reply to message #505744] Mon, 04 January 2010 18:56 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 31840
Registered: July 2009
Senior Member
Thomas,

It remains unclear what specific problem you're trying to solve. I
don't imagine you've changed every GEF class nor that you will have to
change every GMF class that depends on GEF. It's unlikely you'll get
help unless you're more specific.


Thomas wrote:
> I know, but have you ever seen the overhead changing every gmf class
> which depends on gef? It should be exist a better solution. I tried
> it but, puh....after 1 minute i stopped because of nonsense!
> Yes this is because of i don´t have the time right now.


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: Integrate own Gef in GMF [message #505848 is a reply to message #505755] Tue, 05 January 2010 10:51 Go to previous message
Thomas is currently offline ThomasFriend
Messages: 79
Registered: October 2009
Member
Ok, i solved it with a friend. We imported the plugins as source code build a new version (Plugin and feature) changed the depandancies of GEF and GMF in the plugin.xml. It worked.
Doesn´t though eclipse is that good to handle it that easy....
Sorry that i was annoying.
Thomas
Previous Topic:markerNavigationProviders extension point problem...
Next Topic:Connection moves diagram on click
Goto Forum:
  


Current Time: Tue Apr 20 05:15:34 GMT 2021

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

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

Back to the top