/// <summary>
        /// Event Listener to get called.
        /// </summary>
        /// <param name="aEvent">A event.</param>
        /// <returns></returns>
        public ContextMenuInterceptorAction notifyContextMenuExecute(ContextMenuExecuteEvent aEvent)
        {
            XIndexContainer xContextMenu = aEvent.ActionTriggerContainer;
            XMultiServiceFactory xMenuElementFactory = (XMultiServiceFactory)xContextMenu;

            if (AddMenuEnties(aEvent, xMenuElementFactory, xContextMenu))
            {
                return ContextMenuInterceptorAction.CONTINUE_MODIFIED;
            }
            return ContextMenuInterceptorAction.IGNORED;
        }
        private void debugEvent(ContextMenuExecuteEvent aEvent)
        {

            var selection = aEvent.Selection.getSelection().Value;

            System.Diagnostics.Debug.WriteLine("\t\t _____________ CONTEXT MENUE EVENT " + selection);
            util.Debug.GetAllInterfacesOfObject(selection);
            util.Debug.GetAllProperties(selection);

            var test = aEvent.SourceWindow;
            System.Diagnostics.Debug.WriteLine("\t\t _____________ CONTEXT MENUE EVENT Source window " + test);
            util.Debug.GetAllInterfacesOfObject(test);
            util.Debug.GetAllProperties(test);
            System.Diagnostics.Debug.WriteLine("\t\t _____________ window hash " + test.GetHashCode());



            var bla = aEvent.ActionTriggerContainer;
            System.Diagnostics.Debug.WriteLine("\t\t _____________ CONTEXT MENUE EVENT Container " + bla);
            util.Debug.GetAllInterfacesOfObject(bla);
            util.Debug.GetAllProperties(bla);




        }
 /// <summary>
 /// Adds the menu enties.
 /// </summary>
 /// <param name="aEvent">A event.</param>
 /// <param name="xMenuElementFactory">The x menu element factory.</param>
 /// <param name="xContextMenu">The x context menu.</param>
 /// <returns></returns>
 protected abstract bool AddMenuEnties(ContextMenuExecuteEvent aEvent, XMultiServiceFactory xMenuElementFactory, XIndexContainer xContextMenu);
        protected override bool AddMenuEnties(ContextMenuExecuteEvent aEvent, XMultiServiceFactory xMenuElementFactory, XIndexContainer xContextMenu)
        {
            debugEvent(aEvent);

            xContextMenu.insertByIndex(0, Any.Get(CreateLineSeperator(xMenuElementFactory)));
            xContextMenu.insertByIndex(0, Any.Get(CreateMenueEntry(xMenuElementFactory, "testZeug", ".uno:open", "")));
            return true;
        }