Esempio n. 1
0
 public override void ZoomIn()
 {
     if (HasUnqualifiedChildElement(_element))
     {
         PlanTree surface = new PlanTree();
         surface.Set(_element);
         DesignerControl.GetDesigner(this).Push(surface, String.Format(Strings.Analyzer_PlanNodeTitle, _element.Name.LocalName));
     }
     else
     {
         DesignerControl.GetDesigner(this).Push(new SingleElementSurface(_element, new DetailedPlanNodeBox(_element)), String.Format(Strings.Analyzer_DetailNodeTitle, _element.Name.LocalName));
     }
 }
Esempio n. 2
0
 private void Set(XElement root)
 {
     _root = root;
     _mainSurface.Set(root);
 }