mFeatureStructureSelectionProvider.setSelection(new AnnotationEditorSelection((ITextSelection) event.getSelection(),
new StructuredSelection(ModelFeatureStructure.create(getDocument(), getSelectedAnnotations()))));
}
});
DragSource dragSource = new DragSource(getSourceViewer().getTextWidget(), DND.DROP_COPY);
Transfer[] types = new Transfer[] { FeatureStructureTransfer.getInstance() };
dragSource.setTransfer(types);
dragSource.addDragListener(new FeatureStructureDragListener(getSourceViewer().getTextWidget()));
getSourceViewer().getTextWidget().setEditable(false);
getSourceViewer().setEditable(false);
getSite().setSelectionProvider(mFeatureStructureSelectionProvider);