Bug 447262 - [Documentation] No embedded documentation for Diagram Editor Palette Customization
Summary: [Documentation] No embedded documentation for Diagram Editor Palette Customiz...
Status: ASSIGNED
Alias: None
Product: Papyrus
Classification: Modeling
Component: Diagram (show other bugs)
Version: 1.0.1   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Mickael ADAM CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 399858 512343
  Show dependency tree
 
Reported: 2014-10-15 06:02 EDT by Klaas Gadeyne CLA
Modified: 2018-07-26 16:25 EDT (History)
8 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Klaas Gadeyne CLA 2014-10-15 06:02:49 EDT
Title should be pretty self explaining.

blocks bug 399858 [Documentation] Papyrus shall have an embedded documentation
Comment 1 Eclipse Genie CLA 2017-02-14 09:00:02 EST
New Gerrit change created: https://git.eclipse.org/r/91047
Comment 3 Toni Siljamäki CLA 2018-07-02 10:23:58 EDT
Hello.
I'm testing Photon R right now.

After the Neon.2 release, after which customized palettes cannot be created like in Luna, Mars and upto Neon.2, there is a need for this missing documentation.

There is no guidance, documentation or palette migration tool as mentioned in
https://wiki.eclipse.org/Papyrus/Oxygen_Work_Description/Refactoring/PaletteDefinition

So... My initial plan was to manually re-create the costomized palettes for my new and 3-in-1 integrated DSML's.

But: The new right-click -> Customize... tool in the palette seem to be incomplete, because you cannot set the value of stereotype properties applied to the model element to be created by the palette, and without any documentation it is not possible to understand what to do.

There is also no documentation/guidance available on how to publish/register these customized palettes by the DSML plugins. This will be problem after I manage to understand how to create the customized palettes.

What is the status of this old Bugzilla?
Comment 4 Toni Siljamäki CLA 2018-07-03 12:10:24 EDT
Hi again.

We also have the related bugzilla
Bug 512343 - [Palettes] Papyrus Palette framework should be refactored
(should be linked to this bug, don't know why I cannot do this linking today)

...and its related Comment 4 Peter Cigehn CLA Friend 2017-04-18 04:14:19 EDT
reporting about palettes that suddenly disappeared in Oxygen,
I guess those palettes referred to were the customized palettes for the Papyrus-RT DSL/DSML financed by Ericsson.

I now tried to re-create the customized DSML palettes that worked in Neon.2
I found the following video on the New PaletteConfiguration editor:
https://www.youtube.com/watch?v=XnhxHPksbjc

But the video (with no audio) doesn't help, and there is still no documentation.

I try to create a palette in this new PaletteConfiguration editor where I:
1) create a model element
2) apply a DSL/DSML stereotype on the element
3) and then assign a creation value to a DSL-Enumeration-typed stereotype property.

This cannot be achieved, because this new PaletteConfiguration framework does not seem to support DSL/DSML Enumeration typed stereotype properties. (or any other EnumerationLiteral values)

This also means that the Ericsson NWADSL (developed by me) presented at EclipseCon Europe 2014 currently cannot be migrated to Oxygen and Photon releases of Papyrus (= not to any release after Neon.2), not sure about how it affects the Papyrus-RT DSL/DSML palettes.

What is the current and immediate plan on how to rectify this sudden shortcoming on DSL/DSML palette customizations in Papyrus?

Right now I cannot migrate the new 3-in-1 DSMLs created for the automotive industry using Papyrus Neon.2 to take advantage of the great performance improvement in:

Bug 528925 - [stereotypes] The application of a stereotype is very slow compared to element creation

I do not understand how to solve this problem by myself.
Comment 5 Toni Siljamäki CLA 2018-07-26 16:25:38 EDT
Hello.
Please also check my new Comment 8 in Bug 512343.
I appreciated when Papyrus was customized-DSML friendly...
/Toni