Пример #1
0
		public void Init(Model model)
		{
			newAction = new ProjectNewAction();
			openAction = new ProjectOpenAction();
			saveAction = new ProjectSaveAction();
			generateAction = new GenerateCodeAction();
			exitAction = new ExitAction();

			newAction.Init(model);
			openAction.Init(model);
			saveAction.Init(model);
			exitAction.Init(model);
			generateAction.Init(model);
		}
Пример #2
0
        public void Init(Model model)
        {
            newAction      = new ProjectNewAction();
            openAction     = new ProjectOpenAction();
            saveAction     = new ProjectSaveAction();
            generateAction = new GenerateCodeAction();
            exitAction     = new ExitAction();

            newAction.Init(model);
            openAction.Init(model);
            saveAction.Init(model);
            exitAction.Init(model);
            generateAction.Init(model);
        }