public void  Dispose()
        {
            ReportingVisual wb = this.UiElement as ReportingVisual;

            // wb.SaveXML(this.GenericWindow._view.Parameters.Report);

            GC.SuppressFinalize(this);
        }
        public ReportingWidget(IReactivePublisher publisher
                               , ReportingModel genericGridViewerMode)
            : base(publisher)
        {
            this.ViewModel = genericGridViewerMode;
            this.ViewModel.ParentWidget = this;


            this.Parameters       = new ReportingParameters();
            this.pluginParameters = new ReportingParameters();
            this.Parameters.SetParams(this.pluginParameters.GetParams());
            this.ViewModel.Parameters = (ReportingParameters)this.Parameters;


            GenericWindow  = new ReportingVisual(this.ViewModel);
            this.UiElement = GenericWindow;
            this.publisher = publisher;
        }
 public ReportingSettingsViewModel(ReportingModel genericGridViewerModel, ReportingVisual genericGridViewerVisual)
 {
     this._genericGridViewerModel  = genericGridViewerModel;
     this._genericGridViewerVisual = genericGridViewerVisual;
 }