Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » UML2 » Re: UML to XMI export programmatically?
Re: UML to XMI export programmatically? [message #626202] Wed, 12 March 2008 13:17
Ed Merks is currently offline Ed Merks
Messages: 26141
Registered: July 2009
Senior Member
Gary,

Are you simply trying to save a UML instance using an interchangeable
format? Maybe XMI2UMLResource does that? I'm not really sure where
this export action is; I don't work with UML much, though I have it in
my workspace. You'd create such a resource using
XMI2UMLResource.Factory.INSTANCE.create... It's best to ask about UML
on the UML newsgroup, which I've added to the "to" list of the reply.


Gary Martin wrote:
> There is a UML to XMI Interchange Format converter as part of the Export in
> 'Eclipse'. I am looking for how to programmatically do the same thing. I
> know I can build a XSLT or JET2 or something else; however, what I need to
> be able to do is to programmatically invoke the same underlying
> functionality (do not want the wizard dialog box...just the conversion
> functionality).
>
> I'm new to eclipse - might this be part of the puzzle?
>
> http://download.eclipse.org/modeling/mdt/xsd/javadoc/2.3.0/o rg/eclipse/xsd/ecore/exporter/XMIExporter.html
>
>
>
>
>
Previous Topic:how to setSource&setTarget for ControlFlow in Activity??
Next Topic:linked graphic element from a model element
Goto Forum:
  


Current Time: Sat Oct 25 10:11:07 GMT 2014

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

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