Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [gef3d-dev] gef3d.ext depdendency

On 05.06.10 21:07, Miles Parker wrote:
I'm wondering why ..gef3d.ext has a dependency on org.eclipse.emf.transaction? It should only need:

 org.eclipse.emf.ecore;bundle-version="2.5.0",
 org.eclipse.emf.ecore.edit;bundle-version="2.5.0"

To compile at least..


I fixed this by extracting all EMF related classes (as a matter of fact there are only three EMF dependant classes) to a newly create plugin called
    org.eclipse.gef3d.ext.emf
and the classes into subpackages called *.emf. The following classes were moved:
  • org.eclipse.gef3d.ext.multieditor.emf.INestableEditorWithEditingDomain
  • org.eclipse.gef3d.ext.multieditor.emf.INestableEditorWithResourceSet
  • org.eclipse.gef3d.ext.reverselookup.emf.EObjectPathFinder
Plugin org.eclipse.gef3d.gmf reexports this new plugin for convenience. However, if your code depends on one of the above classes, you will have to add the ".emf" to the import statement. Also see my comment to the related bug report you opened: https://bugs.eclipse.org/bugs/show_bug.cgi?id=315886

Cheers,

Jens

P.S.: Thank you for the patches, Miles. (Although I haven't used them this time, simply because I had a fixed version already in the pipeline or because I fixed the problems differently.)
   

Back to the top