         
         invalidateSize();
         invalidateDisplayList();
-    }
-
-    
-    //--------------------------------------------------------------------------
-    //
-    //  Graphic Elements Management
-    //
-    //--------------------------------------------------------------------------
-    
-    private var elementToDisplayObjectMap:Dictionary;
-    
-    protected function initElement(element:IGraphicElement, index:int):DisplayObject
-    {
-        var result:DisplayObject;
-        
-        element.elementHost = this;
-        
-        if (!elementToDisplayObjectMap)
-            elementToDisplayObjectMap = new Dictionary();
-                
-        if (element is IDisplayObjectElement)
-        {
-            var elementDO:DisplayObject = IDisplayObjectElement(element).createDisplayObject();
-            elementToDisplayObjectMap[element] = elementDO;
-            IDisplayObjectElement(element).displayObject = elementDO;
-            result = super.addChildAt(elementDO, index);
-        }
-        else if (element is IAssignableDisplayObjectElement)
-        {
-            throw new Error("IAssignableDisplayObjectElement not allowed");
-        }
-    
-        if (element is ILayoutManagerClient)
-            ILayoutManagerClient(element).nestLevel = nestLevel + 1;
-        
-        return result;
-    }
-    
-    protected function removeElement(element:IGraphicElement):void
-    {
-        // Find the DO associated with the element
-        var assignableElement:IAssignableDisplayObjectElement = element as IAssignableDisplayObjectElement;
-        
-        if (assignableElement)
-        {
-            // CLear the DO
-            //assignableElement.displayObject = null;
-        }
-        else
-        {
-            // TODO!!! Figure out what to do here. 
-            var displayElement:IDisplayObjectElement = element as IDisplayObjectElement;
-            //if (displayElement)
-                
-        }
-        
-    }
-    
+    }   
+
     
     //--------------------------------------------------------------------------
     //

package flex.core {
import flash.display.DisplayObject;
import flash.display.DisplayObjectContainer;
import flash.display.Graphics;
import flash.display.Shape;
import flash.display.Sprite;
import flash.events.Event;
import flash.events.EventDispatcher;

                    }
                }
            }
        } */
        
        dispatchEvent(new FlexEvent(FlexEvent.CONTENT_CHANGED)); 
    }
