Example #1
0
        private void DoAddTab()
        {
            if (Nodes == null)
            {
                Nodes = new ObservableCollection <IFulltext>();
            }
            var tab = new NodeTab(EventAggregator, this, viewModel);

            Nodes.Insert(0, tab);
            viewModel.SelectedTab = tab;
            tab.IsSelected        = true;
        }
Example #2
0
 public NodeDbTable(IEventAggregator eventAggregator, NodeTab nodeTab, MainViewModel viewModel) : base(eventAggregator)
 {
     this.viewModel = viewModel;
     NodeTab        = nodeTab;
     AddColumn      = new DelegateCommand(DoAddColumn);
 }
Example #3
0
 public NodeDbTable(IEventAggregator eventAggregator, NodeTab nodeTab) : base(eventAggregator)
 {
     NodeTab   = nodeTab;
     AddColumn = new DelegateCommand(DoAddColumn);
 }