@Test public void shouldSetWidget() throws Exception { AcceptsOneWidget container = mock(AcceptsOneWidget.class); presenter.go(container); verify(container).setWidget(view); }
@Override public void go(AcceptsOneWidget container) { container.setWidget(view); }
ProjectExplorerPartPresenter extends BasePresenter implements ProjectExplorerView.ActionDelegate,
        ProjectExplorerPart, HasView { @Override public void go(AcceptsOneWidget container) { container.setWidget(view); } }
ProjectExplorerPartPresenter extends BasePresenter implements ProjectExplorerView.ActionDelegate,
        ProjectExplorerPart, HasView { @Override public void go(AcceptsOneWidget container) { container.setWidget(view); } @Inject  ProjectExplorerPartPresenter(ProjectExplorerView view,
                                        EventBus eventBus,
                                        ProjectServiceClient projectServiceClient,
                                        ContextMenu contextMenu,
                                        CoreLocalizationConstant coreLocalizationConstant,
                                        AppContext appContext,
                                        TreeStructureProviderRegistry treeStructureProviderRegistry,
                                        DeleteNodeHandler deleteNodeHandler,
                                        Provider<ProjectListStructure> projectListStructureProvider); }
ProjectExplorerPartPresenter extends BasePresenter implements ProjectExplorerView.ActionDelegate,
        ProjectExplorerPart, HasView { @Override public void go(AcceptsOneWidget container) { container.setWidget(view); } @Inject  ProjectExplorerPartPresenter(ProjectExplorerView view,
                                        EventBus eventBus,
                                        ProjectServiceClient projectServiceClient,
                                        ContextMenu contextMenu,
                                        CoreLocalizationConstant coreLocalizationConstant,
                                        AppContext appContext,
                                        TreeStructureProviderRegistry treeStructureProviderRegistry,
                                        DeleteNodeHandler deleteNodeHandler,
                                        Provider<ProjectListStructure> projectListStructureProvider); @Override void go(AcceptsOneWidget container); @Override View getView(); @Override void onOpen(); @Nonnull @Override String getTitle(); @Override ImageResource getTitleImage(); @Override SVGResource getTitleSVGImage(); @Override String getTitleToolTip(); @Override int getSize(); @Override void onNodeSelected(final TreeNode< ? > node, final SelectionModel< ? > model); @Override void onNodeExpanded(@Nonnull final TreeNode<?> node); @Override void onNodeAction(@Nonnull TreeNode<?> node); @Override void onContextMenu(int mouseX, int mouseY); @Override void onDeleteKey(); @Override void onEnterKey(); }
ProjectExplorerPartPresenter extends BasePresenter implements ProjectExplorerView.ActionDelegate,
        ProjectExplorerPart, HasView { @Override public void go(AcceptsOneWidget container) { container.setWidget(view); } @Inject  ProjectExplorerPartPresenter(ProjectExplorerView view,
                                        EventBus eventBus,
                                        ProjectServiceClient projectServiceClient,
                                        ContextMenu contextMenu,
                                        CoreLocalizationConstant coreLocalizationConstant,
                                        AppContext appContext,
                                        TreeStructureProviderRegistry treeStructureProviderRegistry,
                                        DeleteNodeHandler deleteNodeHandler,
                                        Provider<ProjectListStructure> projectListStructureProvider); @Override void go(AcceptsOneWidget container); @Override View getView(); @Override void onOpen(); @Nonnull @Override String getTitle(); @Override ImageResource getTitleImage(); @Override SVGResource getTitleSVGImage(); @Override String getTitleToolTip(); @Override int getSize(); @Override void onNodeSelected(final TreeNode< ? > node, final SelectionModel< ? > model); @Override void onNodeExpanded(@Nonnull final TreeNode<?> node); @Override void onNodeAction(@Nonnull TreeNode<?> node); @Override void onContextMenu(int mouseX, int mouseY); @Override void onDeleteKey(); @Override void onEnterKey();  }