 		//---------------------------------
 		public function get automationParent():DisplayObjectContainer
 		{
-			trace ("This method should not be called on delegate.Should have been called on the component");
+			Automation.automationDebugTracer.traceMessage("UIComponentAutomationImpl", "get automationParent()",AutomationConstants.invalidDelegateMethodCall);
 			if (uiComponent as IUIComponent)
 				return (uiComponent as IUIComponent).parent;
 			

		 */
		public function get showInAutomationHierarchy():Boolean
		{
			trace("Reading should not be done here");
			return true;
		}
		

		 */
		public function set showInAutomationHierarchy(value:Boolean):void
		{
			Automation.automationDebugTracer.traceMessage("UIComponentAutomationImpl", "set showInAutomationHierarchy()",AutomationConstants.invalidDelegateMethodCall);
			if(uiComponent is IAutomationObject)
				IAutomationObject(uiComponent).showInAutomationHierarchy = value;
		}
