public void deleteSelected() {
Iterator it = deleteList.values().iterator();
while (it.hasNext()) {
SelectionEvent item = (SelectionEvent) it.next();
Object itemSource = item.getSource();
// Too specific?
if (itemSource instanceof OMDrawingTool) {
// This should notify the requestor...
((OMDrawingTool) itemSource).deactivate(OMGraphicConstants.DELETE_GRAPHIC_MASK);
} else {
if (item != null) { // is this check necessary? I
// doubt it.
DrawingToolRequestor requestor = item.getRequestor();
OMGraphic omg = item.getOMGraphic();
if (requestor != null) {
requestor.drawingComplete(omg,
new OMAction(OMGraphicConstants.DELETE_GRAPHIC_MASK));
} else {
// if there isn't a requestor specified, tell