Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 363812

Summary: [Properties] When an element is selected it shall be interpreted as Global Selection
Product: [Modeling] Papyrus Reporter: Tristan Faure <faure.tristan>
Component: CoreAssignee: Camille Letavernier <cletavernier>
Status: CLOSED WONTFIX QA Contact:
Severity: enhancement    
Priority: P3 CC: jacques.seronievivien, toni.siljamaki
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Tristan Faure CLA 2011-11-15 08:03:52 EST
In property view of the operation, the section for owned parameter allows the user to select a parameter to delete it.
It shall be useful when this parameter is selected to contribute it to the global selection it would make possible to the user for example 
- to change the documentation of the selected parameter
- if one day it is possible to have 2 propriety view to have the second one linked to the parameter
...
Comment 1 Camille Letavernier CLA 2011-12-05 05:58:48 EST
Contributing it to the global selection is probably not a good idea, as the property view itself depends on the current selection. This seems dangerous... And we don't have a lot of control on the Property View itself, as we're relying on the Tabbed Property View Framework (We cannot really prevent the view from being refreshed on selection, for example...)

However, there are (or will soon be) a few mechanisms to implement the behavior you are describing:

- The "Comments" tab should be implemented with the new property view framework, which should allow to edit the parameter's comments through the "Edit" button in the Operation's property view (This button actually opens the parameter's property view in a Dialog)

- There is a widget which implements a MultiReferenceEditor, with an embedded property view on the right pane (Something similar to the Stereotype's editor in the Profile tab). It could be used for operation/parameters (List of parameters in the left pane, and parameters' properties in the right pane). This widget is already used for editing Opaque Expressions, for example.
Comment 2 Toni Siljamäki CLA 2013-10-09 04:59:38 EDT
Should this bug be closed?
Comment 3 Jacques SERONIE-VIVIEN CLA 2013-10-09 05:16:17 EDT
OK to close it
Comment 4 Camille Letavernier CLA 2013-10-16 07:06:06 EDT
I close this task