Community
Participate
Working Groups
+++ This bug was initially created as a clone of Bug #476114 +++ We create a border node that has a custom style supplied by a custom editpart with our own shape. We also create a editPartProvider that provides our shape. We have a creation tool that connects these border nodes together. If we use Sirius defined shapes as our Style the Connection Tool works just fine. If we, however, use our custom style border node the connection tool does not work. Supplied are a version of the basic family model from the example that illustrates the problem. I define a basic custom style that is a simple square shape and try to use the connection tool with it and it fails to recognize that it is a valid connection point. The BasicFamilyModelWithCustomEditPart.zip contains the model code and the custom edit part. The ModedAndDesign contains the model and the odesign file. Import projects from the BasicFamilyModelWithCustomEditPart.zip and run a eclipse application. Import the ModelAndDesign.zip into the running eclipse. open a diagram and try to connection the border nodes to each other with the custom style active. It will not allow it. modify the odesign file and set the ConditionalStyle expression to self = null to allow the sirius defined shape style to be selected and try the connection again. It should be allowed this time. Thanks,
New Gerrit change created: https://git.eclipse.org/r/55216
Gerrit change https://git.eclipse.org/r/55216 was merged to [v2.0.x]. Commit: http://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?id=13ef253dd14f5f95c3c909a5232ae44f5fbb8261
Documentation has been modified on v2.0.x branch
Validated with Sirius 2.0.7 (2.0.7.201611241521)
Available in Sirius 2.0.7, see https://wiki.eclipse.org/Sirius/2.0.7.