Community
Participate
Working Groups
Step to reproduce: . Open the "rootpackage entities" diagram of the attached project . Open the "Interpreter" view and select the Sirius interpreter . Type the following request aql:self.target.eContents() . Expand p1 . Drag and drop the class on the diagram . The drop is not accepted Note that if your do the same scenario from the "Model Interpreter View", the class appears on the diagram. Tips: . DDiagramEditorTransferDropTargetListener is created with LocalSelectionTransfer.getTransfer() as parameter . The ModelDragTargetadapter used in ModelRequestInterpreterView also use LocalSelectionTransfer . The InterpreterView result viewer has a drag support using LocalTransfer . The InterpreterView result viewer has a drop support using both LocalTransfer and LocalSelectionTransfer We should go further in the analysis to identify if the DDiagramEditorImpl (and TreeEditor and DTableEditor) might require some correction in their drop support or if a Bug needs to be created on the Acceleo side to add the LocalSelectionTransfer to the result viewer drag support.
Created attachment 257098 [details] Reproduction case
New Gerrit change created: https://git.eclipse.org/r/101974
Gerrit change https://git.eclipse.org/r/101974 was merged to [master]. Commit: http://git.eclipse.org/c/acceleo/org.eclipse.acceleo.git/commit/?id=4c8e8d8b90c12e57741f2059ce41d8f82d96bbf3
New Gerrit change created: https://git.eclipse.org/r/103767
The root issue has been fixed by 4c8e8d8b90c12e57741f2059ce41d8f82d96bbf3 on the Acceleo side. https://git.eclipse.org/r/103767 makes sure Sirius consumes a recent version of Acceleo where the fix is present.
Gerrit change https://git.eclipse.org/r/103767 was merged to [master]. Commit: http://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?id=e60a70690bb547b3eb2466eda9b7b2db3a3ba7e5
Fixed by e60a70690bb547b3eb2466eda9b7b2db3a3ba7e5 on the Sirius side, which makes sure we consume (and include in our own repo) a version of the view with the fix.
Available in Sirius 5.1.0, see https://wiki.eclipse.org/Sirius/5.1.0.