Community
Participate
Working Groups
Created attachment 262009 [details] Example image of the problem Hi, I have a State Machine, which has States. These States can have Regions inside. and Regions can have States and so on ... The problem is that I can't resize States that do not have inner Regions, I can only resize States which have inner Regions. e.g. in the attached example image, I can resize S0, S1 and S3, but cannot resize S2, even though it shows points to resize on the figure. The States are Vertical Stacks and Regions are Free Form containers. I asked it on the forum, but it seems that it is intended to be like this. However, I think the user should always be able to resize the nodes. Thanks, Best Regards, Parsa
Created attachment 262019 [details] Example to reproduce problem A simple example to reproduce problem. Open the representation named "new Diagram", the p2 container can not be resize while p1 can be.
The resize of a RegionContainer without Region (ie a Container whose mapping specification defines compartments but which has no compartments yet, base on the semantic state) is currently forbidden. This is done in o.e.s.diagram.ui.graphical.edit.policies.RegionContainerResizableEditPolicy.completeResizeCommand() - line 143. We should not put the UnexecutableCommand if there is no region yet, but the layout behavior and the size management will have to be checked.