@Test public void testOnDecisionTableSelectedEventWithNoSelections() { menu.onDecisionTableSelectedEvent(new DecisionTableSelectedEvent(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)).enableInsertRowAboveMenuItem(eq(false)); verify(view, times(1)).enableInsertRowBelowMenuItem(eq(false)); verify(view, times(1)).enableDeleteRowMenuItem(eq(false)); }
@Override public void onDecisionTableSelectedEvent(final @Observes DecisionTableSelectedEvent event) { super.onDecisionTableSelectedEvent(event); }
RowContextMenu extends BaseMenu implements IsWidget,
                                                        RowContextMenuView.Presenter { @Override public void onDecisionTableSelectedEvent(final @Observes DecisionTableSelectedEvent event) { super.onDecisionTableSelectedEvent(event); } }
RowContextMenu extends BaseMenu implements IsWidget,
                                                        RowContextMenuView.Presenter { @Override public void onDecisionTableSelectedEvent(final @Observes DecisionTableSelectedEvent event) { super.onDecisionTableSelectedEvent(event); } @Inject  RowContextMenu(final RowContextMenuView view,
                          final Clipboard clipboard); }
RowContextMenu extends BaseMenu implements IsWidget,
                                                        RowContextMenuView.Presenter { @Override public void onDecisionTableSelectedEvent(final @Observes DecisionTableSelectedEvent event) { super.onDecisionTableSelectedEvent(event); } @Inject  RowContextMenu(final RowContextMenuView 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 onInsertRowAbove(); @Override void onInsertRowBelow(); @Override void onDeleteSelectedRows(); }
RowContextMenu extends BaseMenu implements IsWidget,
                                                        RowContextMenuView.Presenter { @Override public void onDecisionTableSelectedEvent(final @Observes DecisionTableSelectedEvent event) { super.onDecisionTableSelectedEvent(event); } @Inject  RowContextMenu(final RowContextMenuView 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 onInsertRowAbove(); @Override void onInsertRowBelow(); @Override void onDeleteSelectedRows();  }