public void widgetSelected(SelectionEvent event) {
MenuItem item = (MenuItem) event.widget;
item.setImage(ComponenteditorPlugin.getDefault().getImage(ComponenteditorPlugin.CONNECTED_ICON));
IApiBinding apiBinding = (IApiBinding) item.getData();
RefactoringWodElement refactoringWodElement = new RefactoringWodElement(_wodElement, _cache);
try {
refactoringWodElement.setValueForBinding(_droppedKeyPath, apiBinding.getName());
} catch (Exception e) {
e.printStackTrace();
ComponenteditorPlugin.getDefault().log("Failed to add binding.", e);
}
}