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

Bug 367715

Summary: Provide an extension point to add dropTarget
Product: z_Archived Reporter: Mickael Istria <mistria>
Component: BPELAssignee: Project Inbox <bpel.default-inbox>
Status: NEW --- QA Contact:
Severity: enhancement    
Priority: P3 CC: vincent.zurczak
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:

Description Mickael Istria CLA 2012-01-02 11:45:01 EST
In order to be able to drag'n'drop anything in the BPEL designer and to perform useful actions according to what is DND'ed, BPEL designer should provide an extension point that allows to add custom DND behavior.
Comment 1 Vincent Zurczak CLA 2012-01-05 11:27:22 EST
Hi,

Just to be sure, do we still need this extension after this bug (Bug #367841) was solved?
Comment 2 Mickael Istria CLA 2012-01-05 11:39:21 EST
I could add a DropTargetListener without an extension point. Here is the recipe:

Create a .startup extension. In the matching IStartup action, add a WorkbenchPartListener, that looks for all opened parts. If the opened part is a BPELMultipageEditor, retrieve its BPELEditor, then its GraphicalViewer and add the DropTargetListener
Comment 3 Vincent Zurczak CLA 2012-01-05 11:55:47 EST
OK. An extension-point would be a better API, but there is a workaround. We can keep this for later.