Eclipse Community Forums - RDF feed
https://www.eclipse.org/forums/
Eclipse Community ForumsCore Java Library Profile for Eclipse
https://www.eclipse.org/forums/index.php/mv/msg/1096035/1797753/#msg_1797753
And use the model->import->import package from user model functionality in papyrus in eclipse
Then you can use standard java library types outside of just primitives in your papyrus UML diagram.
I've tested this with the code generator and it works with one caveat, you end up with an extra local copy of the standard library packages in the generated project. Simply delete these and you can move on with your day. I'm not sure, but eclipse payprus codegen doesn't currently seem to generate the imports necessary, so you'll have to do that manually or let the IDE do it for you, but it sure beats having placeholder types.
If you're wondering how this was done, I used the following eclipse marketplace plugin:jar2uml
To generate a UML file for the standard library jar file version 1.8, this is usually under the jre installation directory inside the lib folder.
This gave me a model with all the standard library packages within it, but the model was named rt.java.* instead of java.* which messed with the code generation process. So i simply removed the other packages other than java.* and made java the model itself instead of a package.
Note I posted this on stack overflow as well.]]>Amir Eslampanah2018-11-06T07:38:55-00:00Re: Core Java Library Profile for Eclipse
https://www.eclipse.org/forums/index.php/mv/msg/1096035/1797828/#msg_1797828
Amir Eslampanah2018-11-07T07:16:45-00:00Re: Core Java Library Profile for Eclipse
https://www.eclipse.org/forums/index.php/mv/msg/1096035/1798075/#msg_1798075
thanks for sharing this. It might be useful pour Papyrus SW designer, but we haven't had a closer look (and I don't know whether there are legal issues if we provide it).