Pregunta

Is there a way to deal with the EAJAVA_.. types like EAJAVA_INT in eclipse emf plugin?

There is an exception thrown while importing the xmi file:

org.eclipse.emf.ecore.xmi.UnresolvedReferenceException: Unresolved reference 'EAJava_int'.

Many thanks in advance!

¿Fue útil?

Solución

There was a recommendation made for a similar question: How do I import a SysML model (in XMI format) to Papyrus?

That approach requires creating a new EMF project, and importing an XMI file during the creation of that project. I'm working with Eclipse Juno, and I don't see that option occurring with the current EMF bundles.

I've read that XMI import isn't supported currently supported with Papyrus.

As an alternative, for UML modeling in an Eclipse platform, there's Modelio (Free Edition available) which is apparently based on Eclipse. Modelio supports XMI Import/Export with the addition of a particular Modelio module.

My only concern with Modelio is that although it appears to be based on Eclipse, but it doesn't install via an Update site - one has to install the whole Modelio bundle, and maintain it separate from one's primary Eclipse IDE. It is, at least, a free alternative for UML modeling in the Eclipse IDE, such that would support XMI import/export. There's also a video tutorial available, demonstrating how to use Eclipse stand-alone and Modelio on the same project, simultaneously.

I'd found this question while trying answer a similar question that I'd encountered, myself. I was looking at the idea of using the Sparx Systems XSD Datatypes Package, in a project. That package from Sparx Systems is provided in XMI format. It's been an informative process, to determine an answer to that, and I thought I may as well share what I'd found. I suppose I'll be switching to Modelio, shortly. Hope it helps ;)

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top