Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Papyrus » Missing Java Profile
Missing Java Profile [message #602585] Sun, 25 July 2010 14:17 Go to next message
misty soul is currently offline misty soulFriend
Messages: 4
Registered: July 2010
Junior Member
I have switched recently from old papyrusuml to the new eclipse Papyrus MDT.
I am not able anymore to use Java primitive types in my diagrams. I do have the JavaPrimitiveTypes.library.uml somewhere in a uml2.uml.resources jar in my eclipse plugins, but Papyrus doesn't seem to use it. The available profiles seem to be only Ecore, Standard ans SysML.

Is there a simple way to have the primitive Java datatypes (or better the primitive types plus some frequently used Java classes) ?
Re: Missing Java Profile [message #602599 is a reply to message #602585] Sun, 25 July 2010 23:00 Go to previous messageGo to next message
Remi Schnekenburger is currently offline Remi SchnekenburgerFriend
Messages: 168
Registered: July 2009
Location: Palaiseau, France
Senior Member
Hi,

Since the last version of old Papyrus UML, we did not integrate the management of registered libraries. This should come in next releases.

To simply add access to the java primitive types, you can follow these steps:

close your Papyrus model
open the uml model file using the default uml basic editor (the file having the same name than your "di" file, but with extension "uml".
select the root package
Menu UML Editor > Package > Import Type...
in the dialog that opens, as a choice pattern, enter "java". This should filter only required java predefined types
add all required types (select them and click "add")
save your uml model and leave the UML basic editor
open your di file. You should now have access to the java primitive types.

Hope this will help!

Cheers,
RĂ©mi

--
http://www.eclipse.org/papyrus


Remi Schnekenburger

Get professional Eclipse developer support:
http://eclipsesource.com/en/services/developer-support/
Re: Missing Java Profile [message #602607 is a reply to message #602599] Mon, 26 July 2010 07:31 Go to previous message
misty soul is currently offline misty soulFriend
Messages: 4
Registered: July 2010
Junior Member
Thank you for the hint, it worked perfectly!
Previous Topic:Missing Java Profile
Next Topic:[Announce] Papyrus 0.7.0 is available
Goto Forum:
  


Current Time: Sat Jul 11 08:36:43 GMT 2020

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

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

Back to the top