@Test public void testOnDecisionTableSelectionsChangedEventWithNoSelections() { menu.onDecisionTableSelectionsChangedEvent(new DecisionTableSelectionsChangedEvent(dtPresenter)); verify(view, times(1)).enableCutMenuItem(eq(false)); verify(view, times(1)).enableCopyMenuItem(eq(false)); verify(view, times(1)).enablePasteMenuItem(eq(false)); verify(view, times(1)).enableDeleteCellMenuItem(eq(false)); }
@Override public void onDecisionTableSelectionsChangedEvent(final @Observes DecisionTableSelectionsChangedEvent event) { super.onDecisionTableSelectionsChangedEvent(event); }
CellContextMenu extends BaseMenu implements IsWidget,
                                                         CellContextMenuView.Presenter { @Override public void onDecisionTableSelectionsChangedEvent(final @Observes DecisionTableSelectionsChangedEvent event) { super.onDecisionTableSelectionsChangedEvent(event); } }
CellContextMenu extends BaseMenu implements IsWidget,
                                                         CellContextMenuView.Presenter { @Override public void onDecisionTableSelectionsChangedEvent(final @Observes DecisionTableSelectionsChangedEvent event) { super.onDecisionTableSelectionsChangedEvent(event); } @Inject  CellContextMenu(final CellContextMenuView view,
                           final Clipboard clipboard); }
CellContextMenu extends BaseMenu implements IsWidget,
                                                         CellContextMenuView.Presenter { @Override public void onDecisionTableSelectionsChangedEvent(final @Observes DecisionTableSelectionsChangedEvent event) { super.onDecisionTableSelectionsChangedEvent(event); } @Inject  CellContextMenu(final CellContextMenuView view,
                           final Clipboard clipboard); @Override void onDecisionTableSelectedEvent(final @Observes DecisionTableSelectedEvent event); @Override void onDecisionTableSelectionsChangedEvent(final @Observes DecisionTableSelectionsChangedEvent event); @Override void onRefreshMenusEvent(final @Observes RefreshMenusEvent event); @Override Widget asWidget(); @Override void show(final int mx,
                     final int my); @Override void hide(); @Override void initialise(); @Override void onCut(); @Override void onCopy(); @Override void onPaste(); @Override void onDeleteSelectedCells(); }
CellContextMenu extends BaseMenu implements IsWidget,
                                                         CellContextMenuView.Presenter { @Override public void onDecisionTableSelectionsChangedEvent(final @Observes DecisionTableSelectionsChangedEvent event) { super.onDecisionTableSelectionsChangedEvent(event); } @Inject  CellContextMenu(final CellContextMenuView view,
                           final Clipboard clipboard); @Override void onDecisionTableSelectedEvent(final @Observes DecisionTableSelectedEvent event); @Override void onDecisionTableSelectionsChangedEvent(final @Observes DecisionTableSelectionsChangedEvent event); @Override void onRefreshMenusEvent(final @Observes RefreshMenusEvent event); @Override Widget asWidget(); @Override void show(final int mx,
                     final int my); @Override void hide(); @Override void initialise(); @Override void onCut(); @Override void onCopy(); @Override void onPaste(); @Override void onDeleteSelectedCells();  }