Ejemplo n.º 1
0
 public ContextMenuForFormulaUsablePath(FormulaUsablePathDTO formulaUsablePathDTO, IEditExplicitFormulaPresenter editExplicitFormulaPresenter)
 {
     _allMenuItems = new List <IMenuBarItem>
     {
         CreateMenuButton.WithCaption((AppConstants.MenuNames.Delete)).
         WithActionCommand(() => editExplicitFormulaPresenter.RemovePath(formulaUsablePathDTO)).
         WithIcon(ApplicationIcons.Delete)
     };
 }
Ejemplo n.º 2
0
 private void removeFormulaUsablePath(FormulaUsablePathDTO focusedElement)
 {
     _presenter.RemovePath(focusedElement);
 }