public void GroupBy() { GroupByCommand c = (GroupByCommand)GroupByCommandFactory.Factory().Create(DiagramController); c.Set(Class); c.Execute(); }
private void InitializeCommands() { CloneRequestCommand = new CloneRequestCommand(this); DeleteRequestCommand = new DeleteRequestCommand(this); InvalidateRequestCommand = new InvalidateRequestCommand(this); ChangeStatusOfRequestCommand = new ChangeStatusOfRequestCommand(this); CalculateRequestCommand = new CalculateRequestCommand(this); GroupByCommand = new GroupByCommand(this); ShowRequestDetailsWindowCommand = new ShowRequestDetailsWindowCommand(this); PickUpRequestCommand = new DelegateCommand(PickUpRequest); RequestSelectionCommand = new DelegateCommand(RequestSelected); }