Flow page moved halfway across the node [message #1851761] |
Fri, 15 April 2022 07:15  |
Eclipse User |
|
|
|
Hi! Sorry if this is the wrong place to ask something like this, but I have a very strange issue that I have just about no clue what could cause it.
I have an issue in my diagram, which creates a couple of nodes. Everything looks perfect for about ~1s, then part of the node goes halfway out of bounds.
Attached is an image of how it looks. The text should read: "Add a description".
The text is from a flowpage, that is part of a shape object (used in a nodeEditPart).
But I don't see any issues with the figure itself, because the coordinates always look correct, and from debugging I can tell that the flowpage is never moved after it has been created.
The issue always resolves itself if I open and close the diagram, and it is sometimes resolved if the node is moved manually. Refreshing the edit part does not help.
Thanks!
Erik
Attachment: node.png
(Size: 40.51KB, Downloaded 127 times)
|
|
|
|
Re: Flow page moved halfway across the node [message #1851790 is a reply to message #1851773] |
Fri, 15 April 2022 15:59   |
Eclipse User |
|
|
|
Hi!
I am using version 6.2.2.of Sirius.
The node in the .odesign is using a custom style. The custom style refers to an EditPart (extends AbstractNotSelectableShapeNodeEditPart implements IStyleEditPart), which has this figure created inside createNodeFigure() (shapeNodeEditPart).
I have had this setup for many years and never detected any issues. It only started happening now when I created an external java action in the odesign which adds a few nodes.
Thanks for your help! Let me know if I can send any more info to make things more clear.
Erik
|
|
|
|
Powered by
FUDForum. Page generated in 0.03079 seconds