Skip to content

Commit 40dba24

Browse files
Merge pull request #550 from ISISComputingGroup/Ticket2563_synoptics_drag_and_drop
Add data to transfer as dummy string.
2 parents 7d0260b + fc8f79a commit 40dba24

File tree

1 file changed

+5
-0
lines changed
  • base/uk.ac.stfc.isis.ibex.ui.synoptic.editor/src/uk/ac/stfc/isis/ibex/ui/synoptic/editor/instrument

1 file changed

+5
-0
lines changed

base/uk.ac.stfc.isis.ibex.ui.synoptic.editor/src/uk/ac/stfc/isis/ibex/ui/synoptic/editor/instrument/InstrumentTreeView.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,11 @@ public void createControls(Composite parent) {
132132
public void dragStart(DragSourceEvent event) {
133133
currentDragSource = synopticViewModel.getSelectedComponents();
134134
}
135+
136+
@Override
137+
public void dragSetData(DragSourceEvent event) {
138+
event.data = "Data";
139+
}
135140

136141
@Override
137142
public void dragFinished(DragSourceEvent event) {

0 commit comments

Comments
 (0)