Bug 447702 - Layer.reusedTools is displayed and can be modified but is never used.
Summary: Layer.reusedTools is displayed and can be modified but is never used.
Status: REOPENED
Alias: None
Product: Sirius
Classification: Modeling
Component: Diagram (show other bugs)
Version: 1.0.1   Edit
Hardware: PC Mac OS X
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: triaged
Depends on: 435879
Blocks: 436069
  Show dependency tree
 
Reported: 2014-10-17 09:24 EDT by Maxime Porhel CLA
Modified: 2016-09-19 09:17 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Maxime Porhel CLA 2014-10-17 09:24:39 EDT
In Bug 435879, the menu to create mappings and tool section as direct children of a DiagramDescription have been removed to avoid the creation by a specifier of a no more supported structure. 

We should either use these feature when looking for available tools or hide its property section in the VSM editor.

If we choose to hide it, then we should remove it from the metamodel (Bug 427247)
Comment 1 Maxime Porhel CLA 2014-10-17 09:26:36 EDT
The current way to reuse tools is to create a ToolSection and use ToolSection.reusedTools to reference the tools to reuse.
Comment 2 Maxime Porhel CLA 2014-10-17 09:34:09 EDT

*** This bug has been marked as a duplicate of bug 436069 ***
Comment 3 Julien Dupont CLA 2016-08-03 10:24:12 EDT
It's not the same problem as https://bugs.eclipse.org/bugs/show_bug.cgi?id=435879, 
The problem come from the field named "Reused Tools" in the layer. This field does not work, it's necessary to do a section tool and use the field "Reused Tools.
Comment 4 Julien Dupont CLA 2016-08-03 10:28:54 EDT
The link posted above is wrong.
It's not the same problem as bug 436069
Comment 5 Maxime Porhel CLA 2016-09-19 09:17:09 EDT
Bug 435879 was about unsupported diagram structure, ie. mapping as direct children of the diagram or "without layer mode". We have here the same issue but with unsupported structure of the palette: we can create tools as direct children of a ToolSection so we must not propose to reuse a tool from a Layer. 

We should remove this feature or change it's type to reuse a complete ToolSection but I am not sur this would be a good idea. 


Bug 436069 is about cleaning the metamodel to finalize the removal of the "wihtoutLayerMode".

Regarding the chosen solution for the current issue, we will have to be consistent  with the behavior/solutions of bith related issues 435879 and 436069.