| Summary: | [Usability] Drag and Drop from Model Explorer to all Eclipse view out of Papyrus ones | ||
|---|---|---|---|
| Product: | [Modeling] Papyrus | Reporter: | Philippe Mising name <philippe.cuenot> |
| Component: | Core | Assignee: | Project Inbox <mdt-papyrus-inbox> |
| Status: | CLOSED FIXED | QA Contact: | |
| Severity: | enhancement | ||
| Priority: | P3 | Keywords: | plan |
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows XP | ||
| Whiteboard: | |||
|
Description
Philippe Mising name
Philippe, could you clarify what do you mean by "out of Papyrus"? If you mean in a diagram that is not a Papyrus diagram, I think that it is up to the target diagram editor to implement a specific drop edit policy. The papyrus model explorer already implements a drag policy. I would like to be able from selection (and multi selection) element of Papyrus explorer, to be able drag element selected to drop them in a dedicated view not managed by Papyrus. For example, in Papyrus explorer I select a list of elements, then I drag them into a dedidacted view for specific analysis or concern (variability, dependability) supported by a specific plug-in that drop them and operates with this elements (via reference for examples). There is a priori no problem to do it. The model explorer of Papyrus already implement the drag facility. It is then up to the target view or editor to implement a drop policy using the SWT drag and drop mechanism as explained in this article: DnD SWT http://www.eclipse.org/articles/Article-SWT-DND/DND-in-SWT.html The code of Papyrus related DnD for the model explorer is available here: http://dev.eclipse.org/svnroot/modeling/org.eclipse.mdt.papyrus/branches/0.7.X/plugins/core/org.eclipse.papyrus.modelexplorer/src/org/eclipse/papyrus/modelexplorer/dnd There is a priori nothing to do on the Papyrus side. |