Beispiel #1
0
        public FileSelectionPresenter(IFileSelectionView fileOpenView, IFileSelectionModel fileOpenModel)
        {
            this.fileOpenView  = fileOpenView;
            this.fileOpenModel = fileOpenModel;

            fileOpenModel.DisplayDialogRequest += OnDisplayDialogRequest;
        }
        public TextInputLoader(ITextInputModel textInputModel, IFileSelectionModel fileOpenModel)
        {
            this.textInputModel = textInputModel;
            this.fileOpenModel  = fileOpenModel;

            //fileOpenModel.FileWasLoaded += OnFileLoaded;
        }
Beispiel #3
0
 public TextInputModel(IFileSelectionModel openFileModel)
 {
     text = string.Empty;
     this.openFileModel = openFileModel;
 }
Beispiel #4
0
 public FileSelectionDisplay(IFileSelectionModel fileSelectionModel)
 {
     this.fileSelectionModel = fileSelectionModel;
 }