DrawingTool dt = getDrawingTool();
if (dt != null) {
GraphicAttributes fga = getFilterGA();
fga.setFillPaint(OMColor.clear);
EditableOMPoly eomp = new EditableOMPoly(fga);
eomp.setEnclosed(true);
eomp.setShowGUI(false);
dt.setBehaviorMask(OMDrawingTool.QUICK_CHANGE_BEHAVIOR_MASK);
OMPoly poly = (OMPoly) getDrawingTool().edit(eomp, layer);
if (poly != null) {