Community
Participate
Working Groups
Steps to repeat: 1. Open StateMachine diagram 2. Create StateMachine, StartState, EndState 3. Select StartState and wait until link-assistants appears 4. Drag outgoing assistant and and release it somewhere => popup suggesting to create the link to the new Note appears, there are no ways to create a link to a new inner-state or to existing EndState, also in the corresponding UMLModelingAssistantProvider there is some generated code to cover these use cases Investigation shows that the problem is that in the generated modeling assistant provider registration in the plugin.xml the UMLModelingAssistantProvider is registered for only a few contexts, not inluding the InitialPseudostateEditPart: The same error may be reproduced for the very wide range of different nodes on all diagrams.
Here is the problem registration from StateD <extension point="org.eclipse.gmf.runtime.emf.ui.modelingAssistantProviders" id="modelassist-provider"> <?gmfgen generated="true"?> <modelingAssistantProvider class="org.eclipse.uml2.diagram.statemachine.providers.UMLModelingAssistantProvider"> <Priority name="Lowest"/> <object class="org.eclipse.uml2.diagram.statemachine.edit.parts.PackageEditPart" id="Package_1000"/> <object class="org.eclipse.uml2.diagram.statemachine.edit.parts.StateMachineEditPart" id="StateMachine_2005"/> <context elements="Package_1000,StateMachine_2005"/> </modelingAssistantProvider> </extension>
*** This bug has been marked as a duplicate of bug 351172 ***