Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Graphiti » Graphiti and e4 / compatibility layer
Graphiti and e4 / compatibility layer [message #903480] Thu, 23 August 2012 15:20 Go to next message
Johnny Qin is currently offline Johnny Qin
Messages: 40
Registered: April 2012
Member
Hi guys,

I see ppl talking about Graphiti and e4 on the forum, at least in these couple of threads
http://www.eclipse.org/forums/index.php/m/875101/
http://www.eclipse.org/forums/index.php/t/250343/

Seems right now compatibility layer is a must to have Graphiti work with e4 concepts. I am not sure about what this "e4 compatibility layer" really means. In Lars Vogel's tutorial, seems "org.eclipse.rcp" feature should be added to feature based product and he points out that "In Eclipse 4 this feature has been upgraded to include most of the necessary additional plug-ins for the compatibility mode. If your product is based on this feature you can directly start your Eclipse 3.x product and it will work."

In my feature based product file, I have feature as follows.
<features>
      <feature id="my.own.feature" version="1.0.0.qualifier"/>
      <feature id="org.eclipse.e4.rcp"/>
      <feature id="org.eclipse.emf.ecore"/>
      <feature id="org.eclipse.emf.common"/>
      <feature id="org.eclipse.platform"/>
      <feature id="org.eclipse.help"/>
      <feature id="org.eclipse.equinox.p2.core.feature"/>
      <feature id="org.eclipse.equinox.p2.rcp.feature"/>
      <feature id="org.eclipse.equinox.p2.user.ui"/>
      <feature id="org.eclipse.rcp"/>
      <feature id="org.eclipse.equinox.p2.extras.feature"/>
      <feature id="org.eclipse.graphiti.feature"/>
      <feature id="org.eclipse.graphiti.export.feature"/>
      <feature id="org.eclipse.graphiti.feature.tools"/>
      <feature id="org.eclipse.graphiti.sdk.feature"/>
      <feature id="org.eclipse.graphiti.feature.tools.source"/>
      <feature id="org.eclipse.graphiti.feature.examples"/>
      <feature id="org.eclipse.graphiti.feature.examples.source"/>
      <feature id="org.eclipse.graphiti.source.feature"/>
   </features>


Every time I add a graphiti plugin as a dependency of any local plugin (in MANIFEST file). That local plugin cannot run. Am I missing any feature in the product?

When I created a plugin in Juno and checked Graphiti editor template, "org.eclipse.ui" is automatically added as a dependency. Am I suppose to add some feature including "org.eclipse.ui" plugin to my product? This is completely Eclipse 3.x stuff, I am really getting confused about how to take advantage of compatibility layer to find a work-around and get Graphiti editor work in an e4 rcp application.

Can anyone provide a tutorial or example? Just to get people started with the Graphiti and e4 integration.

Thanks!
Re: Graphiti and e4 / compatibility layer [message #903712 is a reply to message #903480] Fri, 24 August 2012 03:23 Go to previous messageGo to next message
Michael Wenz is currently offline Michael Wenz
Messages: 1574
Registered: July 2009
Location: Walldorf, Germany
Senior Member
Johnny,

seems you're pointing out an issue here, would you please file this as a
Bugzilla to track it?

From a first look it appears as if EMF Edit UI which we use at various spots
brings in that dependency...

Thanks,
Michael
Re: Graphiti and e4 / compatibility layer [message #903788 is a reply to message #903712] Sat, 25 August 2012 20:50 Go to previous message
Johnny Qin is currently offline Johnny Qin
Messages: 40
Registered: April 2012
Member
Thanks Michael. I have fired a bug @ https://bugs.eclipse.org/bugs/show_bug.cgi?id=388054

Best regards,
Johnny


Michael Wenz wrote on Fri, 24 August 2012 03:23
Johnny,

seems you're pointing out an issue here, would you please file this as a
Bugzilla to track it?

From a first look it appears as if EMF Edit UI which we use at various spots
brings in that dependency...

Thanks,
Michael
Previous Topic:providing visual feedback depending on state during connection
Next Topic:Associate diagram extension
Goto Forum:
  


Current Time: Fri Jul 25 14:23:48 EDT 2014

Powered by FUDForum. Page generated in 0.01937 seconds