EasyScience / EasyReflectometryApp

Reflectometry data analysis application
https://easyreflectometry.org
BSD 3-Clause "New" or "Revised" License
7 stars 2 forks source link

Change the creation of different layer assemblies (items) #173

Open andped10 opened 6 months ago

andped10 commented 6 months ago

Currently we are always creating a multilayer when adding a new item. Following this item can be changed to another type (Multi Layer, Repeating Multi Layer, Surfactant Layer, ...)

This goal of the issue is to change this behavior so the user decides what item type to get on creation. After creation it will no longer be possible to change from one item type to another. The reason being that it is unclear how to do such a transformation between fx a repeating multi layer and a surfactant layer. Furthermore, when more item types are introduced this will become a more severe "problem".