Exemple #1
0
        public SearchViewModel(ProjectShellViewModel projectShell)
            : base(projectShell)
        {
            Caption = SR.Search;

            _searchAction          = (Action)OnSearch;
            _searchCompletedAction = (Action)OnSearchCompleted;
            _addItemsAction        = (Action <List <SearchItem> >)AddItems;
            _items = new ObservableCollection <SearchItem>();

            ProjectShell.HierarchyChanged += OnHierarchyChanged;
        }
Exemple #2
0
        internal NodeViewModel(ViewModel parent)
            : base(parent)
        {
            var parentNode = parent as NodeViewModel;

            if (parentNode != null)
            {
                _indent       = parentNode._indent + 1;
                _projectShell = parentNode._projectShell;
            }
            else
            {
                // Project
                _indent       = 0;
                _projectShell = (ProjectShellViewModel)parent;
            }
        }
Exemple #3
0
 public DecodeStackTraceViewModel(ProjectShellViewModel projectShell)
     : base(projectShell)
 {
     Caption        = SR.DecodeStackTrace;
     _decodeCommand = new DelegateCommand(Decode);
 }
 public BuildViewModel(ProjectShellViewModel projectShell)
     : base(projectShell)
 {
     _projectShellViewModel = projectShell;
 }
 internal ToolViewModel(ProjectShellViewModel projectShell)
     : base(projectShell)
 {
     _projectShell = projectShell;
     _closeCommand = new DelegateCommand(Close);
 }
 internal HistoryNavigator(ProjectShellViewModel shellViewModel)
 {
     _shellViewModel = shellViewModel;
 }