tmf: Bug 424964: Drag and dropping a linked trace doesn't create a link
authorPatrick Tasse <patrick.tasse@gmail.com>
Fri, 4 Apr 2014 18:49:01 +0000 (14:49 -0400)
committerPatrick Tasse <patrick.tasse@gmail.com>
Tue, 8 Apr 2014 14:53:00 +0000 (10:53 -0400)
commit83a22a5c1e442578239ec13a5c6295550b6bbd1b
treedd6da6ed1808b2c8fec8049d4a2c9f016964c1dd
parent07ef78478229c6d2f369a0f17434ecabcfaf4646
tmf: Bug 424964: Drag and dropping a linked trace doesn't create a link

Unless the DROP_LINK operation is specifically requested by the user
(e.g. by holding Alt key), the source resource type (linked or not) is
now maintained during the drag and drop operation.

The handling is also changed to allow drag and drop of a resource in a
Tracing project that is not part of the tracing model (e.g. a file or
folder that is outside of the Traces and Experiments sub-trees).

A possible NullPointerException is fixed when the link creation fails.

Change-Id: I3b80ee508bfecb4023a1b52b2befdda7003d3794
Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-on: https://git.eclipse.org/r/24475
Tested-by: Hudson CI
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
org.eclipse.linuxtools.tmf.ui/src/org/eclipse/linuxtools/internal/tmf/ui/project/handlers/DropAdapterAssistant.java
This page took 0.025565 seconds and 5 git commands to generate.