Ejemplo n.º 1
0
 public GameEnginesTreeItem(IEnumerable <IGameEngineViewModel> gameEngines, IExplorerBar explorerBar, IServiceLocator serviceLocator, Optional <IComponentRenameDeleteHandler> renamingService)
     : base(explorerBar, serviceLocator)
 {
     foreach (var gengine in gameEngines.OrderBy(engine => engine.Name))
     {
         this.Items.Add(new GameEngineTreeItem(gengine, this, serviceLocator, renamingService));
     }
 }
Ejemplo n.º 2
0
 public RootBranchExplorerBarItem(IRootBranch rootBranch, IExplorerBar explorerBar, IServiceLocator serviceLocator)
     : base(explorerBar, serviceLocator)
 {
     _rooBranch = rootBranch;
     AddDevBranchItem();
     AddQaBranchItem();
     AddProductionBranchItem();
     SubscribeToEvent <CreateDevBranchFinishEventData>(CreateDevBranchEventHandler);
 }
Ejemplo n.º 3
0
        public FeatureBranchBuilderViewModel(IExplorerBar sourceComponents, IMainBranch mainBranch, IServiceLocator serviceLocator)
            : base(serviceLocator)
        {
            _mainBranch      = mainBranch;
            SourceComponents = sourceComponents;
            SubscribeToRootItemsPropertyChanged();
            UpdateSelectedComponents();

            CreateCommand = new Command(CreateFeatureBranch, () => CanCreate(), this);
            CancelCommand = new Command(Cancel);
        }
Ejemplo n.º 4
0
 public ExplorerBarView(IExplorerBar explorerBarViewModel)
 {
     InitializeComponent();
     this.DataContext = explorerBarViewModel;
 }
Ejemplo n.º 5
0
 public ExplorerBarItem(IExplorerBar explorerBar, IServiceLocator serviceLocator)
     : base(serviceLocator)
 {
     _explorerBar = () => explorerBar;
     InitLazyLoading();
 }
Ejemplo n.º 6
0
 public IExplorerBarItem CreateRootBranchItem(IRootBranch rootBranch, IExplorerBar explorerBar)
 {
     return(new RootBranchExplorerBarItem(rootBranch, explorerBar, _serviceLocator));
 }
Ejemplo n.º 7
0
 public ExplorerBarSearchViewModel(IExplorerBar explorerBar, IServiceLocator serviceLocator)
     : base(serviceLocator)
 {
     _explorerBar = explorerBar;
 }
Ejemplo n.º 8
0
 public EnginesAndGamesPublishersTreeViewItem(IEnumerable <IGameEnginePublisherViewModel> gameEnginesPublishers, IExplorerBar explorerBar, IServiceLocator serviceLocator)
     : base(explorerBar, serviceLocator)
 {
     foreach (var gameEngine in gameEnginesPublishers)
     {
         this.Items.Add(new GameEnginePublisherTreeViewItem(gameEngine, this, serviceLocator));
     }
 }
Ejemplo n.º 9
0
 public CoreComponentsPublishersTreeViewItem(IEnumerable <ICoreComponentPublisherViewModel> coreComponentsPublishers, IExplorerBar explorerBar, IServiceLocator serviceLocator) : base(explorerBar, serviceLocator)
 {
     foreach (var component in coreComponentsPublishers)
     {
         this.Items.Add(new CoreComponentPublisherTreeViewItem(component, this, serviceLocator));
     }
 }
Ejemplo n.º 10
0
 public ComponentsPublishersExplorerBarHeader(IExplorerBar explorerBar, IServiceLocator serviceLocator) : base(explorerBar, serviceLocator)
 {
 }
Ejemplo n.º 11
0
 public NavigationAwareItem(IExplorerBar explorerBar, IServiceLocator serviceLocator)
     : base(explorerBar, serviceLocator)
 {
 }
Ejemplo n.º 12
0
 public WorkspaceAwareExplorerBarItem(IExplorerBar explorerBar, IServiceLocator serviceLocator)
     : base(explorerBar, serviceLocator)
 {
 }
Ejemplo n.º 13
0
 public CoreComponentsTreeItem(IEnumerable <ICoreComponentViewModel> coreComponents, IExplorerBar explorerBar, IServiceLocator serviceLocator, Optional <IComponentRenameDeleteHandler> renamingService)
     : base(explorerBar, serviceLocator)
 {
     foreach (var coreComponent in coreComponents.OrderBy(cc => cc.Name))
     {
         this.Items.Add(new CoreComponentTreeItem(coreComponent, this, serviceLocator, renamingService));
     }
 }
Ejemplo n.º 14
0
 public ExplorerBarItemWrapper(IExplorerBarItem innerItem, IExplorerBar explorerBar, IServiceLocator serviceLocator)
     : base(explorerBar, serviceLocator)
 {
     Init(innerItem);
 }