Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Papyrus » Palette Customization.
Palette Customization. [message #1760379] Wed, 26 April 2017 14:13
Tatiana Smith is currently offline Tatiana SmithFriend
Messages: 5
Registered: April 2017
Junior Member
Dear all,

could you be kind to clarify something about Palette customization of Papyrus.
I added my configuration in plugin.xml:

<extension
point="org.eclipse.papyrus.infra.viewpoints.policy.custom">
<contribution
file="resource/configuration/myConfiguration.configuration"
original="platform:/plugin/org.eclipse.papyrus.infra.viewpoints.policy/builtin/default.configuration">
</contribution>
</extension>

Than added Activity Diagram into extended Default Papyrus Viewpoint and created Palette rules (please see attached).
index.php/fa/29148/0/

1. I tried to hide "Opaque Action" model element in the Palette using Palette rule: activity.nodes.miscellaneousactions.opaqueaction=> deny.
2. I added a type of the model elements begin dropped in the context menu of the Model Explorer using "Chiled rules" Element: "ActivityGroup NamedElement,ActivityContent", Origin: "Package Namespace, PackagebaleElement, TemplateableElement".

However, Papyrus doesn't react on these rules:
1. "Opaque Action" is still in the Palette.
2. When I choose "Activity" element in Model Explorer and open "New Child" menu there are only 2 model elements : Activity and Comment.

index.php/fa/29149/0/
index.php/fa/29150/0/

Could you please explain, what I'm doing wrong or it is a Papyrus problem.

Thank you in advance!

Regards,
Tatiana
Previous Topic:Non-profile based DSL/meta-modelling
Next Topic:What is the proper SysML design pattern for specializing a set of similar outputs?
Goto Forum:
  


Current Time: Sun Apr 22 12:58:30 GMT 2018

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

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