Esempio n. 1
0
        /// <summary>
        ///     Indicates whether the timeline should display the element
        /// </summary>
        /// <param name="element"></param>
        /// <returns></returns>
        public override bool ShouldDisplayModelElement(IModelElement element)
        {
            bool retVal = element == null;

            retVal = retVal || (Translation != null && Translation.IsParent(element));
            retVal = retVal || (SubSequence != null && SubSequence.IsParent(element));
            retVal = retVal || (TestCase != null && TestCase.IsParent(element));

            return(retVal);
        }