public TabWorkflowTracker()
 {
     _tabController       = TabController.Instance;
     _workflowEngine      = WorkflowEngine.Instance;
     _workflowManager     = WorkflowManager.Instance;
     _tabWorkflowSettings = TabWorkflowSettings.Instance;
 }
 public DatabaseEditTabViewModel(ITabController controller, ProcedureData procedureData) : base(controller)
 {
     Procedure = procedureData;
     CheckConnectionCommand = new ActionCommand(CheckDbConenction);
     CloseHandler           = new ActionCommand(CloseAction);
     Name = "Database";
     SelectedDatabaseName = procedureData.Name;
 }
Exemplo n.º 3
0
 public RecyclebinController()
 {
     _tabController       = TabController.Instance;
     _tabVersionSettings  = TabVersionSettings.Instance;
     _tabWorkflowSettings = TabWorkflowSettings.Instance;
     _moduleController    = ModuleController.Instance;
     _tabChangeSettings   = TabChangeSettings.Instance;
 }
Exemplo n.º 4
0
 public PagesControllerImpl()
 {
     _tabController                = TabController.Instance;
     _moduleController             = ModuleController.Instance;
     _pageUrlsController           = PageUrlsController.Instance;
     _templateController           = TemplateController.Instance;
     _defaultPortalThemeController = DefaultPortalThemeController.Instance;
 }
Exemplo n.º 5
0
 public TabVersionBuilder()
 {
     _tabController              = TabController.Instance;
     _moduleController           = ModuleController.Instance;
     _tabVersionSettings         = TabVersionSettings.Instance;
     _tabVersionController       = TabVersionController.Instance;
     _tabVersionDetailController = TabVersionDetailController.Instance;
     _portalSettings             = PortalSettings.Current;
 }
Exemplo n.º 6
0
 public TargetEditViewModel(ITabController tabController, TargetData data) : base(tabController)
 {
     Name                = data.Code;
     TargetData          = data;
     ServerData          = tabController.Configuration.Servers.FirstOrDefault(x => x.Id == TargetData.ServerId);
     EditServerCommand   = new ActionCommand(EditServer);
     AddServerCommand    = new ActionCommand(AddServer);
     RemoveServerCommand = new ActionCommand(RemoveServer);
 }
Exemplo n.º 7
0
 public GetPage(
     ITabController tabController,
     ISecurityService securityService,
     IContentVerifier contentVerifier)
 {
     this._tabController   = tabController;
     this._securityService = securityService;
     this._contentVerifier = contentVerifier;
 }
        public ServerEditViewModel(ITabController tabController, ServerData data) : base(tabController)
        {
            Name = data.Code;
            CurrentServerData = data;
            TransportDictionary dic = new TransportDictionary();

            Transfers        = dic.Transfers.ToArray();
            SelectedTransfer = Transfers.FirstOrDefault(x => x.Name == data.Protocol);
            OnPropertyChanged(nameof(Transfers));
        }
Exemplo n.º 9
0
        public PagesController()
        {
            _pagesController              = Components.PagesController.Instance;
            _themesController             = ThemesController.Instance;
            _bulkPagesController          = BulkPagesController.Instance;
            _templateController           = TemplateController.Instance;
            _defaultPortalThemeController = DefaultPortalThemeController.Instance;

            _tabController    = TabController.Instance;
            _localeController = LocaleController.Instance;
            _securityService  = SecurityService.Instance;
        }
Exemplo n.º 10
0
        public MainTabViewModel(ITabController controller) : base(controller)
        {
            IsClosable = false;
            SimpleConfigurator.ConfigureForTargetLogging(LoggingTarget);
            Name          = "Watchers";
            StartCommand  = new ActionCommand(TestWatcher);
            StopCommand   = new ActionCommand(StopWatcher);
            EditCommand   = new ActionCommand(EditWatcher);
            AddCommand    = new ActionCommand(AddWatcher);
            ClearCommand  = new ActionCommand(ClearLogs);
            RemoveCommand = new ActionCommand(RemoveWatcher);
            var kernel = new StandardKernel();

            kernel.Load(Assembly.GetExecutingAssembly());
            FileConductor = kernel.Get <IFileConductor>();
            LoadConfiguration();
        }
        public EditWatcherTabViewModel(ITabController controller, Watcher watcher)
            : base(controller)
        {
            var kernel = new StandardKernel();

            kernel.Load(Assembly.GetExecutingAssembly());
            OperationExecutor = kernel.Get <IOperationExecutor>();
            Name                           = watcher.WatcherData.Code;
            TestCommand                    = new ActionCommand(TestWatcher);
            AddProcedureCommand            = new ActionCommand(AddProcedure);
            RemoveProcedureCommand         = new ActionCommand(RemoveProcedure);
            EditProcedureCommand           = new ActionCommand(EditProcedure);
            EditSourceTargetCommand        = new ActionCommand(EditSourceTarget);
            AddSourceTargetCommand         = new ActionCommand(AddSourceTarget);
            RemoveSourceTargetCommand      = new ActionCommand(RemoveSourceTarget);
            EditDestinationTargetCommand   = new ActionCommand(EditDestinationTarget);
            AddDestinationTargetCommand    = new ActionCommand(AddDestinationTarget);
            RemoveDestinationTargetCommand = new ActionCommand(RemoveDestinationTarget);
            EditScheduleCommand            = new ActionCommand(EditSchedule);
            AddScheduleCommand             = new ActionCommand(AddSchedule);
            RemoveScheduleCommand          = new ActionCommand(RemoveSchedule);
            Watcher                        = watcher;
        }
 public PageManagementController()
 {
     this._tabController = TabController.Instance;
 }
Exemplo n.º 13
0
 protected Tab(ITabController tabController)
 {
     TabController = tabController;
     IsClosable    = true;
     CloseCommand  = new ActionCommand(x => CloseRequested?.Invoke(this, EventArgs.Empty));
 }
Exemplo n.º 14
0
 public TemplateController()
 {
     _tabController = TabController.Instance;
 }
Exemplo n.º 15
0
 public SecurityService()
 {
     this._tabController = TabController.Instance;
 }
Exemplo n.º 16
0
 /// <summary>
 /// Initializes a new instance of the <see cref="TabWorkflowSettings"/> class.
 /// </summary>
 public TabWorkflowSettings()
 {
     this._tabController         = TabController.Instance;
     this._systemWorkflowManager = SystemWorkflowManager.Instance;
 }
 public ScheduleEditTabViewModel(ITabController tabController, ScheduleData schedule) : base(tabController)
 {
     Name = schedule.Code;
     CurrentScheduleData = schedule;
 }
Exemplo n.º 18
0
		public bool IsSelected(ITabController tab)
		{
			return tab == SelectedTab;
		}
Exemplo n.º 19
0
 public PurgePage(ITabController tabController, IRecyclebinController recyclebinController, IContentVerifier contentVerifier)
 {
     this._tabController        = tabController;
     this._recyclebinController = recyclebinController;
     this._contentVerifier      = contentVerifier;
 }