OozieDiagramController controller = current.getController();
for (SwitchCase s : li) {
Connection c = s.getConnection();
DecorationShape decoShape = c.getDecoration();
if (decoShape != null) {
controller.getView().remove(decoShape.asWidget());
}
c.removeDecoration();
}
}
}