Skip to main content



      Home
Home » Modeling » Papyrus » Missing Java Profile
Missing Java Profile [message #602585] Sun, 25 July 2010 10:17 Go to next message
Eclipse UserFriend
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 19:00 Go to previous messageGo to next message
Eclipse UserFriend
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
Re: Missing Java Profile [message #602607 is a reply to message #602599] Mon, 26 July 2010 03:31 Go to previous message
Eclipse UserFriend
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: Mon Jul 07 11:20:04 EDT 2025

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

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

Back to the top