|
Re: Associate Language [message #1400695 is a reply to message #1400606] |
Mon, 14 July 2014 15:38 |
|
Hi,
The Eclipse UML implementation used by Papyrus provides a library of
Java primitive types. You can import that or any other library at any
time. Look for "JavaPrimitiveTypes" in the dialog shown by the "Import
-> Import Registered Package" context-menu action in the Model Explorer.
If you are intending to generate Java code from your Papyrus project,
you might apply the Java profile provided by the Java Profile feature
[1] and then generate code using the facilities provided by the Java
Generator feature [2].
You can find the Java code generation features in the Papyrus project's
repository [3]; they are not installed by default. Note that in order
to see the individual features, you'll have to uncheck the "Group items
by category" option in the Install New Software wizard.
Apart from this, Papyrus does not have a concept of association of
models with programming languages. It's really all in the profiles and
model libraries (and their adjunct resources and plug-ins).
HTH,
Christian
[1] org.eclipse.papyrus.java.profile.feature
[2] org.eclipse.papyrus.java.generator.feature
[3] http://download.eclipse.org/modeling/mdt/papyrus/updates/releases/luna/
On 2014-07-14 13:52:21 +0000, Fran Gomez said:
> Hi everyone!
>
> I am working on a papyrus project. I have already create diagrams,
> containing classes and properties... I want to assign primitive data
> types to this properties, but I created the project without assigning
> any programming language. Is it possible to assign, let's say, JAVA to
> the current project?
>
> Greetings!
|
|
|
|
Powered by
FUDForum. Page generated in 0.27455 seconds