@Test public void testShowLoading() { tested.showLoading(); verify(widgetPanel, times(1)).setVisible(eq(false)); verify(loadingPanel, times(1)).setVisible(eq(true)); }
@Override public DiagramEditorScreenView showLoading() { widgetPanel.setVisible(false); loadingPanel.setVisible(true); return this; }
DiagramEditorScreenViewImpl implements DiagramEditorScreenView,
                                                    IsElement { @Override public DiagramEditorScreenView showLoading() { widgetPanel.setVisible(false); loadingPanel.setVisible(true); return this; } }
DiagramEditorScreenViewImpl implements DiagramEditorScreenView,
                                                    IsElement { @Override public DiagramEditorScreenView showLoading() { widgetPanel.setVisible(false); loadingPanel.setVisible(true); return this; } @Inject  DiagramEditorScreenViewImpl(final @DataField FlowPanel loadingPanel,
                                       final @DataField FlowPanel widgetPanel); }
DiagramEditorScreenViewImpl implements DiagramEditorScreenView,
                                                    IsElement { @Override public DiagramEditorScreenView showLoading() { widgetPanel.setVisible(false); loadingPanel.setVisible(true); return this; } @Inject  DiagramEditorScreenViewImpl(final @DataField FlowPanel loadingPanel,
                                       final @DataField FlowPanel widgetPanel); @Override DiagramEditorScreenView setWidget(final IsWidget widget); @Override DiagramEditorScreenView showLoading(); @Override DiagramEditorScreenView hideLoading(); @Override IsWidget asWidget(); @PreDestroy void destroy(); }
DiagramEditorScreenViewImpl implements DiagramEditorScreenView,
                                                    IsElement { @Override public DiagramEditorScreenView showLoading() { widgetPanel.setVisible(false); loadingPanel.setVisible(true); return this; } @Inject  DiagramEditorScreenViewImpl(final @DataField FlowPanel loadingPanel,
                                       final @DataField FlowPanel widgetPanel); @Override DiagramEditorScreenView setWidget(final IsWidget widget); @Override DiagramEditorScreenView showLoading(); @Override DiagramEditorScreenView hideLoading(); @Override IsWidget asWidget(); @PreDestroy void destroy();  }