Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » UML2 » How to load a *.uml model from a custom Eclipse plugin
How to load a *.uml model from a custom Eclipse plugin [message #504231] Thu, 17 December 2009 09:00 Go to next message
Miguel Angel Garcia de Dios is currently offline Miguel Angel Garcia de Dios
Messages: 22
Registered: July 2009
Junior Member
Hi everyone.
I have my own Eclipse plugin that takes a .uml model as selected element
and just shows info messages aobut the content of that uml model, i.e
classes, attributes and so on.
I have read about how to load uml models from stadalone apps but I just
want to do it from an Eclipse plugin.
Supossing I have the URI of my .uml model extracted from the selected
resource. Which is the standard code for loading a .uml model from an
Eclipse plugin and get its content?
Thank you in advance.
Re: How to load a *.uml model from a custom Eclipse plugin [message #504281 is a reply to message #504231] Thu, 17 December 2009 23:21 Go to previous message
Kenn Hussey is currently offline Kenn Hussey
Messages: 1618
Registered: July 2009
Senior Member
The steps are essentially the same, the major difference being that the package, factory, and pathmap URIs do not need to be explicitly registered when running from a plug-in (since it happens automatically via extension points).

Kenn
Previous Topic:Disjoint Generalization
Next Topic:How to load a *.uml model from a custom Eclipse plugin
Goto Forum:
  


Current Time: Fri Aug 01 10:01:42 EDT 2014

Powered by FUDForum. Page generated in 0.01425 seconds