}
else if (DataKeys.DELETE_ELEMENT_PROVIDER.equals(key)) {
set = true;
final Collection<CommonModelElement> elements = getSelectedElements(diagram);
if (!elements.isEmpty()) {
sink.put(DataKeys.DELETE_ELEMENT_PROVIDER, new JamDeleteProvider(new DefaultUserResponse(diagram.getUnit().getPsiManager().getProject()), elements));
}
}
else if (DataKeys.NAVIGATABLE_ARRAY.equals(key)) {
set = true;
final Collection<CommonModelElement> elements = getSelectedElements(diagram);