|
Re: Customize palette (EMF-based) [message #1674073 is a reply to message #1663432] |
Sat, 14 March 2015 15:52 |
Paul Roubekas Messages: 207 Registered: March 2012 Location: Chattanooga, TN USA |
Senior Member |
|
|
I have a similar question.
Can Papyrus work with EMF by importing the EMF classes & interfaces and use them on the Papyrus Palette?
Or...
Can a EMF model be imported to Papyrus? The only import in Papyrus I see is "import from Open Table" and I don't see how that would work.
And if yes....
Does Papyrus have the ability to merge a new version of an EMF model with an existing one?
What about full round tripping between EMF and Papyrus. Is it an existing feature?
Oxygen 3a
Windows 10
[Updated on: Sat, 14 March 2015 22:12] Report message to a moderator
|
|
|
Re: Customize palette (EMF-based) [message #1678640 is a reply to message #1674073] |
Mon, 16 March 2015 09:23 |
Camille Letavernier Messages: 952 Registered: February 2011 |
Senior Member |
|
|
Hi,
Papyrus does not support random EMF models; only UML is supported. Or, more precisely, you can add random EMF Extensions, but you always need a UML Model, but Papyrus won't provide any specific support for that. You'd need to rely on the lower-level (EMF-compliant) tools used by Papyrus (Especially GMF for the Palettes/Diagrams, and implement a custom import menu/action).
Alternatively, you could use an Ecore to UML transformation, then use the generated UML Model in Papyrus (I think the Eclipse/UML2 project provides an Ecore importer, although I never used it)
Camille
Camille Letavernier
|
|
|
|
Re: Customize palette (EMF-based) [message #1679036 is a reply to message #1678640] |
Mon, 16 March 2015 12:49 |
|
Hi,
Speaking as a UML2 committer, I can say that round-tripping
Ecore-to-UML import and UML-to-Ecore export is a supported use case.
It has been tuned and improved over the years and should work reliably.
If you have the complete UML2 SDK installed, you will find a "Convert
to UML Model..." action in the "Sample Ecore Editor" menu in the main
menu bar when editing an Ecore model. Conversely, when editing a UML
model, the "UML Editor" menu has a "Convert To -> Ecore Model..."
action.
HTH,
Christian
On 2015-03-16 09:23:27 +0000, Camille Letavernier said:
> Hi,
>
> Papyrus does not support random EMF models; only UML is supported. Or,
> more precisely, you can add random EMF Extensions, but you always need
> a UML Model, but Papyrus won't provide any specific support for that.
> You'd need to rely on the lower-level (EMF-compliant) tools used by
> Papyrus (Especially GMF for the Palettes/Diagrams, and implement a
> custom import menu/action).
>
> Alternatively, you could use an Ecore to UML transformation, then use
> the generated UML Model in Papyrus (I think the Eclipse/UML2 project
> provides an Ecore importer, although I never used it)
>
> Camille
|
|
|
Re: Customize palette (EMF-based) [message #1679506 is a reply to message #1679036] |
Mon, 16 March 2015 16:45 |
Paul Roubekas Messages: 207 Registered: March 2012 Location: Chattanooga, TN USA |
Senior Member |
|
|
When I go out to the Eclipse MarketPlace and enter the search term "UML2" I get 10 hits. Only two have "UML2" in the title.
UML2 Plug-in for Eclipse 10.7. Which is confusing since Eclipse is only version 4.4.
UML2Ruby 3.0.1.
Neither option has "SDK" in the title. Which leaves me wondering. When the term "SDK" is used I am think Software Developers Kit. Am i wrong on that?
It is starting to sound like the Ecore(EMF) -> UML round tripping is a eclipse contributors tool not a software developers tool. One thing I just realized that I did not say was that I am ramping up on this stuff.
Oxygen 3a
Windows 10
[Updated on: Mon, 16 March 2015 16:55] Report message to a moderator
|
|
|
|
|
Re: Customize palette (EMF-based) [message #1679988 is a reply to message #1679968] |
Mon, 16 March 2015 21:01 |
|
Hi,
UML2 is an Eclipse project hosted at and published by Eclipse.org, and
it is a member of the "simultaneous release train". Therefore, it
isn't in the Eclipse Marketplace. Rather, you'll find it in the
simultaneous release repository: Luna if you're on the Eclipse 4.4
release, or Mars if you are using pre-release builds of Eclipse 4.5.
You will find the appropriate repository pre-configured in the software
installation dialog, accessed by the "Help -> Install New Software..."
menu in the main menu bar.
Yes, the term SDK is used by Eclipse projects to mean "software
developers kit" or "software development kit". So, the UML2 SDK
includes not only the UML run-time components (EMF-based metamodel
implementation and supporting APIs) but also the end-user tools such as
the UML model editor, EMF model importer, model conversion/export
actions, and more.
Lots to ramp up on. Enjoy!
HTH,
Christian
On 2015-03-16 20:53:16 +0000, Paul Roubekas said:
> Re-posting due to prior error on my part.
>
>
> When I go out to the Eclipse MarketPlace and enter the search term
> "UML2" I get 10 hits. Only two have "UML2" in the title.
>
> UML2 Plug-in for Eclipse 10.7. Which is confusing since Eclipse is only
> version 4.4.
> UML2Ruby 3.0.1.
>
> Neither option has "SDK" in the title. Which leaves me wondering. When
> the term "SDK" is used I am think Software Developers Kit. Am i wrong
> on that?
>
> It is starting to sound like the Ecore(EMF) -> UML round tripping is a
> eclipse contributors tool not a software developers tool. One thing I
> just realized that I did not say was that I am ramping up on this stuff.
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03724 seconds