Community
Participate
Working Groups
With a creation tool, it is possible to define the size of the created element by holding the mouse to define an area that will be covered by the new element. However, this still work if the mapping style defines that the resizing horizontaly or verticaly is not allowed. This creates an element that has not the default size, and it is not possible to resize it to default size. As you can allow or not the resize horizontaly or verticaly separatly, the above issue should be solved separatly as well. For instance, if the resize is allowed only horizontaly, when the user create a new element and define the area by holding the mouse button, only the horizontal dimension (width then) will be kept. The height will be set as defined in the odesign.
This is not an issue, you must distinguish sizing and resizing : - sizing is done at creation time - resizing is done after creation, the "Allow resizing" feature in odesign is only about changing the size after creation. Allowing or not sizing at creation is another feature. You can change the status as enhancement if you want this feature request.
Actually this can be seen as a bug since the specifier decided a default size and to do not let the user to modify this size. That looks like an inconsistent behavior to let define the size at the creation time without authorize the resizing later.
*** Bug 483380 has been marked as a duplicate of this bug. ***
New Gerrit change created: https://git.eclipse.org/r/74782
Gerrit change https://git.eclipse.org/r/74782 was merged to [master]. Commit: http://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?id=3dcfa218f627f916ab1ebb646a7a64091e7d162a
A fix has been committed. SWTBot tests need to be added. An odesign with 4 different node mapping should be added so we can test to create a node (with drag and drop to define the size) for the 4 different cases: - mapping with no resize allowed - mapping with horizontal resize allowed - mapping with vertical resize allowed - mapping with both resize allowed
New Gerrit change created: https://git.eclipse.org/r/88753
New Gerrit change created: https://git.eclipse.org/r/106230