@Test public void testOnDecisionTableSelectedEventNoTableSelected() { final DecisionTableSelectedEvent event = DecisionTableSelectedEvent.NONE; builder.onDecisionTableSelectedEvent(event); verify(view, times(1)).setEnabled(false); }
@SuppressWarnings("unused") public void onDecisionTableSelectedEvent(final @Observes DecisionTableSelectedEvent event) { radarMenuItem.setEnabled(event.getPresenter().isPresent()); }
RadarMenuBuilder implements MenuFactory.CustomMenuBuilder,
                                         RadarMenuView.Presenter { @SuppressWarnings("unused") public void onDecisionTableSelectedEvent(final @Observes DecisionTableSelectedEvent event) { radarMenuItem.setEnabled(event.getPresenter().isPresent()); } }
RadarMenuBuilder implements MenuFactory.CustomMenuBuilder,
                                         RadarMenuView.Presenter { @SuppressWarnings("unused") public void onDecisionTableSelectedEvent(final @Observes DecisionTableSelectedEvent event) { radarMenuItem.setEnabled(event.getPresenter().isPresent()); } @Inject  RadarMenuBuilder(final RadarMenuView view); }
RadarMenuBuilder implements MenuFactory.CustomMenuBuilder,
                                         RadarMenuView.Presenter { @SuppressWarnings("unused") public void onDecisionTableSelectedEvent(final @Observes DecisionTableSelectedEvent event) { radarMenuItem.setEnabled(event.getPresenter().isPresent()); } @Inject  RadarMenuBuilder(final RadarMenuView view); @PostConstruct void setup(); @Override void setModeller(final GuidedDecisionTableModellerView.Presenter modeller); @Override void push(final MenuFactory.CustomMenuBuilder element); @Override MenuItem build(); @SuppressWarnings("unused") void onUpdateRadarEvent(final @Observes UpdateRadarEvent event); @SuppressWarnings("unused") void onDecisionTablePinnedEvent(final @Observes DecisionTablePinnedEvent event); @SuppressWarnings("unused") void onDecisionTableSelectedEvent(final @Observes DecisionTableSelectedEvent event); @Override void onClick(); @Override void onDragVisibleBounds(final double canvasX,
                                    final double canvasY); }
RadarMenuBuilder implements MenuFactory.CustomMenuBuilder,
                                         RadarMenuView.Presenter { @SuppressWarnings("unused") public void onDecisionTableSelectedEvent(final @Observes DecisionTableSelectedEvent event) { radarMenuItem.setEnabled(event.getPresenter().isPresent()); } @Inject  RadarMenuBuilder(final RadarMenuView view); @PostConstruct void setup(); @Override void setModeller(final GuidedDecisionTableModellerView.Presenter modeller); @Override void push(final MenuFactory.CustomMenuBuilder element); @Override MenuItem build(); @SuppressWarnings("unused") void onUpdateRadarEvent(final @Observes UpdateRadarEvent event); @SuppressWarnings("unused") void onDecisionTablePinnedEvent(final @Observes DecisionTablePinnedEvent event); @SuppressWarnings("unused") void onDecisionTableSelectedEvent(final @Observes DecisionTableSelectedEvent event); @Override void onClick(); @Override void onDragVisibleBounds(final double canvasX,
                                    final double canvasY);  }