protected override void VisitDesignator(Designator designator)
 {
     if (!designator.IsPredefined())
     {
         ReplaceNonTerminal(designator, designator.Ref as ModelElement);
     }
 }
        protected override void VisitDesignator(Designator designator)
        {
            ModelElement model = designator.Ref as ModelElement;

            if (model != null && !designator.IsPredefined())
            {
                ReplaceText(model.ReferenceName(BaseLocation), designator.Start, designator.End);
            }
        }
 protected override void VisitDesignator(Designator designator)
 {
     if (!designator.IsPredefined())
     {
         ReplaceNonTerminal(designator, designator.Ref as ModelElement);
     }
 }
 protected override void VisitDesignator(Designator designator)
 {
     ModelElement model = designator.Ref as ModelElement;
     if (model != null && !designator.IsPredefined())
     {
         ReplaceText(model.ReferenceName(BaseLocation), designator.Start, designator.End);
     }
 }