eclipse-capella / capella

Open Source Solution for Model-Based Systems Engineering
https://mbse-capella.org
Eclipse Public License 2.0
229 stars 94 forks source link

OCB's diagrams can not be moved into new Operational Capability Packages #2652

Open JAZPARREN opened 1 year ago

JAZPARREN commented 1 year ago

Hello everyone,

While organizing the structure tree, I have seen that CAPELLA does not allow to move the OCB diagrams to other Operational Capability packages. The OCB diagrams remains in their original pkg. This behavior does not occur with other diagrams in their respective packages, nor in other levels.

CAPELLA: Version: 6.0.0 Build id: 202209090800

etraisnel2 commented 1 year ago

I don't know if the behavior is expected If it isn't , IDiagramNameConstants.OPERATIONAL_CAPABILITIES_ENTITYIES_BLANK_DIAGRAM_NAME shall be added in https://github.com/eclipse/capella/blob/0bbab02c0d4ea1a3ed20efdce17358961f48b4c3/core/plugins/org.polarsys.capella.core.platform.sirius.ui.navigator/src/org/polarsys/capella/core/platform/sirius/ui/navigator/drop/DiagramDropAdapterAssistant.java#L108

Same goes for capabilities diagrams under LA and PA See https://forum.mbse-capella.org/t/grouping-diagrams-in-packages/6322/6