@Test public void testSetup() throws Exception { final AbsolutePanel mainPanel = mock(AbsolutePanel.class); final Transform transform = mock(Transform.class); final Viewport viewport = mock(Viewport.class); final Mediators mediators = mock(Mediators.class); final Element element = mock(Element.class); doReturn(transform).when(transform).scale(anyDouble()); doReturn(transform).when(view).newTransform(); doReturn(mediators).when(viewport).getMediators(); doReturn(element).when(mockGridPanel).getElement(); doReturn(mainPanel).when(mockGridPanel).getScrollPanel(); doReturn(viewport).when(mockGridPanel).getViewport(); view.setup(); verify(view).setupGridPanel(); verify(mediators).push(restrictedMousePanMediator); }
@PostConstruct public void setup() { setupGridPanel(); }
GuidedDecisionTableModellerViewImpl extends Composite implements GuidedDecisionTableModellerView { @PostConstruct public void setup() { setupGridPanel(); } }
GuidedDecisionTableModellerViewImpl extends Composite implements GuidedDecisionTableModellerView { @PostConstruct public void setup() { setupGridPanel(); } GuidedDecisionTableModellerViewImpl(); @Inject  GuidedDecisionTableModellerViewImpl(final TranslationService translationService); }
GuidedDecisionTableModellerViewImpl extends Composite implements GuidedDecisionTableModellerView { @PostConstruct public void setup() { setupGridPanel(); } GuidedDecisionTableModellerViewImpl(); @Inject  GuidedDecisionTableModellerViewImpl(final TranslationService translationService); @Override void init(final GuidedDecisionTableModellerView.Presenter presenter); @PostConstruct void setup(); @Override void onResize(); @Override HandlerRegistration addKeyDownHandler(final KeyDownHandler handler); @Override HandlerRegistration addContextMenuHandler(final ContextMenuHandler handler); @Override HandlerRegistration addMouseDownHandler(final MouseDownHandler handler); @Override void clear(); @Override void addDecisionTable(final GuidedDecisionTableView gridWidget); @Override void removeDecisionTable(final GuidedDecisionTableView gridWidget,
                                    final Command afterRemovalCommand); @Override void refreshScrollPosition(); @Override void setZoom(final int zoom); @Override GridLayer getGridLayerView(); @Override GridLienzoPanel getGridPanel(); @Override Bounds getBounds(); @Override void select(final GridWidget selectedGridWidget); @Override void selectLinkedColumn(final GridColumn<?> link); @Override Set<GridWidget> getGridWidgets(); @Override void setPinnedModeIndicatorVisibility(final boolean visibility, final double headerCaptionWidth); @Override void showGenericVetoMessage(); @Override void showUnableToDeleteColumnMessage(final ConditionCol52 column); @Override void showUnableToDeleteColumnMessage(final ActionCol52 column); }
GuidedDecisionTableModellerViewImpl extends Composite implements GuidedDecisionTableModellerView { @PostConstruct public void setup() { setupGridPanel(); } GuidedDecisionTableModellerViewImpl(); @Inject  GuidedDecisionTableModellerViewImpl(final TranslationService translationService); @Override void init(final GuidedDecisionTableModellerView.Presenter presenter); @PostConstruct void setup(); @Override void onResize(); @Override HandlerRegistration addKeyDownHandler(final KeyDownHandler handler); @Override HandlerRegistration addContextMenuHandler(final ContextMenuHandler handler); @Override HandlerRegistration addMouseDownHandler(final MouseDownHandler handler); @Override void clear(); @Override void addDecisionTable(final GuidedDecisionTableView gridWidget); @Override void removeDecisionTable(final GuidedDecisionTableView gridWidget,
                                    final Command afterRemovalCommand); @Override void refreshScrollPosition(); @Override void setZoom(final int zoom); @Override GridLayer getGridLayerView(); @Override GridLienzoPanel getGridPanel(); @Override Bounds getBounds(); @Override void select(final GridWidget selectedGridWidget); @Override void selectLinkedColumn(final GridColumn<?> link); @Override Set<GridWidget> getGridWidgets(); @Override void setPinnedModeIndicatorVisibility(final boolean visibility, final double headerCaptionWidth); @Override void showGenericVetoMessage(); @Override void showUnableToDeleteColumnMessage(final ConditionCol52 column); @Override void showUnableToDeleteColumnMessage(final ActionCol52 column);  }