public MutationFileDetailsView(FileMutationsModel file, MutationConfig config) { InitializeComponent(); var dataContext = DataContext as MutationFileDetailsViewModel; dataContext.Initialize(file, config); }
public void Initialize(FileMutationsModel file, MutationConfig config) { _config = config; File = file; FileName = File.FileName; }
public void OpenFileDetailsTab(FileMutationsModel file, UnimaConfig config) { _mainTabContainer.AddTab(new MutationFileDetailsView(file, config)); }