Community
Participate
Working Groups
Build Identifier: 20090920-1017 I have a CreationTool named "Transition" for Connections between several Grafical Elements. In the MappingModel i implemented three Link Mappings, each with its one Containment Feature an Element. All three have Source Constraints like (OCL: self.oclIsKindOf(NodeA) ... ) If i generate the diagram and start a Transition from the different Nodes an target to free Area, the Editor shows kontextmenu "Create NodeATransition to ..." Thats corret and fine! BUT: If i MouseOver NodeB and then over NodeA an start a Transition from NodeA the Editor provides both Transitions! Create NodeATransition To -> (New SubMenu) Create NodeBTransition To -> (New SubMenu) Reproducible: Always Steps to Reproduce: 1.One CreationTool with 3 Link Mappings (each with its one Ecore Element) 2.Each Mapping has a Source Constraint like (OCL: self.oclIsKindOf(NodeA)) 3.Create the Editor an different Elements (NodeA NodeB NodeC ...; each has its one Connection but the same CreationTool) 4. Mouse Over NodeA (no click) and then over NodeB and start a Connection from NodeB, target to free Area and the Editor provides both, NodeAConnection AND NodeBConnection! Thats wrong! It only should provide a NodeBConnection. I noticed the bug cause i use a CustomNodeFigure (http://gmfsamples.tuxfamily.org/wiki/doku.php?id=gmf_tutorial6) with FixedAnchors and so i got NullPointerExceptions; I can work arround but the basic Problem is that i dont want the user to have to decide wich Connection to use! (btw: Pls invest more time in better Exception in GMF; for now they are pretty useless to find the basic Problem)
[GMF Restructure] Bug 319140 : product GMF and component Runtime Diagram was the original product and component for this bug