예제 #1
0
 internal void SetExprHost(MapViewportExprHost exprHost, ObjectModelImpl reportObjectModel)
 {
     Global.Tracer.Assert(exprHost != null && reportObjectModel != null, "(exprHost != null && reportObjectModel != null)");
     SetExprHost((MapSubItemExprHost)exprHost, reportObjectModel);
     if (m_mapLimits != null && ExprHost.MapLimitsHost != null)
     {
         m_mapLimits.SetExprHost(ExprHost.MapLimitsHost, reportObjectModel);
     }
     if (m_mapMeridians != null && ExprHost.MapMeridiansHost != null)
     {
         m_mapMeridians.SetExprHost(ExprHost.MapMeridiansHost, reportObjectModel);
     }
     if (m_mapParallels != null && ExprHost.MapParallelsHost != null)
     {
         m_mapParallels.SetExprHost(ExprHost.MapParallelsHost, reportObjectModel);
     }
     if (m_mapView != null && ExprHost.MapViewHost != null)
     {
         m_mapView.SetExprHost(ExprHost.MapViewHost, reportObjectModel);
     }
 }
예제 #2
0
 public void SetExprHost(MapViewportExprHost exprHost, ObjectModelImpl reportObjectModel)
 {
     Global.Tracer.Assert(exprHost != null && reportObjectModel != null, "(exprHost != null && reportObjectModel != null)");
     base.SetExprHost(exprHost, reportObjectModel);
     if (this.m_mapLimits != null && this.ExprHost.MapLimitsHost != null)
     {
         this.m_mapLimits.SetExprHost(this.ExprHost.MapLimitsHost, reportObjectModel);
     }
     if (this.m_mapMeridians != null && this.ExprHost.MapMeridiansHost != null)
     {
         this.m_mapMeridians.SetExprHost(this.ExprHost.MapMeridiansHost, reportObjectModel);
     }
     if (this.m_mapParallels != null && this.ExprHost.MapParallelsHost != null)
     {
         this.m_mapParallels.SetExprHost(this.ExprHost.MapParallelsHost, reportObjectModel);
     }
     if (this.m_mapView != null && this.ExprHost.MapViewHost != null)
     {
         this.m_mapView.SetExprHost(this.ExprHost.MapViewHost, reportObjectModel);
     }
 }