Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 360104 - [Palettes] Problems with 'applied sterotypes' post-action
Summary: [Palettes] Problems with 'applied sterotypes' post-action
Status: CLOSED WONTFIX
Alias: None
Product: Papyrus
Classification: Modeling
Component: Core (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-10-06 10:27 EDT by Alexandre Cortier CLA
Modified: 2017-09-01 09:19 EDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexandre Cortier CLA 2011-10-06 10:27:28 EDT
Build Identifier: Eclipse ID : 20110916-0149, Papyrus version : 0.8.1.v201109301802

There is a problem with apply stereotype EditPolicy. Some EditPart don't inherit from NamedElementEditPart and so they do not have the EditPolicy.
Below, a list of objects on which the 'applied sterotype' post-action don't work (ActivityDiagram): 
- AcceptEventAction 
- AddVariableValueAction
- LoopNode
- ConditionalNode
- AddVariableValueAction
- AddStructuralFeatureValueAction
- OpaqueAction

Reproducible: Always

Steps to Reproduce:
1.Define a custom palette
2.Use one of the listed object and apply sterotypes
3.Try your new customized palette
Comment 1 Arthur Daussy CLA 2012-01-23 11:50:16 EST
+ final Node
Comment 2 Benoit Maggi CLA 2017-09-01 09:19:00 EDT
The current recommended way to customize palette is to use element type (no more post palette action)