Ejemplo n.º 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);
		}
Ejemplo n.º 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);
        }