Exemplo n.º 1
0
        public void  Dispose()
        {
            ReplacementVisual wb = this.UiElement as ReplacementVisual;

            wb.SaveXML();

            GC.SuppressFinalize(this);
        }
Exemplo n.º 2
0
        public ReplacementWidget(IReactivePublisher publisher
                                 , ReplacementViewerModel genericGridViewerMode)
            : base(publisher)
        {
            this.ViewModel = genericGridViewerMode;
            this.ViewModel.ParentWidget = this;


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


            GenericWindow  = new ReplacementVisual(this.ViewModel);
            this.UiElement = GenericWindow;
            this.publisher = publisher;
        }
Exemplo n.º 3
0
 public ReplacementSettingsViewModel(ReplacementViewerModel genericGridViewerModel, ReplacementVisual genericGridViewerVisual)
 {
     this._genericGridViewerModel  = genericGridViewerModel;
     this._genericGridViewerVisual = genericGridViewerVisual;
 }