Threadclass to trigger the search for XLink matches
        /// <summary>
        /// Triggers a search for WorkingdirectoryFiles corresponding to incomming matching OOClass instances
        /// </summary>
        public void openXLinks(object[] matchingObjects, string viewId)
        {
            if (!Program.viewId.Equals(viewId))
            {
                outputLine("An XLink matching was triggerd with an unknown viewId.");
            }

            //Start matching in thread to avoid timeout at the server
            SearchForMatchesThread searchThread = new SearchForMatchesThread(matchingObjects);
            Thread xlinkMatchingThread = new Thread(searchThread.searchForMatchesThread);
            xlinkMatchingThread.Start();
        }
        /// <summary>
        /// Triggers a search for WorkingdirectoryFiles corresponding to incomming matching OOClass instances
        /// </summary>
        public void openXLinks(object[] matchingObjects, string viewId)
        {
            if (!Program.viewId.Equals(viewId))
            {
                outputLine("An XLink matching was triggerd with an unknown viewId.");
            }

            //Start matching in thread to avoid timeout at the server
            SearchForMatchesThread searchThread = new SearchForMatchesThread(matchingObjects);
            Thread xlinkMatchingThread          = new Thread(searchThread.searchForMatchesThread);

            xlinkMatchingThread.Start();
        }