Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Papyrus » How to import a RegisteredLibrary using the method getRegisteredLibraries ()(How to import a RegisteredLibrary using the method getRegisteredLibraries ())
How to import a RegisteredLibrary using the method getRegisteredLibraries () [message #1014484] Mon, 25 February 2013 22:41 Go to next message
Mariem Makni is currently offline Mariem MakniFriend
Messages: 46
Registered: February 2013
Member
Hi,

I am using Eclipse-SDK-4.3M5 Kepler and papyrus kepler.

I would like to use the Command/Handler to add a popup menu using commands and

Handlers in the view of the Model Explorer when creating a papyrus Model.

This popup menu has a menu that allows you to import a platform from a list, but the

problem is when I use the method getRegisteredLibraries () to Get

the registered library(platform), it doesnt'work and it doesn't import the platform

I used: RegisteredLibrary [] = platform RegisteredLibrary.getRegisteredLibraries ();

I'd appreciate any help on this. Thanks,


Best Regards,


Re: How to import a RegisteredLibrary using the method getRegisteredLibraries () [message #1016512 is a reply to message #1014484] Wed, 06 March 2013 17:51 Go to previous messageGo to next message
Remi Schnekenburger is currently offline Remi SchnekenburgerFriend
Messages: 169
Registered: July 2009
Location: Palaiseau, France
Senior Member
Hi,

Your platform file (platform.uml) should be registered in a plugin installed in your Eclipse, using the extension point: org.eclipse.papyrus.uml.extensionpoints.UMLLibrary. It should also be added in your binary build of your installed plugin.

You can have a look on sysml profile plugin to have some example: org.eclipse.papyrus.sysml

Cheers
Remi


Remi Schnekenburger

Get professional Eclipse developer support:
http://eclipsesource.com/en/services/developer-support/
Re: How to import a RegisteredLibrary using the method getRegisteredLibraries () [message #1016728 is a reply to message #1016512] Thu, 07 March 2013 13:54 Go to previous message
Mariem Makni is currently offline Mariem MakniFriend
Messages: 46
Registered: February 2013
Member
Hi Remi,

Thanks a lot for your answer Smile
Previous Topic:Problem of reverse engineering with Modisco & Papyrus
Next Topic:Update site installation errors
Goto Forum:
  


Current Time: Thu Apr 25 16:35:05 GMT 2024

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

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

Back to the top