Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 366165

Summary: [Activity diagram] problem with object flow
Product: [Modeling] Papyrus Reporter: juliette.melina
Component: DiagramAssignee: Project Inbox <mdt-papyrus-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: major    
Priority: P3 CC: cletavernier
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:

Description juliette.melina CLA 2011-12-09 05:08:42 EST
It is not possible to link an accept event action to an opaque action with an object flow.

The pop-up "please fill information for pins creation" appears but then the ok button doesn't work.
Comment 1 Camille Letavernier CLA 2013-03-13 11:59:14 EDT
Exception:

java.lang.ClassCastException: org.eclipse.uml2.uml.internal.impl.AcceptEventActionImpl cannot be cast to org.eclipse.uml2.uml.OpaqueAction
	at org.eclipse.papyrus.uml.diagram.activity.edit.dialogs.CreatePinsForObjectFlowDialog.okPressed(CreatePinsForObjectFlowDialog.java:330)
	at org.eclipse.jface.dialogs.Dialog.buttonPressed(Dialog.java:476)
	at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:628)
	at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:248)
	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1053)
	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4169)
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3758)
	at org.eclipse.jface.window.Window.runEventLoop(Window.java:825)
	at org.eclipse.jface.window.Window.open(Window.java:801)
	at org.eclipse.papyrus.uml.diagram.activity.edit.dialogs.CreatePinsForObjectFlowDialog.open(CreatePinsForObjectFlowDialog.java:108)
Comment 2 Camille Letavernier CLA 2014-07-07 04:50:20 EDT
Works in the current version