filter(filterShape, (omg.getAppObject() == internalKey));
OMGraphicList filteredList = filter(filterShape, (omg.getAppObject() == internalKey)); if (Debug.debugging("demo")) { Debug.output("DemoLayer filter: " + filteredList.getDescription()); }
    public void drawingComplete(OMGraphic omg, OMAction action) {	Debug.message("demo", "DemoLayer: DrawingTool complete");	Object obj = omg.getAppObject();	if (obj != null	    && (obj == internalKey || obj == externalKey)	    && !action.isMask(OMGraphicConstants.DELETE_GRAPHIC_MASK)) {	    java.awt.Shape filterShape = omg.getShape();	    filter(filterShape, (omg.getAppObject() == internalKey));	} else {	    getList().doAction(omg, action);	}	repaint();    }