Beispiel #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);
		}
        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);
        }